Click here to Skip to main content
14,699,232 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
When I run the project following error is occurred

Directory listing
Tuesday, November 15, 2011 10:08 AM        <dir> App_Data
Tuesday, November 15, 2011 10:33 AM        <dir> bin
Tuesday, November 15, 2011 10:08 AM        <dir> obj
Tuesday, November 15, 2011 10:08 AM        <dir> Properties
Tuesday, November 15, 2011 11:14 AM        1,769 addeditem.aspx
Tuesday, November 15, 2011 10:33 AM          506 addeditem.aspx.cs
Tuesday, November 15, 2011 11:12 AM        3,423 addeditem.aspx.designer.cs
Tuesday, November 15, 2011 11:14 AM        4,731 Inventory_System.csproj
Tuesday, November 15, 2011 11:14 AM        1,225 Inventory_System.csproj.user
Tuesday, November 15, 2011 11:14 AM          465 linkpage.aspx
Tuesday, November 15, 2011 11:14 AM          511 linkpage.aspx.cs
Tuesday, November 15, 2011 11:14 AM          809 linkpage.aspx.designer.cs
Tuesday, November 15, 2011 10:33 AM        1,011 login.aspx
Tuesday, November 15, 2011 11:14 AM        1,092 login.aspx.cs
Tuesday, November 15, 2011 10:24 AM        2,438 login.aspx.designer.cs
Tuesday, November 15, 2011 10:33 AM        7,365 Web.config


[edit]Code block added, HTML characters encodes, spurious closing tags removed - OriginalGriff[/edit]
Posted
Updated 14-Nov-11 21:37pm
v2
Comments
nishantcomp2512 15-Nov-11 0:54am
   
can you able to explain what is the exact error or its an exeption?
Morgs Morgan 15-Nov-11 1:30am
   
Nothing looks like an error here, maybe i don't see it?

that is not an error

put login.aspx as startup page in your solution and run the application
   
v2
In Solution Explorer Right click the login.aspx and Click Set as Start Page.... and run the application..it will run..
   
Are you running in a Dos Shell?

That looks like a pretty standard screen for a Dir command in the shell.
   
Possibly, you are confused - there is no error there, that is just a directory listing.
We don't know where you got it, or how, or why, but a directory list is not an error (though it may be a result of an error in your code).

What were you expecting?
   
Hi,
It is not an error.Just click on any of the pages in the listed above directory and you will be redirected to that page.
And Remove the project from the solution and add it again.
I hope the problem will be solved.
If you have any more problem, send me a query.
   
set a start-up page from where u wnat to start through Start Options
this is not an error
   
you need to specify default page for you project(in IIS or web.config) or open any *.aspx file to execution
   
Where is your default page? E.g.: Default.aspx
When you run an application either from the Visual studio or through a Virtual Directory, it will search for a Default page. Which I think is missing.
   
in first reset your IIS Server then do the above steps
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900