创建新空间时出错 [英] Error On Creating new Space

查看:79
本文介绍了创建新空间时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能让我更深入地了解这个错误发生的原因吗?这些类型的错误在WSP上很常见吗? 00:00:00 HOSTING_SPACE_ADD 00:00:00 DOMAIN_ADD 00:00:00 DNS_ZONE_ADD 00:00:00 DOMAIN_ADD 00:00:00 DNS_ZONE_ADD 00:00:01 WEB_SITE_ADD 00:00:08
System.Web.Services .Protocols.SoapException:服务器无法处理请求。 ---> System.IO.FileLoadException:文件名:\\?\ C:\ Windows \system32 \inetsrv \ config \ applicationHost.config错误:无法在Microsoft.Web.Administration.Interop.AppHostWritableAdminManager中写入配置文件.CommitChanges()
at Microsoft.Web.Administration.Configuration.CommitChanges()at Microsoft.Web.Administration.ConfigurationManager.CommitChanges()at Microsoft.Web.Administration.ServerManager.CommitChanges()at WebsitePanel.Providers.Web .ss70.SetWebSiteApplicationPool(WebSite
site,Boolean createAppPools)位于WebsitePanel.Server.Server.CreateSite(WebSite站点)的WebsitePanel.Providers.Web.IIs70.CreateSite(WebSite站点)---内部异常堆栈跟踪结束--- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
消息,WebResponse响应,Stream responseStream,Boolean asyncCall)在System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName,Object [ ]参数)在WebsitePanel.Providers.Web.WebServer.CreateSite(WebSite网站)的WebsitePanel.EnterpriseServer.WebServerController.AddWebSite(Int32
packageId,Int32 domainId,Int32 packageAddressId,Boolean addInstantAlias)00:00:08 HOSTING_SPACE_DELETE 00:00:08无法在WebsitePanel.EnterpriseServer.PackageController.AddPackageWithResources(Int32 userId,Int32 planId,String spaceName,
Int32 statusId,Boolean sendLetter,Boolean createResources,String domainName,Boolean createInstantAlias,Boolean createWebSite,Boolean createFtpAccount,String ftpAccountName)创建网站,Boolean createMailAccount)谢谢,Victor

解决方案

以下是我的事件日志中的更多信息。


 


错误:'Internet Information Services 7.0'CreateSite

System.IO.FileLoadException:文件名:\\?\ C:\ Windows \ system32 \inetsrv\config\applicationHost.config

错误:不能w礼仪配置文件



$
  在Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.CommitChanges()

  在Microsoft.Web.Administration.Configuration.CommitChanges()

  在Microsoft.Web.Administration.ConfigurationManager.CommitChanges()

  在Microsoft.Web.Administration.ServerManager.CommitChanges()

  在WebsitePanel.Providers.Web.IIs70.SetWebSiteApplicationPool(网站站点,布尔值createAppPools)

  在WebsitePanel.Providers.Web.IIs70.CreateSite(网站网站)

  在WebsitePanel.Server.WebServer.CreateSite(WebSite站点)



错误:进程无法访问文件'C:\ WebsitePanel \\ \\ _ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \ n \\ _服务器\ LogParser \ Web \ W3SVC304.state'因为正在被其他进程使用。

  在System.IO .__ Error.WinIOError(Int32 errorCode,String maybeFullPath)

   at System.IO.FileStream.Init(String path,FileMode mode,FileAccess access,Int32 rights,Boolean useRights,FileShare share,Int32 bufferSize,FileOptions options,SECURITY_ATTRIBUTES secAttrs,String msgPath,Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path,FileMode mode,FileAccess access,FileShare share,Int32 bufferSize,FileOptions options,String msgPath,Boolean bFromProxy)

  在System.IO.FileStream..ctor(String path,FileMode mode,FileAccess access,FileShare share,Int32 bufferSize,FileOptions options)

  在System.IO.StreamWriter..ctor(String path,Boolean append,Encoding encoding,Int32 bufferSize)

  在System.IO.StreamWriter..ctor(String path)

  在WebsitePanel.Providers.Utils.LogParser.LogState.Save()

  在WebsitePanel.Providers.Utils.LogParser.LogParser.ParseLogs [T]()

  在WebsitePanel.Providers.Web.IIs70.GetServiceItemsBandwidth(ServiceProviderItem [] items,DateTime since)


我不确定这些是否相关,但LogParser错误发生在applicationhost之前大约20分钟。配置错误显示在我的日志中。


 


谢谢,


Victor


Can anyone provide me with more insight on why this error occured? Are these type of errors pretty common on WSP? 00:00:00 HOSTING_SPACE_ADD 00:00:00 DOMAIN_ADD 00:00:00 DNS_ZONE_ADD 00:00:00 DOMAIN_ADD 00:00:00 DNS_ZONE_ADD 00:00:01 WEB_SITE_ADD 00:00:08 System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileLoadException: Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config Error: Cannot write configuration file at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.CommitChanges() at Microsoft.Web.Administration.Configuration.CommitChanges() at Microsoft.Web.Administration.ConfigurationManager.CommitChanges() at Microsoft.Web.Administration.ServerManager.CommitChanges() at WebsitePanel.Providers.Web.IIs70.SetWebSiteApplicationPool(WebSite site, Boolean createAppPools) at WebsitePanel.Providers.Web.IIs70.CreateSite(WebSite site) at WebsitePanel.Server.WebServer.CreateSite(WebSite site) --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at WebsitePanel.Providers.Web.WebServer.CreateSite(WebSite site) at WebsitePanel.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, Int32 domainId, Int32 packageAddressId, Boolean addInstantAlias) 00:00:08 HOSTING_SPACE_DELETE 00:00:08 Could not create web site at WebsitePanel.EnterpriseServer.PackageController.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean createInstantAlias, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount) Thanks, Victor

解决方案

Here is some more information from my event logs.

 

ERROR: 'Internet Information Services 7.0' CreateSite
System.IO.FileLoadException: Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Error: Cannot write configuration file


   at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.CommitChanges()
   at Microsoft.Web.Administration.Configuration.CommitChanges()
   at Microsoft.Web.Administration.ConfigurationManager.CommitChanges()
   at Microsoft.Web.Administration.ServerManager.CommitChanges()
   at WebsitePanel.Providers.Web.IIs70.SetWebSiteApplicationPool(WebSite site, Boolean createAppPools)
   at WebsitePanel.Providers.Web.IIs70.CreateSite(WebSite site)
   at WebsitePanel.Server.WebServer.CreateSite(WebSite site)

and

ERROR: The process cannot access the file 'C:\WebsitePanel\Server\LogParser\Web\W3SVC304.state' because it is being used by another process.
System.IO.IOException: The process cannot access the file 'C:\WebsitePanel\Server\LogParser\Web\W3SVC304.state' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path)
   at WebsitePanel.Providers.Utils.LogParser.LogState.Save()
   at WebsitePanel.Providers.Utils.LogParser.LogParser.ParseLogs[T]()
   at WebsitePanel.Providers.Web.IIs70.GetServiceItemsBandwidth(ServiceProviderItem[] items, DateTime since)

I am not sure if these are related but the LogParser error happened about 20 min before the applicationhost.config error showed up in my logs.

 

Thanks,

Victor


这篇关于创建新空间时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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