Wednesday, May 27, 2009

Unhandled Error in Silverlight 2 Application Code: 4004 Category: ManagedRuntimeError

I spent so much time trying to figure out what was wrong with the Virtual Directory. Well it seems that in IIS 7 I was missing the handler for *.svc files.

Added to a Handler Mapping for
Request Path *.svc
Executable: %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
Name: SVc-ISAPI-2.0

Guess what? It works like a charm.

No comments: