Error in SolidCP Sc...
 
Notifications
Clear all

Error in SolidCP SchedulerService

5 Posts
4 Users
0 Reactions
1,584 Views
Posts: 4
Topic starter
(@filter)
New Member
Joined: 9 years ago

I upgrade from WSP to SolidCP (1.0.3) a week ago.

I now noticed that the service SolidCP:schedulerService.exe is stop. I started the service and 1 minute pasted the service generates a error.

The Event Viewer Log is:

Faulting application name: SolidCP.SchedulerService.exe, version: 1.0.3.0, time stamp: 0x57587494
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18340, time stamp: 0x57366075
Exception code: 0xe0434352
Fault offset: 0x0000000000008a5c
Faulting process id: 0x147c
Faulting application start time: 0x01d1d1591af5d3fd
Faulting application path: C:WebsitePanelEnterprise ServerbinSolidCP.SchedulerService.exe
Faulting module path: C:Windowssystem32KERNELBASE.dll
Report Id: 64d193fc-3d4c-11e6-80eb-00155d504707
Faulting package full name:
Faulting package-relative application ID:

 

Need help to solve this.

Thank you in advance

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

Hello,

Can you confirm that in Enterprisebin there is a file called “SolidCP.SchedulerService.exe.config” ?

Inside should look similar too:

<?xml version=”1.0″?>
<configuration>
<connectionStrings>
<add name=”EnterpriseServer” connectionString=”server=localhost;database=SolidCP_test2;uid=SolidCP_test2;pwd=83kcftpq1tltsex21jqr;” providerName=”System.Data.SqlClient” />
</connectionStrings>
<startup>
<supportedRuntime version=”v4.0″ sku=”.NETFramework,Version=v4.0″ />
</startup>
<appSettings>
<!– Encryption util settings –>
<add key=”SolidCP.CryptoKey” value=”stm51e3rkxlt88p4hx3x” />
<!– A1D4KDHUE83NKHddF –>
<add key=”SolidCP.EncryptionEnabled” value=”true” />
<add key=”ClientSettingsProvider.ServiceUri” value=”” />
</appSettings>
<system.web>
<membership defaultProvider=”ClientAuthenticationMembershipProvider”>
<providers>
<add name=”ClientAuthenticationMembershipProvider” type=”System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ serviceUri=”” />
</providers>
</membership>
<roleManager defaultProvider=”ClientRoleProvider” enabled=”true”>
<providers>
<add name=”ClientRoleProvider” type=”System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ serviceUri=”” cacheTimeout=”86400″ />
</providers>
</roleManager>
</system.web>
</configuration>

 

The connection string and CryptoKey needs to be equal to the Enterprise web.config

Once it’s set you can start the scheduler and it should continue to run.

Reply
Posts: 4
Topic starter
(@filter)
New Member
Joined: 9 years ago

Thats it Marco

 

Neither the connection string or the crytokey were equal to the Enterprise web.config.

Corrected and the service keeps in "runing" status

Thanks Marco

Reply
Posts: 36
(@ndricim)
Eminent Member
Joined: 9 years ago

I have the  same problem with schedulerservice

Application: SolidCP.SchedulerService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Xml.XmlException
at System.Xml.XmlTextReaderImpl.Throw(System.Exception)
at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32, Char, NodeData)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Configuration.XmlUtil.CopyXmlNode(System.Configuration.XmlUtilWriter)
at System.Configuration.XmlUtil.CopyElement(System.Configuration.XmlUtilWriter)
at System.Configuration.XmlUtil.CopySection()
at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(System.Configuration.XmlUtil, System.String, Boolean, System.String, System.Configuration.OverrideModeSetting, Boolean)
at System.Configuration.BaseConfigurationRecord.ScanSections(System.Configuration.XmlUtil)
at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

Exception Info: System.Configuration.ConfigurationErrorsException
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(System.Configuration.ConfigurationSchemaErrors)
at System.Configuration.ClientConfigurationSystem.EnsureInit(System.String)

Exception Info: System.Configuration.ConfigurationErrorsException
at System.Configuration.ClientConfigurationSystem.EnsureInit(System.String)
at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(System.String)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(System.String)
at System.Configuration.ConfigurationManager.get_AppSettings()
at SolidCP.EnterpriseServer.DataProvider.get_ConnectionString()
at SolidCP.EnterpriseServer.DataProvider.GetProcessBackgroundTasks(SolidCP.EnterpriseServer.BackgroundTaskStatus)
at SolidCP.EnterpriseServer.Scheduler.RunManualTasks()
at SolidCP.EnterpriseServer.Scheduler.ScheduleTasks()
at SolidCP.SchedulerService.SchedulerService.Process(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()

 

Next error is the same as Filter mentioned

Reply
Posts: 60
 Ric
(@ric)
Trusted Member
Joined: 9 years ago

Just linking some copy/paste issues with the config provided by Marco which resolved my issue:

https://solidcp.com/forum/question/task-scheduler-in-v1-2-not-working/

Reply
Share: