403.3 Problem with WCF and Azure WebRole in local development fabric

by mheydt 30. April 2009 21:36 >
During the building of the WCF service mentioned in my previous post, I came across an error when trying to access the WCF service when running it within the local development fabric.  It worked fine when just running the web role, and when deployed into Azure.  So, this led me to investigating if the IIS as used by the local development fabric to see if it was not configured to serve .SVC files.

One of the first things that I did to investigate was to just navigate to the service in the browser with a brand new service project that I put together.  When doing this, I received the following:



There should be a page showing the information about the service, instead a 403.3 error.  Likewise, when stepping through the debugger, similar errors could be seen when checkin the exceptions.

After a bit of googling, the solution to this turns out to be the following.  Apparently, WCF is not configured properly with IIS.  This feels very similar to the problem when ASP.NET sometimes is not configured properly, in that the solution is very similar.

To solve the problem, navigate to the windows communication foundation folder as shown here, and run the "ServiceModelReg.exe -i" command.



After running that program, you will see output similar to the following and the problem will then be solved.



Tags:

Azure | C# | WCF

blog comments powered by Disqus

about the author

I'm a .NET, XAML, and iOS polyglot that loves playing with new things and making cool and innovative stuff.  I am also a Mac junkie.

I am Principal Technologist for SunGard Global Services in NYC, in their Advanced Technologies practice, and I work extensively with SunGard's energy and financial customers.

Note the the posting on this blog are my own and do not represent the position, strategies or opinions of SGS.

twitter

I can't stop thinking big!
Sunday 1:08AM via WindowsLive
Just watched Moneyball. That's my pick for best movie this year.
Saturday 3:51PM via WindowsLive
@vincebelpiede: Report: Skype For Windows Phone Beta Imminent http://t.co/KYNjgg1L#mhtnd
Wednesday 8:39AM via Twitter for Mac
@mashable: Kinect Fusion Will Turn Gaming (and More) Into a 3D Fun House - http://t.co/Ihrq2fY2#mhtnd
Wednesday 8:39AM via Twitter for Mac
New Kinect SDK: http://t.co/57MvA5L5 #mhtnd
Wednesday 8:39AM via Twitter for Mac
Follow me on Twitter

recent comments

None

month list