PDA

View Full Version : کمک در مورد پابلیش کردن سایت



amirhkh
سه شنبه 21 آذر 1385, 12: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

amirhkh
سه شنبه 21 آذر 1385, 14:52 عصر
یعنی تو این انجمن هیچکس نیست مشکل ما رو حل کنه

anubis_ir
سه شنبه 21 آذر 1385, 15:14 عصر
خودش که راه حل مشکل رو نوشته :
This error can be caused by a virtual directory not being configured as an application in IIS.

یک دایرکتوری مجازی توسط IIS برای برنامه درست کنید.