2012-07-26 52 views
2

当连接到安装在64位的Windows 7笔记本电脑上的CMS从模板生成器(TB),我们偶尔会出现以下错误:“的基础连接已关闭”与支持SDL Tridion 2011 SP1模板生成器

The underlying connection was closed: An unexpected error occurred on a receive. 
    at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) 
    at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) 
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) 
    at Tridion.ContentManager.Templating.CompoundTemplates.DomainModel.Model.Login(Uri contentManager, NetworkCredential credentials) 
    at Tridion.ContentManager.UI.CompoundTemplateDesigner.DesignerForm.LogonAs(Uri uri, Exception initialError) 

从客户端机器访问时,似乎只会出现此错误,从CMS服务器本身安装的TB进行连接时似乎不会出现此错误。这似乎也不是CMS服务器特定的,因为连接到其他环境和其他客户端安装时也会间歇性地发生此错误。我尝试重新安装结核病,但问题依然存在。

是否有其他人遇到类似的问题,或者对可能导致错误的建议有所建议?

+0

会出现这种情况,当你运行一个模板?或者当加载/保存模板时?一旦你在机器上使用它,它会一直发生吗?或者,如果再次尝试,模板运行/加载/保存是否正常? – 2012-07-26 14:07:52

+0

配置了哪个代理?我有类似的连接问题,因为我工作的公司使用的代理服务器。 – 2012-07-26 14:11:59

+0

它有时会在我连接时发生,有时候我会跑步。没有涉及到的代理 - 有时是VPN虽然 - 当它发生时没有真正的模式:( – 2012-07-26 14:31:20

回答

4

如果托管模板Web服务的CM服务器上打开的连接太多,就会发生这种情况。

尝试重新启动服务器。如果仍继续在模板Web服务添加该配置如下:

<httpRuntime executionTimeout="3600" maxRequestLength="102375" ></httpRuntime> 

这将使该文件中../Tridion/Templating/web.config寻找类似如下:

<configuration> 
    <tridionConfigSections> 
    <sections> 
     <clear /> 
     <add filePath="..\config\Tridion.ContentManager.config" /> 
    </sections> 
    </tridionConfigSections> 
    <system.web> 
    <httpRuntime executionTimeout="3600" maxRequestLength="1023750"/> 
    <authentication mode="Windows" /> 
    <authorization> 
     <allow users="*" /> 
     <deny users="*" /> 
    </authorization> 
    <identity impersonate="false" /> 
    </system.web> 
    <appSettings> 
    <add key="cmeWebRoot" value="WebUI" /> 
    </appSettings> 
</configuration> 
+0

感谢@Bappi,帮助 - 我认为可能也有一些问题与maxRequestLength,我们有大量的出版物。我已经添加了我更新的web.cofig到您的答案 – 2012-07-26 18:43:30

相关问题