Visio Database Wizard fails - ODBC connection to MS SQL

When I try to create an ODBC connection in Visio's 2010's Database wizard I get the error: "Cannot set the database context information. Additional error information:ODBC Error: s1009. Database cxweba does not exist."
Note that the database name is cxwebapp_bkk. I get the same error if I connect to any database on that server, and it always truncates the name in the error message (if that is a hint to the error). 
Using Visio 2013, after connecting to the database: when I select the database object I get the error message:  "The selected table has only one field or contains no definition information. The Database Wizard requires a minimum of one key field
and one additional data field."
I have this problem using both SQL Server driver (6.02.9200.116384 and SQL Server Native Client 11.0 (2011.1102.2100.60).
I do not have this problem connecting to a MYSQL database with either version of Visio, nor do I have this problem when I link link to the same SQL database in a drawing and link shapes in that drawing using the "Link Data to Shapes" under the
Data tab.

Hello,
What's the version of the SQL Server instance you connect to? It seems that the Database Wizard in Visio 2010 not work well with the Microsoft SQL Server ODBC driver. Did you try to use the Generic OLEDB Provider for SQL Server?
Since the issue is more related to office Visio, please post the question in the following forum. More experts there will assist you:
Visio General Questions and Answers for IT Professionals
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support

Similar Messages

  • Visio Database Wizard Error

    I try to connect visio 2013 to a sql database. Purpose is to have shape data in sql database (not in excel or access).
    I use the database wizard from the Add-Ons section in Visio and whatever existing table I select or whatever table I create from within this wizard (Define Table option) I get the following Visio Database Wizard Error:
    'The selected table has one field or contains no definition information. The Database Wizard requires a minimum of one key field and one additional data field.'
    Note that I tested succesfully to export the complete existing drawing to a database table using one of the other options and that I get exactly the same error when pointing to this exact table in sql server when starting the database wizard.
    To be complete: I use Visio 2013 pro and SQL 2008 R2 Express edition.
    Any thoughts?

    Hi,
    To the error message, the reason this error occurs is that the length of the Filepath to the sql database is too long. Visio has a hard limitation of 128 characters for a complete path.
    There are a couple of ways to avoid this issue.  
    1. On a local drive, move the files to a location ‘higher’ in the folder list, to shorten the full pathname. 
    2. For a remote share, change the level of the drive letter mapping to a higher level to shorten the full pathname.
    Similar to issue described in article:
    http://support.microsoft.com/kb/287624/en-us
    Regards,
    George Zhao
    TechNet Community Support
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 537, state 3, severity 16

    Hello,
    I've encountered issue during installation of SP1 to SQL Server 2012. After upgrade I'm getting this error in Event Log:
    Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 537, state 3, severity 16. This is a serious error condition which might interfere with regular operation and the database will be taken offline.
    If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script
    upgrade steps run to completion.
    Can someone point me direction how I can fix it? This is a production server and currently only way to make it working is to use T902 flag in SQL Server startup params. I've found some suggestions to check Data path if it exists but it does so this is not
    the issue here. Any ideas?
    I've found also here
    http://www.sqlservercentral.com/Forums/Topic1377073-1550-1.aspx#bm1378279
    suggestions for similar issue with SQL Server 2008 which that I should do:
    Via ssms:
    From msdb:
    Delete:
    dc_admin role
    Dc_operator role
    Dc_proxy role
    UlitityCMRReader role
    UtilityIMRReader role
    UtilityIMRWriter role
    but for not I didn't tried it yet. This is standalone SQL Server instance.
    Any help really appreciated.
    Regards

    Script returns the same error.
    System databases:
    1    1    760    -1    10    1048578    0    1    master        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\master.mdf
    2    0    12768    -1    10    1048642    0    1    mastlog        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
    1    1    1024    -1    10    1048578    0    2    tempdev        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\tempdb.mdf
    2    0    64    -1    10    1048642    0    2    templog        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\templog.ldf
    1    1    288    -1    128    2    0    3    modeldev    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\model.mdf
    2    0    4464    -1    10    1048642    0    3    modellog    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\modellog.ldf
    1    1    28936    -1    10    1048578    0    4    MSDBData    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBData.mdf
    2    0    3352    268435456    10    1048642    0    4    MSDBLog    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBLog.ldf
    are all in place where path shows.
    Before sending my message I've searched update script for "FROM master.sys.master_files" and I found script which you are showing me. I've made some digging and when I runned:
           SELECT physical_name
           FROM master.sys.master_files
           WHERE (name = N'master')
    it returned also path to one my customers database name which has filename set correctly but it's Logical DB name is master and mastlog. I'm running shared hosting company and I allow my customers to restore their DBs from .bak files but I have no idea why
    this customers logical name is set to master and mastlog. Probably when I change this names update script will work as it should. On the other hand in my opinion there should be some kind of fail safe mechanism for situations like this one.
    EDIT: After changing logical name for DB and log for mentioned DB your script runned fine so probably now when I remove T902 flag and restart my SQL Server update will run correctly. Big thanks for resolving this issue.

  • SQL 2012 Copy Database Wizard fails

    I am trying to use the Copy Database Wizard in SQL Server 2012
    The host is running SQL Server 2000 (8.00.2066 (SP4)) on a Windows 2003 server
    The destination is SQL Server 2012 running on Windows Server 2012 Standard.
    Its gets to Execute SQL Server Agent Job and fails with this error:
    The job failed. Check the event log on the destination server for details
    Fails at – Execute SQL Server Agent Job
    I've looked at the application log and not sure which errors are relevant. Here are two of them:
    the first is an error, the second a warning.
    Log Name:      Application
    Source:        SQLISPackage110
    Date:          1/9/2015 11:39:24 AM
    Event ID:      12291
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          NT SERVICE\SQLSERVERAGENT
    Computer:      SQL2013
    Description:
    Package "CDW_SQL_SQL2013_7" failed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLISPackage110" />
        <EventID Qualifiers="16385">12291</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-09T16:39:24.000000000Z" />
        <EventRecordID>456924</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SQL2013</Computer>
        <Security UserID="S-1-5-80-344959196-2060754871-2302487193-2804545603-1466107430" />
      </System>
      <EventData>
        <Data>CDW_SQL_SQL2013_7</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          1/9/2015 11:39:26 AM
    Event ID:      208
    Task Category: Job Engine
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      SQL2013
    Description:
    SQL Server Scheduled Job 'CDW_SQL_SQL2013_7_1' (0xDFA5EEDDB2D53A4FB3C7CED04563896E) - Status: Failed - Invoked on: 2015-01-09 11:39:18 - Message: The job failed.  The Job was invoked by User VGBtR3r0WgKjvthk.  The last step to run was step 1 (CDW_SQL_SQL2013_7_1_Step).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">208</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-09T16:39:26.000000000Z" />
        <EventRecordID>456927</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SQL2013</Computer>
        <Security />
      </System>
      <EventData>
        <Data>CDW_SQL_SQL2013_7_1</Data>
        <Data>0xDFA5EEDDB2D53A4FB3C7CED04563896E</Data>
        <Data>Failed</Data>
        <Data>2015-01-09 11:39:18</Data>
        <Data>The job failed.  The Job was invoked by User VGBtR3r0WgKjvthk.  The last step to run was step 1 (CDW_SQL_SQL2013_7_1_Step).</Data>
      </EventData>
    </Event>
    Any ideas would be appreciated. I'm anxious to retire this old SQL 2000 server!
    Mike

    Thanks David.
    is this the log you are looking for:
    Date  1/9/2015 11:39:18 AM
    Log  Job History (CDW_SQL_SQL2013_7_1)
    Step ID  1
    Server  SQL2013
    Job Name  CDW_SQL_SQL2013_7_1
    Step Name  CDW_SQL_SQL2013_7_1_Step
    Duration  00:00:08
    Sql Severity 0
    Sql Message ID 0
    Operator Emailed 
    Operator Net sent 
    Operator Paged 
    Retries Attempted 0
    Message
    Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  11:39:18 AM  Progress:
    2015-01-09 11:39:18.61     Source: sql_SQL2013_Transfer Objects Task      Task just started the execution.: 0% complete  End Progress  Error: 2015-01-09 11:39:24.50     Code: 0x00000000    
    Source: sql_SQL2013_Transfer Objects Task      Description: An error occurred while transferring data. See the inner exception for details.  StackTrace:    at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()    
    at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferExtraObjectsViaSmoTransfer()  InnerException-->The specified schema name "INFORMATION_SCHEMA" either does not exist or you do not have permission to use it. 
    StackTrace:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
    stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
    stateObj, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1
    completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.SqlServer.Management.Smo.Transfer.ExecuteStatements(SqlConnection
    destinationConnection, IEnumerable`1 statements, SqlTransaction transaction)     at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()  End Error  Progress: 2015-01-09 11:39:24.50     Source: sql_SQL2013_Transfer
    Objects Task      Database transfer failed for one or more extra objects.: 0% complete  End Progress  Progress: 2015-01-09 11:39:24.50     Source: sql_SQL2013_Transfer Objects Task     
    Transfer objects finished execution.: 100% complete  End Progress  Warning: 2015-01-09 11:39:24.52     Code: 0x80019002     Source: CDW_SQL_SQL2013_7      Description: SSIS Warning
    Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change
    the MaximumErrorCount or fix the errors.  End Warning  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  11:39:18 AM  Finished: 11:39:24 AM  Elapsed:  6.062 seconds.  The package execution failed. 
    The step failed.
    I will also look into backup/restore. Will that work between 2000 and 2012?

  • ODBC Connection problem with SQL Native Client driver with CR 11

    I am having an issue connecting my crystal reports to an ODBC connection that uses the SQL Native Client driver (Version 2005.90.2047.00).  My reports work fine when using the SQL Server driver (Version 2000.85.3006.00).   The ODBC connection is setup to use Integrated Windows Authentication and is defaulted to go to the correct database.  When I test the ODBC connection in the 'ODBC Data Source Adminstrator' it connects fine.
    The reports are trying to connect to stored procedures on a SQL Server 2005 database.  I can log onto the ODBC connection in CR X1.  When I try to set the Datasource connection for one of my reports to the ODBC connection I created, I get the following error:
    'Some tables could not be replaced, as no match was found in the new data source.  Please specify the table required for any unmodified tables.'
    When I drill down to the SP and try to update the datasource location of the SP directly I get the following errors:
    'Data Object cannot be opened/accessed'
    and
    'Unknown Database Connector Error'
    As I said, I don't have any problems when using the SQL Server 2000 driver.  One other thing to mention, when I initially connect to the ODBC connection in CR X1 with the SQL Native Client driver, it asks for a username and password.  I leave these blank since I'm using Windows Authentication.
    Any advice would be appreciated.
    System:
    Windows XP
    Service Pack 3
    Crystal Reports XI:
    Product Version 11.0.0.1282

    Hi Jeff,
    I just tried to create a new report using the native driver and there is no option to use Trusted Authentication. This would be why it's failing.
    I don't believe we fully supported Native driver in Cr XI. Try downloading CR Xi R2 and install SP6 from this info:
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    I tested it in R2 and the Trusted Authentication option is there so your reports should work.
    Thank you
    Don

  • SQL 2000 ODBC CONNECTION STRING FOR SQL 2008

    i have vb 6 application. Database is SQL server 2000.
    my connection string is (using odbc driver),
            .ConnectionString = "Driver={SQL Server};SERVER=" & mServer & ";DATABASE=mydb;UID=" & mLogin.Username & ";pwd=" & mLogin.Password & ";"
    Now i have tried this application with SQL server express 2008 R2
    Can i still keep the old connection string? will there be any problem in future?
    (if i have to change then have to change at so many places.....)
    I can run application without any problem for now (not changed connection string to new one)
    otherwise i have to use ODBC or OLEDB which are,
            .ConnectionString = "Driver={SQL Server Native Client 10.0};SERVER=" & mServer & ";DATABASE=mydb;UID=" & mLogin.Username & ";pwd=" & mLogin.Password & ";"
    or
            .ConnectionString = "Provider=SQLNCLI10;SERVER=" & mServer & ";DATABASE=mydb;UID=" & mLogin.Username & ";pwd=" & mLogin.Password & ";"
    if i have to change to new connection string Which one is better to use odbc or oledb.
    h2007

    personally I favor ODBC as it is easy to use sometime. Additionally you can check the link below:
    http://social.msdn.microsoft.com/Forums/en/sqlintegrationservices/thread/19e0c306-0be4-46b5-b207-0937931d63a7 
    cheers!!!
    Vatsa
    www.objectiveprogramming.com

  • Windows 2008 64-bit SQL Server 2008 64-bit Linked Server fails - ODBC connects but has issues

    Installed the 64 but Oracle 11g client and Oracle ODAC. 
    From SQL Server Management Studio run script :  exec master.dbo.xp_cmdshell 'PING OracleHostNameHere'        Ping was successful
    OraOLEDB.Oracle shows up in the Provider list.  Run This Script:
    EXEC master.dbo.sp_MSset_oledb_prop N'OraOLEDB.Oracle', N'AllowInProcess', 1
    GO
    EXEC master.dbo.sp_MSset_oledb_prop N'OraOLEDB.Oracle', N'DynamicParameters', 1
    GO
    EXEC master.dbo.sp_addlinkedserver @server = N'Nav14', @srvproduct=N'Oracle', @provider=N'OraOLEDB.Oracle', @datasrc=N'TheOracleHostName'
    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'TheOracleHostName',@useself=N'False',@locallogin=NULL,@rmtuser=N'TheUser',@rmtpassword='ThePassWord'
    Msg 15015, Level 16, State 1, Procedure sp_addlinkedsrvlogin, Line 49     The server 'TheHostName' does not exist. Use sp_helpserver to show available servers.
    Did the same process on a Windows 7 32 bit Enterprise - ODBC Works after installing ODAC
    ODBC worked, shows list of Oracle servers - picked the server - ODBC successful - MS Access able to use that ODBC service.
    In Windows 2008 64 bit installed both Oracle 11g Client and 64 bit ODAC - ODBC opens, the list of oracle servers doesn't populate, hard code in the host name - ODBC reports Success.
    Another Person Suggested:  Win7 64-bit with Oracle 11g. Oddly enough, it ran differently when I opened a command prompt window as administrator and ran setup.exe with the suggested command-line options:
    setup.exe -debug -printtime -printmemory -printdiskusage -logLevel finest
    While it had previously been failed both by running setup from the Explorer windows as administrator and by running it from the command line as administrator - it died every time at the same point mentioned by others in this thread - just after this message appeared in the log:
    Get view named [SummaryUI]
    ( I have tried re installing with no success)

    Windows 7 Enterprise 32-Bit
    Installed the version 12 for 32 bit ODAC and it worked. The key is to Install as Administrator once it is unzipped.
    Was able to set up Listener then
    Was able to set up ODBC using the ODAC. Connect MS Access 2010 to the Oracle views.
    Then, tried to install the 64 Bit onto Windows 2008 Server.
    It locked up during installation both times.
    Installed ODAC without an error.
    However, the ODBC setup will not provide a list of the servers in the ODBC  TNS Service Name listbox for Server 2008.
    In Windows 7, it populates the TNS Service Name.
    The list box in Windows 2008 is empty.
    Do you know what would cause that?
    The .ORA file scrips look the same on Windows 2008 as they do on Windows 7 except it does not have the (server = Dedicated) argument.
    Thanks.

  • Linux 5 64 bit ODBC connectivity with MS SQL Server

    Dear All,
    Env.
    Oracle EBS R12 – DB 10gR2 64bit on Redhat linux 5.4 64bit
    We want to connect OracleDB10gR2 64bit to MS sql Server 2000 on Windows 2003.
    Is there any ODBC driver is available for Linux 64 bit
    Regards

    You need to create linked server in sql server 2000 Instance to connect to Oracle Database.
    Have a look at the following note
    http://support.microsoft.com/kb/280106
    It did worked for me before, when i connected sql server 2005 to connect to oracle 9.2.0.1
    The document should be helpful for you.......

  • JDBC-ODBC connection to MS SQL Server

    Hi All,
    I am new to Java. I want to connect from my JSP page to a remote MS SQL Server. So please tell me where i can find the suitable driver(MS SQL and not SQL Server 2000. I think SQL Server 2000 driver is not compatible with MS SQL Server). It would be of great help if you can give a sample code as well to connect to the database. Thanks.

    sample:
    <%@�@page�@import="java.lang.*,�@java.io.*,�@java.sql.*,�@java.util.*"�@contentType="text/html;charset=gb2312"�@%>
    �@�@<html>
    �@�@<body>
    �@�@<%�@Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    �@�@�@String�@url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=pubs";
    �@�@�@//pubs�@is your database
    �@�@�@String�@user="sa";
    �@�@�@String�@password="admin";
    �@�@�@Connection�@conn=�@DriverManager.getConnection(url,user,password);
    �@�@�@Statement�@stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    �@�@�@String�@sql="select�@emp_id,fname�@from�@employee";
    �@�@�@ResultSet�@rs=stmt.executeQuery(sql);
    �@�@�@while(rs.next())�@{�@%>
    �@�@�@�@your first field�F<%=rs.getString(1)%><br>
    �@�@�@�@your second field�F<%=rs.getString(2)%><br>
    �@�@<%�@}�@%>
    �@�@<%�@out.print("congratulations, database operation succeded!");�@%>
    �@�@<%�@rs.close();
    �@�@�@stmt.close();
    �@�@�@conn.close();
    �@�@%>
    �@�@</body>
    �@�@</html>

  • SQL Database creation failed in resource group Default-SQL-NorthEurope

    Hi
    I am getting the following error, when I try to create a database in Azure(https://portal.azure.com/)
    OperationName: CreateDatabase
    Status: Failed
    EventTimestamp: Wed Dec 03 2014 16:44:53 GMT+0100
    ResourceUri: /subscriptions/[SubscriptionId]/resourcegroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/img0xvixih/databases/[DatabaseName]
    SubscriptionId: XX
    EventSubmissionTimestamp: Wed Dec 03 2014 16:51:00 GMT+0100
    OperationId: 3972a8b9-046e-4a3d-ae78-6bed77ad2362
    SubStatus: N/A
    CorrelationId: 3972a8b9-046e-4a3d-ae78-6bed77ad2362
    Description: Failed to create database [DatabaseName], SqlErrorCode: 40827 by: [email protected]
    Level: Informational
    ResourceGroup: Default-SQL-NorthEurope
    ResourceProvider: Microsoft.Sql
    EventSource: Microsoft.Sql
    Properties: ServerName:img0xvixih
    DatabaseName:[DatabaseName]
    ErrorCode:40827
    ClientIP:157.**.***.250
    Description:Failed to create database [DatabaseName], SqlErrorCode: 40827
    Note :
    I have a: pay as you go plan
    Thanks in advance.

    Hi Girish
    I am getting the same error:
    OperationName: CreateDatabase
    Status: Failed
    EventTimestamp: 2014-12-03T15:44:53.655Z
    ResourceUri: /subscriptions/[SubscriptionId]/resourcegroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/img0xvixih/databases/[DatabaseName]
    SubscriptionId: XX
    EventSubmissionTimestamp: 2014-12-03T15:51:00.486Z
    OperationId: 3972a8b9-046e-4a3d-ae78-6bed77ad2362
    SubStatus: N/A
    CorrelationId: 3972a8b9-046e-4a3d-ae78-6bed77ad2362
    Description: Failed to create database [DatabaseName], SqlErrorCode: 40827 by: [email protected]
    Level: Informational
    ResourceGroup: Default-SQL-NorthEurope
    ResourceProvider: Microsoft.Sql
    EventSource: Microsoft.Sql
    Properties: ServerName:img0xvixih
    DatabaseName:[DatabaseName]
    ErrorCode:40827
    ClientIP: 157.**.***.250
    Description: Failed to create database [DatabaseName], SqlErrorCode: 40827
    hmmm, maby next stop is amazon(aws)!

  • HS ODBC connection to unidata SQL translation

    Experts please help.
    I successfully created a db link to unidata using HS ODBC. When I execute SQL for example "SELECT NAME FROM CUSTOMER@unidata", Oracle translates the SQL as "SELECT NAME AS C000 FROM CUSTOMER@unidata".
    The issue is, unidata ODBC does not recoginize "as" keyword. So I am getting a syntax error. Is there a way or a parameter I can set to disable the "as" keyword during the SQL translation ?

    I have not worked on HS ODBC but you can try providing the alias yourself (if possible).
    SELECT NAME NAME FROM CUSTOMER@unidata;
    Does this work?

  • Can a SQL view see data from an ODBC connection?

    Hi.  I currently have an application that pulls data from a custom SQL view in my SQL database.  This custom application can not be changed, so it expects to see the data exactly as presented by my custom SQL view.  This works fine
    when the data resides in SQL, but I am not sure if it is possible when the data resides outside of SQL.  I’d like to connect to another type of database via an ODBC connection from my SQL database, and still utilize my custom SQL view.  I would prefer to NOT
    use the SQL database as a warehouse, and simply use it to pass data.
    Is this possible?   Thank you for reading.

    Hi Robet,
    According to your description, you want to create view in SQL Server to pass data from OBDC database to custom application, right?
    In this case, we can create linked server to access an ODBC database when you are using an ODBC data source. Linked servers can use the OLE DB Provider for ODBC without using an ODBC data source. You can refer to the link below to see the details.
    http://technet.microsoft.com/en-us/library/ms191462(v=sql.105).aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Database wizard table headers are blank

    This is an ongoing issue with crystal reports 2008. I have a progress Database with an ODBC connection. If I setup a connection to the database using the database wizard  in CR 2008 I can see all of the tables, but if I add one of the tables to my report the table name does not display and I am unable to remove that table from the list. If I follow the same steps using crystal reports 11, this works without any issue. Does anyone know if this is a bug in crystal reports 2008?
    Edited by: Kheasley on May 21, 2009 8:31 PM

    Hi Russell
    Which database you are reporting off?
    You can try following workaround and create indirect ODBC connection.
    Create a report using OLEDB connection and select Microsoft OLE DB Provider for ODBC drivers and then create a report .
    This will point to your existing ODBC connection through OLEDB provider.
    For the tables name that are blank do you have hyphen '-' in their names?
    As advised by Jayendra you can try with Service Pack 1for Crysatl Reports 2008.
    Hope this helps..
    Regards
    Ankeet

  • Apex fails to connect after rebooting XE

    Hi:
    My environment is Apex 4.0.0, Oracle XE 10.2.0, Apex default Gateway, Windows 2008 32 bit.
    After I reboot the database, Apex fails to connect.
    If I check the Apex port number, it lists 8080, as expected. (SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;)
    Look at the Oracle Listener status below after the reboot, notice the host value in line
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    When I reset the Apex port number to 8080, I can then connect OK (EXEC DBMS_XDB.SETHTTPPORT(8080); )
    Look at value of HOST in the Oracle Listener status below after the reset, the HOST lists the Server Name.
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=galapp13.bsci.bossci.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    This is a major problem, because if the Server is rebooted, nobody can connect to Apex.
    I assume this is an Oracle Listener problem.
    I have made no changes to the LISTENER.ora file, see values below.
    Any suggestions on how to overcome this problem will be helpful.
    Status of Oracle Listener after a reboot.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 02-JUN-2011 09:03:47
    Uptime 42 days 22 hr. 31 min. 5 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File D:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Listener Log File D:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=galapp13.bsci.bossci.com)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Status of Listener after resetting the Port number to 8080, notice the HOST = a ServerName in line:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=galapp13.bsci.bossci.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 02-JUN-2011 09:03:47
    Uptime 42 days 22 hr. 34 min. 40 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File D:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Listener Log File D:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=galapp13.bsci.bossci.com)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=galapp13.bsci.bossci.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    The parameters in LISTENER.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = galapp13.bsci.bossci.com)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)

    Hi
    Where did you find the latest WLan driver?
    Here on this Toshiba driver page you can find the latest Wlan driver:
    http://aps2.toshiba-tro.de/wlan/
    I recommend uninstalling firstly the old driver and then to install the newer version.
    Furthermore its necessary to update the BIOS. I read in the forum that similar issues could be solved by BIOS update.
    Greets

  • ODBC connection to Oracle 7 will not reset

    We are using Oracle JDBC drivers for all but one of our
    datasources which is an old Oracle 7 database. The ODBC connection
    to this database will not reset when the database is bounced or the
    database server is rebooted. We have to restart the ODBC service to
    reset the connection. Is there another way to do this automatically
    or perhaps another driver out there we can use? We are running
    ColdFusion MX 6.1 Enterprise.

    Wow, I can't believe that you are still using Oracle 7. In
    fact, unless you are on 7.3.4 you aren’t even Y2K compliant.
    Of course, I'm not even sure if there is an upgrade path from 7.x
    to 10g, but I would consider migrating off of 7 to anything else.
    Otherwise, you are going to have more and more compatibility
    problems. In fact, you can no longer even get ODBC drivers from
    Oracle for versions older than 9i.
    Good luck.
    Phil

Maybe you are looking for

  • Cannot upload because all the playlists that are selected..

    Can someone please help me!! What does it mean when i plug my ipod in.. and it says "Cannot update because all of the playlists selected for updating no longer exisit..? Even though I have all my playlists on the side and everything? I DONT GET IT ..

  • Hard drive failure, new hard drive won't boot

    Toshiba Satellite A665 I bought this laptop 14 months ago, last month the laptop refused to boot. It would say: Isolinux disk error 05, ax4250, drive 9f Boot failed Often times on boot it would just show the black screen with a blinking underscore. I

  • My itunes wont work I just installed some new update and now it wont even come up, I click the Itunes icon and nothing happens

    my itunes wont work I just installed some new update and now it wont even come up, I click the Itunes icon and nothing happens. Please help me I've tried uninstalling it and downloading it again but that didnt help :/

  • Question about Classes

    I have a question concerning classes. In my main program I have a list box. I have gotten the index (using getSelectedIdex method) from the list box to use with my array. What I want to do is match the list box index with the array index to get the c

  • Multiple entries in defaultrouter ..

    I have 2 nics configure in diffrent subnets (eg; 192.168.20.80 and 192.168.21.81) . I have created 2 zones for each ip. the global zone is configured for the 192.168.20.0/24 network. From the zone1 with 192.168.20.80 address works fine no issues. Fro