现在的位置: 首页 > 综合 > 正文

【解决】“网站不能打开”的几种常见错误及解决办法

2013年07月21日 ⁄ 综合 ⁄ 共 2447字 ⁄ 字号 评论关闭

有时,网站会无法打开,并提示一些很笼统的错误信息。此时应通过查看后台日志进一步了解原因。(日志文件正常位置为:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS)下面对几种常见的异常信息及解决办法进行说明:

1. 由于服务器慢导致服务超时

【页面错误信息】:发生意外错误。

【日志错误信息】:
Exception occured while connecting to WCF endpoint: System.TimeoutException: 请求通道在等待 00:00:20 以后答复时超时。增加传递给请求调用的超时值,或者增加绑定上的 SendTimeout 值。分配给此操作的时间可能是更长超时的一部分。 ---> System.TimeoutException: 对“http://inno:32843/f781306fbc05418ea924653d2e05b083/ProfilePropertyService.svc”的 HTTP 请求已超过为 00:00:20 分配的超时。为此操作分配的时间可能是较长超时的一部分。 ---> System.Net.WebException: 操作超时     在 System.Net.HttpWebRequest.GetResponse()     在 System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     --- 内部异常堆栈跟踪的结尾 ---     在 System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)     在 System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChanne... 4c49923b-0255-4695-9d58-173318d59356

【解决办法】:刷新Web页面。

2. 无法激活安全认证服务

【页面错误信息】:发生意外错误。

【日志错误信息】:
Request for security token failed with exception: System.ServiceModel.ServiceActivationException: 无法激活请求的服务“http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas”。有关详细信息,请参阅服务器的诊断跟踪日志。     Server stack trace:      在 System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding)     在 System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     在 System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)     在 System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeou... c7112e88-c63b-40af-b4bc-ef1c5807bc84

【解决办法】:
打开 Internet信息服务(IIS)管理器 > 应用程序池,在应用程序池“SecurityTokenServiceApplicationPool”上右键,并点击“高级设置”,再将“启用32位应用程序”改为“False”。(修改后注意“启动”此应用程序池。

3. 修改了管理员账号密码导致服务不能访问

【网页错误信息】:HTTP Error 503. The service is unavailable.

【日志错误信息】:没有错误相关的信息。

【时间查看器信息】:由于配置问题,无法加载模块 DLL“C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\owssvr.dll”。当前配置仅支持加载为 x86 处理器架构构建的映像。

【解决办法】:
打开 Internet信息服务(IIS)管理器 > 应用程序池,对"标识"为管理员账号的应用程序池逐个进行如下操作:在应用程序池名称上右键,并重新设置“标识”。(修改后注意“启动”此应用程序池。

4. 未设置“备用访问映射”

【网页错误信息】:运行时错误(FBA)或输入了正确的用户名密码,但还是不能登录成功

【日志错误信息】:没有错误相关的信息。

【解决办法】:在SharePoint管理中心为此Web应用程序添加“备用访问映射”,即在Web应用的“公用URL”中添加所使用的域名或IP。 

抱歉!评论已关闭.