2014年7月13日 星期日

[RESOLVED] Server Error in '/' Application.


In IIS i was running my project in root


- Website1/Login.aspx



But I want to run My project in subfolder like this


- Website1/Wiki/Login.aspx


but when i did this i started getting this error


Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

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 83: ASP.NET to identify an incoming user.
Line 84: -->
Line 85:
Line 86:
Line 87:


Please help me to fix this issue



Thanks





Hello,


You should set the Wiki folder as applicaion in the IIS - Website settings.


Regards



hi vimalbau,


<forms name="Login" defaultUrl="~/Wiki/login.aspx" loginUrl="~/Wiki/login.aspx"
timeout
="20">forms>


hope this is usefull


 




@aspnethost ... Unable to get you please Tell me step by step  if possible


@anandsrivast .. I tried but not working..


Thanks



It is saying that you have more .cofing files in sub folders other than the root. Check this

link
for more information.


沒有留言:

張貼留言