Reputation: 317
I work for a big company and we have different environments like many others i guess : unit, system & production. We recently developed a website in ASP.NET using Entity FrameWork and generic jQuery plugins like Kinetics, jUnit, jQuery-UI, etc. The project is a Web Application in VS2008.
The website is running without any problem locally on the dev's computer. We migrated it into the unit system, some of the jQuery wasn't working. We then migrated into the System environemment to see if we were running into the same problems and 50% of the errors are gone. For sure, we don't want to migrate into production without having a stable unit\system env.
My question is, is there any specific stuff we need installed on our servers to make sure it runs perfectly like on the devs computer ? Any IIS settings or package we need installed ? Is it a problem with the webconfig ? At this point, we need any inputs we need to fix this and get the site running as soon as possible.
Thanks everyone and i'll be online all day to respond promptly.
EDIT: Here's a prime example of a code working in DEV\Syst but not in UNIT system. I have multiple cases like that. Adding code from one of the failing webmethods (from Tommy's comment):
<WebMethod()> Public Function getRessourcesList() As String
Dim serializer As New System.Web.Script.Serialization.JavaScriptSerializer
Dim listOfRessources = (From ress In GetALLRessources()
Select New With {
.label = ("(" & ress.NO_EMPLY & ") " & ress.PR & " " & ress.NM_FAML).Replace("""", "\"""),
.id = ress.NO_EMPLY
}).ToList
Dim response As String = serializer.Serialize(listOfRessources)
Return response
End Function
Upvotes: 1
Views: 1578
Reputation: 1230
As stated, jQuery is a client side library only.
However, is there a possibility that your app is deployed to a different path (port number, root folder, etc.) that may be causing a difference for relative paths in any ajax commands?
Upvotes: 1
Reputation: 45083
jQuery is a client-side library and all the code you write which utilises the library runs on the client (in a standard setup, all else being equal - I'm not covering getting jQuery to run on the server for whatever reason).
No, jQuery has no server dependencies.
Upvotes: 1
Reputation: 25029
jQuery is a front-end framework, nothing to do with the server. As long as your server is serving the files correctly (ie. not modifying them in any way), everything should work identically.
Upvotes: 2