Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error's

Status
Not open for further replies.

Millzy01

Programmer
Jan 11, 2007
20
GB
I am using IIS 6 and everything was running fine until I loaded a new website (asp.net 1.1), at first the new site did not work correctly due to a ‘Object reference not set to an instance of an object’ error, I could find a problem with the code and it ran OK when ran from Visual Studio and IIS 5.1 on my Development PC, I left work for the day and when I came back into work the new website was working fine, or so I thought.
Now the same error occurs infrequently and the same error occurs on another web site that has been running for several months without any problems. The problem only happens on pages that use ado.net and after pressing F5 to refresh, the page will load correctly.
Has anyone seen this before and if so how did they manage to get around it?

Thanks
 
IIS 6 has ASP.NET 2.0. I'm guessing you have some "outdated" code OR your server defaulted to ASP.NET 1.1 and now some new code that has 2.0 functionality has stopped working.

[monkey][snake] <.
 
All the code is writen in ASP.Net 1.1 and all the web sites are set to run on ASP.Net 1.1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top