CoCreateInstanceEx:由于配置的身份不正确,无法启动服务器进程.检查用户名和密码. [英] CoCreateInstanceEx: The server process could not be started because the configured identity is incorrect. Check the username and password.

查看:842
本文介绍了CoCreateInstanceEx:由于配置的身份不正确,无法启动服务器进程.检查用户名和密码.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经编写了一个使用WCF的VS 2012程序.它正在使用net.tcp绑定.该程序充当客户端,从OPC服务器读取数据并将其发送回应用程序服务器.当此应用程序在许多地方运行时,我面临着一个特殊的问题 在其中一种安装方式中

We have written a program is VS 2012 using WCF. it is using net.tcp binding. this program acts as a client and reads data from OPC server and sends it back to application server. while this application is running in many places , I am facing a peculiar problem in one of theinstallation

问题是

1.启动服务后,应用程序运行正常.

1. Application runs perfectly fine when we start the service.

2.一段时间后,应用程序给出诸如"CoCreateInstanceEx的错误":由于所配置的身份不正确,服务器进程无法启动.检查用户名和密码."

2. After some time the application gives error like "CoCreateInstanceEx: The server process could not be started because the configured identity is incorrect. Check the username and password."

没有固定的时间.有时,客户端会连续运行三天,有时甚至无法运行一小时.

there is no fixed time. some times client runs for 3 days continuously and sometimes it doesn't run for an hour .

3.当我们使用mstsc远程登录PC时,上述异常消失,客户端应用程序再次开始正常工作.

3. when we login into the PC remotely using mstsc, the above exception goes away and client application again starts working normal.

4.该应用程序已安装在Windows 7 Professional中.

4. the application is installed in windows 7 professional .

我们已尝试通过Google进行许多设置更改,但仍然不成功.

we have tried many setting changes by google, but still we are not successful.

推荐答案

您好Sharmadn,

Hi Sharmadn,

由于该论坛讨论并询问有关Visual Basic编程语言,IDE,库,示例,和工具,而您的问题与WCF更相关,我将移动 进入相关性更高的论坛.

Since this forum is discussing and asking questions about the Visual Basic programming language, IDE, libraries, samples, and tool, and your issue is more related to WCF, I will move this thread to the more related forum.

感谢您的理解和支持.

最好的问候,

樱桃


这篇关于CoCreateInstanceEx:由于配置的身份不正确,无法启动服务器进程.检查用户名和密码.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