Click here to Skip to main content
16,022,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created 3-tier architecure in Asp.net (in Visual Studio 2012)
1) BusinessLogic Layer taken as class library project.
2) Businessobject Layer as class library project.
3) Dataaccess Layer as Class library type.
4) for presentation layer I have created master page and then add web form name as Home using master page. now i have set this web form (Home) as start up page

What I have tried:

In presentation layer I have selected Home Page. now i have set this web form (Home) as start up page
Posted
Updated 30-Mar-17 9:42am
v2
Comments
Bryian Tan 30-Mar-17 15:18pm    
Did you set presentation layer (Web) as Start up project?
[no name] 30-Mar-17 15:20pm    
Has nothing at all to do with your startup page. It's your startup project where the problem is.

1 solution

You cannot set any project that generates a class library as the Startup Project in VS: the produce DLL files rather than EXE and do not contain a Main method which the system needs in order to run an application.

Set an executable project as your Startup Project by right clicking it's name in the Solution Explorer.
 
Share this answer
 

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