Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Problem with the configuration

 
 
Old 02-19-2007   #1 (permalink)
Luca Tarrini


 
 

Problem with the configuration

Hi everyone,
I realized a project with WCF. Now debugging the project I reveived this
message:

<% @ServiceHost Language=C# Debug="true" Service="MyService"
CodeBehind="~/App_Code/Service.cs" %>

I supposed .svc was not recognized but instead the file type is mapped to
the aspnet_isapi.dll.
Then where is the problem?
Thanks in advance
Luca



My System SpecsSystem Spec
Old 02-19-2007   #2 (permalink)
Joerg Jooss


 
 

Re: Problem with the configuration

Thus wrote Luca,

> Hi everyone,
> I realized a project with WCF. Now debugging the project I reveived
> this
> message:
> <% @ServiceHost Language=C# Debug="true" Service="MyService"
> CodeBehind="~/App_Code/Service.cs" %>
>
> I supposed .svc was not recognized but instead the file type is mapped
> to
> the aspnet_isapi.dll.


You can run %windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe
-vi to check whether System.ServiceModel has been properly installed, and
reinstall it if necessary using the -r switch.

Cheers,
--
Joerg Jooss
news-reply@joergjooss.de


My System SpecsSystem Spec
Old 02-19-2007   #3 (permalink)
Luca Tarrini


 
 

Re: Problem with the configuration

Hi Joerg,
I followed your suggestion. Initially I have registered WCF scriptmaps
ServiceModelReg.exe /r /y and then I refreshed the IIS metabase by
ServiceModelReg.exe /s:W3SVC.
Now it works.
Thanks
Luca

"Joerg Jooss" <news-reply@joergjooss.de> wrote in message
news:94fc507168ac48c9229af945ff8c@msnews.microsoft.com...
> Thus wrote Luca,
>
>> Hi everyone,
>> I realized a project with WCF. Now debugging the project I reveived
>> this
>> message:
>> <% @ServiceHost Language=C# Debug="true" Service="MyService"
>> CodeBehind="~/App_Code/Service.cs" %>
>>
>> I supposed .svc was not recognized but instead the file type is mapped
>> to
>> the aspnet_isapi.dll.

>
> You can run %windir%\Microsoft.NET\Framework\v3.0\Windows Communication
> Foundation\ServiceModelReg.exe -vi to check whether System.ServiceModel
> has been properly installed, and reinstall it if necessary using the -r
> switch.
>
> Cheers,
> --
> Joerg Jooss
> news-reply@joergjooss.de
>
>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Configuration problem Vista mail
DNS configuration problem - really out of ideas. Vista networking & sharing
Problem with Wireless Zero Configuration Vista General
Problem in IP configuration Vista networking & sharing
Problem with a network configuration Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46