Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/wcf/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# WCF服务给出超时错误_C#_Wcf_Enterprise Architect - Fatal编程技术网

C# WCF服务给出超时错误

C# WCF服务给出超时错误,c#,wcf,enterprise-architect,C#,Wcf,Enterprise Architect,我有一个.Net服务,用于连接到Enterprise Architect API。当直接运行.exe文件时,连接和获得响应大约需要30秒。注册与WCF服务相同的服务并运行该服务时,出现以下错误: Retrieving the COM class factory for component with CLSID {67F4E0FA-46A7-4255-B084-69A9433D08C3} failed due to the following error: 80080005 Server exec

我有一个
.Net服务
,用于连接到Enterprise Architect API。当直接运行
.exe
文件时,连接和获得响应大约需要30秒。注册与WCF服务相同的服务并运行该服务时,出现以下错误:

Retrieving the COM class factory for component with CLSID
{67F4E0FA-46A7-4255-B084-69A9433D08C3} failed due to the following
error: 80080005 Server execution failed (Exception from HRESULT:
0x80080005 (CO_E_SERVER_EXEC_FAILURE)). 
按照中给出的步骤解决了上述错误


在此之后,注册的WCF服务需要大约4-5分钟才能连接,然后它会给出一个错误,
“tjava.net.SocketTimeoutException:
读取超时。”

问题是EA需要一个“真实”用户才能正常工作


LieberLieber的员工显然找到了解决方案:

我不知道WCF,但将EA作为服务运行是行不通的。你搜索过Sparx的论坛吗(我知道这是一个PITA)?