Thursday, September 16, 2010

"LM/W3SVC/1/root/webapplication" already exists. Please choose a different alias.

This is the very common error that any web programmer can face when we web share a folder.The solution is to remove the virtual directory entry from the IIS window. But what if the entry does not exist in the IIS window. This situation comes when you delete/move the folder from the c:\inetpub\wwwroot folder before deleting its virtual directory. So the solution is to remove the virtual directory entry from the IIS.

Here is the Procedure to remove virtual directory entry from the IIS database?

Here are the 3 ways how we can do this.

1. Use following command

Syntax
iisweb /delete WebSite [WebSite...][/s Computer [/u[Domain\]User/p Password]]

You can get more help on this from here.

2. Recreate the folder with the same name in the c:\inetpub\wwwroot and then restart the IIS (use iisreset.exe). You will see the virtual directory with the same name in the IIS window, now remove the virtual directory from IIS.

3. Use the following command by opening the command prompt.
c:\inetpub\wwwroot\cscript adsutil.vbs DELETE "W3SVC\1\root\"

For more information on adsutil.vbs.

Hope this helps.

Micrsoft launches new explorer IE9 beta

Microsoft is back to take its internet explorer turf from Google Chrome and Firefox with newly launched beta version of Internet Explorer 9 (IE9). Microsoft claims that IE9 delivers faster speed as it uses HTML5 and new web technologies like CSS3 and SVG2 and GPU for acceleration.

Check out the new developer capabilities of Internet Explorer 9 here at IE9 Test Drive.

IE9 will only be available for Windows Vista and Windows 7 -- those still using XP will have to stay with IE8.

There are many new features in IE9.

Some of them are listed below,

- A completely new design
- Pinned sites
- A download manager
- Enhanced tabs
- New tab page
- Search directly in the address bar
- Notification bar
- Add-on performance advisor
- Hardware acceleration.

Using Internet Explorer 9, you can pin sites like Hotmail, CNN and Facebook to your taskbar and then launch them like an app. To pin, just grab the tab in the browser and drag it to your taskbar.

You can Download IE9 beta from this link.

Tuesday, September 14, 2010

Copying Outlook rules and alerts to another machine

In order to quickly configure the same Outlook rules on many computers, first they must be configured on one computer and exported to a RWZ file. For this, in the Rules and Alerts dialog click the Options button and then Export Rules. Now the rules can be exported to other computers by selecting the Rules and Alerts dialog, the Options button and Import Rules. See below Figure for reference.

rulesexport

Monday, September 13, 2010

Firefox: Windows Authentication

Do you have an Intranet or a similar web site that requires the use of Integrated Windows Authentication? If so the default Firefox browser settings will always prompt you for a username and password first before accessing a site using Integrated Window Authentication.

Fortunately Firefox has the slick ability to easily modify it's configuration to use Integrated Windows Authentication.

Configure Firefox

To enable windows authentication on your domain.

1. Open Firefox

2. Navigate to the url about:config

3. Locate the following preference names and put as the value the comma separated values of the address roots.

network.automatic-ntlm-auth.trusted-uris

network.negotiate-auth.delegation-uris

network.negotiate-auth.trusted-uris

Your value should look something like these localhost, server1, server2, serverX.. etc.

Saturday, September 11, 2010