IIS 7 无法从 ASP.Net 应用程序服务表读取数据
我正在致力于使用 ASP.Net 应用程序服务数据库部署用 C# 编写的 Web 应用程序。
该应用程序在开发机器上运行良好。
Windows Server 2003 是为了测试该应用程序而构建的。
该数据库已使用 MS SQL Server GUI 编写脚本。
ASP.Net 应用程序服务表是使用实用程序创建的。
连接字符串存储在web.config和connectionStrings.config中。
应用程序成功连接到数据库,但 10 秒后超时。
I'm working on deploying a web application written in C# with ASP.Net Application services databases.
The application runs fine on the development machine.
Windows Server 2003 has been built to test the application.
The database has been scripted across using MS SQL Server GUI.
ASP.Net application services tables were created using an utility.
The connection strings are stored in the web.config and connectionStrings.config.
The application connects to the database successfully, but then it times out after 10 seconds.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为我们需要更多的信息来找出超时发生的原因。您如何知道应用程序已成功连接到数据库?
如果这就是我所掌握的所有信息并且我观察到了这些症状,我可能会尝试针对相关 SQL 实例运行 SQL Server Profiler,以查看针对数据库的哪些活动超时。
I think we'll need more than this to figure out why the timeout is happening. How do you know that the application is successfully connecting to the database?
If that's all the information I had and I observed those symptoms, I'd likely try to run SQL Server Profiler against the SQL instance in question to see what activity against the database is timing out.
连接字符串被硬编码在应用程序的某处......啊啊
Connection string was hardcoded somewhere in the app...ahhh