Search this blog

Showing posts with label Vista. Show all posts
Showing posts with label Vista. Show all posts

Saturday, May 15, 2010

Unable to Access IIS components

Today, One of My friend, Trying to deploy Webservice in local Webserver, but Throws the following Error!


you must install the following IIS components:

IIS 6 Metabase and IIS 6 Configuration Compatibility
ASP.NET
Windows Authentication

For more information, press F1.


But He installed IIS in his PC, but still it says the same error.

Note : If you are not installed, then follow the steps given in my previous post, How to Install IIS in Vista & Windows 7

If you are using other Other Operating System, then follow the manual.

After Installed IIS, We tried many times to publish the Web service, but still we faced the same issue, finally we come to know, My friend doesn't have proper priviledge to deploy to IIS. If you want publish on IIS, you should have admin rights.

So We run Visual studio thru "Run as administrator", then we tried to deploy the Web service.

Wow ... It works Well!

Hope it Helps you, if face the same problem!

Friday, May 14, 2010

How to Install IIS in Vista & Windows 7

This Post guides you to Install IIS in your Vista or Windows 7 Operating systems.


Follow the steps to install IIS:


Go to Control Panel, Then Click On Programs (this Exhibit only for Windows 7, remaining steps are common to both)
In Programs and features, click "On Turn Windows Features on off", 


It Displays a window with list features which are installed and available to install.


Check the “Internet Information Services”, Expand the tree (+), it will displays lot of features, check it, if necessary, Then Click on Ok Button to install.


After Install, Vista will Expect reboot, but In Windows 7 not required to reboot.


To check the IIS, Go to Start, Type “InetMgr”, If Exists, it will filter and displays on the top as shows below, 


run this, It will open the IIS Manager.


Hope it helps you!

Wednesday, June 17, 2009

Running ASP.NET IIS Registration Tool (Aspnet_regiis.exe) using Vista IIS 7

Today I tried running “ASP.NET IIS Registration Tool (Aspnet_regiis.exe)” in my laptop, which is using Vista IIS 7, by following command in command prompt (start->run->cmd)

C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\aspnet_regiis –i

It gives the following error,

An error has occurred: 0x800702e4 The requested operation requires elevation.

Then I found that, vista is having tight security model. It won’t allow anything to run easily, also The ASP.NET IIS Registration Tool (Aspnet_regiis.exe) allows an administrator to install this.

Solution:

I opened the command prompt with administrator access by

Start -> All Programs -> Accessories -> Command Prompt -> right click -> run as administrator

Then I run the same command, it works fine.


I just want to share this solution here, so that it may help someone.

Have a great day!