Last post Dec 11, 2015 03:09 PM by ysfkel
Nov 30, 2015 01:55 PM|ysfkel|LINK
I am deploying webjob for the first time,
but I keep getting this error , the very basic application works on localhost, I have tried several times with different settings
tried running continuous and on demand, same error,
[11/30/2015 13:14:30 > 52010d: SYS INFO] Detected WebJob file/s were updated, refreshing WebJob
[11/30/2015 13:14:30 > 52010d: SYS INFO] Status changed to Starting
[11/30/2015 13:14:32 > 52010d: SYS INFO] Run script 'WebJob3.exe' with script host - 'WindowsScriptHost'
[11/30/2015 13:14:32 > 52010d: SYS INFO] Status changed to Running
[11/30/2015 13:14:33 > 52010d: SYS ERR ] Job failed due to exit code -2146232576
[11/30/2015 13:14:33 > 52010d: SYS INFO] Process went down, waiting for 60 seconds
[11/30/2015 13:14:33 > 52010d: SYS INFO] Status changed to PendingRestart
Dec 01, 2015 06:32 PM|ysfkel|LINK
Dec 02, 2015 12:10 AM|@alilengrai|LINK
Under the link, the right process to deploy your webjob step by step :
Try to downgraded the solution to 4.5.2 and it will worked perfectly :)
Note: this solution is bound to become irrelevant once 4.6 is officially supported.
Hope can be helpful
Dec 05, 2015 06:53 PM|ysfkel|LINK
I created a .net 4.5.2 console application and uploaded it as zip file
but its still same error, thanks
Dec 07, 2015 10:05 PM|@alilengrai|LINK
I quickly checked and -2146232576 corresponds to:
0x80131700 -2146232576 CLR_E_SHIM_RUNTIMELOAD Failed to load the runtime
So it suggest your app cannot start due to problem while loading some .NET assemblies.
If your application is being compiled in .NET Framework 4, check if the Framework is installed also in the server. You should work better.
Hope it'll be helpful
Dec 11, 2015 03:09 PM|ysfkel|LINK
I had to downgrade to .net framework 4.5.2
and also I had to use the publish wizard for it to work,
uploading the webjob by zipping it up did not work for me, only the visual studio publish wizard did, thanks