Site opened without any styles and javascripts, after migration.

Refers to:

  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows

Created:

2016-11-16 12:46:02 UTC

Modified:

2016-12-21 19:09:54 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Site opened without any styles and javascripts, after migration.

Symptoms

After domain migration from Plesk Panel 11 to Plesk Panel 11.5 all content has been uploaded successfully, but migrated site opens without any styles and javascripts.

Cause

Conflicting MIME types between server-level and site-level IIS configurations.

Resolution

If you are using custom web.config you should check that you are not loaded MIME type, which has already been inherited from server-wide MIME types settings.

To check it you should open "MIME types" for migrated domain, if your web.config has conflicting records, you will get an error like: "Cannot add duplicate collection entry of type 'mimeMap' with unique key attribute 'fileExtensions' set to '.mp4'" .

You can fix this issue, by removing next entries from web.config file in site directory:

<staticContent>
<mimeMap fileExtension=".mp4" mimeType="video/mpeg" />
</staticContent>
Have more questions? Submit a request
Please sign in to leave a comment.