Can't change MID Server script

klefevre
Tera Contributor

I am an admin.  I used to be able to open a MID Server Script file, make code changes and then save off the changes.  We are currently on Vancouver.  When I open up a MID Server Script, I am able to make changes.  When I click on either Update or Save, I get back the following message: "The webpage at https://cardinaldev.service-now.com/ecc_agent_script_file.do might be temporarily down or it may have moved permanently to a new web address."  This happens on both our DEV and our STAGE instances.

 

I found where the source code is saved on disk on the MID Server.  I made changes there and tested the revised script using the Powershell ISE.  It runs as expected.  When I go back to ServiceNow and open up the MID Server Script that I just changed, the changes do NOT appear.  I bounced the MID Server process in the hopes the script would be reloaded with the changes.  It was not.

 

How can I modify a Powershell script under Vancouver?

 

2 REPLIES 2

Ademir Amaral1
Kilo Sage

Amit Verma
Kilo Patron
Kilo Patron

Hi @klefevre 

 

The sync happens one way i.e. from the ServiceNow Mid Server Script file towards towards local copy of script on the mid server so even if you make changes in the local copy, the mid server script would not be updated.

 

Try to clear the cache by running cache.do. Also, are you facing this issue with all the mid server script files or with a specific one only ?

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.