WCF when deployed gives "not pre-compiled" error when deployed but works fine on localhost RRS feed

  • Question

  • I created a WCF web service called LinkDatabaseService that I access from a Silverlight client.  When it runs on localhost it works fine.  The service even successfully puts and retreives data in my hosted SQL Server database.  When I deploy the application it doesn't work.  Which at first made sense to me because the reference to the webservice in my Silverlight application was to one located at address http://localhost:59546/LinkDatabaseService.svc.  So I go and update the webservice reference and try to set the address to my website  I can ftp to the site and see that the service is there and in the bin directory is a dll with the same name as the web project (LinkDatabaseWeb.dll).  However when I try this I get the message that "the file /LinkDatabaseService.svc has not been pre-compiled, and cannot be requested".

    Any suggestions?  I'm using VS2008.  I looked around through the options and I don't see a "pre-compile" option.
    Friday, August 29, 2008 4:28 AM