M
M
Mr. Joe2018-11-16 13:56:25
ASP.NET
Mr. Joe, 2018-11-16 13:56:25

Why are pictures and scripts not loading?

Hey! Pictures, scripts and styles are not loaded on the site. Error 500 is written in the console.
What could be causing this? Appeared after the transfer to a new hosting.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mr. Joe, 2018-11-19
@Mr_Joe

It was in

<staticContent>
      <mimeMap fileExtension=".less" mimeType="text/css" />
</staticContent >

I commented out the mimeMap line and it worked.

A
Alexander, 2018-11-16
@NeiroNx

Probably there are no rights to the files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question