amirhkh
سه شنبه 21 آذر 1385, 13:37 عصر
سلام
من یه پروژه دارم که وقتی پابلیش می کنم موقع اجرا این error رو روی خط قرمز میده (asp .net 2 هست)
اگه می شه کمک کنید
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 261: <system.web>
Line 262: <roleManager enabled="true"/>
Line 263: <authentication mode="Forms">
Line 264: <forms loginUrl="admin/index.aspx" name="authCookie" timeout="10" path="/">
Line 265: </forms>
Source File: D:\Vhosts\mmoshaver.com\httpdocs\test\web.config Line: 263
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
من یه پروژه دارم که وقتی پابلیش می کنم موقع اجرا این error رو روی خط قرمز میده (asp .net 2 هست)
اگه می شه کمک کنید
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 261: <system.web>
Line 262: <roleManager enabled="true"/>
Line 263: <authentication mode="Forms">
Line 264: <forms loginUrl="admin/index.aspx" name="authCookie" timeout="10" path="/">
Line 265: </forms>
Source File: D:\Vhosts\mmoshaver.com\httpdocs\test\web.config Line: 263
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210