LoadVariables ASP Database

Hi, I've read what threads are on this forum about this and
searched high and low but still can't get this working!
I've done a few Tutorials on the web saying you can use
LoadVariables with an asp page and return db records back to Flash
using response.write.
1. I have an HTML file which contains my SWF.
2. I have a file called variableString.asp page which resides
next to these files that queries and outputs a string using
response.write(). The output looks like this...
output=&Owen,Mike,44,Walker,Jane,25,
3. My SWF contains loadVariablesNum("variableString.asp", 0);
and I have a setInterval that keeps checking to see if the text is
loaded or not at _levelO. If it's loaded it goes to frame 3! This
doesn’t happen and can’t see why.
Thanks in advance for any help.
Simon.

I don't use ASP, but sounds like you're nearly there. The
only thing I can
see is you put:
output=&Owen,Mike,44,Walker,Jane,25
Where & is used to separate variable/value pairs like:
name=Owen&age=44&sex=male&height=160
If nothing else, remove the & you have in there now...
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • Dreamweaver asp Database Connections

    Am using Dreamweaver 8 (and the Missing Manual book) to set up dynamic webpages using asp and a database.
    Have used IIS to get my server set up at localhost and have downloaded files including mdb from site associated with Missing Manual book. Am on pages 700-701 of book.
    Have selected Custom Connection String using the connection name connNationalEx. Then connection string:
    "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\DWDynamic\nationalEx.mdb"
    Have selected "Using driver on this machine"
    Response to "Test" is "Connection successfully made" which is great!
    After OK I get the following message:
    "C:\inetpub\wwwroot\nationalex_root\Connections\connNationalEx.asp contains an invalid path" which is not so great!
    Have tried changing and matching capitals and/or no capitals. Prob something simple but I can't see it.
    Am doing a website for local Scouts on a voluntary basis and due to child protection laws they have asked for a log in system. Am happy with Dreamweaver and CSS but I may have bitten off more than I can chew here with log-ins! Any help appreciated with above.

    Perhaps there's a remnant of an open database? When I used
    Access
    Database, it would create an LDI or some thing similar when
    it opens an
    mdb that could, on occasion, remain open even after being
    close?
    This probably isn't the case but perhaps it can give you a
    clue.
    You may also want to try moving it so that it's not where it
    was and
    then connect to it in it's new location.

  • ASP database

    Hi all
    I've created (a monster) a small database and everything
    works fine on my testing server (IIS on my PC) but I've uploaded it
    to the remote server and only 1 page loads up. Firefox throws up
    the following error
    C:\Inetpub\wwwroot\alliedAdmin\database\alliedAdmin.mdb' is
    not a valid path.
    /testsite/alliedAdmin/database/index.asp, line 8
    What it should be finding is this.
    http://www.alliedstrategies.com/alliedAdmin/database/index.asp
    the odd thing is that this page
    http://www.alliedstrategies.com/testsite/alliedAdmin/database/add.asp
    ..is found OK.
    There's something wrong.
    by the way, there no formatting or anything nice about these
    pages at the minute.
    Can anyone help.
    Thanks
    Martin

    You need to change your pat to the db on the server from your
    ISP
    The path that you mentioned is on your HD, this will never
    work online
    C:\Inetpub\wwwroot\alliedAdmin\database\alliedAdmin.mdb' is
    not a valid path
    Cheers
    www.SamDesign.be
    "martinstan" <[email protected]> a
    �crit dans le message de news:
    e4d98a$hsv$[email protected]..
    > Hi all
    > I've created (a monster) a small database and everything
    works fine on my
    > testing server (IIS on my PC) but I've uploaded it to
    the remote server
    > and
    > only 1 page loads up. Firefox throws up the following
    error
    > C:\Inetpub\wwwroot\alliedAdmin\database\alliedAdmin.mdb'
    is not a valid
    > path.
    > /testsite/alliedAdmin/database/index.asp, line 8
    >
    > What it should be finding is this.
    > <a target=_blank class=ftalternatingbarlinklarge
    > href="
    http://www.alliedstrategies.com/alliedAdmin/database/index.asp
    >
    > the">
    http://www.alliedstrategies.com/alliedAdmin/database/index.asp
    >
    > the</a> odd thing is that this page
    > <a target=_blank class=ftalternatingbarlinklarge
    > href="
    http://www.alliedstrategies.com/testsite/alliedAdmin/database/add.asp
    >
    > ..is">
    http://www.alliedstrategies.com/testsite/alliedAdmin/database/add.asp
    >
    > ..is</a> found OK.
    >
    > There's something wrong.
    >
    > by the way, there no formatting or anything nice about
    these pages at the
    > minute.
    >
    > Can anyone help.
    > Thanks
    > Martin
    >

  • Button help with asp database in dreamweaver

    Hey i have a page that has an iframe inside it with 2 menu's
    side by side with buttons in between to move items from one menu to
    another and i have them set with javascript to move back and forth
    works great only problem is its also supposed to update to the
    database as well and i used the update command feature in
    dreamwaver and i set it up but its still not working if i post my
    code can someone help me?

    If you're good with Flash and Action Script you could build a custom player.  Otherwise, pick-one from the links below. Some are free, some are not.
    Coffee Cup Video Player -- (supports playlists)
    http://www.coffeecup.com/video-player/
    Video LightBox --
    http://videolightbox.com/
    WWD Player -- supports playlists
    http://www.woosterwebdesign.com/flvplayer/
    Wimpy Rave -- supports playlists
    http://www.wimpyplayer.com/index.html
    JW Player --
    http://www.longtailvideo.com/
    FlowPlayer --
    http://flowplayer.org/
    YouTube --
    http://code.google.com/apis/youtube/getting_started.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • ASP database and forms

    Show my question:
    - I have a mysql and ASP
    - How I create 3 asp form pages and all data from this 3
    pages enter a one
    record in mysql ?
    Also link examples ?
    thanks
    Marina

    thanks for your great idea..
    but have one example for testing here?
    thanks
    Marina
    "Paul Whitham AdobeCommunityExpert" <> escreveu na
    mensagem
    news:eitpvv$s87$[email protected]..
    >I assume this is a multi page form that you are building.
    If so there are
    >two ways of doing this.
    >
    > 1) On the first page create an insert behaviour and then
    grab the ID of
    > the newly created record, and use this on the other two
    pages that use
    > update behaviours on them.
    >
    > 2) Pass the values from Page 1 to hidden field in Page
    2, and then pass
    > all the values in Page 2 to hidden fields in Page 3 on
    which you have an
    > insert action.
    >
    > --
    > Paul Whitham
    > Certified Dreamweaver MX2004 Professional
    > Adobe Community Expert - Dreamweaver
    >
    > Valleybiz Internet Design
    > www.valleybiz.net
    >
    > "Marina Limeira" <[email protected]>
    wrote in message
    > news:eisrp6$m08$[email protected]..
    >> Show my question:
    >>
    >> - I have a mysql and ASP
    >> - How I create 3 asp form pages and all data from
    this 3 pages enter a
    >> one record in mysql ?
    >>
    >> Also link examples ?
    >>
    >> thanks
    >>
    >> Marina
    >>
    >>
    >
    >

  • Upgrade Oracle Client 8.1.7 to 10g on Windows 2003 with IIS / ASP

    I am having problems after I install 10201_client_win32 on Windows 2003 which uses IIS ASP application to connect via ODBC to Oracle databases.
    tnsping and m/s access can connect but for some reason my ASP application can not connect but doesn't give me any error messages just hangs during ASP database connection
    I have a mixture of 8i and 10g DSN connections which I use, I'm not sure if I need to un-install 8.1.7 driver or remove all 8i ODBC to enable this to work
    Should ASP be able to connect to a mix of 8 and 10g drivers?
    Perhaps some DLL incompatibility or install issue.
    Note it works ok on XP workstation but not so far on Win2003 server.
    Any help to verify install or things to check would be appreciated
    Paul

    Since 8.1.7 was never certified on Windows 2003, it's entirely possible that it would cause some problems and might interfere with the 10g client.
    If you are confident that the setup on your XP box is identical to the setup on the 2003 box, I would tend to suspect that the 8.1.7 client was causing the problem.
    Justin

  • Question about asp access

    Hi.
    I'm trying to get information from a MS Access database to a Java applet. I think the easiest way to do this is to use ASP. I got the asp page working to access the database and print its contents but I have no idea how the applet can access that information. I know nothing about asp and got the connection code from a tutorial. Can anyone tell me how I can access the information from a Java applet?
    Thanks in advance.
    ASP code follows:
    <%
    Set MyConn = Server.CreateObject("ADODB.Connection")
    MdbFilePath = Server.MapPath("db1.mdb")
    MyConn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";"
    SQL_query = "SELECT * FROM Table1"
    Set RS = MyConn.Execute(SQL_query)
    WHILE NOT RS.EOF
    %>
    <LI><%=RS("Name")%>: $<%=RS("Balance")%>
    <%
    RS.MoveNext
    WEND
    %>

    Thanks, I've gotten the reading working. But I'm a
    little confused on how I would update. If I wrote an
    asp page (say...called update.asp) that updates the
    database, how would I call that from java? You
    wouldn't use an input stream would you?Same way. Don't confuse the input stream with "input to a database". It's just the response from the service, and also the way to actually get the service (URL) to be invoked. Of course, for updating the database, you're probably going to want to pass the service something, telling it what to update. Passing it something is done (or can be done, as one way) by putting the information on the URL, like:
    http://some/path/update.asp?key=abc&newValue...
    And if you have any links to tutorials on asp database code,
    that would be awesome. Thanks.I'd suggest using good-old google: http://www.google.com to search for those keywords.

  • Design ASP(Application Sevice Provider) schema

    Now, we have some customers, each customer may have 10GB data and we want to put some customers into one oracle instance(Oracle 8.1.6). can we use Oracle Virture Private Database idea to design to control each customer access database? How to design ASP database?

    Thanks, ErikEJ. 
    Deleting and re-installing the NuGet packages got around the metadata exception, but I am now having a new problem relating to my DateTime database columns.  This is described in a separate thread:
    http://social.msdn.microsoft.com/Forums/en-US/59befc98-bbd0-4b1a-93a0-f32c94a53b1b/overflow-when-saving-datetime-data-type-in-sql-server-compact-40-with-ef4?forum=sqlce
    -BGood

  • FrontPage/asp - Oracle ???

    After investigating how to get MS FrontPage to generate .asp Database | Results ... via either ODBC or OLEDB, that work with Oracle 9.2i, I've come to the conclusion that this is problematical, if even possible.
    I noticed that FrontPage will generate .asp, regardless of the default script setting (VB script or Java script).
    FrontPage seems to stop short of generating .jsp or really integrating with J2EE etc.
    So, I was wondering what, if any, FrontPage substitute is used by Oracle web developers?
    ... perhaps to draft .jsp, rather than .asp?
    thanks - for your insights,
    Mike

    What you mean by Oracle Session?
    Are you talking about Oracle Connection?
    If so, use the close method.
    null

  • Dreamweaver keeps crashing

    My DW CS3 keeps crashing whenever I try to open a page with
    asp database driven content in it. If I try to view the page in a
    browser, it works fine. It's now happening to any page no matter if
    it has been open recently or not opened for years!
    PHP pages and basic html pages are fine and open without
    trouble, it's just the asp pages with database content. Any ideas
    as to why it's happening? Any solutions would be greatly received.
    Thanks.
    Mat

    try this technote-
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402776
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Dreamweaver & DSNless connection

    Dreamweaver & DSNless connection
    I am fairly familiar with Dreamweaver and creating static web
    pages. However this is my first attempt at a dynamic webpage and I
    have hit several hurdles.
    First I setup a DSN connection...but was later told by my
    host that a DSNless connection would work better. So that is what I
    am not working on.
    They told me to use the following script
    Set oConn=Server.CreateObject("ADODB.Connection")
    filePath = Server.MapPath("Your Access DB File")
    oConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
    +filePath)
    So I did that I entered this script into the Database/Custom
    Connection String/Connection string in Dreamweaver CS3
    Set oConn=Server.CreateObject("ADODB.Connection"); filePath =
    Server.MapPath("echohockeydb.mdb");
    oConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
    +\echohockey\Database)
    When I click "Test" I get the following error
    Unknown error 0x800A0BB9
    Arguements are of the wrong type, are out of acceptable
    range, or are in conflict with one another.
    Since I am just learning, I don't know if I entered the
    information in the script wrong, or if my problem lies elsewhere.
    The really frustrating part is that my page is uploaded and it
    works, but I need to change the data that is on the page. When I go
    back to add/edit the record sets it tells me that it cannot find
    the record set or the database connection.
    Is the problem obvious? Do you need mor info to troubleshoot?
    Sorry for this question, I am teetering on the edge of being out of
    my league with this project.
    THANKS!

    "Dante2004" <[email protected]> wrote in
    message
    news:[email protected]...
    > Still working on this...
    >
    > Learning more as I go...I have two connection files for
    the DSNless
    > connection
    >
    > connECHOHockey.asp
    > <%
    > Set oConn=Server.CreateObject("ADODB.Connection")
    > filePath = Server.MapPath("Database\echohockeydb.mdb")
    > oConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data
    Source=" +filePath)
    > %>
    >
    > And connECHOHockey2.asp
    > <%
    > ' FileName="Connection_ado_conn_string.htm"
    > ' Type="ADO"
    > ' DesigntimeType="ADO"
    > ' HTTP="true"
    > ' Catalog=""
    > ' Schema=""
    > Dim MM_connECHOHockey2
    > MM_connECHOHockey2_STRING = Driver={Microsoft Access
    Driver (*.mdb)}
    > Dbq=C:\Inetpub\wwwroot\echohockey\Database\echohoc
    keydb.mdb;
    > %>
    >
    > I figured out why the pages that work, are working. They
    are referencing
    > connECHOHockey.asp The problem is, that when I goto
    Application|Databases
    > in
    > DW, it only lists connECHOHockey2.asp When I go into the
    > connECHOHockey2.asp
    > database to add bindings, it says that it is unable to
    select tables with
    > this
    > connection. If I goto databases and test the connection
    I get this
    > error...
    >
    > "Format of the initialization string does not conform to
    the OLE DB
    > specification".
    >
    > I haven't gotten this error before. Not sure if this is
    progress or not.
    Unless the forum mangled your code (doesn't seem like it
    because
    connECHOHockey looks okay)
    You are missing quotes in the MM_connECHOHockey2_STRING
    connectionstring
    MM_connECHOHockey2_STRING = "Driver={Microsoft Access Driver
    (*.mdb)};Dbq=C:\Inetpub\wwwroot\echohockey\Database\echohoc
    keydb.mdb;"
    The problem with MapPath in a dreamweaver connectionstring is
    that
    dreamweaver doesn't execute that function, you can try fixing
    this by
    defining the connectionstring twice, first with the full path
    of the
    database on your local machine (this is what dreamweaver will
    use), and
    second with the mappath, it'll override the connectionstring
    when the page
    is executed by the server, but not by Dreamweaver because it
    only looks for
    the first string.
    <%
    ' FileName="Connection_ado_conn_string.htm"
    ' Type="ADO"
    ' DesigntimeType="ADO"
    ' HTTP="true"
    ' Catalog=""
    ' Schema=""
    Dim MM_connECHOHockey2
    MM_connECHOHockey2_STRING = "Driver={Microsoft Access Driver
    (*.mdb)};Dbq=C:\Inetpub\wwwroot\echohockey\Database\echohockeydb.mdb;"
    MM_connECHOHockey2_STRING = "Driver={Microsoft Access Driver
    (*.mdb)};Dbq="
    & Server.MapPath("Database\echohockeydb.mdb") & ";"
    %>
    Joris

  • Need to buy Satellite X200/X205 harman-kardon speakers

    Anyone knows where i can find to buy the TOSHIBA X200 or X205 harman-kardon speakers (left+right+subwoofer)?
    And the black cover too... (without the 7 butons board)
    Please, help

    Hi
    All the compatible notebook parts can be purchased from the ASP in your country. I would recommend to contact the guys and to ask for such speakers.
    The Toshiba global ASP database can be found here;
    http://eu.computers.toshiba-europe.com/ -> Support & Download -> Find an Authorized Service Provider
    Bye

  • Obtener hora

    Hola
    Necesito obtener la hora de un camppo fecha/hora que es este
    22-sep-2006 06:14:25 p.m.
    yo necesitaria : 06:14:25 p.m.
    Gracias!!!
    Juan Pablo

    Buenas,
    Tendr� que ser "conectando" actionscript a un lenguaje
    de servidor, como
    .net o php u otros, o bien a un webservice.
    Las opciones mas faciles son las dos primeras, busca en
    google algo como:
    actionscript loadvariables asp o actionscript loadvariables
    php y obtendr�s
    muchos ejemplos.
    Saludos,
    Jes�s Bosch
    "Arturo Costa Delgado" <[email protected]>
    escribi� en el
    mensaje news:e4rg4b$eop$[email protected]..
    > Hola amigos:
    > Mi duda es la siguiente. Cree un peque�o reloj
    digital, como uno de mis
    > primeros trabajos con actionscript. Sin embargo, solo
    logro que me muestre
    > la hora de la terminal que visualiza este swf.
    �C�mo podr�a hacer para que
    > siempre me este mostrando la hora del servidor no
    importa de que pa�s se
    > este conectando el visitante?. Espero haberme explicado
    bien.
    >
    > Muchas gracias por la atenci�n a este mensaje
    >
    > ACD
    >

  • Equium L350 - optical drive issue

    I have a lovely Equium L350 which I use for very basic tasks such as emailing and a spot of internet shopping.
    I am an utter idiot when it comes to anything even remotely technical.
    However, I bought this laptop back in May from PC World, Cardiff and have been very pleased up until a few weeks ago when I went to use the 'optical driver' (thing you stick a disk in?!) for the first time.
    My daughter had a Barbie MP3 player for her birthday and I was attempting to download all the relevant stuff from the disk and nothing happened.
    I'm sure from reading this you can see how hopeless I am!
    I assumed I was doing something wrong until a colleague told me he had the same problem with his Toshiba last year and there was a fault with the optical driver.
    Anyway, for the passed 3 weeks I have been ringing Toshiba trying to get some help.
    I am starting to lose the will to live!!!
    I'm put on hold each an every time for well over 20 mins at a time.
    I've yet to speak to anyone! I've emailed (received no reply!) and PC World have been equally as unhelpful telling me I have to contact Toshiba direct.
    Does anyone have a number for them in the UK for service/ warranty repairs/ help of any kind! I love the machine but the lack of customer service is soul destroying! I'd be so grateful for any sort of feedback!
    Thanks ever so much for taking the trouble to read this :)
    Sarah

    Hi Sarah
    May I ask you whats exactly wrong with your notebook?
    You said something about Barbie Mp3 player.
    How did you connect it to the notebook and what do you want to do with this 3rd party device?
    Do you want to put some mp3 files to this player?
    Sorry but I dont understand you problem and I don't see any connection between an optical drive (I think you are meaning the CD/DVD drive) and your Barbie mp3 player
    By the way:
    If there is something wrong with the hardware you have to contact always the ASP in your country.
    Here you can find the ASP database:
    http://eu.computers.toshiba-europe.com/ -> Support & Download -> Find an Authorized Service Provider
    Greets

  • Qosmio F10 grafic card GForce 5700 128Mb was replaced on GForce 6600 128Mb

    Does anybody has the same problem for Toshiba Qosmio F10 after video card replaced
    Lines on the screen or computer does not start properly only fan is running but not logo Windows on the screen appears

    Hi
    This sounds not really good I dont know what the service guys done
    Either the have forgotten to connect something or there is a malfunction.
    I think you should contact the guys again to clear this silly situation.
    I have already replied to your other post. There you should find the link to the ASP database.

Maybe you are looking for

  • How do you downgrade to a previous version of firefox?

    How do you down grade to a previous version of Firefox on an Android Phone? Current versions of Firefox no longer work with our WIFI network. Starting sometime around version 33 or 34 we started noticing that while using WIFI, Firefox would freeze ev

  • Can't share files with Macbook Air L 10.5.2 with windows XP

    Just brought new macbook Air. Main fault so far is that depsite seeing shared files in finder the error massages: 'unable to find original item' or file cannot be mounted occur. i also can only connect as 'guest' worst still on some attempts to conne

  • IDOC 2 FIle Scenario BD64 error ?

    Hi Experts While Create Distribution Model (BD64) Sender System u2013 R3XCLNT100 (RFC Destination From  XI) Receiver System u2013 XIRCLNT100 (RFC Destination Form   SAP ) Message type - MATMAS While selecting Sender System and Receiver System it show

  • My new account is blocked, and I can't get custome...

    I set up a Skype account for my wife the other day. We decided to purchase a subscription to the US. We had a lot of trouble getting our debit/credit cards to work because of the problem the Skype website has with "Verified by Visa". (There is a long

  • Spacing after full stop

    Hi My printer is complaining that my justified text makes it look like there is no space after a full stop. In some cases, it does appear this way. Is there any way to set a minimum or uniform amount of space after each full stop, within justified te