Raihan Iqbal
Life is codetastic!

Posts Tagged ‘site’

ASP.NET Web Site Administration Tool (WAT) Error

Those of us who use the ASP.NET WAT on a regular basis must have encountered this error at least once.

An error was encountered. Please return to the previous page and try again.

WAT_Error 

After some research I found out that the tool doesn’t work if you have spaces in the path of your applications directory for e.g. D:\My Stuff\Projects\Project1. I know, it’s weird!

The Solution

If you don’t want to go through the hassle of moving your project folders, worry not, NTFS Link comes to the rescue. Once you’ve downloaded and installed the tool, right click at a location of your choice and select New Junction Point.

New_Hard_Link

You will then be prompted to select the target folder. In our case, this should point to D:\My Stuff\ since that is the folder that contains a space in its name.

New_Shortcut

Once the shortcut is created you can rename it to something without a space so our final path would be something like D:\ProjectsLink\Projects\Project1. The WAT tool should work now.

Share

Posted in .net, Tools, visual studio | 1,734 views | 5 Comments

Tags: , , , , , , , ,