Results 1 to 17 of 17
  1. #1
    selmore is offline Member
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    0

    Default JAVA coded button not working on Sharepoint page

    I have a user running Boot Camp with Windows XP on her MAC (I know, this is not ideal). There is a java button on several of her group's Sharepoint web pages that will bring in information from a DB based on whatever job number is entered. She has IE8 and Java Version 6 Update 29. This button does not work. when clicked, is says "Error on Page" at the bottom.

    A more detailed error states:

    Message: Access is denied
    Line: 8
    Char: 1
    Code: 0
    URI: http://xxxxxxxxx.xxxxxxxx.com/home/etc.

    Have tried the following:
    She logs in to this site from another PC - works fine
    Coworker logs into this site from original user's PC - does not work
    I log into this site from my PC - works fine.

    So this appears to be a PC problem.

    Have also tried: installing IE7 and various older versions of Java to no avail. Have even tried logging in to her PC with different XP profile but button still does not work.

    User has full admin rights to her PC.

    Any ideas?

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,586
    Rep Power
    25

    Default Re: JAVA coded button not working on Sharepoint page

    Are there error messages in the browser's java console?
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    selmore is offline Member
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    0

    Default Re: JAVA coded button not working on Sharepoint page

    Quote Originally Posted by Norm View Post
    Are there error messages in the browser's java console?
    Not sure how to view the browser's Java console ...

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default Re: JAVA coded button not working on Sharepoint page

    There's a setting in the Java control panel

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  5. #5
    selmore is offline Member
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    0

    Default Re: JAVA coded button not working on Sharepoint page

    You're speaking with a JAVA novice. I found the JAVA option in Control Panel and enabled the Java Console. Now when I click the button in IE, where does the java console appear so I can view the error messages? I'm afraid you'll have to spell it out for me since I know virtually nothing about Java.

  6. #6
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,586
    Rep Power
    25

    Default Re: JAVA coded button not working on Sharepoint page

    The java console is not the java language and requires no knowledge of java to use. It is a browser feature that enables you to view what the java program is doing. Look at the browser's menu items and find one that enables or shows the java console.
    If you don't understand my response, don't ignore it, ask a question.

  7. #7
    selmore is offline Member
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    0

    Default Re: JAVA coded button not working on Sharepoint page

    Looking through the browser menus, I see none that would enable any sort of Java viewing. I do see the Java console in control Panel and checked the box to enable it. However, when using the browser, and clicking the java button there is nothing that appears indicating it is a java console window or something of that sort. Am I missing something? If you could provide the exact steps to which you are referring, that would be most helpful. Thanks!

  8. #8
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,586
    Rep Power
    25

    Default Re: JAVA coded button not working on Sharepoint page

    I don't have exact steps for the browser you are using as the browsers are different and each version puts its menu items in different places.
    clicking the java button
    What is "the java button"? I'm not familiar with that. Where is it located?
    If you don't understand my response, don't ignore it, ask a question.

  9. #9
    selmore is offline Member
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    0

    Default Re: JAVA coded button not working on Sharepoint page

    The browser we are using is IE8. The "Java button" is the button mentioned in my original post. It is a button that, when clicked, will bring in any information associated with a particular job ticket number in our system database (i.e. - when the job ticket number is entered in one field and the "POPULATE" -or java button - is clicked, the system will "populate" the rest of the screen with other pertinent data from the database about a particular job). It is unique to one of our Sharepoint web sites, especially created for this purpose.

  10. #10
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,586
    Rep Power
    25

    Default Re: JAVA coded button not working on Sharepoint page

    Are you saying there is an HTML page with a button labeled "java" that is supposed to do something when it is pressed.
    Why do you think there is any java code involved here?
    Here's a site that uses java applets. See what happens when you load that page:
    Communicating With Other Applets (The Java™ Tutorials > Deployment > Java Applets)
    If you don't understand my response, don't ignore it, ask a question.

  11. #11
    selmore is offline Member
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    0

    Default Re: JAVA coded button not working on Sharepoint page

    Yes, except the button is not labelled "Java", but that I believe is irrelevant.
    I think there is Java involved because I was told by the programmer that this is the case.

  12. #12
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,586
    Rep Power
    25

    Default Re: JAVA coded button not working on Sharepoint page

    Try this site, it has a java applet. See if the java console appears:
    Miscellaneous images
    If you don't understand my response, don't ignore it, ask a question.

  13. #13
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default Re: JAVA coded button not working on Sharepoint page

    Quote Originally Posted by selmore View Post
    Yes, except the button is not labelled "Java", but that I believe is irrelevant.
    I think there is Java involved because I was told by the programmer that this is the case.
    :headdesk:
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  14. #14
    selmore is offline Member
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    0

    Default Re: JAVA coded button not working on Sharepoint page

    OPened the link you suggested and the Java Console appears and logs the steps processed.
    Then went to our Sharepoint site and when the java-scripted button is pressed, I get an IE error window with the text in the original post. So it appears that the Java-script is not being processed yet? Nothing new appears in the Java Console window, like the IE error is stopping Java from even beginning the process.

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8; .NET CLR 1.1.4322)
    Timestamp: Mon, 2 Apr 2012 18:56:37 UTC


    Message: Access is denied.

    Line: 8
    Char: 1
    Code: 0
    URI: http://xxxxx.xxxxxx.com/Home/creative/JobTicket.js


    Message: Access is denied.

    Line: 8
    Char: 1
    Code: 0
    URI: http://xxxxxx.xxxxxxxx.com/Home/creative/JobTicket.js

  15. #15
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,586
    Rep Power
    25

    Default Re: JAVA coded button not working on Sharepoint page

    Javascript is not java. If you get the java console with the links I posted then if java were being used on the site with the problem you should get a java console with that site. The site must not use java if there is no java console.

    You must have a javascript problem and need to go to a javascript forum for help.
    If you don't understand my response, don't ignore it, ask a question.

  16. #16
    selmore is offline Member
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    0

    Default Re: JAVA coded button not working on Sharepoint page

    Thanks for the information. I was not aware that the two entities were separate.

  17. #17
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,586
    Rep Power
    25

    Default Re: JAVA coded button not working on Sharepoint page

    Its amazing how many programmers don't know that also. You said one had told you the site used java.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Replies: 8
    Last Post: 07-12-2011, 01:32 PM
  2. How do I create chips and hardware coded on java?
    By Addez in forum Advanced Java
    Replies: 15
    Last Post: 09-07-2010, 02:33 PM
  3. Save button not working
    By twinytwo in forum AWT / Swing
    Replies: 3
    Last Post: 03-28-2009, 12:05 AM
  4. Save button not working ,,,,,
    By twinytwo in forum AWT / Swing
    Replies: 3
    Last Post: 03-25-2009, 08:22 PM
  5. Next Page Code is not working
    By Java.child in forum AWT / Swing
    Replies: 2
    Last Post: 02-18-2009, 05:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •