VS 2005 web project wont load

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/7/2006 9:15:39 AM
Gravatar
Total Posts 15

VS 2005 web project wont load

I have gone through all of the steps to get my VS 2005 enviroment setup including installing the VS 2005 web project addon, but when i open the solution, I get a message about the web project(the items in the 'web' folder) wont load.  Anyone having this trouble ?
7/7/2006 9:44:10 AM
Gravatar
Total Posts 18439

Re: VS 2005 web project wont load

You get that error just opening the Solution in VS 2005 or when you try and dubug (i.e. click the play button)?
I've never heard of that issue before.

You are talking about an error in VS 2005 right, not in the browser?

Which download did you use or did you use TortoiseSVN?
7/7/2006 9:56:48 AM
Gravatar
Total Posts 15

Re: VS 2005 web project wont load

I get the error when opening the solution file.  I cant get to a build yet.  Just following the instructions here:
http://www.mojoportal.com/tortoisesvn.aspx

eg:
" If you are working with VS 2005 use:
https://forgesvn1.novell.com/svn/mojoportal/branches/2.1"

Again im using VS 2005 and i used svn to get the source. 
7/7/2006 10:21:10 AM
Gravatar
Total Posts 18439

Re: VS 2005 web project wont load

I think it must not have got all the files for you. I don't normally use anonymous checkout becuse I have commit rights but I just tried it with TortoiseSVN using the same url that you used and a funny thing happened.
When I right click my folder and choose SVN Checkout, the dialog came up with the checkbox checked that says get top level folder only so when I did checkout it only got a few files. I don't know why this was checked, I didn't check it. So I deleted the folder, recreated it then did SVN Checkout again and this time it was not checked and it got all the files. I think maybe this same happened to you. Try delete the folder and create a new one, then when you do SVN Checkout, make sure the top level checkbox is not checked.

If you look in your file system right now, do you see the Web folder with mojoPortal.Web.csproj file in it?
7/7/2006 10:36:56 AM
Gravatar
Total Posts 15

Re: VS 2005 web project wont load

Ok, i cleared out everything, and tried again, making sure checkbox was cleared.
Yes the folder is there with the project (as it was before), but again, when i open the solution file i get:
"The project file 'C:\workdir\mojoportal_20\web\mojoPortal.Web.csproj' cannot be opened
The project type is not supported by this installation"

It sounds like VS 2005 doesnt like the update that was applied for web projects ?
7/7/2006 10:42:48 AM
Gravatar
Total Posts 15

Re: VS 2005 web project wont load

just to add to what ive already said,
it appears that everything except the web project opens.
7/7/2006 10:43:42 AM
Gravatar
Total Posts 18439

Re: VS 2005 web project wont load

Well thats different, that means something went wrong when installing the Web Application project. Try uninstalling it and re-installing it. Pay close attention during the install, there is another patch file (VS80-KB915364-X86-ENU.exe) it makes you download and install during the process before it can install the Web App project type.
7/7/2006 11:20:07 AM
Gravatar
Total Posts 15

Re: VS 2005 web project wont load

ok, now were cooking.  Im not sure what I did wrong before, but the "web projects" VS update just wasnt applied right.  So I did (both pieces) again, and now I can open everything.  Now I just need to configure the web.config.
7/7/2006 11:33:23 AM
Gravatar
Total Posts 18439

Re: VS 2005 web project wont load

Don't forget to make the Data folder writeable by the ASPNET user or IISWPG on Win 2003

Cheers,

Joe
7/7/2006 12:23:56 PM
Gravatar
Total Posts 15

Re: VS 2005 web project wont load

Ok, enabled aspnet user.  Im using sql server express for setting up this test.  Looks like im getting close, I was able to fire it up and run the default page within VS using its internal server, but not thorugh IIS.  I think when the VS web project update was installed, it set the debugging server to IIS.

Anyway,  looks like ive still got some issues with paths and such, but im close enough to smell it.  Ive been looking at several opensource portal apps (i wont name names), and even though ive had a bit of trouble with vstudio, this project, I like this one the best so far. 

If I can get this functioning well enough, I would like to use it and contribute.  I started off looking into writing my own providers for the new asp.net membership api, because i needed user login and user admin features.  Ive written things like this before, but probably nowhere near as many features as what im sure is here.

Are you the one who started this project ?

wish me luck
7/7/2006 12:55:17 PM
Gravatar
Total Posts 18439

Re: VS 2005 web project wont load

Yes I'm the primary developer and founder of the project. Just let me know if you need any more help.

If you setup your virtual directory in IIS so that localhost/mojo maps to the web folder then right click the Web project and choose properties, on the Web tab you can tell it  to use IIS for debugging and enter the url.

Cheers,

Joe
7/7/2006 1:07:27 PM
Gravatar
Total Posts 15

Re: VS 2005 web project wont load

When Im trying to use IIS and start to debug, I get the message "unable to start debugging on the web server.  debugging failed because windows integrated security is not enabled...."  This didnt use to be a problem with VS 03

7/7/2006 1:10:06 PM
Gravatar
Total Posts 18439

Re: VS 2005 web project wont load

Go into your IIS settings under Directory Security tab > Edit and make sure both anonymous and integrated windows is checked.
You must sign in to post in the forums. This thread is closed to new posts.