Error in running existing website

Posted by Juvy_Paira under ASP.NET on 7/15/2012 | Points: 10 | Views : 935 | Status : [Member] | Replies : 2
Hi everyone,

I am new to asp.net, I am still on the process of learning. Please help me with regards to my problem. As I run my existing website, i bump this 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.

Please help me...Thank you...




Responses

Posted by: Ankit_Parmar555 on: 7/16/2012 [Member] Starter | Points: 25

Up
0
Down
for this check your web.config properly.
and if you have c-panel hosting configure its settings properly.

Juvy_Paira, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prtkaggrwl on: 7/16/2012 [Member] Starter | Points: 25

Up
0
Down
Do one thing this may help you
open run window and type INETMGR

this will open your default website IIS setting
right click in your website and open properties
In that their is a add directory option click on it
now run the website


Juvy_Paira, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response