Portal won't displaying icon, logos or any picture?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/27/2014 9:33:08 AM
Gravatar
Total Posts 7

Portal won't displaying icon, logos or any picture?

Have anyone have issue of the portal not display icons? Arvixe recently change the server we use due instability, so now our website don't display icon and either pictures. I contact them and they say is the web.config, but I load a fresh  original web.config (of course with the connections string for our SQL connection) and still with issue. If I use there WebPanel to see the Web Site Property, it give me a error.

-------- Error Displaying in WebSitePanel -------

Cannot load Web.config file. 

Filename: HostingSpaces\4para1.com\wwwroot\web.config
Line number: 993
Error: Cannot add duplicate collection entry of type 'mimeMap' with unique key attribute 'fileExtension' set to '.mp4'

If your Web.config file if not well-formed, please correct the error and try again.
If your Web.config file is not compatible with the ASP.NET version currently selected, please rename the Web.config file and update the ASP.NET version.

------ End ----

 

I have checked Attribute and files for Icon, PNG, etceteras and there all there in the Data\Sites\1\..

 

Anyone have similar issue and found a solution for?

 

Thanks in advance

 

4/27/2014 9:41:14 AM
Gravatar
Total Posts 18439

Re: Portal won't displaying icon, logos or any picture?

Hi,

In your Web.config you may find something like this:

<staticContent>

      <remove fileExtension=".mp3" />
      <remove fileExtension=".mp4" />
      <remove fileExtension=".m4v" />
      <remove fileExtension=".m4a" />
      <remove fileExtension=".ogg" />
      <remove fileExtension=".ogv" />
      <remove fileExtension=".webm" />
      <remove fileExtension=".oga" />
      <remove fileExtension=".spx" />
      <remove fileExtension=".eot" />
      <remove fileExtension=".otf" />
      <remove fileExtension=".woff" />
      <remove fileExtension=".svg" />
      <remove fileExtension=".svgz" />
      
      <mimeMap fileExtension=".mp3" mimeType="audio/mp3" />
      <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
      <mimeMap fileExtension=".m4v" mimeType="video/mp4" />
      <mimeMap fileExtension=".m4a" mimeType="audio/m4a" />
      <mimeMap fileExtension=".ogg" mimeType="video/ogg" />
      <mimeMap fileExtension=".ogv" mimeType="video/ogg" />
      <mimeMap fileExtension=".webm" mimeType="video/webm" />
      <mimeMap fileExtension=".oga" mimeType="audio/ogg" />
      <mimeMap fileExtension=".spx" mimeType="audio/ogg" />
      <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
      <mimeMap fileExtension=".svgz" mimeType="image/svg+xml" />
      <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
      <mimeMap fileExtension=".otf" mimeType="font/otf" />
      <mimeMap fileExtension=".woff" mimeType="font/x-woff" />
    
    </staticContent>

However if those settings are set at a higher level in IIS and locked down then settings like this in Web.config can cause errors. In this case the error message is complaining about .mp4 is a duplicate of settings higher up in IIS so you should remove this one:

<remove fileExtension=".mp4" />

<mimeMap fileExtension=".mp4" mimeType="video/mp4" />

if you get a different error after that then keep removing the ones it complains about, but don't remove the ones it doesn't complain about.

Hope that helps,

Joe

4/27/2014 10:09:02 AM
Gravatar
Total Posts 7

Re: Portal won't displaying icon, logos or any picture?

Joe, I removed one and didn't work, so I end up removing all of them and it work now, but my concern is that our site 4para1.com is a site with Gospel Music.

Dose this mean Arvixe has denied the use of those files? Was working fine with the previous server. The issue we was having before request the move was the Server was running under 32 bit causing a lot of instability.

 

How can asked them to correct the the permission at high level of IIS to be like the previous server.

 

I really appreciate the help and contribution

 

4/27/2014 10:14:27 AM
Gravatar
Total Posts 18439

Re: Portal won't displaying icon, logos or any picture?

If you get no errors then everything is ok, those files are allowed but they are set at a higher level in IIS. Just test to make sure the music files are working on the site.

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