Getting SCRIPT5007 when trying to implement a user-friendly survey error message

Hi,
I am trying to use the code from http://sharepoint.stackexchange.com/questions/64357/friendly-message-when-user-tries-to-take-the-survey-again to show a user-friendly error message when a user tries to answer a survey twice.
The detection of the user's answer count works, but when the code tries to open the survey by calling the old code (NewItem2Orig(evt, url);) I get an error SCRIPT5007
which says, that tagName cannot be found because of an undefined or null-reference in inplview.js, row 2, column 32309.
Does anybody know, why this is happening? I actually can't see why it shouldn't work...
Thanks in advance
P.S.: The error happens in IE 11, in Firefox the code seems to work

I'm not sure how you get the parameter to execute the NewItem2Orig(evt, url). you can use JavaScript code to first get the button click event script, save it as a variable.
Then in your rewrite NewItem2 method, else part, set the button click event to the origional event.
Qiao Wei
TechNet Community Support

Similar Messages

  • I keep getting this when trying to open Time machine:   An unexpected error occurred (error code -6584).

    I keep getting this when trying to open Time machine:   An unexpected error occurred (error code -6584). time machine wont even open up. My Time capsule has a green lite and appears fine
    Thaks,

    This often means the backup is corrupted.
    First of all reboot the network.. turn everything off and restart in order.. modem.. TC.. clients.
    If you still have issues, hold the option key when you click the Time Machine icon on the top menu and it will bring up verify backups.
    Do that.
    Read this thread if you need more..
    https://discussions.apple.com/thread/3123920?tstart=0
    It seems to be a fairly complex problem if the above don't work.

  • When trying to download from apple store runtime error message 6025 comes up

    when trying to download from itunes store runtime error 6025 comes up.i've tried uninstalling and reinstalling itunes,but that didn't work.any ideas anyone?

    To change the Apple ID for purchases, go to Settings>Store>Apple ID, tap the ID show, sign out, sign back in using the ID you want to use.

  • When trying to install Adobe Photoshop CS3, an error message comes up. What do I do?

    The error message says, "The Installer Database is corrupted. Please contact Adobe Support if this problem continues." What do I do? It won't install at all, I just get the error message.

    Which operating system are you using?
    Do you have any other adobe software installed like photoshop elements?
    see if this helps:
    Error "...Installer Database is Corrupt..." when you install Adobe Creative Suite 3 products

  • Trying to open iTunes I got a error message of msvcr80.dll can not be found. I thought that it was an iTunes program problem. I tried reloading iTunes and then got an error message of a program is trying to acces a library file incorrectly. How can I reso

    When trying to open ITunes, I got an error message of msvcr80.dll can not be found.
    Assuming that it was an iTunes file, I reinstalled iTunes.
    Trying to open again, I got an error message of an appication is trying to open a library file incorrectly.
    How do I resolve this problem.
    Neither my PC with Vista nor my my laptop with windows 7 will work?
    Thanks

    Hello Msvcr80.dll,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Check for .dll files
    Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    Uninstall iTunes and all of its related components.
    Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
    Re-download and reinstall iTunes 11.1.4.
    Best of luck,
    Mario

  • Hi Trying to download CS5 Design Premium. We have a copy on the Mac and want to put a second copy on the Macbook pro. Can download the file but when it is clicked the file give an error message "User access denied" and dumps the download. So hence I do no

    Hi Trying to download CS5 Design Premium. We have a copy on the Mac and want to put a second copy on the Macbook pro. Can download the file but when it is clicked the file give an error message "User access denied" and dumps the download. So hence I do not get an installation screen or a chance to enter the Licence no.

    Use another browser.
    Mylenium

  • Getting exception when trying to get taskdetails url using BPM worklist api

    Getting exception when trying to get taskdetails url using BPM worklist api method :
    String url = WorklistUtil.getTaskDisplayURL(
    wfSvcClient,
    ctx,
    task,
    null,
    "worklist",
    parameters);
    Jul 21, 2011 11:24:40 AM oracle.bpel.services.common.ServicesLogger __log
    WARNING: <oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean()> Exception while loading install config file in standalone Error : javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    oracle.fabric.common.FabricException: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:184)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean(TaskFlowPropsUtil.java:319)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfoForWeblogicServer(TaskFlowPropsUtil.java:491)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfo(TaskFlowPropsUtil.java:363)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getDefaultURLPrefix(WorklistUtil.java:264)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:353)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:293)
    at com.test.WorflowServiceClient.main(WorflowServiceClient.java:198)
    Caused by: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:662)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
    at oracle.as.jmx.framework.config.session.ConfigurationMBeanServerImpl.getAttribute(ConfigurationMBeanServerImpl.java:210)
    at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:78)
    ... 7 more
    Caught workflow exception: null
    Process exited with exit code 0.
    Can anyone please help me

    Actually i'm using Jdeveloper 11.1.1.4 and our requirement is to show list of BPM worklist tasks for the logged in user on the first page and onclick of each task task details page should be opened. I can use Webcenter PS3 worklist taskflow. But i'm not able to customize that taskflow. So, i'm going for Worklist client api.
    I'm able to retrive the taskId,task title and few other details like task payload. But i don't know why the below method is giving exception.
    String url =
    WorklistUtil.getTaskDisplayURL(wfSvcClient,
    ctx, task, null,
    "worklist", parameters);
    And i observed that you have also used the same code for getting Taskdetails url. And one more thing is i'm trying to access BPM worklist which is installed on remote machine.
    Can you tell me what could be the reason for the exception?

  • HT3546 I get an error when trying to back up on my TC. Message says - The backup disk image "/Volumes/Data/Macintosh.sparsebundle" could not be accessed (error -1).

    I get an error when trying to back up on my TC. Message says - The backup disk image “/Volumes/Data/Macintosh.sparsebundle” could not be accessed (error -1).
    Any suggestions

    See here...
    https://discussions.apple.com/message/20933934#20933934

  • When I tried to update Itunes I got an error message telling me to reinstall.  When I try to reinstall I get a message "Apple Mobile Devide failed to start.  Verify you have sufficient privliges to start syem services"  Can anyone help here?

    When I tried to update Itunes I got an error message telling me to reinstall.  When I try to reinstall I get a message "Apple Mobile Devide failed to start.  Verify you have sufficient privliges to start syem services"  I'm not sure what this means, can anyone help here?  Thanks,

    I tried the temp fix you mentioned, it didn't work.  I could not delete all of the old itunes files, the uninstallers would crash half way through and if I tried to manually delete anything it also gave me an error, so reinstalling the older version would not work. 
    Frankly, this whole thing has got me ****** off.  judging by the amount of complaints here, there must be a lot of people having this problem, yet Apple has let it go on for almost 2 weeks.  What kind of inept coders are they employing if they can let an update that completely frags their software get through QA.
    Does anyone know of any programs that will play itunes music files?  I am just about done dealing with iTunes, but I've got a ton of music that I don't want to have to purchase all over again.

  • I keep getting the message-blocked plug-in when trying to use Adobe Flash Player. A message also states that I don't has a up to date flash player but I know that I have the right version of Flash player.

    I keep getting the message-blocked plug-in when trying to use Adobe Flash Player. A message also states that I don't have a up to date flash player but I know that I have the right version of Flash player.

    Hello,
    Safari, blocked plug-ins…
    http://support.apple.com/kb/HT5271

  • Just purchased this, verified my email, payment taken etc., etc., but keep getting a message when trying to convert a doc saying an error occured when signing in.  I have siged out and signed in again - no avail.  Any help would be much appreciated.  Than

    Just purchased this product, verified my email, payment taken etc., etc., but keep getting a message when trying to convert a doc saying an error occured when signing in.  I have siged out and signed in again - no avail.  Any help would be much appreciated.  Thanks

    Hi there Katie,
    I just checked your account, and see that it's active. Are you trying to sign in via Adobe Reader? If so, please choose Help > Check for Updates in Reader and make sure that it-s up-to-date. The most current version, 11.0.07, should alleviate that sign-in error.
    Best,
    Sara

  • When trying to open itunes i'm receiving a message stating "this folder is on a locked disk or you do not have write permissions"  Any idea what I need to do to get it working.  The issue happened after I installed DJ Software

    When trying to open itunes i'm receiving a message stating "this folder is on a locked disk or you do not have write permissions"  Any idea what I need to do to get it working.  The issue happened after I installed DJ Software

    Read the part about changing permissions on the iTunes folder in: https://discussions.apple.com/message/11583914

  • Why do I get the message  "cannot get mail" when trying to connect to microsoft exchange server.

    Why do I get the message "cannot get mail" when trying to connect to ms exchange server?

    Hard to say. Has it ever worked? Maybe your account has mobile e-mail disabled. Maybe ActiveSync isn't set up properly on the server. maybe the correct ports are not open on the corporate firewall.
    You will have to talk to your IT department.

  • I keep getting nsinternalinconsistencyexception when trying to download maverick osx 10.9

    I keep getting nsinternalinconsistencyexception when trying to download maverick osx 10.9

    What is the error message that you receive?
    Have you tried using a different web browser?

  • Just started getting an APS Daemon.exe-System Error saying my MSVCR80.dll file is missing.  I tried to reinstall itunes, but got another error message.  Anyone having this problem or know how to fix it?

    Just last 2 days started getting an APS Daemon.exe-System Error saying my MSVCR80.dll file is missing when booting up my PC with Windows 7.  I tried to reinstall itunes, but got another error message.  Anyone having this problem or know how to fix it?
    I now see the message from tt2 and will try that.  Thanks!

    Read this:
    MSVCR80.dll missing, cannot install iTunes

Maybe you are looking for

  • How to get rid of the blue underline with green arrows on words and then a pop-up ad appears.

    How to get rid of the blue underline with green arrows on words and then a pop-up ad appears.

  • Travel time in calendar events

    I've created a Calendar event and entered a location.  I see the map of the location in the event window.   When I go to select a travel time, it says "34 minutes from Work."    So, it's pulling my work address from Contacts.  Nice, but I'm not trave

  • Use of statefull RFCs in WebDynpro

    Hello, i want to create a WebDynpro application which uses RFCs. Every RFC call will relay on the fact, that ABAP-Memory updated in previous call can be accessed. What do you think, will it work? is it a correct strategie? Will it work if i use web s

  • How to setup Wireless Clients MAC+Active Directory based acess

    Dear Gents, I want to setup Wireless Clients MAC+Active Directory based acess on AP 1242 standalone Wireless series . Steps i have configured : 1) SSID manger  under Open authentication : Selected with EAP. 2) under advacned Radius : s MAC Address  A

  • DiskOrderedScan hangs under concurrent load

    Hi, I have been testing DOScan with live traffic simultaneously hitting the database. At high enough throughput (~700/s), the scan simply stalls. I have multiple threads doing live traffic (get + updates). one thread scanning the keys, with the follo