Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    124
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy excel script doesn't work over internet

    Hi,

    I don't know very much about javascript, so I need your help.
    I downloaded a script from Microsoft, that can generate and open excel files on the fly. when I click on the webpage on my hard disk everything works. But when I go there by a link over the internet it doesn't work. I get the error icon in my status bar.
    I think I know the line that is causeing the error:
    Code:
    var oXL = new ActiveXObject("Excel.Application");
    Am I not allowed to run Active X stuff over the internet?
    Also, when I open the page in Opera (over the internet) I get an error dialog box saying:
    The server tried to set a cookie for a domain with no registered IP address. For security reasons, this is not acceptable, and the cookie has therefore been rejected

    You might want to ask the site's webmaster to create an IP address for the domain specified in the cookie
    What does this mean?

    Here is the link to the full script. It is a realy cool and usefull script (My personal opinion)


    Thank you for reading


    -Maes

  • #2
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    When Microsoft was developing the ActiveX controls, their choices for names were 'ActiveX' and 'ReallyBigSecurityHole'. So, realizing that every annoying little script kiddy in the world would use these controls if they could, they made it so that IE's default security settings block ActiveX. Generally speaking, you can only get ActiveX to work on a closed Intranet. ActiveX is also an exclusively IE thing, and won't work in any other browser.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    124
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Joh6nn,

    thanks for replying. Actualy the script is for a company's intranet. so the general public won't have access to it. I'm creating a database with php and mysql as sort of final year project for school. and that script would be very handy to display and export statistics comming from the database. that is why I want to use it. I adjusted some options in IE like you said and now it works. all the PC at the company have a Windows licence so they all have IE.

    thanks for helping, much appreciated


    -Maes


  •  

    Posting Permissions

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