I've noticed that the two default Scheduled Tasks generate this error. Also i think it compromises other tasks.
I'm running the latest version on a Windows 2012 r2, with .net framework 4.7.2
Here is the log from SOLIDCP Event Viewer:
[12/17/2018 3:09:53 PM] 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.IIs80.GetSite(String siteId)
at SolidCP.Providers.Web.IIs70.GetServiceItemsDiskSpace(ServiceProviderItem[] items)
Hello,
Are all your SolidCP Server versions exactly the same to portal and enterprise?
I would normally expect to see such error when an upgrade did not complete in full.
Regards,
Marco
Hi Marco, Thanks for you reply. I replaced the web.config files with the ones in the latest version.
Now i get the following when running the tasks manually:
====================================
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/18/2018 1:42:22 AM
Event time (UTC): 12/18/2018 1:42:22 AM
Event ID: 2293ed1882894c509df3eead519631f3
Event sequence: 229
Event occurrence: 15
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT-3-131895667563262993
Trust level: Full
Application Virtual Path: /
Application Path: C:SolidCPServer
Machine name: SRV1
Process information:
Process ID: 5332
Process name: w3wp.exe
Account name: SRV1SCPServer
Exception information:
Exception type: ArgumentException
Exception message: '', hexadecimal value 0x13, is an invalid character.
at System.Xml.XmlConvert.VerifyCharData(String data, ExceptionType invCharExceptionType, ExceptionType invSurrogateExceptionType)
at System.Xml.DocumentXmlWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.WriteFault(XmlWriter writer, SoapException soapException, HttpStatusCode statusCode)
at System.Web.Services.Protocols.SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
Request information:
Request URL: http://127.0.0.1:9003/ServiceProvider.asmx
Request path: /ServiceProvider.asmx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: SRV1SCPServer
Thread information:
Thread ID: 26
Thread account name: SRV1SCPServer
Is impersonating: False
Stack trace: at System.Xml.XmlConvert.VerifyCharData(String data, ExceptionType invCharExceptionType, ExceptionType invSurrogateExceptionType)
at System.Xml.DocumentXmlWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.WriteFault(XmlWriter writer, SoapException soapException, HttpStatusCode statusCode)
at System.Web.Services.Protocols.SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
Custom event details: