Sunday, March 30, 2008

ASP.Net Remote Debugging & Local Host Alias

Visual Studio Error: "Unable to start debugging unknown user name or bad password"

Here is an even better solution than using locolhost with some bugus port. There was a security change in SP1 for Windows 2003 that prevents debugging on anything but localhost. There's an obscure KB article about it here:

http://support.microsoft.com/?kbid=896861

The fix is simple:

1. Click Start, click Run, type regedit, and then click OK.
2. In Registry Editor, locate and then 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-click DisableLoopbackCheck, and then click Modify.
6. In the Value data box, type 1, and then click OK.
(reboot may be necessary)

If the other computer is truly remote, it will be necessary to define debugging permissions on that machine:
Click Start, click Microsoft Visual Studio 2005, point to Visual Studio Tools, and then click Visual Studio 2005 Remote Debugger Configuration Wizard.

Also configure in Administrative Tools: "Local Security Policy" / "User Rights Assignment". The policy "Debug Programs" should be granted to your User.

Thursday, March 27, 2008

Obtaining HTTPcmd : Command line utilities

Windows 2000 Resource kit has a tool call httpcmd to perform GET operation.
Microsoft offers no downloads for this tool of the Windows 2000 ResKit. The Window 2003 Res Kit does not contain that command; instead obtain the IIS 6 Resource Kit.

Down from here.
Use the tool tinyget:

tinyget -srv:raweb01 -uri:http://relevantads.com -d

Also use the tool wfetch to perform detailed HTTP requests and response anaylsis.

Monday, March 17, 2008

Disable Road Runner domain advertising landing page

Recently Road Runner began advertising to its users advertisements in the way of web landing pages. When Road Runner detects an invalid domain (or DNS error) it will redirect the browser to a web site with a mixture of ads and search results served by Yahoo.

Some users are even complaining that Road Runner is redirecting valid domains to this landing page such as www.google.com!

Fortunately, Road Runner does provide a way to disable this default DNS service. On the bottom of the landing page is a link to service settings http://ww23.rr.com/prefs.php.


From here, simply disable the entire service. This may take a few minutes to take effect and it will affect every computer in your local network. The settings are tied to your Cable modems MAC address. You can revisit the settings page to modify the values should you ever want that.

Share Links