jinzhan728 - 2008-5-6 11:25:00
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
未能找到文件“f:\aaa\bbs\aspx\13\rewriter.xml”。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.IO.FileNotFoundException: 未能找到文件“f:\aaa\bbs\aspx\13\rewriter.xml”。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[FileNotFoundException: 未能找到文件“f:\aaa\bbs\aspx\13\rewriter.xml”。]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +328
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +1038
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) +115
System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) +88
System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks) +27
IWMS.URLRewriter.Config.RewriterConfiguration.GetConfig() +216
IWMS.URLRewriter.ModuleRewriter.Rewrite(String requestedPath, HttpApplication app) +15
IWMS.URLRewriter.BaseModuleRewriter.BaseModuleRewriter_AuthorizeRequest(Object sender, EventArgs e) +61
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433
有时候会出现上面的错误提示
iwms4.6放在aaa中
Discuz!NT 2.1放在aaa\bbs中
到底是什么原因呢????
另附web.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="Charset" value="utf-8" />
</appSettings>
<system.web>
<authorization>
<allow users="*" /> <!-- BBS允许所有用户 -->
</authorization>
<trace
enabled="false"
requestLimit="10"
pageOutput="false"
traceMode="SortByTime"
localOnly="true"
/><!-- BBS -->
<compilation defaultLanguage="C#" debug="false"/>
<!--如果为.net SDK 1.0及以前版本,请删除validateRequest="false" -->
<pages validateRequest="false" enableSessi enableViewState="true"/>
<customErrors mode="Off" />
<globalization fileEncoding="utf-8" requestEncoding="utf-8" resp culture="zh-CN" />
<httpRuntime maxRequestLength="2048" />
<httpModules>
<add type="IWMS.URLRewriter.ModuleRewriter, IWMS_URLRewriter" name="ModuleRewriter" />
<add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" />
</httpModules>
<xhtmlConformance mode="Legacy"/>
<httpHandlers>
</httpHandlers>
<webServices>
<protocols>
<add name="HttpGet" />
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>
</configuration>
求高手解答!