View Full Version : VS Web application - Error when run at website
Croydon
07-17-2003, 12:25 AM
I have created an ASP.NET application using Visual Studio and have loaded this to the website using FTP. When I try to run the application I get the following error message:
Configuration 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."
The following lines are highlighted:
Line 23: "Forms", "Passport" and "None"
Line 24: -->
Line 25: <authentication mode="Windows" />
I do not get this message when running it on the local pc on which it was developed.
Any suggestions on what I need to do to fix this would be appreciated.
Croydon
07-17-2003, 03:35 AM
The problem is resolved.
I found the answer on another thread.
jkahsen
06-03-2004, 05:06 AM
What was the solution for this? You indicated that you found it on another thread but didn't mention the thread... Any help would be appreciated.
Regards,
Jeff
-----------
have created an ASP.NET application using Visual Studio and have loaded this to the website using FTP. When I try to run the application I get the following error message:
Configuration 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."
bruce
06-03-2004, 11:09 AM
this error happens when the directory containing the web.config file is not setup as an application.
Resolution: configure the directory as an application root in the control panel
[b]quote:Originally posted by jkahsen
What was the solution for this? You indicated that you found it on another thread but didn't mention the thread... Any help would be appreciated.
Regards,
Jeff
-----------
have created an ASP.NET application using Visual Studio and have loaded this to the website using FTP. When I try to run the application I get the following error message:
Configuration 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."
</blockquote id="quote"></font id="quote">
aletikreddy
07-06-2004, 11:22 AM
hi,
I too have the same problem, my web.config file is in the subfolder of the application which is set as virtual directory in the IIS
May I ask what you mean by "configure the directory as an application root in the control panel". I am having this problem now. Thanks,
Yezi
[b]quote:Originally posted by bruce
this error happens when the directory containing the web.config file is not setup as an application.
Resolution: configure the directory as an application root in the control panel
[b]quote:Originally posted by jkahsen
What was the solution for this? You indicated that you found it on another thread but didn't mention the thread... Any help would be appreciated.
Regards,
Jeff
-----------
have created an ASP.NET application using Visual Studio and have loaded this to the website using FTP. When I try to run the application I get the following error message:
Configuration 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."
</blockquote id="quote"></font id="quote">
</blockquote id="quote"></font id="quote">
bruce
08-04-2004, 01:59 AM
http://kb.discountasp.net/article.aspx?id=10181
[b]quote:Originally posted by yezi
May I ask what you mean by "configure the directory as an application root in the control panel". I am having this problem now. Thanks,
Yezi
[b]quote:Originally posted by bruce
this error happens when the directory containing the web.config file is not setup as an application.
Resolution: configure the directory as an application root in the control panel
[b]quote:Originally posted by jkahsen
What was the solution for this? You indicated that you found it on another thread but didn't mention the thread... Any help would be appreciated.
Regards,
Jeff
-----------
have created an ASP.NET application using Visual Studio and have loaded this to the website using FTP. When I try to run the application I get the following error message:
Configuration 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."
</blockquote id="quote"></font id="quote">
</blockquote id="quote"></font id="quote">
</blockquote id="quote"></font id="quote">
vldev
08-06-2004, 06:04 AM
Using the Internet Services Manager in the administrative tools, locate the folder in the default website. Right click on the folder and select properties. On the Directory tab under Application Settings towards the bottom locate Application Name. It will probably show a value of 'Default Application'. To the right of the name click the Create button.
This will set the folder as an application folder
vBulletin® ©Jelsoft Enterprises Ltd.