Paul Gielens:ThoughtsService

another Endpoint to my thoughts

News

Syndication

Ads


Favorites

Projects

Indigo CTP struggle, cry for help

I give up (for now). I’ve installed the latest CTP bits on a Windows 2003 VPC and followed the instructions to get the QuickStarts GettingStarted example working. Building using MSBuild works although I get a copy error on the post build events (permission whores). I figured copying by hand should do the trick. I’ve created a virtual directory and hooked the ASP.NET v2.0.50110.0 runtime, and checked that the .svc extension maps to the correct aspnet_isapi.dll. As soon as I browse the service.svc I get a 404 error page. Even a simple test.aspx prompts the 404 error page. As soon as I tell the quickstarts virtual directory to rely on my good old ASP.NET v1.1 aspnet_isapi.dll the test.aspx page… well loads failing with a configuration error. All this tells me is that the v2 runtime is spoiling my Indigo fun.

I’ll probably start hacking code tomorrow to host the Indigo services outside of IIS.

Luckily Sam Gentile (and sorry for you Sam :D) is experiencing similar problems which relieves my pain a bit. Can anyone help me out on this?

*Edit
I cried tears of joy seeing Indigo and IIS collaborate on serving my first service. Be sure to run through the following steps.

"%windir%\microsoft.net\framework\v2.0.50105\aspnet_regiis.exe" –i
"%ProgramFiles%\Microsoft Indigo Preview\xws_reg.exe" –i
cscript "%ProgramFiles%\Microsoft Indigo Preview\InstallIndigo.js"

Posted: Mar 20 2005, 11:39 PM by p.gielens | with 9 comment(s)
Filed under:

Comments

Mark Struck said:

Paul,

If you look in the release notes for the Win FX SDK it mentions that you need to point the Quickstarts virtual directory to the vroot directory. And I'm assuming you need to copy the .svc and web.config files there as well. I've run into the same problem in the build process as yourself. And when I try to run the svc file I get the following error "Failed to listen on prefix 'http://+:8000/Temporary_Indigo_Addresses/dfa1143f-35a2-43d1-909e-577c5392995c/' because it conflicts with an existing registration on the machine.".

Mark
# March 20, 2005 11:25 PM

Paul Gielens said:

I created a virtual directory named quickstarts and mapped it to the C:\Program Files\Microsoft SDKs\WinFX\samples\Indigo\Technologies\QuickStarts\vroot\ and copied the service.svc and Web.config to the vroot. This results in the 404 as I described above.
# March 21, 2005 3:37 AM

Mark Struck said:

Did you rebuild the client and service projects and copy the files over after you re-mapped the virtual directory? I actually got mine working late last night. The error was my own fault because I was hacking the config file and inadvertantly put in an endpoint address for the service. After I removed it I could get the service up and running no problem and the client worked as well.

Mark
# March 21, 2005 11:27 AM

Paul Gielens said:

Finally, although IIS was already present on my box I decided to reinstall IIS using the guideline in the Indigo release notes.

"%windir%\microsoft.net\framework\v2.0.50105\aspnet_regiis.exe" –i
"%ProgramFiles%\Microsoft Indigo Preview\xws_reg.exe" –i
cscript "%ProgramFiles%\Microsoft Indigo Preview\InstallIndigo.js"

The Indigo service is now available for browsing. Most likely the client can discover its service endpoints now :D

Thanks for your help Mark, appreciate it!
# March 21, 2005 2:47 PM

TrackBack said:

# March 22, 2005 1:28 PM

Dennis Mulder said:

Read this: http://hyperthink.net/blog/PermaLink,guid,34e9c3b2-f429-4db1-a4db-b5b207b8304b.aspx

Some background around your problems.... It's CTP stuff... :)
# March 23, 2005 9:00 AM

Paul Gielens said:

Cool, thanks Dennis!
# March 23, 2005 2:49 PM

Don said:

thank you, thank you, thank you thank you, thank you, thank you thank you, thank you, thank you thank you, thank you, thank you thank you, thank you, thank you thank you, thank you, thank you
# March 23, 2005 6:05 PM

Pang Tat Sean said:

I am able to get the QuickStart samples run, but how about those article in the Indigo Documentation especially the MathService sample. It seems that the step taught is not correct or i missed out something. I failed to run the MathService sample, in the documentation, it just asked user to dump all implementation source codes in .svc file which is different from the QuickStart sample. Please help and thanks.
# March 27, 2005 3:38 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)