Change ODBC DSN in Application KO?

I am learning Authorware 7. I used the Application Knowledge
Object to create a quiz with login and results tracking via ODBC.
It worked fine and automatically created an Access database. I
replicated the database structure in MySQL and created an ODBC DSN
for the MySQL database. I've looked around in Authorware, but I
can't find a way to tell the KO to use a different ODBC connection.
If I can.... I'll be happy.

From Macromedia Authorware email support, I was told it is
not possible to change the ODBC connection within an Application
knowledge object, but I can change it within a Quiz knowledge
object. I'll follow that path instead.

Similar Messages

  • Encrypting communication between an app that uses an ODBC/DSN (with ADODB) and SQL Server 2008 R2

    I've been doing a lot of reading the last couple of days on how we can encrypt db communication between our product app and a customer's SQL Server db, but cannot make it work as expected. The app uses a ODBC/DSN to connect to the SQL Server db. I use this
    ODBC app to setup the DSN (on a Windows 7 PC):
    C:\Windows\SysWOW64\odbcad32.exe
    The  DSNconnection uses the SQL Server driver 6.01.7601.17514 and has these properties:
    - WinNT authentication.
    - Client Config button: TCP/IP to <server-name>\<instance.-name>
    - Change to default db: <name-of-app-db>
    - Everything else is default setting.
    SQL Server is on the same Windowns 7 PC and has a self-signed cert installed (used IIS to generate it) and has the Force Enryption set to "yes".
    I have a test C# program that uses the ADODB 2.7.0.0 COM-wrapper, made by Visual Studio after adding a reference to the ADO 2.7 library version 6.1.7601.17857. The program creates an ADODB.Connection object that has a simple connection string: "DSN=<san-name>;UID=<user>;PWD=<password>". The
    program then creates an ADODB.Recordset object and reads and displays a field from a table.
    Works fine.
    If I go into SQL Server and set Force Encryption to "no," clear the cert, restart the SQL service, and then re-run the program, it works fine.
    Here's the kick. If I go into the DSN and select "Use strong encryption for data" the Test button on the DSN works—why does it work? The SQL Server is no longer encrypting the connection so an error should occur. If I run the test program, it works
    as well—why? I can look at the connection properties in the test program and see that ADODB has added the ";Encrypt-yes" stuff to the end of the connection string. Yet that option seems to have no effect.
    If I set the SQL instance back to Force Encryption:yes, enable the cert, restart the SQL service, and clear the DSN's "Use strong encryption for data" option, I can still connect to the db with the
    test program—why?
    What am I doing wrong? I need to be able to ensure that the communication between our app product and the SQL instance is encrypted, and that we get an error if the SQL instance does not support encrypted communications. We really don't want the customer
    to have to enable Force Encryption because they have other db's on their SQL Server that do not use encrypted communication, but they want to know that our product's communication channel with the db is encrypted.
    No, I can't change the app product's code at this point in time. I'm stuck with working with what a DSN called from ADODB has to offer.
    Also, how can I be sure that communications are encrypted? I mean, I've tried things like "SELECT * FROM sys.dm_exec_connections" but that doesn't help because I have no idea how to tie the list of sessions shown back to my test program, although
    I guess it's a good thing that some of the sessions listed show encrypt_option as TRUE.
    -glenn-

    Ah yes, very good point. It's easy to miss because you have to delete then recreate the DSN in order to change drivers. So I switched the DSN over to the SQL Native 11 driver.
    Now when I try to connect to the SQL instance as <computer-name>\<instance-name>, and without a cert on the server, I get "the target principal name is incorrect". Perfect; now we're getting somewhere!
    Change my DSN to use <fqdn>\<instance-name> and it works. This tells me that SQL Server has auto-generated a cert and named it <fqdn>. I would have expected the "cert fail" error, not a cert
    name mismatch, because I'm not using Trust Server Cert.
    So I load up my self-signed cert, and that works too.
    I am still confused as to why I'm not seeing the "cert fail" error when I have no cert loaded on the SQL Server. I am not using Force Encryption on the server at all, so wouldn't expect SQL Server to auto-create a cert when an Encrypt=yes request comes in,
    but apparently it does?
    I also ran into a problem with this:
    select c.session_id, c.encrypt_option, s.client_interface_name
    from sys.dm_exec_connections c
    join sys.sysprocesses s
      on c.session_id = s.session_id
    where s.dbid = db_id('MyDatabase')
    There is no s.client_interface_name, probably should be s.hostname. There's also no s.session_id. I thought maybe this should be s.sid, but then no rows ever come back. The c.session_id looks like 51 and 52, but the s.sid looks like a very long binary number,
    so these two fields cannot be joined. I don't know how to convert the sid's properly so that the join would work. Ah wait, I just found the s.spid column; the join works when that column is used (I assume that's correct anyhow).
    If I add a Thread.Sleep(30 seconds) to my C# program just before the connection is closed, this query shows me the session for the correct hostname has encrypt_option=TRUE.
    And I have to keep my fingers crossed that all the app I/O will still work properly after
    changing the driver. Probably a safe bet though.
    Think I'm ready to throw in the towel on getting the "cert fail/no SSL" error to appear.
    It does look like I am able to sufficiently show that the connection is encrypted when Encrypt=yes is used with the newer driver.
    Thank for all the help!
    -glenn-

  • Change ODBC DatabaseName but it does not change in CRXI R2

    I am sitting with a problem where I have my Test Database (BusinessTest) and my Live Database(Business) on the same server. Now the reports was created before i started at the company and they are all showing the Business.TableName if i go to "View SQL Query".
    Now i have to do enhancements on the Report and i would like to first use the BusinessTest Database. My problem is that i can not get the "View SQL Query" to show the BusinessTest.TableName no matter what i do.
    The setup is as follow
    I am using Crystal Reports XI R2 (SP 4).
    I connect to the MySQL database using the MySQL ODBC 5.1 Driver
    It connects to the Business database (Live)
    When i change the ODBC driver it does not change in the "View SQL Query" it still refers to the Business Database.
    I also verified the database and still it only looks back to the live one.
    I created a new ODBC and made it look to the BusinessTest database and then updated the Datasource Location under the "Set Datasource Location" then verified the database again and still it looks at the Business(Live) database.
    What exactly am i missing? Why can i not get to change the datasource location?
    Hope Someone can help.
    Thanks.

    Hello,
    Changing the DSN properties does not update the report DB connection info and not recommended to do so. You also need to Set Location using the Database drop down menu option.
    Try this: Open up the ODBC Administrator and in the System DSN's change your original DSN back to the test server. Now create a new DSN and point it to the new Server. Open up Crystal Reports Designer, load the report, click on Database menu, Set Location and browse to your new DSN. Clcik on the Update button when you have the old DSN in the report high lighted and then click on the new DSN you just connected to and click the Update button.
    Now from the Database drop down menu click on Verify database. You should now be able to run the report and then show SQL to see the new data.
    Thank you
    Don

  • Changing ODBC Connection results in Field Name not found error

    Post Author: POH
    CA Forum: Data Connectivity and SQL
    I am using CR XI with mySQL 5.0 and VB6. The computer I use to to design my reports has a odbc dsn which is used to develop the reports. On the production computer the same odbc dsn is present but has a different server, database, user and password entries. I am using the code below to set the connection and test the database.    For Each objDatabaseTable In objDatabaseTables        objDatabaseTable.SetLogOnInfo "servername", "dbname", "user", "pw"        objDatabaseTable.ConnectionProperties("UseDSNproperties") = True    Next crxDatabaseTable    crxDatabase.Verify No Error is given and the report in this case does not have any sub reports.Now when the command ViewReport is run the CR viewer is shown but the report is not displayed. The viewer shows the error "Filed Name not found". I do not have any formel fields in the report and I have checked to make sur that both databases have the same structure. Can any body help me. Regards Paul    

    Did you add a System DSN or a User DSN? If you added a User DSN from your own login, the asp.net application will not be able to use it unless its application Pool in IIS is configured to run under the same credentials that you used for creating
    the DSN. It's better if you add a System DSN.
    Also, be careful to ensure that you are using a 64 bit DSN, unless you configure the application to run in 32 bits. If the 64 bit application attempts to use the 32 bit driver you get the same error message "Data source name not found and no default
    driver specified". See this KB article:
    http://support.microsoft.com/kb/942976/en-us

  • How to change font-size of application menu

    I want to change font-size of application menu. How?

    Hi,
    To change the font size of the Application menu, you need to change main.css file.
    at 'body, td, input, select, textarea' class.
    For more detail about main.css, please refer Bookshelf
    Siebel Developer's Reference at [8 Cascading Style Sheets].
    Regards,
    Joseph Arul Dass

  • Issue in Oracle 11g Database Change Notification  for Java application

    Hi,
    I am trying to use Oracle's Database Change Notification in Java application.
    I followed the sample application (+DBChangeNotification.java+ , Example 29-2), provided in the following link:
    +[http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/dbmgmnt.htm#CHDEJECF]+
    I am able to see that the Registration of the SQL query is successful.
    But, when I do changes to the table registered, notifications are not received in the Listener class (+DCNDemoListener.java+).
    Ideally, the method DCNDemoListener.onDatabaseChangeNotification() should be invoked on any insert/update to the registered table. But this method is not getting invoked.
    The execution has stopped in the following line of DBChangeNotification.java Class.
    this.wait();
    +==> The application was WAITing indefinitely in this line, as the NOTIFY() from DCNDemoListener.java was not executed.+
    I am using VPN to connect to Oracel server. Remote Oracle Server is protected my firewall. Is this the reason for not sending the notifications from Oracle server?
    The version of software used are given below:
    Oracle Client - Oracle 11.1.0
    JDK - 1.6
    Oracle JDBC Driver - ojdbc6.jar
    Can someone help me to resolve this issue?
    Thanks in Advance.
    Regards
    Sam
    Edited by: Ponsu on Apr 7, 2011 10:41 PM

    Hi,
    I am having similar issue. Where you able to resolve it.
    I am also using the same example you were using.
    I am using the following version.
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    Compatibility: 11.2.0.0.0
    I do not see any notification coming back from the DB.
    Appreciate your help.
    Thanks & regards,
    Ebe

  • How to track changes in a hyperion application for SOX control?

    Hello all,
    We have been working on identifying the best way on how to track changes in a hyperion application in regards to the SOX control.
    The following areas have been identified as the main areas of an application where the changes are to be tracked:
    Monthly data load from ODI
    Calculation of data
    Metadats change
    Formula edit
    Changes to reports
    Changes to security
    Can anybody please suggest the best ways to do this? Has anyone experienced this issue before?
    Somebody suggested that there is hyperion auditing available.
    Is there any other software that is available that can do this or just documenting the changes would be the best option?
    Please suggest. Toyr response would be appreciated.
    Thanks.

    Shared Services allows the auditing of provisioning and life-cycle management activities to track changes to security objects and the artifacts that are exported or imported using Lifecycle Management Utility.
    For Shared Services auditing, refer Page 129 of http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security.pdf
    Planning Administrators can select aspects of the application for change tracking. For example, you can track changes to metadata, such as when users change a member property or add a currency. You can also track changes in data forms, business rules, workflow, users, access permissions, and so on.
    For Planning auditing, refer Page 56 of http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin.pdf
    HTH-
    Jasmine.

  • Automatically create ODBC DSN connection with special port and password. Add-OdbcDsn cmdlet

    Hi,
    I first posted a question in the SQL forum but I'm posting it here instead because its a Powershell question.
    In a non-persitent VDI enviroment we are trying to automatically create a ODBC DSN connection to a SQL server.
    We are using Windows 8.1 so we also have Powershell 4 together with the add-odbcdsn cmdlet. 
    But when trying to add set -SetPropertyValue for network port different than default and a password we get an error.
    here is the command:
    Add-OdbcDsn -Name test -DriverName "SQL Server" -DsnType User -SetPropertyValue @("PWD=test", "SERVER=10.0.0.1")
    and here is the error message:
    Add-OdbcDsn : Attempt to set the {UID or PWD} key of a DSN. These keys should not be stored in the registry for securit
    y reason. Provide the credential information at runtime via SQLDriverConnect, SQLConnect or SQLBrowseConnect.
    At line:1 char:1
    + Add-OdbcDsn -Name test -DriverName "SQL Server" -DsnType User -SetPropertyValue @ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (MSFT_OdbcDsnTask:Root/Microsoft/...SFT_OdbcDsnTask) [Add-OdbcDsn], Cim
    Exception
    + FullyQualifiedErrorId : MI RESULT 4,Add-OdbcDsn
    NB!:  this command does not contain a port number, but when adding it without a password(PWD string) we just the default port.

    Hi Primeid,
    Agree with Jrv, we cannot store  UID and PWD in an ODBC datasource, For example, you can create a DSN using the user interface but if you look at the DSN stored in the registry the UID and PWD are not stored.
    ODBC it is always required when you connect using a DSN that the caller supply UID and PWD if they want to use standard login during connection time. 
    These similar discussion are for your reference:
    Creating ODBC DSN for SQL Native
    Client fails for not-integrated authentication
    is user name and password required in ODBC admin / User DSN?
    In addition, to read data from a SQL Server database using an ODBC DSN with SQL Authentication via powershell, please refer to this script:
    Open SQL database with ODBC DSN and SQL AuthenticationIf
    there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Change security of adf application on weblogic

    hi all,
    i am new in weblogic. i set oid in weblogic succesfully. But i couldn't change security of adf application. Is there any documantationof how change security of adf application?

    hi frank,
    i mean that i set oid in myrealm which is my default security realm. I change order of Authentication Providers. all of the users of oid are in myrealm . However my application does not use this ldap configuration. i couldn't change security of application, and i need help. Before i deploy my 10.1.3 adf application to oc4j and during deployment i can set the security of application but i couldnt see anything like oc4j in weblogic
    i configure my oid like below link
    http://www.oracle.com/technology/products/jdev/tips/fnimphius/oidconfig/index.html

  • Changes in HCM learning application

    Hi All,
    According to my requirement I have to change code in standard BSP application i.e. HCM Learning
    I have to put authorization in it for employees according to roles.
    Please tell me how to do the changes in standard BSP application? and
    where in the code i can put the authorization.?
    Thanks in advance
    s@chin

    Dear Baljinder,
    We are having the same requiremnt to change the information page in HCM learning
    Can you please explain in detail what you have done to get the desired result.
    I mean how did you maintain LSPAGE_ALIAS_C and LS_PAGE_ALIAS tables.
    Thanks a lot in advance,
    Reagards,
    Sai

  • I have problem " verify your emal "   i can't change account , i removed application and instell again , same problem fix email and " verify email"

    i have problem " verify your emal "   i can't change account , i removed application and instell again , same problem fix email and " verify email"

    The Email ID provided here has CC registered to it in active status. The Email also stands verified. Are you using any other Email ID ?
    Let me know if you are facing issue regarding verification by activating the Cc with the email ID provided here.
    Regards
    Rajshree

  • Handling Visual Changes in a Cairngorm Application

    I was wondering if there are any suggestions/best practices for how to handle visual changes in a Cairngorm Application.
    I am currently working on a Cairngorm Application with many moving parts - Trees, Lists, ViewStacks with ViewStacks as children. I want the application to be able to change visually based on some user actions - no real business logic involved. For instance, I have a menu that has options for displaying PopUps, or making hidden Panels visible. Right now, I am using Events all over the place to bubble up to the appropriate parent component.
    Does it make sense to have properties in the Model that control the visual aspects of the Application?
    Any thoughts are greatly appreciated.
    Thank you.

    Absolutly, I think.
    We bind, for instance, the enabled property of many controls to {model.loginOK} for instance, or control visible/includeInLayout with {model.userRole=='admin'}.

  • Setting/changing a date in application.cfm

    I need to be able to set a date in the application.cfm file
    for example
    <CFSET APPLICATION.stopdate='10/15/2014'>
    Then in my site on other pages I have code that says
    <cfif reportdate GT #APPLICATION.stopdate#>Do This</cfif>
    The problem is sometimes I need to change the APPLICATION.stopdate to another date during the middle of the day.
    For example I need to change the APPLICATION.stopdate from 10/15/2014 to 10/25/2014
    However I notice when I change the  APPLICATION.stopdate in the application.cfm to another date during the middle of the day that the APPLICATION.stopdate stays the old date.
    How do I make sure that the APPLICATION.stopdate changes sitewide when I change it in the application.cfm?
    Do I use another variable scope?

    Yes, that's one use of the include directive, lets you add content inline. You missed an "@" there though. It's <%@ include...
    EDIT: One word of warning; it is not mandatory for the container to recompile the including JSPs if the included resource is changed! It seems you have a smart container which detected that your included JSP had been modified and so it's reflecting the changes in the other files too. But this is not required behaviour and so you shouldn't count on it. AFAIK, Tomcat will also do the same.
    Also, this is a good reason why, even though it seems like a good idea to put the DB URL into one JSP and include it everywhere so that you have only one entry to change when the DB changes, it's still risky. A better way would be to put it as a <context-param> or something similar.
    Edited by: nogoodatcoding on Sep 28, 2007 10:15 PM

  • After i changed the setting in application tab in options : open pdf doc by adobe by default, the "Ask" window still pop up every time. How to fix this ?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/913026]]</blockquote>
    after i changed the setting in application tab in options : open pdf doc by adobe by default, the "Ask" window still pop up every time. How to fix this ?

    How do I fix this problem ...javascript (cid) applications.

  • Iphone 5s application icon (yahoo) automatically changes to a different application icon (macys).

    iphone 5s running
    ios 8.1 application icon (yahoo) automatically changes to a different application icon (macys). When you click the icon, it directs you to Yahoo.  I have had this issue before but the last time the icon was changed to wikipedia.  The last time this happened, i reset my phone.  I bought this phone new almost 2 years ago and have been the sole owner and I have never attempted to jailbreak my phone.  Does anyone know what the issue could be?  

    The problem is now resolved. The only thing that I did was to make netscape the default. I always the write code. I think that somehow I must have hit publish, I still am still not sure. Thanks for all the help
    Darryl

Maybe you are looking for

  • HT204053 icloud won't sync between computers

    I bought a film using my apple ID on my laptop, and it won't download on my other machines (mac Mini at home, iPhone, iPad) although I connect with the same Apple ID. Can you help?

  • Table help

    Hay people, I'm quite new to this. I was wondering if there was anyway if getting a "Cell" in a table, to read information from another HTML file. So when i update that HTML file, it updates all the pages on my site. Any information would be well app

  • Carry over of item conditions to header conditions of an invoice

    I am encountering a situation where the freight conditions at the item level do not carry over to the header in a consistent manner. However, if I look into the item condition and then revisit the header condition, the carried over value magically po

  • Nokia C2-01 Help- Maximum Number of Notes Allowed

    Dear Members and Support, Please help me out. I wanted to buy Nokia C2-01 but i wanted to know what is the maximum number of notes allowed. Is it restricted to 15 (or something more) or unlimited notes are allowed. Help me make a confident purchase R

  • Execute script in remote server

    Hello .. My question, is there any built-in package can do the following: - Open connection from oracle database to remote server (windows server) - Execute script located in the remote server or anything can help to achieve this Thanks