Posts

Showing posts with the label Tips and Tricks

Unable to start debugging on the Web server. An authentication error occurred while communicating with the web server

Even had this annoying error when staring a debugging session from Visual Studio, and you have configured it to use IIS. I have, today actually. This is what worked for me. Disable the loopback check 1. Open the Registry Editor (click Start, click Run, type regedit and then click OK.) 2. In the Registry Editor, locate and click the following registry key: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Lsa 3. Right-click Lsa, point to New, and then click DWORD value. 4. Type DisableLoopbackCheck and then press Enter. 5. Right DisableLoopbackCheck, and then click Modify. 6. In the Value data box, type 1, and then click OK. 7. Quit Registry Editor, and restart the computer. (I didn’t and it still worked :)) Hope this helps, and if so, spread the word. Happy Coding

Integrating WinMerge in Visual Studio

Image
I've been using WinMerge for a long time now because i think it's the best, FREE, comparison and merge tool available today. What i really don't like is the comparison tool that ships with Visual Studio. For instance, the following line has a difference, but what is the difference exactly. You can figure out what it is by really staring at the line OR use WinMerge instead.   The cool part about VS2008 is that you can configure a lot of things, and this also count for customizing tools. To intergrate WinMerge follow these simple steps. Go to tools -> options -> source control -> visual studio team foundation server -> "configure user tools" button. Click Add Choose the following settings Extension: .* Operation: Compare Compare: C:\Program Files\WinMerge\WinMergeU.exe Arguments: %1 %2 Now if you compare the files, you get the nice interface of WinMerge and can see di...