Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > september 2005 > threads for monday september 19

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

Regarding - Exporting data from one Excel file to another
Posted by lingammca NO[at]SPAM gmail.com at 9/19/2005 9:59:21 PM
Hi, I am working in a web application where I need to import data from one Excel file. Add a row number to each row in that file and save it in the specified folder. All this have to be done by clicking a single button. Pls help me in getting the solution for the above said problem. ...more >>


XSLT doesn't work in my IE(PC), works on different IE(PC)
Posted by Kiran at 9/19/2005 9:47:28 PM
Hi, I have created an application using the XML Load On Demand of = Infragistics Ultra Webgrid. It was working fine when I developed it in a = different PC. When I browse the same page from by PC, I get a javascript error. This = error doesn't occurs if I don't use the XML On Demand Feature...more >>

Problem displaying special characters
Posted by Kivanc Toker at 9/19/2005 9:37:15 PM
Hi, I've got a problem with displaying texts with turkish characters. There is a website administration system, which is developed using ASP (VBScript) and ADO. This system is being used for inserting product informations in to a ms-sql database. There is another webbased application, whi...more >>

Multiple IIS servers, each having their own process identity
Posted by Henrik Dahl at 9/19/2005 9:36:41 PM
Hello! From default, the ASPNET user is giving the process identity for the ASP.NET runtime environment of IIS, however it's possible to change the user by modifying the <processModel> element in the machine.config file. Is it possible to have multiple IIS servers running, each with their ow...more >>

