Cant retract solution timer job “name of the timer job” cannot be deserialized because it doesnot have a public default constructor.

//

I have encountered error while upgrading one of my custom solution using power-shell. The error was “Cant  rectract solution timer job “name of the timer job” cannot be deserialized because it doesnot have a public default constructor”.

 

TimerJobError

To resolve this issue steps are as follows:

1.Find out DLL name of timer job that causing error.(Open timer job solution =>right click =>open folder in window explorer =>Bin=>Debug)

2.Go to gac( “c:\Windows\assembly” can be varies) locate your dll and uninstalll it.

3. do iisreset

 

Note:You should have admin privileges to uninstall dll from GAC.

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s