Working with ASP.Net Webservice on Vista / Windows Server 2008 (IIS 7)

Working with Web services on Window 2003 Server (IIS 6) doesn't occured any effects when moving from windows XP.

Hmm, But on moving to windows vista / windows 2008 Server, I was quite confused with the big change that Microsoft have done for existing ASP.Net applications.

What the Problem is? Please see the screenshot...

 

Error on Windows 2008

Surprised?? I was too. But after some searching and references, I got the solution for that.

 Solution

Go to the Internet information Service Manager ,

Start-> Administrative Tools -> Internet Information Services (IIS) Manager (or type inetmgr in run dialog)

Now, on the left side, expand the Server, then Expand the Sites and then Expand the Default WebSite (for my case its default) as shown blow

Solution Part 1 

Now, right click on the site (my case application) and then Manage Application -> Advanced Settings as shown,

 Solution Part 2

 

 There, you will get the Application Pool Setting so change the setting as shown below

Solution Part 3 

Press OK, and then try again in you browser,

YOUR PROBLEM IS SOLVED....

Solution Part 4

Any Questions / Problem, please contact.

Regards,

Naveed Akhtar.

kick it on DotNetKicks.com

6 Comments

  • I tried it as your recommend but I have an another problem
    It was a Configuration Error
    Error
    -------------------------------------------------------------
    "Server Error in '/PleayReady' Application."
    Parser Error Message: Could not load file or assembly 'Microsoft.Media.Drm.RMUtil' or one of its dependencies. An attempt was made to load a program with an incorrect format. (C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Config\web.config line 59) (C:\PlayReady\Server SDK 1.2\vdir\web.config line 28)
    Source Error:
    Line 26: </webServices>
    Line 27: <httpModules>
    Line 28: <add type="Microsoft.Media.Drm.ClientCompatibilityModule" name="ClientCompatibilityModule"/>
    Line 29: </httpModules>
    Line 30: </system.web>
    Source File: C:\PlayReady\Server SDK 1.2\vdir\web.config    Line: 28
    -------------------------------------------------------------

  • Thanks! fix worked great!

  • There a couple of interesting points with time here in spite
    of this I dont discover if I see they all center to heart.

    Theres some validity on the other hand I most
    certainly will take hold opinion until I look into it further.
    Good article , thanks and we want much more!
    Added to FeedBurner too

  • Absolutely composed subject matter, thankyou for information .

  • I just put that the link of your blog on my Facebook Wall.

    very nice blog indeed.~`;`-

  • Would love to always discover updated great site !
    .

Comments have been disabled for this content.