views:

79

answers:

2

My error logger has logged an error recently that just boggles me.

Here's a copy'n paste of the error:

A public action method 'style.css' could not be found on controller 'ProductController'.

So I ran a search over the entire solution for references to style.css. There are none, and I have no stylesheet named style.css.

The calls are happening on a legitimate users logged in session even. W.T.H?

+1  A: 

It seems to me that there's a route mapped in a way that's "catching" '/style.css'.

statichippo
Could be... but what the heck is making a call to style.css? I have never even used a stylesheet named style.css. It's happening on a page where the user must be authenticated so it's not an outside call. Also, the stylesheets are compressed and combined into a asset.axd call so even if they viewed the source, there's nothing called style.css. I'm confused...
Chad
+1  A: 

Used Firebug to find the call... it was coming from a jQuery plugin. Resolved by setting the stylesheet name in the plugin options.

Thanks everyone!

Chad