Local Machine - First Installation problems

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.
9/21/2010 7:59:23 AM
Gravatar
Total Posts 77

Local Machine - First Installation problems

I'm just starting with Mojo and I'm having trouble installing it on my local machine

My Environment:
XP Pro SP3 /  Visual Studio 2008 Pro  / SQL Server 2005/8

What I have done so far (questions embedded in bold italic)

Created a new database called "mojo" using SQL Server management Studio 
Downloaded the latest installation (mojoportal-2-3-5-3-mssql-net40-deploymentfiles.zip)
Unpacked the files into a Visual Studio 2008 "project" folder called "mojo"
Used the IIS snap-in to make the "mojo" folder a virtual folder with full read/write
Used anonymous access authentication
Saved user.config.sample as user.config
Commented out all of the connection string keys except for the MSSQLConnectionString
Changed the MSSQLConnectionString line to read:

<add key="MSSQLConnectionString" value="server=(D390);Initial Catalog=mojo;Integrated Security=True" />Is this correct?

Checked the permissions on the Data folder. All seems OK.

But when I  visit /Setup/Default.aspx  nothing seems to happen.

Also: I don't see a mojo data connection in VS Server Explorer

What am I doing wrong?
How do I install mojo on my local machine?

Thanks

Ken  
 


 

 


 

 

 

My problems
 

 

9/21/2010 8:19:10 AM
Gravatar
Total Posts 18439

Re: Local Machine - First Installation problems

Hi,

The "deploymentfiles" downloads are pre-compiled and meant for production deployment to IIS Web Server, not really intended for use in Visual Studio, though it can work in Visual Studio 2010 (opened as a web site not in a project), it has no C# source code, it is all pre-compiled. I've never tried using those files in VS 2008 but it should not be using a project file since there is no source code it must be opened as a web site.

Visual Studio won't see the connection string because we don't use the <ConnectionStrings section but use <appSettings for our connection string.

For those who want to work with Visual Studio, I recommend use the source code not deployment packages and it requires Visual Studio 2010 or  the free Visual Web Developer Express 2010

How can I possibly know if your connection string is correct?

I will say that I always use a sql user and password not a trusted connection myself because this is what is needed for most hosting situations, so the format of your connection string is not what I use. Also parenthesis around the server name seems questionable. 

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.