473,543 Members | 2,374 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET Forum

15
15,392
thread by: Drebin | last post Nov 18 '05 by: slyi .
I am retrofitting a central login application and want to be able to read the Request.ServerVariables so that when they have logged on, I can send them back to wherever they were trying to go.. If you try to load a legacy ASP app, I do this: If Len(SessionID) <> 40 Then Response.Redirect "/WAS/Default.aspx?AppCode=2400" End If
15
6,650
thread by: Patrick.O.Ige | last post Nov 18 '05 by: Patrick.O.Ige
Hi All i'm getting error with my TreeView Menu(I want to have a button with ExpandALL and CollapseALL):- Error:- 'AddressOf' operand must be the name of a method; no parentheses are needed. I use VB.Net and i changed the C# code from:- private void ExpandAll() { for(int i=0; i < yourTree.Nodes.Count; i++)
15
346
thread by: Colin J Paterson | last post Nov 18 '05 by: Colin J Paterson
Is it possible to store session state for each separate user in a separate process? We have a COM component that we want to use that is not thread safe and has to be isolated. We would like to store this in a separate process for each user. Thanks for any help
15
3,002
thread by: Shaun Wilde | last post Nov 19 '05 by: Steven Cheng[MSFT]
I am not sure if this is a .NET bug/feature and IIS5 one or a combination of the 2 so here goes I have a situation where when I call an ASP.NET webservice running under windows 2000 (I assume IIS5) with a webservice client also in .NET that the webservice request loses the Authorization HTML header. This DOES NOT happen under Windows...
15
6,163
thread by: z. f. | last post Nov 18 '05 by: z. f.
Hi, i have an ASP.NET project that is using a (Class Library Project) VB.NET DLL. for some reason after running some pages on the web server, and trying to compile the Class Library DLL, it can't compile because the DLL is in use (and the PDB too), and the w3wp.exe process is the process locking the DLL (as viewed with Sysinternals - Process...
15
5,740
thread by: joun | last post Nov 18 '05 by: joun
Hi all, i want to create in my asp.net application a custom server variable, so i can retrieve later in other pages (even asp or perl) with request.servervariables("HTTP_mycustomvariable") i've tried with response.appendheader("mycustomvariable", "somevalue") but this doesn't work, or the variable scope is limited to aspx files, not asp...
15
1,076
thread by: Fredrik Elestedt | last post Nov 19 '05 by: fiur
Hi, I've been trying to get a ASP.NET site I'm working on validated as HTML 4.01 Transitional but I've run into a couple of problems - actually the only ones left before the page is validated... 1: the ID tags on serverside controls start with a char which is not allowed (in this case '_'), example is a Label: <span id="_ctl0_labDate">
15
3,241
thread by: tshad | last post Nov 19 '05 by: Ray Costanzo [MVP]
I am trying to put an persons email address in a response I am sending another person. I can get it to work by doing the following: message.Body = resumeTop & vbCrLf & vbCrLf & "For Applicant: " & session("firstName") & " " & session("lastName") & vbCrLf & "Email: mailto:" & session("email") & vbCrLf & vbCrLf & resumeBottom When the...
15
1,328
thread by: Jonathan | last post Nov 19 '05 by: Kevin Spencer
Few days back I posted this question. Can anyone help me on this question. var myObj = new ActiveXObject("Msxml2.XMLHTTP"); var myObj = new ActiveXObject("Microsoft.XMLHTTP"); If my development environment is ASP.Net/VB.Net/.NetFramework 1.1/IE 5+ Which of the above statement I should use? Thanks,
15
3,739
thread by: John Blair | last post Nov 19 '05 by: Ramesh
Hi, Code attached but the line that gives me an error is MyDataGrid.Columns(2).Visible = False It actually gives me an error for any value instead of 2 even when 9 bound columns of data exist. How do i hide a column? Thanks. MyConnection = New SqlConnection("server=(local);database=pubs;Trusted_Connection=yes") MyCommand = New...
15
3,469
thread by: Untitled | last post Nov 19 '05 by: David Browne
I have an ASP .NET web application that displays information. At the same time, i have a web service that collects information from various client applications. This data needs to be processed continuously in many ways and stored in the database. I need timers to poll the data and process on it and write to the database. I need to have lots of...
15
2,469
thread by: Jason | last post Nov 19 '05 by: Patrice
Currently, I am storing information about the currently logged on user in Session variables that are stored in SQL. However, I am using role-based security, so I am storing custom roles in a GenericPrincipal object that I attached to Context.User. My question is this: Can I create a new class, ExtendedPrincipal for instance, and simply...
15
2,704
thread by: tshad | last post Nov 19 '05 by: tshad
How do I go about this? I used to know this, but can't find VB.net replace that does this. Something like string.replace("<br>",NL) Thanks,
15
1,302
thread by: Patrick Olurotimi Ige | last post Nov 19 '05 by: Steve C. Orr [MVP, MCSD]
I'm trying to use Replace function in C# but it seems i can't use it!!!!!!! I can use it in VB.NET below strLogonUsr = Replace(User.Identity.Name,"JOHNS\","") Does anybody knows how i can do this in C#? Thx *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
15
2,228
thread by: JIM.H. | last post Nov 19 '05 by: Scott M.
Hello, Can I send a dataset as a parameter into stored procedure and import data to a table in the stored procedure? Thanks, Jim.
15
2,453
thread by: randyr | last post Nov 19 '05 by: randyr
I am developing an asp.net app based on a previous asp application. in the asp applications global.asa file I had several <object id="id" runat="server" scope="scope" class="comclass"> tags for objects that the app used to speed up some global level data access and functionality. I have recoded the class libraries in .net and would like...
15
1,215
thread by: Simon Harris | last post Nov 19 '05 by: Juan T. Llibre
Hi All, I am looking for the asp.net equiv' to ASP include files. Something which will build common, much used parts of a page, such as header, footer etc... We have 3-4 developers, so ideally the code/html needs to come from a common place in the first instance.
15
1,762
thread by: Asshen Shugar | last post Nov 19 '05 by: Asshen Shugar
Hey. I was experimenting with file uploading possibility using ASP.NET. I ran into a problem :( I can upload small files, but if I try a bigger file it doesn't work... Anyone who can help me please ? Thanks.
15
2,220
thread by: David | last post Nov 19 '05 by: David
Hi, I have built a web application that will be a very high profile application. We had tested it, demonstrated it and shown that it all works. On a dress rehearsal run through, it failed spectacularly. I was so embarrassed and felt like killing the person that made it fail. However, when it goes live, IT MUST NOT FAIL. The system has...
15
10,962
thread by: dee | last post Nov 19 '05 by: Juan T. Llibre
Hi, What is the maximum number of minutes for Session timeout that I can specify in web.config? Thanks. Dee
15
2,066
thread by: DavidS | last post Nov 19 '05 by: DavidS
Have Visual Studio.NET installed on MS 2000 Professional OS laptop. No issue ever with web development and SQL connections. Purchased new laptop with XP Professional SP2!!!!!!!! & Visual Studio.NET installed. Nothing but headaches. Continually getting System.Data.SqlClient.SqlException : Timeout expired message - The timeout period elapsed...
15
2,380
thread by: Ron L | last post Nov 19 '05 by: Ron L
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying to use remoting for our access to the SQL server, with the remoting being via IIS. Since all of our users will have accounts in the destination...
15
1,439
thread by: Placek | last post Nov 19 '05 by: DonkeySpank
Hi there I've posted a similar question on the ASP message board as I am keen to get as many opinions as I can. The situation is that I am a student just about to start on my dissertation, which is going to be a website that queries a database. I researched all the different methods of doing it (eg Java servlets, C) and decided on ASP. I...
15
2,225
thread by: Antonio | last post Nov 19 '05 by: Antonio
Hello, here is what I am doing. 1) user accesses web page and clicks button to build report 2) web page accesses web service whose data type is DataSet (public DataSet methodname()...) 3) web service connects to SqlServer, runs BIG report 4) data is returned to web service, web service returns DataSet to web front-end 5) web front-end...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.