Question : Javascript / JSP not working properly

Hello,

We have a setup where we have an icon the user can click on to mark whether something has been printed or not.  When the page loads, there is a script which runs and checks with our SQL server whether it has been marked printed and displays a different icon if it has.

The icon itself is the only functional difference between the two.  On the page we have a javascript function which runs on click which opens the order in a new window and then calls a JSP which communicates to our SQL server, marks it as printed, and then redirects back to the same page (hence refreshing it so the icon changes).  We used to have this opening in a separate window and closing it, but we just changed it to the previous method to ensure it wasn't being blocked by pop up blockers.

Locally it works and in most client offices it works as well.  Some users are reporting that they are getting the new window with their order, but icon is not changing.  The JSP is called in the same function that opens the new window to view their order, so the Javascript is in fact running.

We had them add our domain to both their trusted sites and their pop up blockers.  We had them download the latest version of JS.  The latest example is running IE8 with JS 6.0.  They are running a form of Symantec AV, but I had them hold the CTRL key while it was loading and still no dice.  JS is enabled in the browser.

Are there different security settings that would affect a JSP as opposed to a JS pop up window?

Answer : Javascript / JSP not working properly

Here are som articles that describe it but the last one is pretty definitive in the few steps that it will take to fix this.  This error is clearly a problem with permissions, it is making sure that you know which user needs these permissions.

http://databases.aspfaq.com/database/how-do-i-solve-operation-must-use-an-updateable-query-errors.html

http://support.microsoft.com/kb/830977

http://www.mikesdotnetting.com/Article/74/Solving-the-Operation-Must-Use-An-Updateable-Query-error
Random Solutions  
 
programming4us programming4us