SolidCP Auto Upgrad...
 
Notifications
Clear all

SolidCP Auto Upgrade Script - PowerShell

47 Posts
13 Users
0 Likes
13.3 K Views
Posts: 32
Topic starter
(@datatechuk)
Member
Joined: 8 years ago

Hi addsvictory,

I have updated the script to include the Portal web.config file as the error you are experiancing is related to some additional changes in the Portal components web.config file which need to be added.

Please download the script again and run it from your Enterprise Server.

http://installer.solidcp.com/Files/1.1.0/Tools/SolidCP-Fix-Web-Config-Tool.zip

Please make sure you run the tool on your Enterprise Server

To use the tool you will need to unzip it, then right click on the PowerShell file and select Properties, click the Unblock button at the bottom and then click OK
The right click the file and chose Run with PowerShell and the tool with patch the Enterprise Server and all servers that form part of your SolidCP deployment.

Please let us know if this revised script fixes the issues you are experiancing.

Kind regards,
Marc

Reply
Posts: 32
Topic starter
(@datatechuk)
Member
Joined: 8 years ago

Also just to double check, did you enable the Machine Key on your Portal Server, if not you will need to remove the Machine Key line from your web.config file as this may be causing issues with your configuration.

It is on line 46 of your web.config file that you put on your google drive.
Please delete the file from your google drive as i have a copy of it here for reference.

Kind regards,
Marc

Reply
Posts: 23
(@addsvictory)
Eminent Member
Joined: 8 years ago

I did all configuration from solidcp manuals, also I configured machine key as well, but your last fix script helped.

But I have another issue when I want to create sharepoint site collection , I posted it here:   https://solidcp.com/forum/question/parser-error-after-1-1-0-update/

Reply
1 Reply
(@addsvictory)
Joined: 8 years ago

Eminent Member
Posts: 23

I fixed this issue, just move lines "ConfigSection" ... "/ConfigSection" to the top of web.config file. Now my SolidCP is working, thank you team for help and for your the best project.

Reply
Posts: 32
Topic starter
(@datatechuk)
Member
Joined: 8 years ago

Hi addsvictory,

Glad the script has fixed the issues you were seeing with the Portal.
I will contact Marco and ask him to look at the other post you have mentioned and get him to respond on the forum for you.

Please remember to upvote the post if it has helped or solved the issue you were having.

Kind Regards,
Marc

Reply
1 Reply
(@addsvictory)
Joined: 8 years ago

Eminent Member
Posts: 23

Thank you very much.

Reply
Posts: 1
(@polys248)
New Member
Joined: 8 years ago

Hello,

 

I am getting a slightly different error mesage when I run the script.

 

Enterprise Server - web.config Upgraded
Enterprise Server - Schedular Config File Upgraded
Invoke-SQLCmd : The term 'Invoke-SQLCmd' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:UsersAdministrator.SVHDownloadsSolidCP-Fix-Web-Config-Tool.ps1:222 char:34
+ push-location ; ($SCP_UNC_Test = Invoke-SQLCmd -query "SELECT [ServerName], [Ser ...
+ ~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Invoke-SQLCmd:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Press any key to exit...

 

My database is on a separate server and it seems it can't connect.

Reply
1 Reply
(@nvgoldendog)
Joined: 8 years ago

Trusted Member
Posts: 35

I get the same error on my enterprise server. I also have SQL on a separate server.

Reply
Page 3 / 7
Share: