Visual Studio Configuration

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.
3/3/2013 7:51:58 PM
Gravatar
Total Posts 2

Visual Studio Configuration

Hello,

I'm a newbie to MojoPortal. I am having some, I believe configuration problems when I try and run a locally compile copy of the source code.

I used the web installer to download and install MojoPortal on Windows 7, IIS. That worked reasonably well and the site was up and running quickly.

I then downloaded the latest source code, followed the instructions in your developer documentation for setting up Visual Studio 2010 and successfully compiled the code (without any changes).

I then  pointed my IIS web site created with the web installer to the web subfolder in the MojoPortal source tree.

All files/directories are writable by the IIS user. The web.config file in source tree was updated to use the database created by the web installer.

When I visit the web site in a browser, there appears to be no theme or scripts running. (white background, left justified, no admin menus)

Is there something else I need to do?

Thanks in advance,

Bill

 

 

3/4/2013 10:30:23 AM
Gravatar
Total Posts 18439

Re: Visual Studio Configuration

Make sure you rebuild the entire solution not just mojoportal.web project. Then using an empty database in the connection string (ideally in user.config) visit the /Setup/Default.aspx page.

During initial setup the skins get copied from /Data/skins into /Data/Sites/[SiteID]/skins but if you point it to an already populated db it will not copy those files.

If the problem persists check the log for clues under Administration > System log

and view the source of the page and follow the url for csshandler.ashx and see if it is returning css or if an error is happening.

Hope that helps,

Joe

3/5/2013 6:53:39 PM
Gravatar
Total Posts 2

Re: Visual Studio Configuration

The problem was the missing files under /Data/Sites/[SiteID]/skins . Followed your suggestions and my issue is solved.

Thanks for your help

Bill

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