# How to link your Scheduling Service if a database copy doesn't correct it automatically?

**URL:** <https://community.novulo.com/t/how-to-link-your-scheduling-service-if-a-database-copy-doesnt-correct-it-automatically/61>\
**Category:** \[Q&A\] Using the Platform\
**Tags:** implementation\
**Created:** [March 29, 2024, 8:29am UTC](https://community.novulo.com/t/how-to-link-your-scheduling-service-if-a-database-copy-doesnt-correct-it-automatically/61 "2024-03-29T08:29:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reinier](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@Reinier](https://community.novulo.com/u/Reinier)\
**Post date:** [March 29, 2024, 8:29am UTC](https://community.novulo.com/t/how-to-link-your-scheduling-service-if-a-database-copy-doesnt-correct-it-automatically/61/1 "2024-03-29T08:29:42Z")

</div>

After copying a production database to an acceptance database, depending on the script used after restoring the database, it is possible to overwrite the Scheduling Service settings with wrong keys / settings.

1. What is a failsafe way to correct your Scheduling Service if this happens?

2. Right now, my Scheduling Service is disconnected (according to the application, not sure whether this is the case on the server) and every attempt at reconnecting to the Scheduling Service gives me the message “Error while registering to the scheduling service: You are not authorized”. What can I do to fix this?

---

<div class="post-metadata">

**Author:** ![Helena](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@Helena](https://community.novulo.com/u/Helena)\
**Post date:** [March 29, 2024, 9:42am UTC](https://community.novulo.com/t/how-to-link-your-scheduling-service-if-a-database-copy-doesnt-correct-it-automatically/61/2 "2024-03-29T09:42:25Z")

</div>

There is a way to force re-pairing.  
Simply remove the false information (all 3 certificates). Then click on the Generate key pairs button again to create new private and public keys for yourself (or enter the ones you have backed up). Click the “Get certificate from scheduling service” button to get the correct certificate. Then hit save and re-pair your application.

---

<div class="post-metadata">

**Author:** ![Reinier](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@Reinier](https://community.novulo.com/u/Reinier)\
**Post date:** [March 29, 2024, 9:55am UTC](https://community.novulo.com/t/how-to-link-your-scheduling-service-if-a-database-copy-doesnt-correct-it-automatically/61/3 "2024-03-29T09:55:16Z")

</div>

I have tried this already, without success. I am able to get a new certificate, but after saving the Pair button still gives me the “Unauthorized” message.

---

<div class="post-metadata">

**Author:** ![Helena](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@Helena](https://community.novulo.com/u/Helena)\
**Post date:** [March 29, 2024, 10:10am UTC](https://community.novulo.com/t/how-to-link-your-scheduling-service-if-a-database-copy-doesnt-correct-it-automatically/61/4 "2024-03-29T10:10:12Z")

</div>

After correcting the certificates, use the “Change URL” button and choose the option “Restored (from another database)”  
Also make sure your url is correct ([http://localhost/applicationname/Services/NovuloSchedulingServiceWebservice.asmx](http://localhost/applicationname/Services/NovuloSchedulingServiceWebservice.asmx))  
Ususally this does the trick.

---

<div class="post-metadata">

**Author:** ![gertjandevrij](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@gertjandevrij](https://community.novulo.com/u/gertjandevrij)\
**Post date:** [July 24, 2025, 7:12am UTC](https://community.novulo.com/t/how-to-link-your-scheduling-service-if-a-database-copy-doesnt-correct-it-automatically/61/5 "2025-07-24T07:12:09Z")

</div>

I’m running to a similar problem. This conversation starts with a lot of prior knowledge on how and where to generate the keys. Is there any step by step documentation available to get to point of the buttons mentioned in this thread?

---

<div class="post-metadata">

**Author:** ![Remy](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/remy/32/265_2.png) [@Remy](https://community.novulo.com/u/Remy)\
**Post date:** [July 24, 2025, 7:28am UTC](https://community.novulo.com/t/how-to-link-your-scheduling-service-if-a-database-copy-doesnt-correct-it-automatically/61/6 "2025-07-24T07:28:53Z")

</div>

Hey Gertjan,

The quickest way to restore the connection to the Scheduling service after a database restore is as follows:

1. Open the application where the database was restored and login
2. Go to Application maintenance → Settings → Scheduling Services
3. Open the default Scheduling service
4. Click on the button ‘Change URL’
5. Choose the option ‘Restored (database of other application)’ as the reason
6. Change the URL to the correct URL (usually only requires changing the application name)
7. Press OK to save your changes

This should automatically update the certificates mentioned by Helena.

 ![afbeelding](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/2X/3/31b0ce4bbc950007e9c76bc09d4e86413c3fd7f1.png)
