[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

Trouble setting up IIS/ASP.NET development environment

Asked by mdougan in Programming for ASP.NET, Microsoft Visual Basic.Net, Microsoft IIS Web Server

Tags: ASP.NET, VB.NET, IIS, Microsoft IIS Web Server

I have Visual Studio Pro 2008 and I'm trying to work out a problem running the very first ASP.NET project I've created.

I've created a new Visual Basic project using the Web Application template and it created the Webc.onfig file as well as the Default.aspx file.

In the Default.aspx file, all I added was a Hello World!  In the body of the HTML that was automatically generated.

I've compiled the app, which lives in a folder under InetPub/wwwroot folder.

In the IIS Admin screen, I set up a virtual website to point to the physical folder, I set the permissions for that folder to allow reads and script execution, enabled Anonymous Access, and authentication is done through Integrated Windows authentication.  

Figured out that I had not installed Frontpage Extensions, so, went back and added those, and as far as I know, I've enabled them.  When I tried to navigate to my application through a browser, using a URL such as:

http://localhost/fb_feng_shui/Default.aspx

I first got an error about the user not having permissions to read the meta-something or another... which I was able to lookup and correct using aspnet_regiis -ga ASPNET

Now, I get the error below when I try to access the application directly through the browser.

However, if I enable debugging in the Web.config file and run it through the VS IDE, then VS navigates to it like so:

http://localhost:1114/Default.aspx

And that works perfectly.

Now, I'm just running this all on a stand-alone computer, connected to my home router.  I do have to login to my computer, so, I'm logged in as a local machine account, and there is no domaine controller... if that makes a difference...

Any ideas on how to proceed?  As I said, running it through the debugger doesn't generate the error, so, I can't figure out what is generating the error when not run through the debugger.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
Object reference not set to an instance of an object. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
 
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
 
Source Error: 
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
 
Stack Trace: 
 
 
[NullReferenceException: Object reference not set to an instance of an object.]
   System.Web.Hosting.ISAPIWorkerRequestInProc.GetServerVariable(String name) +1579
   System.Web.Security.WindowsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs) +103
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
 
 
 
 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
[+][-]02/02/09 03:01 PM, ID: 23532482Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Programming for ASP.NET, Microsoft Visual Basic.Net, Microsoft IIS Web Server
Tags: ASP.NET, VB.NET, IIS, Microsoft IIS Web Server
Sign Up Now!
Solution Provided By: funwithdotnet
Participating Experts: 2
Solution Grade: A
 
[+][-]02/02/09 03:02 PM, ID: 23532493Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/02/09 03:05 PM, ID: 23532517Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/02/09 03:08 PM, ID: 23532538Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/02/09 03:17 PM, ID: 23532615Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/02/09 03:32 PM, ID: 23532708Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/02/09 04:34 PM, ID: 23533101Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625