Tips and Tricks in a world of Mix

Posts tagged ‘.svc’

SvcTraceViewer.exe for Wcf debbuging – Silverlight and WCF – The remote server returned an error: NotFound

http://msdn.microsoft.com/en-us/library/ms732023.aspx

Insert into web.config in configuration tag :

 

<system.diagnostics>
    <trace autoflush="true" />
    <sources>
            <source name="System.ServiceModel" 
                    switchValue="Information, ActivityTracing"
                    propagateActivity="true">
            <listeners>
               <add name="sdt" 
                   type="System.Diagnostics.XmlWriterTraceListener" 
                   initializeData= "SdrConfigExample.e2e" />
            </listeners>
         </source>
    </sources>
</system.diagnostics>


Open the log file : SdrConfigExample.e2e through SvcTraceViewer : (more…)

Advertisements

Http Error 404.3 – not found in IIS 7.5 – Add MIME TYPES .SVC

On a new computer we’ve added all the frameworks and so on ,but still got a message from Microsoft Visual Studio 2010 – “Unable to start debugging on the web server. The web server could not find the requested resource. Click Help for more information. “

In our project it was Web Application ( MVC )  using WCF .

We just upgraded to WINDOWS 7 and started working with IIS 7.5 .

So the message was not to evident. We’ve remembered that in IIS 6  in Windows XP it had a problem with .mvc extentions.

So we figured we are missing the MIME TYPES . We had .mvc extention configured , so we’ve checked what extentions are missing and found out it was .svc

In order to resolve this you need to run “\%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe -i”. It will create required .svc mapping.

ScreenShot014

check that you have the extentions needed in Handler Mappings of the default web site

ScreenShot015

Tag Cloud

%d bloggers like this: