myfavoritemovies.us

May 28, 2008

Starting Web Services and IIS

Filed under: asp.net,iis — Tags: , , — @ 4:47 pm

I thought I log some of the problems that I faced during the demo of my web services.

 

First I installed IIS and then I opened VS2008 and created a Hello World ASP Web service project. I ran a test in IDE and it worked fine. After that I deployed it on the IIS.

 

Now I opened IE to test the web service using the url and I got a wired error that “%” is invalid. After some research I found out that, under the default web site properties ASP.Net does not have version selected. I choose the latest version and that error went away.

Now the second try and I got the following error

“Failed to access IIS metabase”

This is due to the fact, you have installed IIS after installing the .Net Frame work 2.0 Be default .Net 2.0 has default asp.net resigtry and that need to be reset with the new IIS install. This can be done by running the simple command

Aspnet_regiis –i

After resolving these two issues I was able to cruise along without any problems.

Powered by WordPress