Developer forum

Forum » Development » Could not load type 'Dynamicweb.ScheduledTask.Thread

Could not load type 'Dynamicweb.ScheduledTask.Thread

Ryan Jeppesen
Reply
Hi

I have upgraded a old site on our local test server to the newest DW version.

Sometimes when browsing the site (frontend) I get the error below. If i refresh, then it works.

Error: Could not load type 'Dynamicweb.ScheduledTask.Thread' from assembly 'Dynamicweb, Version=18.9.1.1, Culture=neutral, PublicKeyToken=null'.

Thanks in advance.

/Ryan
Untitled-2.jpg

Replies

 
Morten Bengtson
Reply
This post has been marked as an answer
You need to remove the following line from your custom Global.asax.cs (or Global.asax.vb)...

Dynamicweb.ScheduledTask.Thread.Start();


It is called every time the application starts up, but it will fail because the functionality has been removed from DW at some point.
Votes for this answer: 0

 

You must be logged in to post in the forum