Calling ASP webpage from C# application

52 views Asked by At

I am trying to call a localhost webpage I created with ASP from a console application written with C#. I tried the following code:

Process.Start("http://localhost:49268/B:/Projects/Transformation/Transformation/View/Pages/HomePage.aspx");

but the browser says:

Firefox can not connect to the server on localhost: 49268 build.

The site could be temporarily unavailable, please try again later. If you can not access any other site, please check the network / Internet connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Internet.

I can't understand what the problem is! How can I fix this problem?

Thank you.

0

There are 0 answers