Link to home
Start Free TrialLog in
Avatar of Simon Boutin
Simon BoutinFlag for Canada

asked on

Can't open my Default.aspx program in the Web

I create a new ASP web application project in Visual Studio 2010.
When I execute to see the Web page, it say:

The requested URL "http://localhost:2756/Temp/WebForm.aspx" cannot be found or is not available.

I'm really starting with ASP and I just want to see a blank web page.
Thanks.
Avatar of Simon Boutin
Simon Boutin
Flag of Canada image

ASKER

When I create a HTML page in the same project, this page can be executed in the Web.
Avatar of Johny Bravo
Johny Bravo

VS has Solution Explorer. Is WebForm.aspx exist in the list.

Try adding a new page.

Right click your project in solution explorer-> Add New item - > Web Form
Give it a name.

That page will be listed in solution explorer. Now Right click on the page name in solution explorer and select "Set as start page".

Now press F5
I try several time but just won't work. When it is a HTML page, it work without problem. But when I create a new project and try to execute the .aspx file, I always have this message.
ASKER CERTIFIED SOLUTION
Avatar of Johny Bravo
Johny Bravo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Debug from Visual Studio. I try with Default.aspx and WebForm.aspx and the problem is the same. Unfortunately, I can work on this project just 1 day per week, so for now I can't test your feed back, until next Monday.
I think your solution is correct, but my project was changed now. I doesn't need to do a web page anymore.
So thanks !