Why do my web services break when precompiled?

Posted on 2009-02-17
Last Modified: 2013-12-12
I have an ASP.NET 3.5 project that uses a couple WCF web services.  They work great when I deploy the actual source files.  However, If I precompile the web site before deployment, the web services break.  I will attach a screenshot of the yellow screen.

Any ideas?
Question by:pureauto
    LVL 27

    Accepted Solution


    Author Comment

    Those links were exactly what I needed.  Turns out I just needed to ensure that my project in Visual Studio and my virtual directory in IIS after install must have the same name.

    Thanks Sammy.

    Author Closing Comment

    Thanks again.  Exactly what I was looking for.
    LVL 27

    Expert Comment

    You are most welcome, I had the same issue awhile back and found that thread very helpful.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
    Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
    Viewers will learn how to use the Hootsuite Dashboard.
    XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now