Click here to Skip to main content
15,917,645 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need some help regarding asp.net.

I am a fresher and I am completely new to this. I got a source code and when I am trying to run it i am getting the following 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."

I do not have IIS installed. And I came to know that this error might be due to that. But I am not able to understand when I am able to run another website using VS in-built development server, why am I not able to run this.

Please bear with me if my question is very lame because I am totally new to all this.
Posted
Updated 13-Nov-11 22:39pm
v2

1 solution

 
Share this answer
 
Comments
gayathri 2 16-Nov-11 3:31am    
hi i tried dis .. and i created a virtual directory and made that virtual directory as an application in iis. but still im getting the same error. can u pls help me out.ther is one web.config in wwwroot and my website has a web.config.can it be possibly due to that? if so wat should i do?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900