I'm trying to use the ie7-js library to make my browsers less than ie9 think they're ie9. The library is hosted here:
http://code.google.com/p/ie7-js/
and I'm referencing it as follows in my master page:
<!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->
Since I've introduced this file, my StructureMap controller factory - defined here:
public class StructureMapControllerFactory : DefaultControllerFactory
{
protected override IController GetControllerInstance(RequestContext requestContext, Type controllerType)
{
try
{
if (controllerType == null) return base.GetControllerInstance(requestContext, controllerType);
return ObjectFactory.GetInstance(controllerType) as IController;
}
catch (System.Exception xpt)
{
// The controller for path '/WSOD-layout-page.css' was not found or does not implement IController.
// The controller for path '/layout-header.css' was not found or does not implement IController.
// The controller for path '/layout-content.css' was not found or does not implement IController.
// The controller for path '/component-leaderboard.css' was not found or does not implement IController.
// etc...
}
}
}
is catching the following error:
System.Web.HttpException: The controller for path '/component-page-title.css' was not found or does not implement IController.
but it's not just this - I'm getting a similar error for every css file I'm referencing. Why would this be the case?
To clarify, these CSS files are hosted on a different domain than the one I'm working on. Would this be the problem?
Why are CSS requests getting routed to my application? I'm wondering if this is something i can prevent/work around?
Update:
I've submitted this as a bug to the developer. The bug report is here: http://code.google.com/p/ie7-js/issues/detail?id=284