Unable to import si...
 
Notifications
Clear all

Unable to import sites

4 Posts
2 Users
0 Reactions
127 Views
Posts: 4
Topic starter
(@techsupport)
Active Member
Joined: 4 years ago

Hello,

 

I am getting below error in solidcp for websites, I tried to remove them and re-import but it is also not working. 

 

Logged User: apexetco
Work on Behalf: apexetco
Hosting Space: 108
Stack Trace: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on 'designerplague.com' WEB_SITE ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Filename: \\?\C:\HostingSpaces\apexetco\designerplague.com\wwwroot\web.config
Error: Cannot write configuration file due to insufficient permissions

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 SolidCP.Providers.Web.WebServer.CreateSite(WebSite site)
at SolidCP.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 packageAddressId, Boolean addPreviewDomain, Boolean ignoreGlobalDNSRecords)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 packageAddressId, Boolean addPreviewDomain, Boolean ignoreGlobalDNSRecords)
at SolidCP.EnterpriseServer.ServerController.AddDomainWithProvisioning(Int32 packageId, String domainName, DomainType domainType, Boolean createWebSite, Int32 pointWebSiteId, Int32 pointMailDomainId, Boolean createDnsZone, Boolean createPreviewDomain, Boolean allowSubDomains, String hostName)
at SolidCP.EnterpriseServer.esServers.AddDomainWithProvisioning(Int32 packageId, String domainName, DomainType domainType, Boolean createWebSite, Int32 pointWebSiteId, Int32 pointMailDomainId, Boolean createDnsZone, Boolean createPreviewDomain, Boolean allowSubDomains, String hostName)
--- 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 SolidCP.EnterpriseServer.esServers.AddDomainWithProvisioning(Int32 packageId, String domainName, DomainType domainType, Boolean createWebSite, Int32 pointWebSiteId, Int32 pointMailDomainId, Boolean createDnsZone, Boolean createPreviewDomain, Boolean allowSubDomains, String hostName)
at SolidCP.Portal.DomainsAddDomain.AddDomain()

 

I have already verified the permissions for sites and they are correct, any insight would be helpful. 

Thanks,

Softsys

3 Replies
Posts: 4
Topic starter
(@techsupport)
Active Member
Joined: 4 years ago

Hello

 

Additional, we are getting the below event from the server.

 

Log Name: SolidCP
Source: SolidCP
Date: 9/9/2024 8:57:25 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: softserv678
Description:
[9/9/2024 8:57:25 PM] ERROR: 'Internet Information Services 10.0' CreateSite
System.UnauthorizedAccessException: Filename: \\?\C:\HostingSpaces\texxxxx\test.myxxxx.com\wwwroot\web.config
Error: Cannot write configuration file due to insufficient permissions

at Microsoft.Web.Administration.Interop.IAppHostWritableAdminManager.CommitChanges()
at Microsoft.Web.Administration.ConfigurationManager.CommitChanges()
at Microsoft.Web.Administration.ServerManager.CommitChanges()
at SolidCP.Providers.Web.Iis.DirectoryBrowse.DirectoryBrowseModuleService.SetDirectoryBrowseEnabled(String siteId, Boolean enabled)
at SolidCP.Providers.Web.IIs70.FillIISObjectFromAppVirtualDirectory(WebAppVirtualDirectory virtualDir)
at SolidCP.Providers.Web.IIs70.CreateSite(WebSite site)
at SolidCP.Server.WebServer.CreateSite(WebSite site)

Event Xml:
<Event xmlns=" removed link ">
<System>
<Provider Name="SolidCP" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-09-10T03:57:25.551441600Z" />
<EventRecordID>108468</EventRecordID>
<Channel>SolidCP</Channel>
<Computer>softserv678</Computer>
<Security />
</System>
<EventData>
<Data>[9/9/2024 8:57:25 PM] ERROR: 'Internet Information Services 10.0' CreateSite
System.UnauthorizedAccessException: Filename: \\?\C:\HostingSpaces\texxxxx\test.myxxxx.com\wwwroot\web.config
Error: Cannot write configuration file due to insufficient permissions

at Microsoft.Web.Administration.Interop.IAppHostWritableAdminManager.CommitChanges()
at Microsoft.Web.Administration.ConfigurationManager.CommitChanges()
at Microsoft.Web.Administration.ServerManager.CommitChanges()
at SolidCP.Providers.Web.Iis.DirectoryBrowse.DirectoryBrowseModuleService.SetDirectoryBrowseEnabled(String siteId, Boolean enabled)
at SolidCP.Providers.Web.IIs70.FillIISObjectFromAppVirtualDirectory(WebAppVirtualDirectory virtualDir)
at SolidCP.Providers.Web.IIs70.CreateSite(WebSite site)
at SolidCP.Server.WebServer.CreateSite(WebSite site)
</Data>
</EventData>
</Event>

Reply
Posts: 4
Topic starter
(@techsupport)
Active Member
Joined: 4 years ago

Hello,

 

We are still getting the below error in solidcp for websites, we tried to remove them and re-import but it is also not working.

Logged User: support_admin
Work on Behalf: kevinrow
Hosting Space: 189
Stack Trace: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on 'raffle.srihobbies.com' WEB_SITE ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Filename: \\?\C:\HostingSpaces\kevinrow\raffle.srihobbies.com\wwwroot\web.config
Error: Cannot write configuration file due to insufficient permissions

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 SolidCP.Providers.Web.WebServer.CreateSite(WebSite site)
at SolidCP.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 packageAddressId, Boolean addPreviewDomain, Boolean ignoreGlobalDNSRecords)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 packageAddressId, Boolean addPreviewDomain, Boolean ignoreGlobalDNSRecords)
at SolidCP.EnterpriseServer.esWebServers.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 ipAddressId, Boolean ignoreGlobalDNSZone)
--- 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 SolidCP.EnterpriseServer.esWebServers.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 ipAddressId, Boolean ignoreGlobalDNSZone)
at SolidCP.Portal.WebSitesAddSite.AddWebSite()

 

Thanks,

Softsys

Reply
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Based up on the error it can't write to the sites web.config.

What you can try is removing the existing web.config (SCP will just create a new default). 

You can then re-add the web.config values as required by the site.

 

Regards,

Marco

Reply
Share: