<authentication mode="Forms" />
<authorization>变成下面的
<authentication mode="Forms" />
<forms name="CommerceAuth" loginUrl="login.aspx" protection="All" path="/" />
<authorization>就出错了: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: Unrecognized configuration section 'forms'Source Error:
Line 51:
Line 52:
Line 53: <forms name="CommerceAuth" loginUrl="login.aspx" protection="All" path="/" />
Line 54:
Line 55:
Source File: c:\inetpub\wwwroot\Rohs\web.config Line: 53
<authorization>变成下面的
<authentication mode="Forms" />
<forms name="CommerceAuth" loginUrl="login.aspx" protection="All" path="/" />
<authorization>就出错了: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: Unrecognized configuration section 'forms'Source Error:
Line 51:
Line 52:
Line 53: <forms name="CommerceAuth" loginUrl="login.aspx" protection="All" path="/" />
Line 54:
Line 55:
Source File: c:\inetpub\wwwroot\Rohs\web.config Line: 53
解决方案 »
- “System.Data.OracleClient.OracleConnection”已过时 ,那要用什么替代呢??
- 如何在.net中编写xhtml网页?
- 关于手机访问网页问题
- web.config configSource 的问题,
- 2个DataTable如何添加到一个DataSet中?
- 如何使用ASP.NET或者JS判断客户端是否还开有本站页面呢?
- 请问关于SQL语句求出在数据表中第二大的值
- 如何根据datagird行的颜色来取值呢?
- 没有人遇见这样一桩怪事呀.
- Global.asax 在上傳到iis上後,執行一兩個小時後就不執行了!
- 数据共享方案?
- 求救,asp.net(vb)编译出错,请大家帮忙改正!!!!!
<authentication mode="Forms" />
<forms name="CommerceAuth" loginUrl="login.aspx" protection="All" path="/" />
<authorization>
应该改成:
<authentication mode="Forms">
<forms name="CommerceAuth" loginUrl="login.aspx" protection="All" path="/" />
</authorization>
主要是反斜杠的问题。
<authentication mode="Forms">和</authentication>
<authentication mode="Forms">
<forms name="CommerceAuth" loginUrl="login.aspx" protection="All" path="/"> </forms>
</authentication>
<authorization>
两者不是同一个标签,两个单词不一样!mousie也搞错了
<forms>标签应该放在<authentication>中