C# 404-找不到文件或目录。在翁布拉科
我跑步时出现404错误 如果我使用,那么它就可以工作了 我找到了一些解决方法,但它们对我不起作用 我在webconfig中尝试了一些解决方案:C# 404-找不到文件或目录。在翁布拉科,c#,asp.net,web-config,umbraco,umbraco5,C#,Asp.net,Web Config,Umbraco,Umbraco5,我跑步时出现404错误 如果我使用,那么它就可以工作了 我找到了一些解决方法,但它们对我不起作用 我在webconfig中尝试了一些解决方案: 1)<httpErrors existingResponse="PassThrough" /> 2)<location path="Site Description"> <system.webServer> <httpErrors existingResponse="PassThrough" /&
1)<httpErrors existingResponse="PassThrough" />
2)<location path="Site Description">
<system.webServer>
<httpErrors existingResponse="PassThrough" />
</system.webServer>
</location>
1)
2)
但在webconfig中添加这些解决方案后,我发现了505个错误。您可以在webconfig中使用默认的导航页面设置,如下所示
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="CreateThing.aspx" />
</files>
</defaultDocument>
</system.webServer>
您是否已将UseExtensionlessUrls
设置设置为true?Hi Grant在何处设置UseExtensionlessUrls=true