a developer's notes – a semi-technical web development BLOG

February 12, 2014

How to use Fiddler with localhost on Internet Explorer and Visual Studio

Filed under: Daily Computing — Duy Nguyen @ 1:42 pm
Tags: , , ,

If you’re debugging with IE In Visual Studio, change the web project properties to “Use Visual Studio Development Server.”

Then, instead of http://localhost:1234/MyApp/…,
use http://localhost.:1234/MyApp/… (it’s subtle, but notice the extra dot after localhost).

Advertisements

November 25, 2013

Assembly Version and File Version

Filed under: Daily Computing — Duy Nguyen @ 4:56 pm
Tags: , , ,

Here is a good thread about identifying the two. I have many times, been confused by this as well. http://stackoverflow.com/questions/17998041/visual-studio-wrong-reference-version

August 29, 2013

Using Fiddler with Internet Explorer error: The Proxy Server Isn’t Responding

Filed under: Daily Computing,General Tips — Duy Nguyen @ 4:59 pm
Tags: , , , ,

When I got this error when trying to capture HTTP traffic in IE AND using a Proxy server, I kept on getting this error:

The Proxy Server Isn’t Responding

But this was resolved by uninstalling Fiddler and reinstalling it.

April 24, 2013

In Windows 7, program windows are going behind the taskbar

Filed under: Daily Computing — Duy Nguyen @ 11:40 am
Tags: , , , , , , , ,

This will cause all browser’s status bar to be hidden! The only fix I know is

    1. Set the taskbar to Auto-hide.
    2. Reboot.
    3. Set taskbar NOT to auto-hide.
    4. Reboot again.

June 25, 2012

Unable to switch Sync Profiles in Xmarks with Firefox

Filed under: Daily Computing — Duy Nguyen @ 10:17 am
Tags: , , , , , , , ,

When you try to switch profiles with Xmarks, the drop down menu is grayed and is disabled.

1. With Firefox, disable the Xmarks add-on.
2. Restart browser
3. Enable Xmarks add-on
4. Try again.

June 20, 2012

Can’t connect to FTP server with External IP address on Verizon Fios with an Actiontec MI424WR router

Filed under: Daily Computing — Duy Nguyen @ 8:56 pm
Tags: , , , , , , , , , ,

ISSUE:

Unable to connect to a FTP site that is hosted on a PC, using the external IP Address. I am prompted with a authentication dialog box, but after you enter in the credentials, the web browser indicates that it is unable to connect.

BackGround:
1. Port forwarding on the Verizon Router has been configured to forward port 21 (TCP) to desktop
2. Internal IP address works ftp://192.168.1.5/
3. Using the external ip ftp://xx.xxx.xx.xx, prompts for credentials. After using the same credentials to log in, I get the following error:

IE: Internet Explorer cannot display the webpage

After speaking with an Actiontec rep, they told me the issue is that the MI424WR router does not support “loopback”. In other words, the router expects connections to the public
IP only from the external interface. It will ignore and drop traffic to the public IP from the internal interfaces, thus when you are attempting to access your machine with a public IP from within your LAN, the public IP is causing the local machine to contact the default gateway (your router) and your router is not forwarding that traffic back to your host machine.

When the tech attempted to connect to my FTP site with my external IP, he entered the ftp account and password and got right in. Basically, you can’t test this from within your home network, because of the non-loopback support. You will have to ask a friend or neighbor to test it for you. Or connect to another network OUTSIDE YOUR NETWORK to test.

I didn’t have this issue with Comcast, because Comcast only supplies you with a modem. I was using my own router. With Verizon Fios, they supply you with a router/modem in one device. So their router is made differently.

May 17, 2012

Creating a Windows Image Backup Fails on external 3TB Hard Drive

Filed under: Daily Computing — Duy Nguyen @ 11:23 pm
Tags: , , , , , , ,

I bought a brand new Seagate Expansion 3TB hard drive today! I was trying to back up my Windows 7 Hard Drive by creating a system image. But I got the following error:

“The request could not be performed because of an I/O device error. (0x8007045D)”

Could it be my drive is faulty? I ran check disk and it was ok. After a little research, this the problem:

New HDs have 4k bytes per section as opposed to the traditional 512 per sector.

Microsoft won’t be supporting this new hard drive formats for Windows 7 or Windows 2008.

“SBS 2011 is based on Windows 2008 R2 Server. Backup uses VHD (Virtual hard disk) format to store the data. The 4k Sector support is not available for VHD in Windows 2008 & R2 (VHD cannot be created on 4k sector size disks). Hence backup cannot provide support for 4k disks. In Windows 8, a new VHDX format is created that supports > 2 TB data storage and 4k sector disks. Therefore only in Win8 the backup is supporting 4k sector disks. When the Win8 based SBS systems will be launched then you can expect support for 4k.”

Western Digital has a utility that changes the Bytes per sector size on the 4k/4k drives so that it works for Windows Backup (will disable XP access). There is currently not a utility available for Seagate drives :/

I guess we will have to wait until Windows 8.

May 13, 2012

How to setup a FTP server in Windows 7

Filed under: Daily Computing — Duy Nguyen @ 11:34 pm
Tags: , , , , , , , , ,

1. Install IIS : Control Panel (Turn Windows Features on or off)
2. Make sure FTP Server is installed

3. Configure Firewall

(Optional. You only need this if you want to host a website from your home computer.)

4. Create a folder on your file system to store your files that you want to host on your FTP server.

5. Create the FTP site. You can follow this guide. http://www.programmerfish.com/how-to-make-local-ftp-server-in-windows-7/ **I suggest you create a user account on your computer to only allow that user to access your page. If you do this, you will need to enable Basic Authentication and disable Anonymous Authentication.

6. Configure your router so that you can use your FTP site from outside your network.

7. Access your FTP site. FTP://yourPublicIpAddress

Here is a great video you can watch on how to do this.
http://www.youtube.com/watch?v=nWpZkhXnhdshttp://www.youtube.com/watch?v=nWpZkhXnhds

February 8, 2012

Remote Desktop Connection To Your Computer From Outside Your Home

Filed under: Daily Computing,General Tips — Duy Nguyen @ 10:23 pm
Tags: , , , , , , , , , ,

You need to open up port 3389 on your Router and have it forwarded to your specified machine (by IP).

1. Open your Router’s admin page
2. Add port 3389 and specify the machine’s IP you want to allow remote desktop.

See below

Then you will want to register a FREE public domain with https://www.dnsdynamic.org. The reason for this is that your ISP will sporadically change your IP address. Unless you want to keep up with what is your current IP address that your IP gave you, you can just use your public domain and be able to remote to your computer every time.

So just open up the RDP connection and use your new domain.

To enable pings responses on a Linksys E1000, uncheck Filter Anonymous Internet Requests in the Security Tab

Also, make sure your Windows firewall has the ports 3389 open.

You can confirm that port 3389 is open to the public. Go to http://www.yougetsignal.com/tools/open-ports/ and test port 3389.

**To test the remote desktop connection from a computer outside your home network, you should ask a friend to assist. Many corporations and schools block these ports so that you can’t access your home PC while at their facilities.

November 15, 2011

Mouse Scroll Wheel Issues With Visual Studio

Filed under: Daily Computing — Duy Nguyen @ 9:57 am
Tags: , , , , , ,

Check out this blog! It helped me fixed my scroll issues with Visual Studio.

http://thecurlybrace.blogspot.com/2010/08/mouse-scroll-whell-issues-with-visual.html#comment-form

Next Page »

Create a free website or blog at WordPress.com.