Debugging an Event ...
 
Notifications
Clear all

Debugging an Event Log error

5 Posts
2 Users
0 Reactions
1,909 Views
Posts: 100
 Ben
Topic starter
(@maoxiong)
Estimable Member
Joined: 7 years ago

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...

4 Replies
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

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

Reply
Posts: 100
 Ben
Topic starter
(@maoxiong)
Estimable Member
Joined: 7 years ago

Hi Trevor!

Is there any way to find out what the domain name is?

Reply
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

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

Reply
Posts: 100
 Ben
Topic starter
(@maoxiong)
Estimable Member
Joined: 7 years ago

Thank you - that got it 🙂

Reply
Share: