2014年7月13日 星期日

[RESOLVED] Deploying runtime error


Hi am getting error like this after deploying application server. please give me the solution what to do.


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.




















I was thinking that  This error can be caused by a virtual directory not being configured as an application in IIS.

In IIS, you can have several applications, but they must be configured as an application. Generally, when you create a web project it maps directly to an IIS application.



Check with your hosting service on how to create an IIS application for your web app.



Added If this is on your server, you can set this up yourself following the instructions . To save yourself some reading, you should be able to focus in on the Creating Virtual Directories and Local Web Sites section.





But the thing is am not able check in server.. here in company they not given authorization. How can i get it by another mathod



Hi Pradeep,


If you dont have priviledges to access the server, then you need to ask your provider to check full error message on the server.





Pradeep_kk23





















Did you try this suggestion and add this to your web.config?  This will display the error message, so that you can more easily debug.  After you have corrected the error,  remove the change to your web.config.  You should not run with
in production.


沒有留言:

張貼留言