Theme file problem

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
5/8/2006 2:29:42 AM
Gravatar
Total Posts 3

Theme file problem

Windows IIS, ASP.NET 2.0, MSSql provider, Source code install and compiled using VS2005:

After I installed and configured Web.Config and switched database provider to MS-SQL I ran the application but in mojoThemeVirtualFile I get an exception thrown immediatley on starting the application in the Open() procedure it is trying to open the file
pathToFile:  "/Data/Sites/1/skins/subblue/theme.css" which does not exist.
5/8/2006 2:39:28 AM
Gravatar
Total Posts 18439

Re: Theme file problem

I think I have fixed that recently in svn but I may not have merged it from my sandbox into branches/2.1.

I'm pretty sure this error only occurs when using the built in VS web server, if you configure an IIS Virtual directory I'm pretty sure it goes away. First configure the virtual directory in IIS, then right click the web project and go to properties and click the web tab and enter the url you configured in IIS. I always use IIS so I didn't notice this error until recently when I pulled the code down on a different machine and used the built in VS web server.

Also the  ~/Data folder and all its children must be writable by the aspnet worker process.

I should be merging my changes into branches/2.1 this week but there are a number of db schema changes.
You could also get the code today from my sandbox branches/joedev2.1 but then you will need to setup the db again or try  the upgrade script.

Hope it helps,

Joe
5/8/2006 3:31:22 AM
Gravatar
Total Posts 3

Re: Theme file problem

Changing to not use the built-in VS web server fixed it, thanks.
You must sign in to post in the forums. This thread is closed to new posts.