While deploying a new Sandboxed Solution to my farm,i encountered some what error like "UserCodeToken is Invalid"
Hope this helps someone :)
The error says "Unhandled exception was thrown by the sandboxed
code wrapper's Execute method in the partial trust app domain: The
UserCodeToken is invalid".
I didnt get any events for this error nor the message helped me to find any solution.
After spending quality time i found the solution which worked in my case.
Solution : Restart the service SPUsercodeV4 from PowerShell . Command "Restart-Service SPUsercodeV4"
Hope this helps someone :)
Thank you very much!! It Worked :)
ReplyDelete