Forum

SolidCP SchedulerSe...
 
Notifications
Clear all

SolidCP SchedulerService stops

Page 1 / 3

NVGoldenDog
Posts: 34
Topic starter
(@nvgoldendog)
Eminent Member
Joined: 6 years ago

Hi. I just ran the SolidCP-Auto-Upgrade PS script which took me from SolidCP 1.4.7 to SolidCP 1.4.8 which I did see a few issues while running the script, but I thought it was ok. These are the error's I got in the script:

Get-Content : Cannot find path 'C:\SolidCP\Enterprise Server\bin\SolidCP.SchedulerService.exe.config' because it does
not exist.
At C:\Users\administrator.HOST\Downloads\SolidCP-Auto-Upgrade-Tool\SolidCP-Auto-Upgrade.ps1:933 char:14
+ [xml]$xml = Get-Content -Path "$dFilePath"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\SolidCP\Ente...vice.exe.config:String) [Get-Content], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

You cannot call a method on a null-valued expression.
At C:\Users\administrator.HOST\Downloads\SolidCP-Auto-Upgrade-Tool\SolidCP-Auto-Upgrade.ps1:961 char:3
+ $dNode = $xml.SelectNodes($dNodePath)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\Users\administrator.HOST\Downloads\SolidCP-Auto-Upgrade-Tool\SolidCP-Auto-Upgrade.ps1:968 char:3
+ $xml.Save("$dFilePath") | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

Get-Content : Cannot find path 'C:\SolidCP\Enterprise Server\bin\SolidCP.SchedulerService.exe.config' because it does
not exist.
At C:\Users\administrator.HOST\Downloads\SolidCP-Auto-Upgrade-Tool\SolidCP-Auto-Upgrade.ps1:933 char:14
+ [xml]$xml = Get-Content -Path "$dFilePath"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\SolidCP\Ente...vice.exe.config:String) [Get-Content], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

You cannot call a method on a null-valued expression.
At C:\Users\administrator.HOST\Downloads\SolidCP-Auto-Upgrade-Tool\SolidCP-Auto-Upgrade.ps1:961 char:3
+ $dNode = $xml.SelectNodes($dNodePath)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\Users\administrator.HOST\Downloads\SolidCP-Auto-Upgrade-Tool\SolidCP-Auto-Upgrade.ps1:968 char:3
+ $xml.Save("$dFilePath") | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

 

After the script finished I noticed that the SolidCPScheduler service will start ok, but then stops. In the event log I see:

Event ID: 1026 .NET Runtime

Application: SolidCP.SchedulerService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
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()

 

and then Event ID 1000, Application Error

Faulting application name: SolidCP.SchedulerService.exe, version: 1.4.8.0, time stamp: 0x60edd5ca
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00007ff9415ad013
Faulting process id: 0xcd8
Faulting application start time: 0x01d7d92af5e1d045
Faulting application path: C:\SolidCP\Enterprise Server\bin\SolidCP.SchedulerService.exe
Faulting module path: unknown
Report Id: dc18b796-a580-49d2-82eb-60b9c7fe70e7
Faulting package full name:
Faulting package-relative application ID:

 

And then two Windows Error Reporting events.

Any idea's what might be causing this issue or how to resolve?

 

10 Replies
gflex
Posts: 36
(@gflex)
Eminent Member
Joined: 5 years ago

When we had the same issue we removed the files in C:\SolidCP\Enterprise Server\bin and copied them from the manual download from http://installer.solidcp.com/Files/stable/Tools/

Make sure that you copy the connection string and the crypto key first in the SolidCP.SchedulerService.exe and apply them after copying them from the download.

Reply
NVGoldenDog
Posts: 34
Topic starter
(@nvgoldendog)
Eminent Member
Joined: 6 years ago

Hi Glex. I went to that link but it seems like that is for tools, and not the manual update. I downloaded the manual update.zip file from http://installer.solidcp.com/Files/stable/

I don't follow you though on what file's I copy for the connection string and what file contains the crypto key. Can you help me a little and let me know where those files are at that I need to copy back into the Enterprise Server\bin folder? Do I also need to replace the C:\SolidCP\Enterprise folder as well, or just the BIN folder?

Thanks so much for your help!

Reply
NVGoldenDog
Posts: 34
Topic starter
(@nvgoldendog)
Eminent Member
Joined: 6 years ago

I was able to figure out that the web.config file is the connection string and crypto.

What I did is extracted the manual update zip file, copied the files from the extracted folder of BIN into my existing Enterprise\Bin folder. I also copied the \solidcp\Enterprise Server from the manual update into c:\solidcp\Enterprise Server. I verified I have the right web.config file as well. 

When I start the scheduleService in services it starts then stops and gives the same error message in the event log. 

Not sure what to do to fix this. Any help is appreciated.

Reply
gflex
Posts: 36
(@gflex)
Eminent Member
Joined: 5 years ago

Check the connection string and make sure its the same as in C:\SolidCP\Enterprise Server\web.config

<connectionStrings>
<add name="EnterpriseServer" connectionString="server= providerName="System.Data.SqlClient" />
</connectionStrings>

Reply
Page 1 / 3
Share:
Downloads

Login

Lost your password?

Create an account?