Hello folks,
This time i'm here with a very common problem faced by Asp.Net developers i.e
asp.net validations work fine while running the application in visual studio env, but when the same application is deployed on iis these asp.net validations doesn't work.
This problem may be because of two reasons, either aspnet_regiis.exe is corrupted or java script is disabled on the browser, it can be addressed by following:
1. Go to C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319( this 4_0_30319 varies depending on the version of .net) check for the file "WebUIValindation.js" if it does not exist, go to command prompt and map to the directory where .net framework is installed. (C:\windows\Microsoft.NET\Framework64\v4.0.30319) and type aspnet_regiis.exe -i
2. Check weather java-script is enabled on the browser, Open IE settings(screw symbol), internet options, security, custom level and enable java script if it is not enabled.
by this validation should work in your application.
Cheers,
UV.
No comments:
Post a Comment