Aspnet_regiis is does not register script mappings for WCF. That's handled by a separate tool (xws_reg).
Try xws_reg /r from the command line.
That will reinstall the necessary configuration items in web.config to make .svc files work in Cassini regardless of whether ASP.NET is installed on the box.
-steve
-----Original Message-----
From: Mark Dellacca@discussions.microsoft.com
Posted At: Tuesday, October 18, 2005 8:57 AM
Posted To: microsoft.public.windows.developer.winfx.indigo
Conversation: Programming Indigo - David Pallmann
Subject: Re: Programming Indigo - David Pallmann
"Richard Blewett [DevelopMentor]" wrote:
I am having the exact same problem as the original poster. Anytime I try to
hit a .SVC file I simply see the contents of the .SVC file on my screen as if
I was pointing to a text file or some other unrecognized file format. I have
been unable to resolve this issue and it's killing me because I am unable to
continue prototyping a new framework for my company.
I have tried running the command you specified, aspnet_regiis -i from the
v.2.0.50215 directory, and it appears to complete properly but still the .svc
file appears to be an unrecognized type.
I do notice that after running aspnet_regiis -i that the following message
is in the Application Eventlog however:
Updates to the IIS metabase were aborted because IIS is either not installed
or is disabled on this machine. To configure ASP.NET to run in IIS, please
install or enable IIS and re-register ASP.NET using aspnet_regiis.exe /i.
The output when I run aspnet_regiis -lv is as follows:
1.1.4322.0 Valid
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll
2.0.50215.0 Valid
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\aspnet_isapi.dll
I am *NOT* running IIS. I am only using he Cassini web server that is used
by Visual Studio 2005. I am running on a Windows XP Pro SP2 installation
fully patched using Visual Studio Beta 2, the .NET Beta 2 Framework (
v2.0.50215 ), WinFX CTP Release Runtime and SDK as well as the Visual Studio
2005 WinFX Plug-In Extensions.
Everything else works fine. I can built and run web services and web pages
without issue. I can build and run self-hosted Indigo services without issue
as well. The only problem that I'm stuck with is this unrecognized .SVC file.
Any help would be greatly appreciated.
|