我使用asp.net在Visual Studio中创建了一个网站,我的默认页面是default.aspx。 我使用FileZilla将文件添加到服务器,并添加了一切。 但是当我输入URL时,它表示找不到default.aspx,即使它肯定存在。 另外,我将同一页面转换为default.html,并将其上传,并且工作正常。 有谁知道为什么我看不到我的.aspx文件,以及如何解决它。 谢谢
Ive made a website in Visual Studio using asp.net, my default page is default.aspx. Im using FileZilla to add the files to the server, and Ive added everything. But when i type in the URL, it says that it cannot find default.aspx, even though its definitely there. also, I converted the same page to default.html, and uploaded that and it works fine. Does anyone know why I cant see my .aspx file, and how to fix it. Thanks
最满意答案
确保已将所有文件和.dll文件上载到服务器中。 确保已给出正确的路径,并且iis指向项目的虚拟目录。 检查配置文件删除调试模式。 检查所有.dll是否已编译。
In my experience the pages did not work because the server did not support aspx files, although I cannot tell you which version of it it was. I bought a Windows server and it worked fine.
更多推荐
发布评论