09/10/2018, 17:37
[Q] Error installing ASP .NET Forum
Các bác giải thích hộ em với. Chả hiểu mô tê gì cả
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 13: <customErrors mode="RemoteOnly" />
Line 14:
Line 15: <authentication mode="Forms">
Line 16: <forms name="AspNetWebAuth" loginUrl="~/login.aspx" protection="None" timeout="60" />
Line 17: </authentication>
Source File: d:inetpubwwwrootNetForumAspNetForumsweb.confi g Line: 15
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288
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 13: <customErrors mode="RemoteOnly" />
Line 14:
Line 15: <authentication mode="Forms">
Line 16: <forms name="AspNetWebAuth" loginUrl="~/login.aspx" protection="None" timeout="60" />
Line 17: </authentication>
Source File: d:inetpubwwwrootNetForumAspNetForumsweb.confi g Line: 15
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288
Bài liên quan
Giải quyết:
+ Bạn vào thư mục d:\inetpub\wwwroot\NetForum\
+ Click phải lên thư mục AspNetForums, chọn Sharing, chọn Tab Web Sharing, bấm OK, OK.
+ Chạy thử: http://localhost/AspNetForums/
OK?