Prashant Vanarase.
August 21, 2009
Dear Friends,
Recently I encountered very common problem and surprisingly enough didn’t found solution on Google search, so I just thought of sharing my experience with you.
C# .Net First web site problem.
Environment:
Windows XP (SP2)
VS2008
I created my first website using C# .net and published the same. When I tried to access the same from my local machine using following links it worked perfectly.
http://MyMachine/FusionChart/default.aspx
http://localhost/FusionChart/default.aspx
Problem:
But when I tried to access my website on another remote machine on intranet using http://MyMachine/FusionChart/default.aspx it unable to open my website’s default.aspx
After long browsing I got error message “404: Page not found”
I tried almost everything like
- Directory permissions
- IIS settings
- Port settings
But still not able to resolve the issue.
Solution:
Finally I tried following steps and everything worked perfectly
Click Start, click Run, type ncpa.cpl in the Open box, and then click OK.
Right-click the network connection that you want to configure, and then click Properties.
Click the Advanced tab, and then click Settings.
Click the Advanced tab.
Click Settings for the network connection.
Use one of the following methods, depending on your situation:
- If IIS is configured to use port 80, click to select the Web Server (HTTP) check box. Verify that the name or the IP address is displayed correctly in the Service Settings dialog box, click OK, and then click OK again.
- If IIS is configured to use a different port, click Add. In the Service Settings dialog box, specify the settings and the port number that you want, click OK, and then click OK again.
Click OK.
Thanks to:
- Ms. Gauri Vaidya
- Mrs. Madhuri Gokhale