.NET 1.1 和 MS SQL 2005 问题

发布于 2024-07-27 05:12:30 字数 296 浏览 2 评论 0原文

突然,我在使用 dotNET 1.1 并尝试访问 MS SQL 2005 的所有 Web 应用程序上收到以下错误。应用程序和 SQL Server 在同一台计算机上运行。

System.Data.SqlClient.SqlException Message: General network error.  Check your network documentation.

我用谷歌搜索了以下内容并尝试了所有建议的解决方案,但没有一个有效。

该错误的出现没有特殊原因,现在我陷入困境。

Suddenly I'm getting the following error on all web applications using dotNET 1.1 and trying to access MS SQL 2005. The applications and SQL server run on the same machine.

System.Data.SqlClient.SqlException Message: General network error.  Check your network documentation.

I have googled the following and tried all suggested solutions, but none of them worked.

The error appear for no particular reason, and now I'm stuck.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

热鲨 2024-08-03 05:12:30

由于此功能一直有效,然后意外停止,因此此问题最可能的原因是已应用于您的计算机的修补程序。

尝试解决这个问题的一个简单方法是使用 regiis 卸载并重新安装 IIS 上的 asp.net。

该实用程序通常位于:C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322(对于.NET 1.1),然后在命令提示符下运行它,如下所示...

aspnet_regiis \u

然后完成后,只需执行...

aspnet_regiis \i

即可重新执行针对 IIS 安装它。

As this has been working and has then stopped unexpectedly, the most likely reason for this problem is a hotfix that has been applied to your machine.

An easy thing to try to sort it out would be to use regiis to uninstall and re-install asp.net against IIS.

The utility is usually in: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 (for .NET 1.1) and you run it command prompt like this...

aspnet_regiis \u

Then when that's done, just do...

aspnet_regiis \i

To re-install it against IIS.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文