Data Source - Alias Not Found in SDK Sample Application VIDS

Hi,
I am trying to run SDK sample application VIDS.
In the function, BindDataToForm, I am getting error at line:
oColumn = oColumns.Item("CardCode")
oColumn.DataBind.SetBound(True, "@VIDS", "U_CARDCODE")
The error is: Data Source - Alias Not Found
I have checked that the user tables and the fields in the user tables are correct.
What can be the issue?
Thanks.

Hi Rajesh,
Works just fine for me.
Double check that you've created the userfields. You must press the button create user fields before attempting to use the sample.
Best regards,
Pedro Magueija

Similar Messages

  • Tomcat 6/Java/mySql: Data source name not found

    I installed the following on my laptop which has a Windows 2000 operating system:
    - ODBC Connector for mySql
    - the MySql Connector/J for Java
    ODBC
    In the Data Source ODBC Administrator of the Control panel I added a Data Source name for the mySql Database:
    Data Source Name: mysql
    Server: localhost
    Database: mysql
    When I click the Test button I get the message: Success; Connection was made!
    TOMCAT
    C:\apache-tomcat-6.0.18
    I copied mysql-connector-java-5.0.8-bin.jar into:
    - the lib folder
    - the lib folder under webapps>WEB-INF\testapp
    I added the above paths to CLASSPATH
    TOMCAT SERVER.XML
    In the server.xml file under the CONF folder I entered
    <Context path="/testapp" docBase="testapp" debug="0"
    reloadable="true" crossContext="true">
    <Resource name="jdbc/mysql"
    auth="Container"
    type="javax.sql.DataSource"
    description="The connection pool will be bound into JNDI with the name
    java:/comp/env/jdbc/MySQLDB">
    </Resource>
    <ResourceParams name="jdbc/mysql">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>10</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>5</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>com.mysql.jdbc.Driver</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>root</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>test</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:mysql://localhost/mysql</value>
    </parameter>
    </ResourceParams>
    </Context>
    However, when I try to run a java servlet, I am getting the following error:
    SqlException: Could not connect to database
    [ODBC Driver Manager] Data source name not found and no default driver specified
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    conn = DriverManager.getConnection(“jdbc:mysql://localhost/mysql”, strUserId, strPassword);
    MySql is actually installed on c:\Program Files\MySql\Mysql 5.0
    What am I missing? How can I get the mySql connection to work?
    Thanks,
    Robin

    You seem to be specifying JDBC driver while you are trying to connect to your database using ODBC,
    RobinHR wrote:
         <parameter>
    <name>driverClassName</name>
    <value>com.mysql.jdbc.Driver</value>
    </parameter>
                        and ,
    RobinHR wrote:
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    conn = DriverManager.getConnection(“jdbc:mysql://localhost/mysql”, strUserId, strPassword);
    *********************You would be using "sun.jdbc.jdbcodbc.Driver" rather!
    Refer MySQL sample examples/documentation on how to connect to your database using ODBC
    And this on how to create a DSN
    Edited by: anamupota on Jan 16, 2009 8:27 AM

  • ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in windows server 2008 r2

    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in windows server 2008 r2.I made a application in asp.net c#.I am using ODBC connection.When I deployed my application in windows server2008 r2.There
    is no Microsoft ODBC driver shown in ODBC Data source administrator.Then I go to the C:\Windows\SysWOW64 and open  Odbcad32.exe and add Microsoft ODBC2 driver for Oracle and when I run my application I got following error
    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    I am using follwoing string
     <connectionStrings>
    <add name="theconnetion" connectionString="DSN=abdb;UID=abc;PWD=xyz"/>
     </connectionStrings>
    Guide me What I do?

    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

  • SQL Server Reporting Services: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hey everyone, So I am trying to get a report onto the server, and in BIDS I kept getting a login screen repeating over and over when I tried to deploy my report, so I tried to upload the file at http://<servername>/Reports This worked, but then trying
    to run this report from http://<servername>/Reports did not work either because "An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'FTYDataSource'. (rsErrorOpeningConnection) For more information
    about this error navigate to the report server on the local server machine, or enable remote errors" Anyways I tried to add a New Data Source (which I would use in the report) at http://<servername>/Reports, type ODBC, with the connection string Dsn=blah_blahblah.
    I try to test the connection here and get the error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified This is really getting old fast, everything I try, a new error comes up. Granted I am new at this,
    but this still should not be this troublesome. Does anyone have any ideas on what could FINALLY allow me to just put a report out onto the server?!? THANK YOU in advance for ANY help.

    Hi,
    Please try setting the credentials of the datasource.
    1. Double click and open the datasource in your project.
    2. Click on the credentials tab, and click on option button 'Use this username and password'
    3. Enter the username and password to connect to the datasource
    4. Deploy or upload the datasource to the report server and try accessing the reports.
    Hope this helps.
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
    BH

  • Linked Server [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hi  I have SQL2012 installed on my local machine and have also installed MySQL 5.6.23 installed with a test database.
    I also have my SQL connector installed and MYSQL ODBC Driver 3.51.   
    Which happily connects to the Mysqldb.
    The Datasource Name : mySQL conn
    TCP/IP Server : localhost and Port :3306
    User root
    with pwd
    On the SQL side I have used the following
    EXEC master.dbo.sp_addlinkedserver
      @server = N'MYSQLSRV',
      @srvproduct=N'mySQL conn',
      @provider=N'MSDASQL',
      @datasrc=N'mySQL conn'
    However when I try to selet using open query
    SELECT * FROM OPENQUERY ( [MYSQLSRV], 'SELECT * FROM students' )
    it comes back with
    OLE DB provider "MSDASQL" for linked server "MYSQLSRV" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
    Msg 7303, Level 16, State 1, Line 1
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "MYSQLSRV".
    I cant understand what I have done wrong .   Any help in this would be great as Ive hit a bit of a brick wall

    Hi Robert3975,
    In addition to other post, please also note the following things.
    1. If you use the 32-bit driver on a 64-bit machine, please run the 32bit version of "odbcad32.exe" by running "c:\Windows\SysWOW64\odbcad32.exe"
     from Start/Run menu and
    create your ODBC DSN. However, for the 64-bit driver, use c:\windows\system32\odbcad32.exe to create your ODBC DSN. For more details, please review this similar
    thread.
    2. Expand the folder Providers under Linked server directory in SSMS and go to properties of MSDASQL provider and configure it properly as described in this blog:
    Creating Linked server to MYSQL from SQL Server.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Connect to MS Access using NetBeans, data source name not found!

    Hi
    NetBeans IDE 7.3 and OS was Windows 7 (64-bit )
    When I run my program by NetBeans, it complain about the following errors.
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    In fact, the MS Access file had exist the specify path, I can run the jar file (not in IDE environment) and connect to MS Access DB successfully.
    And I had search from network, and found it said "the ODBC source was run by different server", one was C:\Windows\SysWOW64\odbcad32.exe for 32-bit and c:\windows\system32\odbcad32.exe for 64-bit.
    So the question is, why IDE cannot connect to MS Access DB, How to set NetBeans IDE to make it connectable to 32 bits or 64 bits ODBC, like the program run without IDE?
    Thanks!

    user13005878 wrote:
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specifiedThat reads like "your datasource configuration is not good, fix it"
    And I had search from network, and found it said "the ODBC source was run by different server", one was C:\Windows\SysWOW64\odbcad32.exe for 32-bit and c:\windows\system32\odbcad32.exe for 64-bit. It would make a whole lot of sense if that was the other way around, don't you think? SysWOW64 for 64 bits and system32 for 32 bits.
    So the question is, why IDE cannot connect to MS Access DBBecause something is wrong
    How to set NetBeans IDE to make it connectable to 32 bits or 64 bits ODBC, like the program run without IDE?By setting the correct connection configuration properties.
    I'm not 100% positive, but I believe that doing ODBC connections from a 64 bits environment is not actually supported in Java. You may be outraged by that - in Java 8 the ODBC-JDBC bridge is going to be completely dropped, no more connecting to Access from Java without third party libraries (which tend to be commercial). In any case for now try to use a 32 bits Java runtime if you're using a 64 bits one.

  • IDT ODBC Error - Data source name not found...

    Hello,
    In the IDT, I have created a successful connection to a Relational Connection to my SQL Server datasource.  However, when I try to access the data in the Data Foundation, I get the error, "ODBC Driver Manager.  Data source name not found and no default driver specified.  I am trying to use a shortcut to the connection in the repository.  I am able to make a local connection to this database using the same steps above but I'm only getting this error when using the respository connection.
    I appologize if I have not explained this well or used the right terminology as I've only been using this tool for about a month with very little support.  The support I do get does not know what this problem is as they are able to connect to it fine on their computer.
    Thank you for your time and responses,
    Aaron

    Hi Aaron
    This is the product limitation.
    Combination of 32-bit and 64-bit data providers in a Multi-source enabled Data Foundation is not supported.
    Remove ODBC Drivers 32-bit for SQL Server from the user's workstation and Install ODBC Drivers
    64-bit.
    Regards,
    Veer S.

  • Data Source Name Not Found

    Hey, wonder if anyone has had this problem and knows how to
    solve it. I have a book with details on how to solve the error but
    its hard to understand. The error is: 80004005 - Data source name
    not found and no default driver specified.
    In the book it says "To solve the problem, first be sure that
    the DSN exists on the web server as a system DSN. If the DSN exists
    as a Local DSN, delete the Local DSN and create a System DSN". How
    do I know if it exists as a Local DSN and how do I make sure it
    exists on the web server as a system DSN?? I also deleted the
    locked Access file (.ldb) as suggested in the book.
    I know this is a specific problem and maybe I've missed
    something out, but I'd be really grateful for any help. Thanks very
    much.

    Try here:
    http://tinyurl.com/pbnon
    "ferrarikid123" <[email protected]> wrote in
    message
    news:e3b64c$mqp$[email protected]..
    > Hey, wonder if anyone has had this problem and knows how
    to solve it. I
    > have a
    > book with details on how to solve the error but its hard
    to understand.
    > The
    > error is: 80004005 - Data source name not found and no
    default driver
    > specified.
    >
    > In the book it says "To solve the problem, first be sure
    that the DSN
    > exists
    > on the web server as a system DSN. If the DSN exists as
    a Local DSN,
    > delete the
    > Local DSN and create a System DSN". How do I know if it
    exists as a Local
    > DSN
    > and how do I make sure it exists on the web server as a
    system DSN?? I
    > also
    > deleted the locked Access file (.ldb) as suggested in
    the book.
    > I know this is a specific problem and maybe I've missed
    something out, but
    > I'd
    > be really grateful for any help. Thanks very much.
    >

  • Error on SQL-DMO ( ODBC Driver data Source name not found)

    I Found the below error and all my maintenance jobs were failing with the same error.
    Do any one have any clue on it. help is much appriciated.
    Microsoft (R) SQLMaint Utility (Unicode), Version ??????
    Copyright (c) Microsoft Corporation.
    [Microsoft SQL-DMO (ODBC SQLState: IM002)] Error 0: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    Sreeni

    Let us know if you see this issue in SQL 2014 as well. You can quickly create a SQL Server 2014
    Virtual machine on Windows Azure .
    http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-provision-sql-server/
    Thanks, Sethu Srinivasan [MSFT] SQL Server http://blogs.msdn.com/sqlagent -------------------------------------------------------------------------------- This posting is provided &amp;quot;AS IS&amp;quot; with no warranties, and confers no rights.
    Please remember to click &amp;quot;Mark as Answer&amp;quot; and &amp;quot;Vote as Helpful&amp;quot; on posts that help you. This can be beneficial to other community members reading the thread.

  • Data source name not found and no default driver specified.

    Hi all,
    I am using Microsoft Accessas as backn'd. when I am starting my Presentation Services I am getting this error> Data source name not found and no default driver specified.

    Your presentation services configuration file
    $SADATADIR/web/config/instanceconfig.xml
    contains an entry DSN which is the connection to the bi server
    then inside your RPD(s) loaded by the bi server
    you will have various connection pools in the physical layer
    which connect to physical data sources such as MS Access
    you can test a physical database connection
    by right clicking a physical table
    then "View Data" or "Update Row Count"

  • EIS : Data source name not found and no default driver specified

    Hi
    I have Oracle Essbase installed in a x86_64 machine.
    I have configured odbc 64 bits how is indicated in SQL Interface Guide, but when try to create catalog the message "ODBC Error [DataDirect][ODBC lib] Data source name not found and no default driver specified"
    The is.sh script set these environment variables:
    #!/usr/bin/ksh
    export ISHOME=/u01/app/oracle/Middleware/EPMSystem11R1/products/Essbase/eis/server
    export EPM_ORACLE_HOME=/u01/app/oracle/Middleware/EPMSystem11R1
    export HYPERION_HOME=/u01/app/oracle/Middleware/EPMSystem11R1
    export ARBORPATH=$ISHOME
    export ESSBASEPATH=$ISHOME
    export ISLOADINFO=$ISHOME/loadinfo
    export ISODBC=$EPM_ORACLE_HOME/common/ODBC-64/Merant/6.0
    export ODBCINI=$EPM_ORACLE_HOME/common/ODBC-64/Merant/6.0/odbc.ini
    export TEMP=/tmp
    case `uname` in
    AIX)
    export JAVA_HOME=$EPM_ORACLE_HOME/../jdk160_11
    export LIBPATH=$ISHOME/esslib:$ISHOME/islib:$ISODBC/lib:$JAVA_HOME/lib:$LIBPATH;;
    HP-UX)
    export JAVA_HOME=$EPM_ORACLE_HOME/../jdk160_11
    export SHLIB_PATH=$ISHOME/esslib:$ISHOME/islib:$ISODBC/lib:$JAVA_HOME/lib:$SHLIB_PATH;;
    Linux)
    export JAVA_HOME=$EPM_ORACLE_HOME/../jdk160_11
    export LD_LIBRARY_PATH=$ISHOME/esslib:$ISHOME/islib:$ISODBC/lib:$JAVA_HOME/lib:$LD_LIBRARY_PATH ;;
    SunOS)
    export JAVA_HOME=$EPM_ORACLE_HOME/../jdk160_11
    export LD_LIBRARY_PATH=$ISHOME/esslib:$ISHOME/islib:$ISODBC/lib:$JAVA_HOME/lib:$LD_LIBRARY_PATH;;
    echo `uname -a`;;
    esac
    export CLASSPATH=$EPM_ORACLE_HOME/common/jlib/11.1.2.0/epm_j2se.jar
    export PATH=$JAVA_HOME/bin:$ISHOME/bin:$PATH

    Hi Andres, Can you please tell me how you resolved this issue? I'm getting the same error when I start EIS as windows services, but when I start from console it works fine.
    Updated................Issue resolved!!!
    OK. Upon researching other windows forums found that I had to add System DSN to ODBC administrator under "C:\Windows\*SysWOW64*\odbcad32.exe". This is because the server is a windows 64-bit machine.
    Thanks
    Edited by: U12345 on Dec 14, 2010 5:58 AM
    Edited by: U12345 on Dec 14, 2010 6:01 AM

  • Getting "Data source name not found and no default driver specified"

    Hi all,
    I'm trying to create a connection in SQL Developer (1.5.0.53) to an Access MDB using the Access Tab on the "New / Select Database Connection" window. I navigate to my MDB and then click the Test button and this is what I get:
    "Status : Failure - Test failed: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
    I do have the 1.6 JVM.
    Not a show stopper, but would like to see how SQL Developer works with Access tables, so any help would be appreciated.
    TIA,
    Steve

    This error message sounds like the MS Access ODBC driver or the Jet Engine drivers are not found. First of all you need to check the PATH environment setting if it includes the windows/system32 directory as this is the default directory for the MS Access ODBC drivers.
    Next check if you are a normal user or a local admin user. As local admin open the ODBC Adminstartor (Control Panel/administrative tools) and check if a MS Access ODBC driver is registered.
    If all above is true, please get from www.sysinternals.com and et the process monitor. Open it and apply a filter: Process name is sqldevloper.exe
    Then start SQL Developer and open your created MS Access link. Process mon will now track all info containing all additional DLLs it tries to load.
    Check out the generated log file from the bottom (last info about the mdb file load) to the top and look if it really finds all libraries, especially the MsAccess and Jet libraries.

  • WIS: 10901 Data source name not found and no default driver specified(ODBC)

    Hi, gurus.
    We've created a universe based on Excel spredsheet or MS Access which is using ODBC connection. Then, I try to create query (which is using these universe) in QAAWS or in InfoView, and when I add a filter object to the query, the error occurs:
    "GetDatasourceObject LOV exception (error WIS: 10901)".
    If I don't choose any filter options and want to create query, I'm getting the error: ' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (error WIS: 10901)'.
    We tried to do this in different operations systems - Windows 7 (32 bit) and XP (32 bit).
    Anymore, we can use this universes at web intelligence rich client with or without filters.
    Need to solve this problem. Please help us.

    Dear all,
    I got the same problem, I have installed BOE 4.0 at Win XP 64 bits, and also installed Sybase IQ 15.2 (32bit) ODBC, and has create the odbc entry "shkdemo" at the System Tab. However, I still got the same error when using the the "Interactive Analysis" thru "BI Launch pad".
    For BOE 4.0, I found that I could only use the BOE Client tools (Universal Design Tool) to create the connection, this client tool I installed it at another 32 bit XP laptop, and I also installed the Sybase IQ 15.2 (32bit) ODBC with the same odbc entry "shkdemo", and using the "Interactive Analysis Desktop, I could be able to create report with data from IQ 15.2.
    Kindly advise, why I still got the error of "10901 Data source name not found and no default driver specified(ODBC)" when I use the "Interactive Analysis" thru "BI Launch pad".
    Cheers,
    Hilda

  • 10901 Data source name not found and no default driver specified(ODBC)"

    Dear all,
    I have installed BOE 4.0 at Win XP 64 bits, and also installed Sybase IQ 15.2 (32bit) ODBC, and has create the odbc entry "shkdemo" at the System Tab. However, I still got the above error when using the the "Interactive Analysis" thru "BI Launch pad".
    For BOE 4.0, I found that I could only use the BOE Client tools (Universal Design Tool) to create the connection, this client tool I installed it at another 32 bit XP laptop, and I also installed the Sybase IQ 15.2 (32bit) ODBC with the same odbc entry "shkdemo", and using the "Interactive Analysis Desktop, I could be able to create report with data from IQ 15.2.
    Kindly advise, why I still got the error of "10901 Data source name not found and no default driver specified(ODBC)" when I use the "Interactive Analysis" thru "BI Launch pad".
    Cheers,
    Hilda

    Remember the client tools are 32 bit, BOE 4.0 is 64 bit. Thus a document using a 32 bit client will connect to 32 bit ODBC datasource. A 64 bit application (BOE 4.0) will be looking for 64 bit ODBC datasource. You mention you installed Sybase IQ 15.2 (32bit) ODBC which is great for the 32 bit client tools, but 64 bit BOE will not be able to use this.
    See a related article; [Crystal Reports support of 64 bit Operating Systems|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e]
    - Ludek

  • NQSError: 16001::Data source name not found and no default driver specified

    Hi,
    I am loading the prebuilt repository "sh_partwo.rpd" online.
    While doing Tools->Update All Row Counts, It gives the following error:
    [NQODBC][SQL_STATE: HY000][nQSError: 10058] A general error has occured.
    [nQSError: 43093] An error occured while processing the EXECUTE PHYSICAL statement.
    [nQSError: 16001] ODBC error state: IM002 code: 0 message : [Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified.
    Any help will be greatly appreciated.

    Hello
    what is the database and how are you making connection to database from biserver i.e. from administration tool?
    I think you are using odbc source for connection, then what is the driver you specified there in creating this dsn?
    let me know...

Maybe you are looking for