This is a migrated thread and some comments may be shown as answers.

MVC vs IIS vs Firefox vs IE...

4 Answers 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin Moesby
Top achievements
Rank 2
Martin Moesby asked on 07 Feb 2012, 03:16 PM
Intrigued?

So am I..

OK - here's my problem :
I have developed a Datamanagement site using MVC, Razor, Entity Framework and Telerik MVC Open source controls.....
Everything looks great on my development PC, menu looks fine, styles and layout is right on the button...

OK I thought, let's get it int a testenviroment, so I deployed it to a webserver : A windows 2003 R2 server, on whch I have installed ASP.NET 4, ASP.MVC 3 and Telerik MVC...
Deployment was done using the Publish-function from VS2010 using FPSE.

Once again, the site seemed to be working, at least in Firefox...menu, grids, layout, styles - all seems a-ok in Firefox, but switching to IE....
The world just crumbled.... First thing I noticed was, the menu is rendered to the right instead of to the left....Submenues likewise....

Now, if that was all, I could live with it, but that's not all...
If there's a grid in the View, the menu appears beneath the Grid....

I have attached a small PDF (zipped) to illustrate the problem at hand.... and If you need any other information about the setup, please let me know...

Besides from theStyling, the site works as expectd (Flawlessly :)) in both FF and IE.....

I have read page up and page down about issues resembling this, but none seems to give me the correct answer, so therefor I am turning to you....

Regards, Martin Moesby

"Help me Obi-wan Kenobi, you're my only hope"

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 07 Feb 2012, 04:09 PM
Hello Martin,

The problem is probably caused by IE triggering its compatility mode when you open your application from the web server. This may lead to exhibition of some IE7-specific bugs. However, I am not able to provide any specific advice based on the provided information. Our MVC extensions work in IE7, so the problem can be caused by some other HTML or CSS code.

If you need further assistance, please send a runnable demo.

Greetings,
Dimo
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Martin Moesby
Top achievements
Rank 2
answered on 07 Feb 2012, 08:21 PM
Hi Dimo,
Thx for the reply...
Just one thing puzzles me in regards to that reply....

If I access the website in VS 2010 Developer Webserver (Cassini), theres is not errors what so ever...
If I deploy it the dev-pc's localhost, theres is no errors what so ever....
I haven't tried publishing it to a IIS7 yet, but I will shortly....

But based on the first 2 statements, the error seems to arise at the webserver (IIS 6), which to me makes no sense at all...

But I will try to publish it to an IIS7 and see what happens....

Regards

Martin Moesby

"I'll be back"
0
Accepted
Dimo
Telerik team
answered on 08 Feb 2012, 08:13 AM
Hi Martin,

First and foremost, please check whether the problem is exhibited only in Internet Explorer. If yes, then the problem is in the website's front-end, not in the server.

If the problem is on the server, make sure you have the correct web.config settings, depending on the IIS version.

http://www.telerik.com/help/aspnet-mvc/web-assets-working-with-javascript-web-assets.html

As usual, make sure you have no Javascript errors on the page and that there are no failing requests.

Kind regards,
Dimo
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Martin Moesby
Top achievements
Rank 2
answered on 13 Apr 2012, 08:14 AM
I have FINALLY figured out the problem. - which was neither an issue caused by me or the application.
The error was caused by the Domain, which set an option in Internet Explorer, that stated :

"Start intranet sites in Compatability mode" - so Dimo was absolutely correct about the issue, it just took me a lot longer to figure out WHY it was showing in Compatability Mode... (A feature from the Dark lord himself)....

So, problem solved :)

Thx for pointing me in the correct direction.
Tags
General Discussions
Asked by
Martin Moesby
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Martin Moesby
Top achievements
Rank 2
Share this question
or