Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Scheduled tasks losing settings when upgrading from v. 8.9.2.5 to v. 9.3.6

Scheduled tasks losing settings when upgrading from v. 8.9.2.5 to v. 9.3.6

Niels Foldager
Reply

We have a solution with 15 scheduled tasks. After upgrading from DW8 to the latest version of DW9 all our scheduled tasks have lost their settings (Web service URL, security key, import activity etc.). When looking in the database (ScheduledTask), I can see that data in the field, TaskAssembly, has not been updated from Dynamicweb.Data.Providers.ScheduledTaskAddIns.*** to Dynamicweb.DataIntegration.ScheduledTaskAddIns.***. The same problem exists in the xml stored in TaskAddInSettings, where the old namespaces still remains. I have tried to delete UpdateVersion_ecom.xml but it didn't make any difference.

Best regards,
Niels Foldager


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Niels,

Have you seen this: http://doc.dynamicweb.com/forum/integration/integration/scheduled-tasks-losing-settings? I think it comes from the update scripts dropping and recreating the settings column.

It was supposed to be fixed with #27117 but maybe it resurfaced?

Imar

 
Niels Foldager
Reply

Hi Imar,

I have seen your forum post from last year and I think it looks like the same error, but the namespaces used in the schedules tasks should have been updated when I prepared the DW-8 database before upgrading to DW9. 

Best regards,
Niels Foldager

 

 
Anders Ebdrup
Anders Ebdrup
Reply

Any update on this one?

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Niels,
the types from old Dynamicweb 8 version were renamed in Dynamicweb 9. As a quick solution for that could be to try
export the table [Scheduledtask] using the Data integration Dynamicweb -> Xml provider job to the xml file and replace the types with the appropriate.
And then import that xml back to [Scheduledtask] table (Xml -> Dynamicweb provider job).
Regards, Dmitrij

 

You must be logged in to post in the forum