尝试连接到我的Web服务时,XP提供错误1825

时间:2021-12-29 09:38:40

I've been creating a an application with C# using W2k8+IIS7/SQLExpress 2008/Web Service/Windows Client. I'll be very upfront in that I'm learning how to setup the SQL and IIS and the security for it all. I don't need tight SSL security or any of that, since this is an intranet page inside my company. I do know I setup SQL and IIS to use NTAUTH_SERVICE and that SQL is in mixed mode.

我一直在使用W2k8 + IIS7 / SQLExpress 2008 / Web服务/ Windows客户端使用C#创建一个应用程序。我将非常领先,因为我正在学习如何设置SQL和IIS以及它的安全性。我不需要严格的SSL安全性或其中任何一个,因为这是我公司内部的内部网页。我知道我设置SQL和IIS使用NTAUTH_SERVICE并且SQL处于混合模式。

Everything is working on Vista and Win7, except on Windows XPSP3 x86 which will not talk to the service. The purpose of the windows client is to gather the machine specs via WMI and then send it to the web service. Even when I install VS 2008 SP1 on the machine to do some remote debugging (Attach to Process on my server), I get this Error Code 1825:

一切都在Vista和Win7上运行,除了Windows XPSP3 x86,它不会与服务通信。 Windows客户端的目的是通过WMI收集机器规格,然后将其发送到Web服务。即使我在机器上安装VS 2008 SP1进行一些远程调试(在我的服务器上附加到进程),我得到此错误代码1825:

Windows Error Message 1825: 'RPC_S_SEC_PKG_ERROR' A security package specific error occurred.

Windows错误消息1825:'RPC_S_SEC_PKG_ERROR'发生安全包特定错误。

Does anyone have an ideas on how to fix this? Or what's causing it? Much appreciated =)

有没有人有关于如何解决这个问题的想法?或者是什么导致了它?非常感谢=)

1 个解决方案

#1


This could be just a work-around or gremlins ...or the fix itself -- Changing the 'Connection Timeout' from the default 2mins to 8mins in the website's IIS settings fixed the whole dang thing.

这可能只是一个解决方法或者gremlins ......或修复本身 - 在网站的IIS设置中将“连接超时”从默认的2分钟更改为8分钟,修复了整个事情。

#1


This could be just a work-around or gremlins ...or the fix itself -- Changing the 'Connection Timeout' from the default 2mins to 8mins in the website's IIS settings fixed the whole dang thing.

这可能只是一个解决方法或者gremlins ......或修复本身 - 在网站的IIS设置中将“连接超时”从默认的2分钟更改为8分钟,修复了整个事情。