CSS & Links Problem After Deployment...

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/23/2012 12:22:19 PM
Gravatar
Total Posts 8

CSS & Links Problem After Deployment...

Hi,

Used Deployment Files To Setup the Web Application.

After installation I finished up creating my application, deployed the database to the server and then deployed the application on my local IIS. I browsed the site and everything was in order. The links and css are working fine.

Windows 7 Ultimate, SQL SERVER 2005, ASP.NET 3.5, IIS 7.5, MOJOPORTAL 2.3.8.1

http://i1170.photobucket.com/albums/r527/jahanejahanara/jej_ok.jpg

When I moved the application files to root of folder of the live domain, i.e. the wwwroot, the links 'wwwroot' was appended to all links and the css is out of order, which cause the entire site to lose it's css settings.

Windows Server 2008 Standard Edition, SQL SERVER 2005, ASP.NET 3.5, IIS 7.5, MOJOPORTAL 2.3.8.1

http://i1170.photobucket.com/albums/r527/jahanejahanara/jej_notok.jpg

I tried watching and reading from the following links, didn't help much:

http://www.mojoportal.com/iiswebsetup.aspx

http://www.mojoportal.com/moving-an-installation-of-mojoportal-to-a-different-server.aspx

Please help!

Regards.

5/23/2012 1:57:29 PM
Gravatar
Total Posts 18439

Re: CSS & Links Problem After Deployment...

It doesn't sound like you installed it as a root level web site. The folder name wwwroot doesn't necessarily mean it is the root of the web site.

If you post a link to the site I might be able to provide more help after seeing what is going on. The photo doesn't tell me anything because I cannot see the url structure.

5/23/2012 10:22:03 PM
Gravatar
Total Posts 8

Re: CSS & Links Problem After Deployment...

Sure.

Here's the link: http://www.jahanejahanara.com

5/24/2012 6:38:28 AM
Gravatar
Total Posts 18439

Re: CSS & Links Problem After Deployment...

Hi,

Your site is loading the css correctly. The fact that it has wwwroot in the urls seems to mean your host is doing some weird url forwarding or url masking. You may want to check with them about that because mojoPortal does not usually work correctly with url forwarding or url masking (GoDaddy often does that for subdomains).

The problem why your design is not rendering correctly is not because of CSS failing to load its because the theme.skin file is not being loaded correctly and this makes it not use the special markup needed by Artisteer which is why the menu and other things are not styled as they should be.

This happens under .NET 3.5 in Medium Trust hosting. See the notes about this at the bottom of the article Understanding the theme.skin file. The best solution for the theme.skin problem is to use .NET 4 hosting and the .NET 4 package of mojoPortal.

But aside from the theme.skin problem, the other problems with the urls is due to some url-rewriting/url forwarding/url masking scheme that your host is doing, it just is not going to work that way. This kind of problem has come up before with GoDaddy hosting, see this related thread for one example.

Hope that helps,

Joe

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