Danny
Danny

Reputation: 2821

Using jqGrid on IIS7

I have jqGrid running fine locally in VS 2008 in a ASP.NET MVC project. When I upload the project to the server (W2008, IIS7) I get an error in IE 8, Object doesn't support this property or method on the call to jqGrid. In Firebug - jqGrid is not a function. All other JQuery plugins works fine (before and after the upload). Any ideas what could be causing this?

Upvotes: 0

Views: 1325

Answers (2)

woggles
woggles

Reputation: 7444

I had a different problem with JQGrid on IIS7.5 where the columns were displaying but there was no data in the grid. Changing the app pool of the application to the classic app pool fixed this..bit of a weird one.

Upvotes: 0

Danny
Danny

Reputation: 2821

I found the problem was with the var pathtojsfiles in the jquery.jqGrid.js file. /scripts/js/ works fine locally, but on the server I had to use the full path http://servername/project/Scripts/js/"

Upvotes: 2

Related Questions