
May 28th, 2004, 05:48 AM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
NullReferenceException Error
Hi,
I'm not sure whether this query belongs on this forum or the .NET forum but I'd be grateful for any help. I have configured a couple of W2K Pro SP4 workstations to act as IIS servers for a ASP.NET application that uses ADO.NET to access an Oracle database on a Solaris server. One of them works fine, but the other keeps giving the following error:
[NullReferenceException: Object reference not set to an instance of an object.]
CandCFunctions.CandCSecurityAndAccessFunctions.isV alidUser(String currentLoggedInUserName) +443
CandCPages.WebForm1.Page_Load(Object sender, EventArgs e) +222
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
The only difference between the workstations is that the one that works has Visual Studio .NET installed and the other does not. It only has .NET Framework v1.1. I'm sure it's a configuration problem (which is why I wasn't sure which forum to post on). If anyone feels able and willing to help and needs to see the code, I can post it along with any other info required.
Thanks in advance, Gerry
|