i have developed a web in asp.net thru which i am able to retrieve the date from database but not able to insert or update in it…it shows
“Server Error in ‘/’ Application.”
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a “web.config” configuration file located in the root directory of the current web application. This tag should then have its “mode” attribute set to “Off”.
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the “defaultRedirect” attribute of the application’s configuration tag to point to a custom error page URL.
PLZ help me out
but it is running properly on local machine…..
what it is saying is that there is an error and it isn’t showing the details of the error to maintain security. I would say open the web page on the local machine if possible and get the true error with out the details of the full error it could be a few things causing the problems. The most common are typos in the code or that you don’t have write privileges to the database. The other option would be to turn off custom errors so you can see the full error but I don’t suggest this. (note: if have to do it this way make sure it is just long enough to get the error message.
If it is running right on the local machine disable custom error and use the remote machine and see what error it is you are getting without seeing the full error there is no way for us to help diagnose the problem. But it is odd that it works on the local machine and not on remote machines if that is the case it probably has something to do with the configuration.
personal exxperience !
Report Spam/Abuse