具體問題就是未登錄認證,登錄界面引用的css樣式和js文件均報302錯誤;
找了很久的問題終於定位在配置文件上;
具體的解決方法就是在configuration節點下,system.web節點後面添加location節點,Content是我的項目資源路徑,大家根據實際更改爲自己的資源路徑即可。
<configuration>
<system.web>
.
.
</system.web>
<location path="Content">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
</configuration>