ASPNET to work on Citrix
Posted by SK at 9/19/2005 9:24:02 PM
Hi, Would appreciate if anyone could help me on this. Basically my client having few branches across state. And they used Citrix in which to connect to the server side for accessing application running on ASPNET (C# code behind). Basically, all my form was coded as user control and loa...more >>

Can I use subdomain to do this?
Posted by Nick at 9/19/2005 8:37:33 PM
hi, I have two asp.net project, and one is the main project, the other one is accessorial project, like a tool for the main project. I am planning to find a webhost provider and put the main project there. But can I put the other project there too? I would hope it work in this way.... http://ww...more >>

Setup and Deployment Projects: How to include other files...
Posted by Sachin at 9/19/2005 8:29:52 PM
Hi All, I have an asp.net application and I have create a WebSetup project which includes all the output files from the Web App. However, it does not include the txt,.inc,.gif files... Do we need to include these files manually in the web setup project? Thanks in advance Sachin ...more >>

overloading functions in VBScript
Posted by Rosanne at 9/19/2005 8:18:14 PM
Is it possible to have an overloaded funtion in VBScript? I have different calendars - one contains just a date and the other contains date and shift parameter. In my VBScript I need to have 2 differen functions to grab the info entered on the calender. All of our page up until now have ei...more >>



Best way to use a header include file?
Posted by John Dalberg at 9/19/2005 7:43:57 PM
I created a header file to be included in every webpage. The header file has images that have a path to an "images" folder off the root folder. However if I use this header file for web pages that reside in subfolders, I have to change the path of all the image links to '../images/' instead o...more >>

Menu control
Posted by Arjen at 9/19/2005 7:36:13 PM
Hi, I use the asp.net 2.0 menu control. I don't want to use a DHTML menu, but a static one like this: menu item 1 ---- sub item 1 ---- sub item 2 ---- sub item 3 menu item 2 ---- sub item 1 ---- sub item 2 ---- sub item 3 What I want is that it directly and always shows all sub it...more >>

permissions & roles...
Posted by Ollie Riches at 9/19/2005 6:53:04 PM
Is it possible to find out what the permissions & roles are for the 'ASP.NET' and the 'NETWORK SERVICE' accounts? Cheers Ollie Riches ...more >>

Aargh!! Cookie paths are case-sensitive!! How do you cope with THAT?
Posted by Alan Silver at 9/19/2005 6:12:53 PM
Hello, I've just spent ages debugging some cookie code that wasn't working, and have finally discovered that the code *was* working, but that the path used by cookies is case-sensitive. I was setting a cookie for a path like "/somepath", and trying to read it on a path like "/SomePath". Thi...more >>

Force PostBack
Posted by Byron Hopp [MCS] at 9/19/2005 6:12:27 PM
How do you force a postback, we have a button to save our users entry, but the button does not have a postback property (like the dropdownlistbox). Is there a way to force a postback? Byron... ...more >>

Any way to create two sheets in same excel file?
Posted by TJ at 9/19/2005 5:33:02 PM
Hi, Basically, I want to create excel file on the fly, then force users to download it without using automation. Here is one of ways.. System.IO.StringWriter sw = new System.IO.StringWriter(); ...... Response.Clear(); .... ... Response.Buffer= true; Response.ContentType = "applicat...more >>

How to created this?
Posted by Jerry Lee at 9/19/2005 5:24:05 PM
Hi, Does we have any controls to create these type of stuffs http://www.speedysigns.com/lettering/lettering_tool.asp in ASP.NET. Especially the text effect styles[arch up, arch down ]. Thanks in Advance Lee ...more >>

Question about secured website
Posted by Joe at 9/19/2005 5:04:03 PM
Hi, We want to build a couple of secured pages which will be viewable only to those who have an account. One way of implementing the security is using session cookies (temporary cookies). When a user logs in a session cookie is created. When the browser window is closed the session cookie...more >>

ASP.Net Datagrid Edit Certain Rows
Posted by Jason at 9/19/2005 4:58:47 PM
Hello, I was wondering if there was a way to only edit certain rows in a ASP.Net. I know how to only edit certain columns. But say for example, I want to lock a field if a certain date has passed on that record. Any help would be greatly appreciated. Thanks, Jason ...more >>

NO_DATA error
Posted by Krish at 9/19/2005 4:49:59 PM
Hi, The sql returns value since i select primary key (cannot be null), but when i try to bind with combo box i get following error.. i cant see data. Iam using ODBC connection from asp.net to talk to DB2 database. Any help gurus System.Data.Odbc.OdbcException: NO_DATA - no error information ...more >>

How to track user activity using ASPSESSIONID
Posted by Joe at 9/19/2005 4:33:01 PM
Hi, We have a secured website and a user needs to create an account before they can log in. After they login a session cookie (ASPSESSIONIDQABTBBAB=MOPPDDHDOKBJCJFOINAHCJKD) is created to identify the user. We have this session cookie in the IIS 6 log file and I would like to know of an...more >>

Asp:ImageButton Question
Posted by Shapper at 9/19/2005 4:18:34 PM
Hello, I have 2 Asp:ImageButton in my .aspx file and I have the function "Run" in m .aspx.vb file. I need to run this function when one of the ImageButtons is pressed but I need to know which one was pressed. How can I do this? I was trying with commandname and oncommand properties of ...more >>

Remove an object from Session
Posted by Frankie at 9/19/2005 3:50:54 PM
Are these two statements equivalent (i.e., result in the removal of the object named MyObject from the session)? Session["MyObject"] = null; Session.Remove("MyObject"); I would think that the first statement above would result in the object still being in the Session, but just with a ...more >>

upload image
Posted by Kevin at 9/19/2005 3:39:18 PM
hi I want to create an upload image page. how do I do that? ...more >>

any easy way to do this...
Posted by rodchar at 9/19/2005 3:21:03 PM
hey all, i have a database field that i bring into my dataset and it looks like this: "xx92208" "xxx1018" the x's represent spaces. When i bind it to my datagrid it left justifies everything, so when i go to do my dataset.findbykey i'm not getting a hit. anyone have any ideas how i can...more >>

Request.ServerVariables("LOGON_USER") Problem
Posted by dmjames NO[at]SPAM earthlink.net at 9/19/2005 2:43:36 PM
For one of our machines, Request.ServerVariables("LOGON_USER") is returning the wrong value. Person A is logged into the machine (I watched him log in), but when he retrieves an aspx page Request.ServerVariables("LOGON_USER") returns the login of a different user -- a tech who logged in to his ...more >>

Problems Emailing
Posted by Elmo Watson at 9/19/2005 1:39:03 PM
I'm having weird problems emailing on the Win2003 Staging environment - - the same script runs on multiple other computers, but on this one, the smtp service is running, but when the send is done (same exact script as on other working computers), it looks like it posts ba...more >>

Beyond 2.0 - The Next Major Upgrade
Posted by Frankie at 9/19/2005 1:36:51 PM
Okay, I know ASP.NET 2.0 isn't out yet. But I'm still wondering if there is any known timetable - rough as it may be - for the next major upgrade to ASP.NET beyond 2.0. I'm not talking service pack or patches that would be likely called 2.1 - I'm asking about something of the magnitude of the ...more >>

Constraint Error
Posted by JackO at 9/19/2005 1:01:08 PM
I have a SQL table (tblUser) that has the following design: Col Dtype Len Nulls UserID varchar 10 0 Password varchar 10 0 FirstName varchar 10 0 LastName varchar 10 0 Type char 5 0 DateEntered datetime 8 1 EnteredBy varchar 50 1 I have 1 record in this table When I run my...more >>

adding a value to a string
Posted by amitbadgi NO[at]SPAM gmail.com at 9/19/2005 12:53:30 PM
Hi guys, I wanted to knwo if it was possible to add a value to a string, I have a field in my access table case_no which is of type TEXT, and want to add a value, here is teh code, Dim rs rs = conn.Execute("SELECT MAX(case_no) AS num FROM tblEvent WHERE LEFT(case_no, 4) = '" & TEMP & "' ...more >>

Problem calling dynamic javascript function
Posted by Jamie at 9/19/2005 12:16:02 PM
I am using remote scripting to call a .NET page within a main page. The child page (child.aspx) returns html that contains dynamically created javascript methods (function test()). The parent page sets a document item's innerHTML property to the result of the child page. This all works fi...more >>

Unhandled Exception in ASP.NET 2 asp:Menu control
Posted by Chuck Hartman at 9/19/2005 12:07:27 PM
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote server returned an error: (500) Internal Server Error." I found a post that suggested to catch the ...more >>

asp.net 2.0 and Windows 2000 Server
Posted by Homer at 9/19/2005 10:51:04 AM
I have a general question...does asp.net 2.0 support all features running under Windows 2000 (IIS 5.0). I know IIS 6.0 introduces its own process model and asp.net running under IIS 6.0 turns some things off. Is there any changes to be aware about? Even any configuration changes (i.e. wor...more >>

Active directory email list
Posted by Mike Harris at 9/19/2005 10:48:38 AM
I would like to provide links to email addresses from my website via ASP.net. Our email addresses are stored in Exchange 2000 so I would have to query my AD database. Does anyone have any code samples detailing how this can be accomplished? I would like for the website users to be able to c...more >>

advisable to configure server extensions ?
Posted by John Grandy at 9/19/2005 10:36:27 AM
XP Pro SP2 , IIS 6.0 , various virtual webs already created with web-apps running against those virtual webs : I notice that on the IIS > Default Web Site > Properties > Server Extensions tab : it says : "This web is running an old version of the server extensions. To update the Ser...more >>

IIS x Netscape
Posted by Ramon Rocha at 9/19/2005 10:15:33 AM
Dear friends, How do I do to test my pages in Netspace 7.1 with IIS 5? When I open any website, is requested an user and password. I put my Windows XP user and password but return HTTP error 403... How do I do to configure IIS for open web site in Netscape without authentication? Thank y...more >>

Problem assigning selectedItem.Value to a dropdownlist filled with OnItemDataBound
Posted by Antonio D'Ottavio at 9/19/2005 10:08:01 AM
Good morning, I've a problem with a dropdownlist located inside any row of a datalist, I fill both datalist and dropdownlist at runtime, the problem is with the dropdownlist infact using the event OnItemDataBound I can fill it but it is impossible for me to load the right selectedItem.Value , in...more >>

can I use reflection to get a pages metdata tags?
Posted by PJ6 at 9/19/2005 10:04:21 AM
What is the best way to programatically scan for metadata tags? I know I could just open up a text reader and parse the text myself, but I'd be surprised if there isn't something already built in. Maybe I don't even need to look at the file's raw text? Paul ...more >>

"ASP.NET 1.1 not installed ... " error
Posted by John Grandy at 9/19/2005 9:59:45 AM
Open a .sln containing a web-app and receive the "ASP.NET 1.1 not installed .... " error ..... I've never know the root cause of this error. I've always dealt with it by closing the web-app , deleting the contents of the \{web-app}\bin\ directory and re-opening the web-app. ...more >>

Session_End Event does not Fire.
Posted by OldProgrammer at 9/19/2005 8:37:12 AM
All the documentation and discussion I have read indicate that the Session_End is not supposed to fire unless you are in "inProc" Session state mode, and then only on Session Timeout or at Session Abandon. I need the event to fire at Session timeout in order to capture and store the Datetime ...more >>

ASP question
Posted by Roy at 9/19/2005 8:13:02 AM
Hi all, I've been assigned to work on an application that uses ASP files. I was away from asp for few years. I remember that days javascript was the preferred client side language since vbscript was not compatible with all the browsers. I like to know if this is still the case or now browse...more >>

Mail component to retrieve mail from Hotmail, Yahoo, gmail..etc?
Posted by John Dalberg at 9/19/2005 7:23:00 AM
I am not sure these web based mail support POP3 or IMAP4. Is there any mail component out there that can retrieve mail from these services? -- John Dalberg...more >>

The ASP.NET FAQ...
Posted by Juan T. Llibre at 9/19/2005 7:04:23 AM
Welcome to the ASP.NET FAQ. The online version of this FAQ is at http://asp.net.do/faq/ Bookmark it! Thank you for reading this FAQ! Use it to improve your online experience. The Microsoft Public Newsgroups allow users of Microsoft products to exchange technical information and expertise...more >>

SQLServer2005 9.00.1314.06 Sep 2 2005 21:10:31Frameworkversion 2.0
Posted by Ken Adeniji at 9/19/2005 6:16:03 AM
SELECT @@Version Microsoft SQL Server 2005 - 9.00.1314.06 (Intel X86) Sep 2 2005 21:10:31 Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 5.2 (Build 3790: Service Pack 1) csc /? Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.26 for Microsoft (R)...more >>

User Name and Password with the active directory
Posted by Pavan at 9/19/2005 4:53:03 AM
I have a application which at the first installation has to check the active directory and send the username, password and domain to a webservice which inturn will invoke a dll in com+ and checks for the authenticity of the user How do i go about it. Please help me for the whole process ...more >>

asp.net c# datagrid colspan .... help
Posted by Aahz at 9/19/2005 4:38:41 AM
Aahz Sep 16, 10:53 am show options Newsgroups: microsoft.public.dotnet.framework.aspnet From: "Aahz" <juno10...@hotmail.com> - Find messages by this author Date: 16 Sep 2005 01:53:01 -0700 Local: Fri, Sep 16 2005 10:53 am Subject: I need help formatig datagrid Reply | Reply to Author |...more >>

Parsing Textbox Value Through Hyperlink
Posted by wrytat at 9/19/2005 3:37:01 AM
I have a form with a textbox for the user to enter a quantity and another textbox for the delivery date. I disabled this delivery date textbox such that the user has to press a calendar link next to the textbox, then a calendar will pop up for him to choose the date. The dates that the user ca...more >>

asp:ListBox allow select none?
Posted by dhnriverside at 9/19/2005 3:06:03 AM
Hi guys I've got a List of items for editing a Contact. Basically, it's a list of groups - a contact can be a member of as many as possible, or a member of one. Is there a way to make asp:ListBox allow none to be selected!? Failing that, any free controls that will do it? Cheers ...more >>

Regarding retrieval of IP Address of the Client
Posted by lingammca NO[at]SPAM gmail.com at 9/19/2005 1:59:53 AM
Hi, I am developing a web application using ASP.Net. I want to retrieve the ip address of the client. Please provide solution for the above mentioned problem Thanks and Regards, S.Ramalingam ...more >>

asp.net application which is consuming a third party java web service
Posted by Ezhil at 9/19/2005 1:36:44 AM
Hi All, we have an asp.net application which is consuming a third party java web service.In order to access the web service a login and password are required and they're passed as SOAP headers. We need to include this header in the soap message request. There is no separate method available...more >>

Validation and Firefox(js scripts doesn''t fire)
Posted by Pat at 9/19/2005 12:00:00 AM
its seems asp.net validation doesn't fire when using FireFox? Tested a page and it doesn't fire. It seems the javascript doesn't fire Any ideas? ...more >>

Pop Up Window from .cs file
Posted by SJ at 9/19/2005 12:00:00 AM
Is it possible to pop-up a window from the code-behind aspx.cs file on an OnClick event? If so, how? I've tried something like the following, but it doesnt seem to work. private void MyButton_Click(object sender, System.Web.UI.ImageClickEventArgs e) { Response.Write("<script>window.open('my...more >>

Dynamic div height
Posted by Jensen bredal at 9/19/2005 12:00:00 AM
Hello, How can i dynamically change the height of my <div></div> element on my webform. I use C# and i want this height to be set according to screen resolution, tipically in my code behind file. I have detected screen resolution . I tried to embbed height:<%# computedheight %> in the sty...more >>

How to direct to PageNotExist.html
Posted by ad at 9/19/2005 12:00:00 AM
My Web application is developing, and there are some links in the menu refer to non-exist page. I wnat to redirect usr the a descript page name PageNotExist.html when the page does not exist. How can I catch the error when page not exist, and redirect usr the the description page? ...more >>

StreamReader
Posted by Ian Oldbury at 9/19/2005 12:00:00 AM
I'm having a problem reading from a flat file, in the file "£" and "»" exist however when i view the contents of the variable LineContents these characters don't exist. Has anyone got any suggestions???? Dim LineContents as string Dim fs As FileStream Dim sr As StreamReader fs = N...more >>

File Content.Length
Posted by Fronky at 9/19/2005 12:00:00 AM
Hi everyone, I'm having a problem when trying to stream a file into a database. If the file size is below 4mb, then the web upload works fine. However, if the file size exceeds 4mb, then the page simply errors (an IIS error with no helpful info.) The line I'm believing to be the problem is ...more >>

Table Rows
Posted by Tim at 9/19/2005 12:00:00 AM
Hello, I have dynamically created a table in ASP.NET using tbl.rows.add(tr) method where 'tbl' is a System.Web.UI.WebControls.Table. and tr is a TableRows object. Any ideas why I can't then itterate through the table object and reference each of the rows using: Dim tb as tablesRow F...more >>

Dynamically embedding Usercontrols in a page: Possible??
Posted by Mark at 9/19/2005 12:00:00 AM
Hi, I am wanting to know if it is possible to embed a UserControl into a Page at runtime. What I am trying to do is allow a user to specify that they want a "contact form" or a "latest news" in their page by simply entering {contact form} or {latest news} in the HTML of their page. What I ...more >>

In Enterprise Library, Where to invoked the store procedure "GetPassword" to authenticated the user?
Posted by Benny Ng at 9/19/2005 12:00:00 AM
The authentication code of enterprise libiary like the following: IAuthenticationProvider authenticationProvider =3D = AuthenticationFactory.GetAuthenticationProvider(); IIdentity identity; NamePasswordCredential credentials =3D new = NamePasswordCredential(username, password); bool authenti...more >>

Could we get error statusCode on ErrorPage
Posted by ad at 9/19/2005 12:00:00 AM
Hi, I use the setting below in Web.config <customErrors mode="On" defaultRedirect="~/ErrorPage/GenericErrorPage.aspx" /> How could we get error statusCode when GenericErrorPage is load? ...more >>

Load multiple HTML doucments in same window.
Posted by Ayoa at 9/19/2005 12:00:00 AM
In my web based reporting program, reports are generated by passing parameters to an aspx page (which runs a database query and does XSL transformation). For example: http://server/Report.aspx?reportid=DD603&format=HTML&Account=abcd&date=31-Aug-2005 http://server/Report.aspx...more >>

Stream Reader
Posted by Ian Oldbury at 9/19/2005 12:00:00 AM
I'm having a problem reading from a flat file, in the file single character "£" and "»" exist however when i view the contents of the file line by line these characters don't exist. Has anyone got any suggestions???? Here is the code... Dim LineContents as string Dim fs As FileStream ...more >>

File.Copy : Access Denied
Posted by Shailesh Gajare at 9/19/2005 12:00:00 AM
Hi All, I have creating an ASP.Net application with two web servers. I am uploading a file which is being uploaded on one of the server, I want to copy the uploaded file on the other server at the same time. It says Access Denied. I am using File.Copy ( Source , Destination , true ) c...more >>

Expire email after 24 hours.
Posted by Imran Aziz at 9/19/2005 12:00:00 AM
Hello All, I am trying to use either System.Web.Mail or System.Net.Mail (.net 2) class to send out emails. What I want to do is set the property in the email sent to expire after 24 hours. This can be done in Outlook by using the options tab in the new message window. How can this be done...more >>

Databinding Expressions & Page Rendering Sequence
Posted by Mr Newbie at 9/19/2005 12:00:00 AM
Ive got the basic idea behind DataBinding Expressions, but I have a couple of questions, Ok its four actually :) Q1.) It would appear that if you use Page.DataBind that all child controls and the page get bound to their respective DataSources, is this correct ? and if so why would you need ...more >>

Redirect to login page on timeout
Posted by Anders Jacobsen at 9/19/2005 12:00:00 AM
Hey Im devloping an application in asp.net 1.1 SP2. I need to control timeout values for each user. Im having trouble to make it work. When the session timouts out I want to redirect the user to the login page. OK., Im aware that we have 2 timeouts. Session timeout and forms authentication...more >>

Set Dropdown List Default Text
Posted by Kenneth Keeley at 9/19/2005 12:00:00 AM
Hi, Is it possible to have a dropdown list that when the page is first visited has a selected value of something like "Choose an Option". After the user has selected an option the the user should not be able to selected the default value an more. If this is possible could somebody show me a ...more >>

total newbie: row height in datagrid
Posted by Jeff at 9/19/2005 12:00:00 AM
OS : winXP pro (sp2) IDE: VS .NET 2003 This is my code for adding data to my datagrid (DataGrid1) MySqlConnection conn = new MySqlConnection(ConfigurationSettings.AppSettings["DB_Connection_string"]); conn.Open(); MySqlDataAdapter adapter = new MySqlDataAdapter(); adapter.SelectCommand =...more >>

browser type
Posted by NuB at 9/19/2005 12:00:00 AM
I have asp code that determines which browser the user has and then gets the correct style sheet. How can i do something like that with C#. I want to determine which browser the user has then get the correct stylesheet. ...more >>

Forms Authentication!!!
Posted by Adam Knight at 9/19/2005 12:00:00 AM
Hi all, I have a page within an application using Forms authentication. My hope is that this page can be excluded from the security mechanism, thus not cause a redirect to a login page if the user is not logged in ect. My web config obviously reflects the security in place: <authenticat...more >>


DevelopmentNow Blog