Okay. So, I have asp.net project (webform1.aspx), which I want to upload on my web site. But, when I uploaded and tried to access it from web (http://mywebsite/projectname/webform1.aspx, it gives an error. (it works fine when I do - http://localhost/projectname/webform1.aspx.
The error is:
Server Error in '/' application
Parser Error Message: 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.
Source Error:
Line 38: -->
Line 39:
Line 40: <authentication mode="Windows" /> <---- HERE!!!!
Line 41:
Line 42:
How do I fix it so I can view the aspx on my website? Please help, I have been tryin to solve this for days.. still no success...
Please explain in DETAILS, I am just a beginner.. Thanx alot!
PS: I have created a virtual folder on IIS and stored my project in it.
The error is:
Server Error in '/' application
Parser Error Message: 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.
Source Error:
Line 38: -->
Line 39:
Line 40: <authentication mode="Windows" /> <---- HERE!!!!
Line 41:
Line 42:
How do I fix it so I can view the aspx on my website? Please help, I have been tryin to solve this for days.. still no success...
PS: I have created a virtual folder on IIS and stored my project in it.