Thursday, May 20, 2010

WCF : The service cannot be activated because it does not support ASP.NET compatibility.

 

Solution : in Wcf project web.config. Update by

<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />

Tuesday, May 18, 2010

How to enable and use the "Run As" command when running programs in Windows

Solution :

 

 

For Username and Password Script popup which use to create a problem. Install like this

installutil myservice.exe /username=urname\dummy /password=urpassword

When the popup of script arises. Do this.

username= urname\dummy

password=urpassword

confirm password= urpassword

 

This will successfully install and please check Service should be in the Services list.

 

 

 

Enable the RunAs  service on a Windows 2000-based computer, or the Secondary Logon service on a Windows XP-based computer
The service that is required to run the Run As command is, by default, started automatically when you install Windows. However, the service can be disabled by an administrator. If the service has been disabled, you can re-enable it by following these steps:
  1. Log on to the computer as Administrator, or log on as a user with administrative permissions.
  2. Right-click the My Computer icon, and then click Manage.
  3. In Computer Management, expand the Services and Applications node, and then click Services.
  4. Perform one of the following steps, depending on which operating system you have:
    • Windows 2000: In the details pane, right-click the RunAs service, and then clickProperties.
    • Windows XP: In the details pane, right-click the Secondary Logon service, and then click Properties.
  5. In the Properties dialog box, set Startup type to Automatic, and then click Start.
  6. After the computer starts the service, click OK to close the Properties dialog box, and then close Computer Management.
The service that is required to run the Run As command is now running on your computer.