Question

Everything works fine on my development environment, but when from production environment it doesn't load images, and also giving error of "$" is undefined on $.document jquery function.

The site is built using ASP.NET MVC.. there is "Images" folder on root, and "Scripts" folder on root as well.

I have checked the permissions on these folders and IIS users are given read access over there.

Not sure, but its worth mentioning that I am using thinktecture as an identity server.

Was it helpful?

Solution

Please double check your jQuery reference on that page using View Source (Ctrl + U), if it's there?

OR

may be you had reference wrong path for jQuery on that page .

OR

may be you have using multiple jQuery files on page and your files is Conflict with others.

you can debug your problem using Firebug in Firefox.

Hope this will help you.... :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top