Some time this error occur after upgrading old Visual Studio project to new. Here is the quick fix.
Tag Archives: exception
Theme ‘Standard’ cannot be found in the application or global theme directories
Check necessary files in the App_Themes directory. When we publish our project then some files could be missed. Right click on that file (that are missed) click on property and choose “Copy to Output Directory” set as “Copy always“.
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack
This exception occur when we try to redirect a page. Solution: To solve this problem we should use second argument of Response.Redirect that will stop current page’s execution and move to next page. Sencond argument should be false. Full solution is below [sociallocker] Response.Redirect(“http://www.wisdomitsol.com”,false); [/sociallocker]