473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Server error: 'Object reference not set to an instance of an object'

Hi,

I am trying to publish a website, but i can't get the aspx file to load
instead i get the above error and the following stack trace:

[NullReferenceException: Object reference not set to an instance of an
object.]
System.Web.Hosting.ISAPIWorkerRequestInProc.GetSer verVariable(String
name) +1618
System.Web.Security.WindowsAuthenticationModule.On Enter(Object
source, EventArgs eventArgs) +593

System.Web.SyncEventExecutionStep.System.Web.HttpA pplication.IExecutionStep.Execute()
+92
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +64
I am using asp.net v2.0, VS2005 & IIS 5.1 (configured to run asp.net
2.0).

..htm and .asp files load ok. The problem seems only to be with .aspx
files. I gather this may be a framework problem. But I have no idea how
to fix it. Any ideas?

Thanks.

Sep 6 '06 #1
1 1492
After many high speed collisions between my head and a brick wall, all
i needed to do was register the ASP.NET extensions in IIS, as i had
installed IIS after the .NET framework. Simply go to command window and
run aspnet_regiis -i (The -i option installs the needed associations in
IIS) in the WINDOWS\Microsoft.NET\Framework\vX.X.XXXX directory.

I hope this may help someone. :)
Assimalyst wrote:
Hi,

I am trying to publish a website, but i can't get the aspx file to load
instead i get the above error and the following stack trace:

[NullReferenceException: Object reference not set to an instance of an
object.]
System.Web.Hosting.ISAPIWorkerRequestInProc.GetSer verVariable(String
name) +1618
System.Web.Security.WindowsAuthenticationModule.On Enter(Object
source, EventArgs eventArgs) +593

System.Web.SyncEventExecutionStep.System.Web.HttpA pplication.IExecutionStep.Execute()
+92
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +64
I am using asp.net v2.0, VS2005 & IIS 5.1 (configured to run asp.net
2.0).

.htm and .asp files load ok. The problem seems only to be with .aspx
files. I gather this may be a framework problem. But I have no idea how
to fix it. Any ideas?

Thanks.
Sep 7 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Daniel Rimmelzwaan | last post by:
I got the following server error, does anybody have an idea of what it means? Server Error in '/CreateJobFromFile' Application. ...
2
by: James Wallace | last post by:
I hope that someone can help me out there with this problem. I get an itermittant problem with our web page that occurs about once every 10 to 15 days where the only way to fix the problem is to...
3
by: Web Team | last post by:
Server Error in '/netapps' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. Description: An...
3
by: SAL | last post by:
I am getting the following ERROR in my WebApp on line 30: Server Error in '/TestWebApp' Application. -------------------------------------------------------------------------------- Object...
2
by: Richard Coltrane | last post by:
Hi there, Ive just implemented some application level exception handling in ASP.Net 2.0. I deliberately set up a null reference error in my code to see how this would be handled. Sure enough...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.