WCF browse site error

Posted on 2011-10-31
Last Modified: 2012-05-12
Hi Experts,

  I am working on a WCF project (.net version is 4.0) . In one of my service project, it is getting build successfully. While right clicking the .svc file and choose option 'View in browser' I get error as given below.

Could not load file or assembly 'Antlr3.Runtime' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

  It was working fine previously. I deleted the temporary site files but no luck.

  Could you please help me to solve this problem?
Question by:Easwaran Paramasivam
    LVL 5

    Accepted Solution


    Clear out the temporary framework files for your project in:

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\


    For Windows 7, the path is:
    C:\Users\[username]\AppData\Local\Temp\Temporary ASP.NET Files\

    For 64 bit systems with 'Framework' in the path the full path is:
    C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\
    LVL 16

    Author Closing Comment

    by:Easwaran Paramasivam
    Thanks for your comments. I resolved the problem myself.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    729 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

    23 Experts available now in Live!

    Get 1:1 Help Now