Hi,
I am having some troubles with the 2011 R2 version of the components. I was using the ones from the 2010R2 and it was working fine. But I got a few days ago the newer version and i used the upgrade wizard.
Once I tried to launch my app, my login page didn't have neither css nor javascript and I got that javascript error :
Erreur : La feuille de style http://url/Common.css n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css »
That text says that the stylesheet found has a "text/html mimetype but is waiting for a "text/css" one
I also realised with firebug, that the css stream I got from the server was not a css file, but the entire html page. However, once I was logged in, everything worked well, and including when i logged out.
So I looked for what changes did the wizard and I saw that the runAllManagedModulesForAllRequests attribute set to true in the module section of the web.config (System.webServer -> modules) was the origin of the problem. Once deleted, it works well.
My question is, why do I get those problems with this attribute? Do I need it anyway?
Thanks for reply
I am having some troubles with the 2011 R2 version of the components. I was using the ones from the 2010R2 and it was working fine. But I got a few days ago the newer version and i used the upgrade wizard.
Once I tried to launch my app, my login page didn't have neither css nor javascript and I got that javascript error :
Erreur : La feuille de style http://url/Common.css n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css »
That text says that the stylesheet found has a "text/html mimetype but is waiting for a "text/css" one
I also realised with firebug, that the css stream I got from the server was not a css file, but the entire html page. However, once I was logged in, everything worked well, and including when i logged out.
So I looked for what changes did the wizard and I saw that the runAllManagedModulesForAllRequests attribute set to true in the module section of the web.config (System.webServer -> modules) was the origin of the problem. Once deleted, it works well.
My question is, why do I get those problems with this attribute? Do I need it anyway?
Thanks for reply