How to fix MID Server connection if it is in an invalidated state and the password to the mid server user has changed?

ServiceNow_Use2
Kilo Expert

Hi,

I have a MID Server hooked up to a ServiceNow instance.  The status was "Up" and validated was "Yes" last week, but upon loggin in to ServiceNow today, the MID Server had a status of "Down".  I believe the issue was that the mid server user was locked out.  However, since then, the mid server user password has changed, and the MID Server has been invalidated.  In attempting to re-validate the mid server with new mid server user credentials (same user, different password), attempting to validate it again has it is stuck in a "Validating" state.  I have updated the config file on the MID Server to have a plain-text value for the new password, and encrypt is set to true.  But am i missing a step in getting the MID Server to be re-validated, so that it can have an "Up" status once again?  Any help would be greatly appreciated! 

1 ACCEPTED SOLUTION

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

In short i will explain what i did:

1) Logon to MID server machine

2) Go to Service's and Stop MID Server Service.

3) Change the Password of the user in ServiceNow and make sure it is active and not locked out.

4) Go to Agentfolder and open config.xml file in notepad.

5) Change: <parameter name="mid.instance.password" value="securepassw0rd"/>

to

<parameter name="mid.instance.password" secure="true" value="NEWPASSWORD"/>

 

6) Save this file

7) Restart MIDServer service.

 

 

Check this as well:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0597570

 

Thanks,
Ashutosh

View solution in original post

3 REPLIES 3

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

This is what you should do:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0597570

 

Thanks,
Ashutosh Munot

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

In short i will explain what i did:

1) Logon to MID server machine

2) Go to Service's and Stop MID Server Service.

3) Change the Password of the user in ServiceNow and make sure it is active and not locked out.

4) Go to Agentfolder and open config.xml file in notepad.

5) Change: <parameter name="mid.instance.password" value="securepassw0rd"/>

to

<parameter name="mid.instance.password" secure="true" value="NEWPASSWORD"/>

 

6) Save this file

7) Restart MIDServer service.

 

 

Check this as well:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0597570

 

Thanks,
Ashutosh

thank you!!!