Click here to Skip to main content
15,921,660 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Create a simple WCF project in VS 2008,

File >New >project > WcF Sevice Application (WCFTset)
Build & upload it to Server (via Filezilla)

I'm getting error on http://xyz.com/service1.svc as :

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. 


What I missed in setup on the server???
Posted
Updated 1-Sep-12 21:50pm
v2

1 solution

The error simply states that there is a problem. But in order to see the reason you should either try the service on the server using browser locally or you can modify the web.config to allow to show the error. In order to do that add the following to the web.config:
XML
<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900