Runtime error!

Hi there,

Please help me solve this problem so I can get my project back on track.

I do not know how to sovle this runtime error that shuts my project down. Any help would be well appreciated.

Thank you :confused:

Warning 1 C:\Dorknozzle\vb\Default.aspx: ASP.NET runtime error: It is an error to use a section registered as allowDefinition=‘MachineToApplication’ beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\Dorknozzle\vb\web.config line 86) C:\Dorknozzle\vb\Default.aspx 1 1 C:\Dorknozzle\

Is \Dorknozzle\ a virtual directory? If you created it yourself, you need to make sure IIS knows how to run it as an application and make it a virtual directory, so you can run your app. First, you need IIS installed. Second, if you don’t use a Virtual directory (or don’t want to), you would need to add the files to c:\inetpub\www\…after you install IIS.

Thanks USPATRIOT,

I got the IIS installed, honestly this is my first attempt at ASP.NET and really do not know how to make it a ‘virtual directory’ ? :confused:

Could you please break it down for me?

Thank you

No Problem.

Start > Control Panel > Administrative Tools > IIS Manager.

On the left side, right click “Sites” (Under “Connections”), then Add Site.

Finally, just fill out the dialog form!

Hope it helps.

Hi USPatriot,

After following the instruction, clicking on connect it took me to a page asking for Computer name, which was already listed.

However, should I have seen an 'Error message stating that "Default web site (stopped)? It says:

Description-Default web site stopped
State- stopped
Ip Address- all unassigned
Port- 80
Status- unexpected error 0x8ffe2740 occur.

Now I am really CONFUSSED and dont know what to do.

Thanks for your help.

If websites is stopped. You can highlight it as click on the play button at the top of IIS. Or right click and start.

But the error your getting when trying to start it is usually caused by something else that is running on port 80 which IIS runs on. Therefor it cannot start.

Do you maybe have apache installed? Or skype running?

Along with the apps NightStalker mentioned, I would also add anti-virus program as the possible problem. It took me 2 days to figure out why Apache failed to start, and it was because of Norton.

^^^ That is hilarious. Anti-virus stopping webservices from starting. But thanks for the info. I will remember that if I have issues with this in the future

NightStalker, I found out that Norton Anti-Virus was taking Port 80. So, I shut the service down, through “Administrative Tools - Services”, Installed Apache (through XAMPP). After that, I then started up the anti-virus service - which then took a different port, avoiding confliction. It was a ***** to finally figure it out.