Getting a few errors showing up in the SolidCP windows event log, all for various tasks but seemingly dealing with the same problem (getting an IIS site details that doesn't exist)
Log Name: SolidCP
Source: SolidCP
Date: 05/03/2020 08:10:36
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Description:
[3/5/2020 8:10:36 AM] ERROR: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at SolidCP.Providers.Web.Iis.WebObjects.WebObjectsModuleService.GetWebSiteFromIIS(ServerManager srvman, String siteId)
at SolidCP.Providers.Web.IIs70.GetSite(String siteId)
at SolidCP.Providers.Web.IIs100.GetSite(String siteId)
at SolidCP.Providers.Web.IIs70.GetServiceItemsDiskSpace(ServiceProviderItem[] items)
Is there any way to get the siteId? Looking in the SolidCP audit log shows up nothing...
Hello,
The siteId is related to how SolidCP identifies it not IIS. You should check the website name does match what is set in IIS.
Regards,
Trevor
Hi Trevor!
Is there any way to find out what the domain name is?
Hello,
I would check any other information messages logged in the SolidCP Log. You may need to increasing debugging inside the SolidCP Server web.config.
You will find a even which says: Calculating 'domain.com' site logs size before and after the error.
Regards,
Trevor
Thank you - that got it 🙂