为什么asp.net网站管理工具给出超时消息(mysql db)?
我有一个 asp.net-mvc 网站,我正在尝试使用 asp.net 网站管理工具,但是当我单击 Visual Studio 2010 启动它时,它会打开一个浏览器,显示:
遇到错误。请返回上一页并重试。
我无法点击返回,但当我点击“如何使用此工具”时,我收到此错误:
工具已超时
作为一项安全措施,网站管理工具在一段时间不活动后会超时。对 machine.config 或 web.config 的更改也可能导致需要重新启动该工具。要继续配置您的网站,请重新启动该工具。
当我运行我的网站时,我能够正常连接到数据库,并且我还能够通过默认帐户/登录界面插入新用户。
关于如何调试为什么我无法启动管理工具有什么建议吗?
i have an asp.net-mvc website and I am trying to use the asp.net website administration tool but when i click in visual studio 2010 to launch it, it brings up a browser that says:
An error was encountered. Please return to the previous page and try again.
i can't click back but when i click on "How do i use this tool", i get this error:
Tool Has Timed Out
As a security measure, the Web Site Administration Tool times out after a period of inactivity. Changes to machine.config or web.config may also result in the tool needing to be restarted. To continue configuring your web site, restart the tool.
when i run my website, i am able to connect to the database fine and i am also able to insert new users through the default Account/LogOn interface.
Any suggestions on how to debug why i can't launch the admin tool ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
项目的路径不应包含#%或空格
The project's path shouldn't contain #% or spaces
您可以尝试以下操作:
现在尝试再次运行网站管理工具。
如果仍然无法正常工作,您能否提供您正在使用的浏览器、操作系统和主机?
Could you please try the following:
Now try to run the Web Site Administration Tool again.
If it still does not work yet, could you please provide which browser you are using, and which OS and host?
项目的路径不应包含 #% 或空格
我的项目路径是 D:\Programming\C#\Tests\MVCApplication\
这就是造成问题的原因。
The project's path shouldn't contain #% or spaces
My Project path was D:\Programming\C#\Tests\MVCApplication\
and that is what caused the problem.
我在 VS2010 .NET 4.0 框架中收到完全相同的错误消息。我在名为“C#”的子文件夹中创建了我的解决方案。将子文件夹重命名为 CSharp 解决了我的问题。
我希望这有帮助。
I was getting the exact same error message with VS2010 .NET 4.0 framework. I created my solution in a subfolder titled "C#". Renaming the subfolder to CSharp fixed my problem.
I hope this helps.