温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Asp.net2.0车票管理系统
当前文件:
ChePiaoGuanLi/Web.Config[2K,2009-6-12 11:35:13],打开代码结构图
ChePiaoGuanLi/Web.Config[2K,2009-6-12 11:35:13],打开代码结构图1<?xml version="1.0"?> 2
<!-- 3
娉ㄦ剰: 闄や簡鎵嬪姩缂栬緫姝ゆ枃浠朵互澶栵紝鎮ㄨ繕鍙互浣跨敤 4
Web 绠$悊宸ュ叿鏉ラ厤缃簲鐢ㄧ▼搴忕殑璁剧疆銆傚彲浠ヤ娇鐢?Visual Studio 涓殑 5
鈥滅綉绔欌?>鈥淎sp.Net 閰嶇疆鈥濋夐」銆? 6
璁剧疆鍜屾敞閲婄殑瀹屾暣鍒楄〃鍦? 7
machine.config.comments 涓紝璇ユ枃浠堕氬父浣嶄簬 8
\Windows\Microsoft.Net\Framework\v2.x\Config 涓? 9
--> 10
<configuration> 11
<appSettings/> 12
<connectionStrings> 13
<add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True" 14
providerName="System.Data.SqlClient" /> 15
</connectionStrings> 16
<system.web> 17
<!-- 18
璁剧疆 compilation debug="true" 灏嗚皟璇曠鍙锋彃鍏? 19
宸茬紪璇戠殑椤甸潰涓備絾鐢变簬杩欎細 20
褰卞搷鎬ц兘锛屽洜姝ゅ彧鍦ㄥ紑鍙戣繃绋嬩腑灏嗘鍊? 21
璁剧疆涓?true銆? 22
--> 23
<roleManager enabled="true" /> 24
<httpHandlers> 25
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 26
validate="false" /> 27
</httpHandlers> 28
<compilation debug="true"> 29
<buildProviders> 30
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 31
</buildProviders> 32
</compilation> 33
<!-- 34
閫氳繃 <authentication> 鑺傚彲浠ラ厤缃?ASP.NET 浣跨敤鐨? 35
瀹夊叏韬唤楠岃瘉妯″紡锛? 36
浠ユ爣璇嗕紶鍏ョ殑鐢ㄦ埛銆? 37
--> 38
<authentication mode="Forms"> 39
<forms loginUrl="~/Default.aspx" cookieless="AutoDetect"> 40
</forms> 41
</authentication> 42
<!-- 43
濡傛灉鍦ㄦ墽琛岃姹傜殑杩囩▼涓嚭鐜版湭澶勭悊鐨勯敊璇紝 44
鍒欓氳繃 <customErrors> 鑺傚彲浠ラ厤缃浉搴旂殑澶勭悊姝ラ銆傚叿浣撹鏉ワ紝 45
寮鍙戜汉鍛橀氳繃璇ヨ妭鍙互閰嶇疆 46
瑕佹樉绀虹殑 html 閿欒椤? 47
浠ヤ唬鏇块敊璇爢鏍堣窡韪? 48
49
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> 50
<error statusCode="403" redirect="NoAccess.htm" /> 51
<error statusCode="404" redirect="FileNotFound.htm" /> 52
</customErrors> 53
--> 54
</system.web> 55
</configuration> 56



