When I try to add w...
 
Notifications
Clear all

When I try to add website: System.NullReferenceException

5 Posts
3 Users
0 Reactions
1,982 Views
Posts: 28
Topic starter
(@itmnetworks)
Trusted Member
Joined: 5 years ago

Hello,

I need one help

When I try to add website the system show error, I have located on SolidCP logs the error below:

[1/22/2020 5:58:24 PM] ERROR: 'Internet Information Services 10.0' CreateSite
System.NullReferenceException: Object reference not set to an instance of an object.
   at SolidCP.Providers.Web.IIs70.SetWebSiteApplicationPool(WebSite site, Boolean createAppPools)
   at SolidCP.Providers.Web.IIs70.CreateSite(WebSite site)
   at SolidCP.Server.WebServer.CreateSite(WebSite site)

I have windows 2019 servers, running SolidCP Portal and Enterprise in one and each server have your own service running SolidCP Server asp.net v4.5 1.4.4

email server, ftp server, mysql5 server, mssql server, awstats server, dnss servers running perfect

only webserver have this problem

on inside of webserver I can see creates: windows user that will be used on the website autentication, iis apppool and folders, but not create website

do you know what's happen ?

help please 🙂

very thanks,

Rodrigo

4 Replies
Posts: 31
(@kailash)
Eminent Member
Joined: 9 years ago

Hello Rodrigo,

It seems that one of the settings is incorrect for "Web" resources in SolidCP. Can you share a screen capture of your "Web" resources configured in SolidCP (Configurations -> Servers -> YourServer -> Web (or whatever you have set the name for IIS resource).

Kailash

Reply
Posts: 28
Topic starter
(@itmnetworks)
Trusted Member
Joined: 5 years ago

Hello,

thanks about your help

on solidcp I can see all without erros, only when I try add website show error

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 'plano teste' HOSTING_SPACE_WR ---> System.Exception: Could not create web site ---> System.Exception: Error executing 'ADD' task on 'plano teste' HOSTING_SPACE_WR ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Object reference not set to an instance of an object.
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.PackageController.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean createPreviewDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.PackageController.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean createPreviewDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.PackageController.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean createPreviewDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
at SolidCP.EnterpriseServer.esPackages.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean tempDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, 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.esPackages.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean tempDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
at SolidCP.Portal.UserCreateSpace.CreateHostingSpace()

tks,

Rodrigo

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

Hello,

As Kailash suggests it is most likely a mis-configuration between how your IIS is setup and SolidCP is configured.

Can you make sure that all features enabled in your hosting plan are actually setup and configured in IIS it self?

Regards,

Marco

Reply
Posts: 28
Topic starter
(@itmnetworks)
Trusted Member
Joined: 5 years ago

Hi Marco,

I have made password policy modifications in solidCP, this have created the problem

typical problem between the machine and the chair:  I

lol

thanks,

Rodrigo

Reply
Share: