Is this a script problem or a Server Driver problem

I am running a db sucessfully on my machine with CF8
but I get this error message when I try to run it from my
server.
Variable datasources.rg_new.Driver is undefined.
The error occurred in
D:\Inetpub\wwwroot\REALGems\cart\cw3\CWTags\CWTagGlobalSettings.cfm:
line
168
Called from
D:\Inetpub\wwwroot\REALGems\cart\cw3\CWTags\CWTagGlobalSettings.cfm:
line
161
Called from
D:\Inetpub\wwwroot\REALGems\cart\cw3\CWTags\CWTagGlobalSettings.cfm:
line 1
Called from
D:\Inetpub\wwwroot\REALGems\cart\cw3\CWTags\CWTagGlobalSettings.cfm:
line 1
Called from D:\Inetpub\wwwroot\REALGems\cart\Application.cfm:
line 48
166 : sqlexecutive = factory.getDataSourceService();
167 : datasources = sqlexecutive.datasources;
168 : dbType = Evaluate("datasources.#Request.DSN#.Driver");
169 : </cfscript>
170 : <cfif dbtype EQ "com.mysql.jdbc.Driver">
This is the relevant code from the CWTagGlobalSettings
<!--- Clear the
current application scope ---> <cfset
StructClear(Application) />
<cfscript> factory =
CreateObject("JAVA","coldfusion.server.ServiceFactory");
sqlexecutive =
factory.getDataSourceService(); datasources =
sqlexecutive.datasources;
dbType = Evaluate("datasources.#Request.DSN#.Driver");
</cfscript> <cfif
dbtype EQ "com.mysql.jdbc.Driver"> <cfset dbtype =
"MySQL"> </cfif>

I solved it somehow, don't really know how.

Similar Messages

  • HT201407 i Perform this , but stil problem occur, could not activate, what can i do. it say server is temporary unavialable. Actually i update my iphone 3gs from 4.1 to 6.1.3 ...   What can i do, reply iam waiting for answer.

    i Perform this , but stil problem occur, could not activate, what can i do. it say server is temporary unavialable. Actually i update my iphone 3gs from 4.1 to 6.1.3 ...   What can i do, reply iam waiting for answer.

    Is your phone jailbroken by any chance?

  • I keep getting adobe script problems. I have 3.6.13 version and have never had this problems with prior versions

    I can't find a solution to the adobe flashplayer that is associatied with Firefox. I keep getting script problems and am asked to either continue or ignore the problem. I've been a long-time user of Firefox and have never had any problems with Firefox or any associated programs (plug-ins) and so this is a surprise to me. I checked the version of the flashplayer and find that I have the most current version; so I'm not sure what's going on.

    Do a malware check with some malware scan programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • CSS scripting problem

    I have a css11503 running 7.30.0.05 and I am trying to install a custom script (http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_tech_note09186a00801e1dfb.shtml)
    I login to the CSS, execute: script record http-test <enter>
    However, when I paste in the script and it gets to the initial arg length checking:
    "if ${$ARGS}[#] "NEQ" "3"
    It errors out and says
    %% Error undefined variable.
    Any idea what I am doing wrong?
    Thanks!
    -wP

    I have the same problem. It prompts an error in some lines though the "show script" seems to be ok. I'm worry about that the script won't work in production and I can test it.
    I downloaded other similar scripts via FTP but FTP fails for this one, the CSS is no able to download the script from the FTP server.
    Also I have downloaded via FTP similar scripts that starts with the same line (if ${ARGS}[#] "NEQ" "2".
    My version is sg0820501. I know that the scripts configuration is ok cause I have it configured in other CSS.
    CSS-Device# script record ap-kal-tcp-connect-graceful
    Press Ctrl^C to terminate recording...
    CSS-Device#
    CSS-Device# if ${ARGS}[#] "NEQ" "2"
                      ^
    %% Error undefined variable.
    CSS-Device#         echo "Usage: xxx ip port"
    Usage: xxx ip port
    CSS-Device#         exit script 1
    CSS-Device# endbranch
    endbranch: Not in Branch command.
    CSS-Device#
    CSS-Device# set HostNameA "${ARGS}[1]"
                                  ^
    %% Error undefined variable.
    CSS-Device# set PortA "${ARGS}[2]"
                              ^
    %% Error undefined variable.
    CSS-Device#
    CSS-Device#
    CSS-Device# set EXIT_MSG "ERROR: Failed to connect"
    CSS-Device# socket connect host ${HostNameA} port ${PortA} tcp 2000
                                       ^
    %% Error undefined variable.
    CSS-Device#
    CSS-Device# no set EXIT_MSG
    CSS-Device# socket disconnect ${SOCKET} graceful
                                     ^
    %% Error undefined variable.
    CSS-Device#
    CSS-Device# exit script 0
    CSS-Device#
    CSS-Device#
    Script <ap-kal-tcp-connect-graceful> recorded.
    CSS-Device# show script ap-kal-tcp-connect-graceful
    if ${ARGS}[#] "NEQ" "2"
            echo "Usage: xxx ip port"
            exit script 1
    endbranch
    set HostNameA "${ARGS}[1]"
    set PortA "${ARGS}[2]"
    set EXIT_MSG "ERROR: Failed to connect"
    socket connect host ${HostNameA} port ${PortA} tcp 2000
    no set EXIT_MSG
    socket disconnect ${SOCKET} graceful
    exit script 0
    CSS-Device#

  • Data migration scripts problems

    Hello,
    I've been using SQL Developer for a couple of months now ; I'm working on the migration from a SQL Server database to Oracle 10g, and the migration features of the product really saved me a lot of time so far.
    However, there is a couple of small problems with the generated data migration scripts :
    - on the SQL Server side, the script that calls for bcp specifies no encoding ; as a result every Unicode information is lost. I think that by default you should at least call bcp with the option of keeping the original encoding information.
    - on the Oracle Side, empty strings ( = CHR(00) ) are converted into a whitespace character ( = ' '), when they shouldn't. This is all the more annoying to correct manually when you have a lot of tables, since there's one control file per table.
    Apart from that, everything's fine :)
    Regards,
    Isabelle.

    - on the Oracle Side, empty strings ( = CHR(00) ) are
    converted into a whitespace character ( = ' '), when
    they shouldn't. This is all the more annoying to
    correct manually when you have a lot of tables, since
    there's one control file per table.You should be aware that Oracle treats empty strings as NULL while SQLServer doesn't. It may be that this is an attempt to avoid problems with "not null" columns. On sqlserver, an empty string is OK in a not null column but not in Oracle.

  • How do I resolve this related Ical message? The server responded with "400" to operation CalDAVUploadDropBoxFileQueueableOperation.

    How do I resolve this related Ical message? The server responded with “400” to operation CalDAVUploadDropBoxFileQueueableOperation.

    I am having this problem too...and also I (most of the time) can't invite anyone on my google apps domain to a meeting. WEIRD! HELP!!! I just switched to Mac from PC...this was supposed to be EASY!
    I get all kinds of error  messages...
    1) The request for “Test Appointment” in “[email protected]” in account “yyyy.com Google” failed.  The server responded with “400” to operation CalDAVScheduleEventQueueableOperation. *My google calendar *IS* updated despite the error, but the appointment is greyed out on my calendar.
    2)  The URL https://calendar.google.com/calendar/dav/[email protected]/user///calendar.google.com/calendar/dav/[email protected]/user/ encountered HTTP error 404. Make sure the URL is correct. The URL *IS* correct.
    Also, when I try to invite people to appointments, iCal adds random attendees and frequently will not add an attendee if they are in my domain. HELP.

  • TS3899 With Yahoo Mail, and anotare account (Inacap Mail), I can only receive mails but I can't send emails. I don't know if this is a problem of the iPad or it is a problem with yahoo mail, because using Gmail and the email of my job I don' have this pro

    With Yahoo Mail, and anotare account (Inacap Mail), I can only receive mails but I can't send emails. I don't know if this is a problem of the iPad or it is a problem with yahoo mail, because using Gmail and the email of my job I don' have this problem.

    Google them to confirm the settings that you need for the outgoing server, then check the setting you entered on the pad.  Pay real close attention to the outgoing server name, and port.  You may need to change in on the pad. 

  • TS3579 I found this useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up

    I found this  (TS3579: If the wrong date or time is displayed in some apps on your Mac Learn about If the wrong date or time is displayed in some apps on your Mac) useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up in Finder. 

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Problem: [Microsoft][ODBC SQL Server Driver][SQL Server]The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction.

    Hi Gurus,
    I have this problem in my MS SQL Server 2012 that is running in SQL Server 2008 R2 Enterprise 64 bit.. Not sure why... Here is the full details of the error:
    Microsoft OLE DB Provider for ODBC Drivers 80040E14
    [Microsoft][ODBC SQL Server Driver][SQL Server]The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction.
    /Libraries/DBA/DBA.asa, line 717
    Line 717 is this:
    rs.open destTableName,,,,adCmdTable
    Full details of the code:
        'Field object used to iterate through each field of the rs
        dim rs, fld
        'call dbInitRS(rs)
        set rs = server.createobject("adodb.recordset")
        'On Error Resume Next
        'Open rs
        set rs.activeConnection = myConnection
        rs.cursorType = adOpenKeyset
        rs.lockType = adLockOptimistic
        'rs.open destTableName
        rs.open destTableName,,,,adCmdTable
        'if err.number <> 0 then
        '    goto HandleError
        'end if
        rs.addNew
    Any ideas how to solve this problem?
    Thanks

    Still does not work. I have allow MSDSTC in my firewall list.
    Hi dudskie,
    Have you try to use DTCTester or DTCPing to verify MSDTC functionality over the network? Please refer to the following article:
    Troubleshooting Problems with MSDTC:
    http://msdn.microsoft.com/en-us/library/aa561924.aspx
    Use the DTCTester utility to verify transaction support between two computers if SQL Server is installed on one of the computers. The DTCTester utility uses ODBC to verify transaction support against a SQL Server database. For more information about
    DTCTester see How to Use DTCTester Tool.
    Use DTCPing to verify transaction support between two computers if SQL Server is not installed on either computer. The DTCPing tool must be run on both the client and server computer and is a good alternative to the DTCTester utility when SQL Server
    is not installed on either computer. For more information about DTCPing, see
    How to troubleshoot MS DTC firewall issues.
    If you have any feedback on our support, please click
    here.
    Hope this helps.
    Regards,
    Elvis Long
    TechNet Community Support

  • Is this a CONCAT problem re: David Powers, or a Magic Quotes problem...

    I've tried to figure this out with the posts (and some info
    on David's site, etc), and I just can't seem to figure out the real
    problem.
    I'm working on a tutorial and I can't figure out if the error
    message is correct and it's improper coding inserted by DW (and if
    so, I can't figure out what to correct) or
    If this is a problem with DW8.0.2 along the lines of what the
    hotfix that seems to be so hard to get will fix, or
    If this is along the lines of an example of why magic quotes
    should be turned off, and if so, where/how do I turn them off, and
    will that correct the code, and if not, how would it be properly
    corrected?
    Here is the error message:
    Parse Error: parse error, unexpected '=', expecting ',' or
    ')' in <thefile> on line 34.
    Here is the code it is referencing:
    32 $Search_rsSearch = "abc";
    33 if (isset(#txtSearch#)) {
    34 $Search_rsSearch = (get_magic_quotes_gpc()) ? #txtSearch#
    : addslashes(#txtSearch#);
    35 }
    36 mysql_select_db($database_dorknozzle, $dorknozzle);
    37 $query_rsSearch = sprintf("SELECT * FROM EmployeeStore
    WHERE ItemName LIKE CONCAT('%%', %s,
    '%%')", GetSQLValueString($Search_rsSearch, "text"));
    38 $rsSearch = mysql_query($query_rsSearch, $dorknozzle) or
    die(mysql_error());
    39 $row_rsSearch = mysql_fetch_assoc($rsSearch);
    40 $totalRows_rsSearch = mysql_num_rows($rsSearch);
    I'm using php4.4.4, mysql5.0.24, apache2.2.3
    Thank You,
    Jeff G.

    xViPERed wrote:
    > If this is a problem with DW8.0.2 along the lines of
    what the hotfix that
    > seems to be so hard to get will fix,
    That will fix part of your problem, but the error is caused
    by something
    else:
    > Here is the error message:
    >
    Parse Error: parse error, unexpected '=', expecting ',' or
    ')' in
    > <thefile> on line 34.
    >
    > Here is the code it is referencing:
    > 32 $Search_rsSearch = "abc";
    > 33 if (isset(#txtSearch#)) {
    > 34 $Search_rsSearch = (get_magic_quotes_gpc()) ?
    #txtSearch# :
    > addslashes(#txtSearch#);
    > 35 }
    # is one of the PHP characters used to comment out part of a
    script. I
    suspect that you have got this from the Dreamweaver help
    files, which
    are particularly unhelpful on this point. The show the
    runtime value
    expression as #formFieldName#, which is ColdFusion style, not
    PHP. You
    need to replace #txtSearch# with something like
    $_GET['search'] or
    $_POST['search'].
    What makes things worse is that the code inserted by 8.0.2
    without the
    hotfix is also incorrect. Line 34 should be something like
    this:
    $Search_rsSearch = $_GET['search'];
    Line 37 is also wrong.
    > 37 $query_rsSearch = sprintf("SELECT * FROM
    EmployeeStore WHERE ItemName LIKE
    > CONCAT('%%', %s,
    > '%%')", GetSQLValueString($Search_rsSearch, "text"));
    It should be this:
    $query_rsSearch = sprintf("SELECT * FROM EmployeeStore WHERE
    ItemName
    LIKE %s", GetSQLValueString("%" . $Search_rsSearch . "%",
    "text"));
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Scripting problem dealing with Acrobat 9's extra (unwanted) nodes

    Hello All,
    I'm having a few issues with the way Acrobat 9 creates extra nodes in the model tree when you try to export it
    out as a u3d.  Here's what i mean.
    In version 8, my object tree looks something like this:
    <Node Name="model">
           <Node Name="DTM">
                 <Node Name="D1"/>
                 <Node Name="D2"/>
                 <Node Name="D3"/>
                 <Node Name="D4"/>
    But, when i export the same model in version 9, the object tree looks something like this
    <Node Name="model">
           <Node Name="model.u3d">
                 <Node Name="DTM">
                      <Node Name="D1">
                             <Node Name="D1"/>
                       </Node>
                            <Node Name="D2">
                                  <Node Name="D2"/>
                       </Node>
                       <Node Name="D3">
                             <Node Name="D3"/>
                       </Node>
                       <Node Name="D4">
                             <Node Name="D4"/>
                       </Node>
    Acrobat 9 adds a new level of nodes.  This is a problem for me as i have been using a simple script to toggle my
    objects on/off.  The script that i've have been using:
    var Context = getAnnots3D(0)[0].context3D;
    var mesh = Context.scene.meshes.getByName("D1");
    mesh.visible = !mesh.visible
    This works fine under version 8 but not in version 9. I'm assuming that with the new level of nodes, i have to alter my script to reflect this. Does anyone know how i can adjust my script to make this work with all these extra nodes?
    Thanks

    I think I have isolated the source of this problem. It's the Pitstop Professional 9 plug in. I un-installed this, and everything opens quicker than greased lightning. I re-installed it and it's back to slowsville.
    Unfortunately Pitstop is essential to my workflow.
    Until recently I did my pre-press on a Mac G5 with Acrobat Pro 7 and Pitstop 6.5. I never had this problem with slow file opening. But it seems that the delays would occur when I used the plug-in with large complex files.. So it would open files as fast as you'd expect from an elderly machine. But starting to use Pitstop would result in a prolonged period of staring at a spinning beachball.
    I wonder is there any way to stop the Pitstop plug-in from initializing until it is used? So the plug-in stays inert until you select the tool from from the menus.

  • Short, basic VB script works on 2003 Server but not on 2012 R2 server

    Hello all,
    Hopefully I'm posting this in the right place. I have a legacy VB script that I need to keep, but I'm having trouble getting it to work on Server 2012 R2.
    The script reads a file called "Test.txt" that contains the following string:
    String1|String2
    Part of the VB script is to read this "Test.txt" file and parse this line into 2 separate elements based upon the "|" delimeter:
    On Error Resume Next
    Dim FSI, inputFile, String, f, WshShell,WshNetwork, WshFSO, StringArray
    inputFile = "Test.txt"
    CONST ForReading = 1, ForWriting = 2, ForAppending = 8
    Set FSI = CreateObject("Scripting.FileSystemObject")
    Set f = FSI.OpenTextFile(inputFile, ForReading, True)
    Set WshShell=WScript.CreateObject("WScript.Shell")
    '********* Read the file ********
    String = f.ReadLine
    msgbox("String: "&string)
    '********* Split the line *******
    StringArray = Split(String,"|", -1, 1)
    msgbox("stringarray(0): "&stringarray(0))
    msgbox("stringarray(1): "&stringarray(1))
    The variables in this script when ran on Server 2003 are:
    string = String1|String2
    stringarray(0) = String1
    stringarray(1) = String2
    So this script parses the String1|String2 line perfectly on Server 2003. However, running this same VB script on Server 2012 R2 results in very strange output:
    The variables in this script when ran on Server 2012 R2 are:
    string = ӱƥt
    stringarray(0) = ӱƥt
    stringarray(1) =
    Is there anything on Server 2012 R2 that I need to install to get this to work in VB, or what is the issue with Server 2012 R2 and visual basic? I'd LOVE to redo this in PowerShell but I need to keep it Visual Basic for legacy reasons for a few more months.

    Hmm interesting. I tried using the 3 different "format" parameters for the OpenTextFile method, and none of them worked on Server 2012 R2:
    http://msdn.microsoft.com/en-us/library/aa265347(v=vs.60).aspx
    However, I copied the text file directly from the 2003 server and placed it on the 2012 R2 server, and then the script worked great!
    Thanks for steering me in the right direction Bill!

  • EEM: SAPGUI scripting not enabled on server

    Hi Gurus,
    I have setup SAPGUI EEM monitoring via SOLMAN 7.1 but after deployment there's an error message "SAPGUI scripting not enabled on server()-214722150:disabledByServer=True". I already checked the backend system, and the paramater of sapgui/user_scripting is set to TRUE.
    Please advise what else do I need to check in order for the SAPGUI scripting to be working in EEM? Is there any additional parameter that I need to change in the backend system?
    Thanks,
    Virgilio

    Hi Virgilio,
    See this link is usefully
    Security for the Use of SAP GUI Scripting - eCATT Security Guide - SAP Library
    Regards,
    Deva

  • Firefox 4 hangs when accessing the "Verified By Visa" capability used by many UK online retailers including Tesco & The National Lottery; is this a known problem?

    I recently upgraded to Firefox 4 from version 3 and have experienced a problem when trying to purchase online using my Visa debit card.
    UK stores and services are using the "Verified By Visa" system to double-check the validity of credit and debit cards and this capability is called by many stores at the end of their online payment process.
    Firefox 4 does not seem able to handle this capability and 'hangs' once data has been entered into the "Verified By Visa" window and sent to the server. This means that the transaction cannot be completed and funds cannot be transferred from Visa to the retailer/service provider. I have experienced this 'hanging' problem with both Tesco online groceries and with the UK National Lottery online site.
    Is this a known problem? I had no trouble using this service on these sites with the previous version of Firefox (3.6.8) but the error is solid in Version 4 of Firefox.
    Anyone else having this problem or know how to fix it?
    NB. I have reverted to the previous version of Firefox temporarily, so the troubleshooting information attached will be of little relevance to this question.

    Was having the same problem on the National Lottery website and their "Help" section amounts to an 0845 number, so I did a bit of rummaging online and found a solution.
    I had Third Party cookies disabled , so I ticked the box to Accept them(under Tools>Options>Privacy), restarted FF, added funds and the "Verified by Visa" process works properly. I'll just turn it on & off as needed, as I prefer not to accept third party cookies normally.
    Hope this helps someone else in the same position - very frustrating, especially when my VbyVisa statement recorded the failed transactions, even though neither my lottery account or my bank account showed any sign of them.

  • Reg: How to Run a Script File in WebLogic Server 10.3.3

    Hi WebLogic Experts,
    In our project we are using WebLogic Serve 10.3.3. I need to run one script file. could you please suggest me where should i need to place that script file in WebLogic Server 10.3.3 and How to run & stop that Script file.?
    please experts i waiting for your's reply..
    Thanks & Regards,
    Induja..

    1. You can put a command line into startWebLogic.sh to start your script file.
    2. In your proyect you can create a java class to run the script file.
    3. You can create a java class to run the script file an setup it like a startup class into weblogic server.
    4. You can create a java class to run the script file an setup it like a job scheduler into weblogic server.
    In what time you need run this script file?

Maybe you are looking for

  • Shared Services Security Issue with Financial Reporting - 11.1.1.3

    Hi, So we have some users that are provisioned in some groups. Those groups have Essbase Server Access and Planner access to an application. That access is working great. They have access to the app and they have access via Smartview to the cube. Now

  • Error : Rowkey does not have any primary key attributes

    Hello All, I'm developing an ADF application which has a few ADF forms. The forms have VO's and some tables. On running, I seem to be getting this error <Error> <oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet> <BEA-000000> <ADFv: Rowke

  • CR V11 and ability to export as csv in  crystalreportviewer

    We just bought CR V11, I have SP 2 installed and I am looking to for the export as csv in crystaldecisions.windows.forms.crystalreportviewer. I can export in code put we would like the option for users to export as one of the options in the viewer, w

  • OMS 12c Upgrade Stuck at this error Error in invoking target 'client_shared

    Hi All We are Upgrading OMS from 11.1 to 12c stuck at this error after invoking runInstaller Following 1 system upgrade. (graphical mode). INFO: Start output from spawned process: INFO: ---------------------------------- INFO: INFO: /opt/app/wls/oms1

  • Generic Error in Proxy Inbound

    Hello, We have created 2 scenarios on XI to send data to SUS (SRM 200). In one of the scenarios, we send Purchase Orders from MM (R/3) to SUS, and in the other, we send Business Partners from EBP (SRM 100) to SUS. The data are processed on SUS using