Survey Forums

HomeHomeSurvey Project ...Survey Project ...Installation & ...Installation & ...Problem in installing Survey 1.2.3 Source CodeProblem in installing Survey 1.2.3 Source Code
Previous
 
Next
New Post
1/4/2012 5:49 AM
 

 

Hi, I'm facing problem while installing the survey 1.2.3 Source code,

i followed the instruction from http://survey.codeplex.com/wikipage?title=Survey%201.2.3%20Web%20Application%20Project%20Source%20Code%20Installation. But no luck, when i click F5 from VS, It prompt me an errror message box:-

A project with an Output Type of Class Library cannot be started directly.

anyone can get help on this? Appreciate if you can solve for me.

 
New Post
1/4/2012 9:28 PM
 

Hi,

Some advise taken from the aspfree.com forums:

'You're trying to open web application in a Windows environment and that simply won't work. Also, you can't execute the code behind (the aspx.cx) file directly. Try the following:
1. Right-click on the project that contains the login.aspx file and select Set as Startup Project
2. Right-click on the login.aspx file and select Set as Start Page
3. Press F5 to debug your application.
You can probably delete your WinForms project from the solution at this point.

If that doesn't work, or you don't see those options, then it's possible that your Visual Studio environment is not setup correct. In that case, try the following:
1. Start with a new VS session.
2. Create a Web application by going to File/New Project/C#/ASP.NET Web Application.
3. In the Solution Explorer, right-click on the Solution and select Add/Existing Project
4. Select the project containing the login.aspx file
5. Continue with the above advice.
'

Hope this will work for you (otherwise you also do a google search on the error message you received for further tips)
 

 
Previous
 
Next
HomeHomeSurvey Project ...Survey Project ...Installation & ...Installation & ...Problem in installing Survey 1.2.3 Source CodeProblem in installing Survey 1.2.3 Source Code