Can't connect to external MS SQL server

I have two primaries and an external db. The two primaries were updated from 11.2.3 to 11.3. Everything is working great and the upgrade was successful.
My database runs on an external MS SQL server. It hosts both the zcm database and the audit database.
When I installed ZRS 5 I pointed it at one of my primaries. The install says it was successful and it appears to have successful pulled in my configuration for both zcm and zcm_audit to /opt/novell/zenworks-reporting/conf/zrs-configuration.xml.
I can log in to ZRS 5. When I try to create a report or run an existing report from the library I always get a connection error. It definitely looks like it can not connect to my external MS SQL db. I cranked all of the logging under Server Settings to DEBUG but I can not seem to find the logs.
I also tried following the Cool Solution using the downloaded zip and pointed it at my external db. It would not connect either. I know the username and password is correct and I tried the username in different styles: username@server, server\username, username. The only thing I can think of is my sql password for both of my users contains an extended character ! and =.
Any help as to where to look or what might be the issue is greatly appreciated.
Thanks in advance,
Jeff

I'm not sure, but I may recall hearing that it requires SQL Server Auth
Credentials.
Again I'm only about 51% sure here.
"jcrawfor" wrote in message news:[email protected]..
I have two primaries and an external db. The two primaries were updated
from 11.2.3 to 11.3. Everything is working great and the upgrade was
successful.
My database runs on an external MS SQL server. It hosts both the zcm
database and the audit database.
When I installed ZRS 5 I pointed it at one of my primaries. The install
says it was successful and it appears to have successful pulled in my
configuration for both zcm and zcm_audit to
/opt/novell/zenworks-reporting/conf/zrs-configuration.xml.
I can log in to ZRS 5. When I try to create a report or run an existing
report from the library I always get a connection error. It definitely
looks like it can not connect to my external MS SQL db. I cranked all
of the logging under Server Settings to DEBUG but I can not seem to find
the logs.
I also tried following the Cool Solution using the downloaded zip and
pointed it at my external db. It would not connect either. I know the
username and password is correct and I tried the username in different
styles: username@server, server\username, username. The only thing I
can think of is my sql password for both of my users contains an
extended character ! and =.
Any help as to where to look or what might be the issue is greatly
appreciated.
Thanks in advance,
Jeff
jcrawfor
jcrawfor's Profile: https://forums.novell.com/member.php?userid=3343
View this thread: https://forums.novell.com/showthread.php?t=476344

Similar Messages

  • How can I connect to Oracle and SQL server at the same time?

    I have been trying to find a way to connect to Oracle Database through the developer 2000 and SQL server at the same time. I need to return some data from Oracle Database and some from the Sql Server Database. And update both through SQL. I find there is such a thing as the Oracle Transparent Gateway for SQL server. I can't find it on any of my CD's or through OTN downloadable files. If anyone can point me where to get this. Or tell of another way this can be accomplished I would appreciate it. TIA.
    [email protected]

    I have been trying to find a way to connect to Oracle Database through the developer 2000 and SQL server at the same time. I need to return some data from Oracle Database and some from the Sql Server Database. And update both through SQL. I find there is such a thing as the Oracle Transparent Gateway for SQL server. I can't find it on any of my CD's or through OTN downloadable files. If anyone can point me where to get this. Or tell of another way this can be accomplished I would appreciate it. TIA.
    [email protected]
    As far as I know you have 3 options depending on your specifications. I don't think option #3 will work if you need to actually join a
    SQL Server table to an Oracle table.
    1. Oracle Transparent Gateway. I haven't used the Oracle Transparent Gateway but my understanding is that Oracle gateways are
    separate purchased products from Oracle. I've never seen any free/development versions of it anywhere. You'll need to contact
    your Oracle sales rep about it.
    2. Heterogeneous Connectivity. There's something called Heterogeneous Connectivity that could work for you - depends on what
    version of Oracle you're on and what OS. You basically set up an ODBC data source on the Oracle server and modify the listener.ora
    and tnsnames.ora files. You can then create a database link to SQL Server just like you would to any other Oracle database. You can
    check your Oracle documentation for how this works. There's also some very good documents on Metalink that tell you how to do this
    as well as a Heterogeneous Connectivity forum on this site.
    3. Use the exec_sql package available in Developer 2000. This allows you to open and execute cursors to remote databases within
    Developer. We have an account validation process that uses this - when a person enters an account number in a form while logged
    into Oracle it validates the account is valid in our main accounting DB2 database. We also pull HR information from DB2 into Oracle
    this way. If you're using Forms 6i exec_sql is a built-in command, in Forms 5.0 and 5.5 you have to add it as an attached library to
    the form. I think you also need the OCA options installed from the Developer software to have access to the library in Forms 5.0 and
    5.5. The library will be in the $ORACLE_HOME\oca20\plsqllib directory for these versions. The Developer documentation should have
    additional information.
    HTH

  • Can't connect Azure Database in SQL Server

    Hi,
    I completed setting up the database and server on Azure, but when i tried to connect it using SQL Server 2012. I got an error.
    TITLE: Connect to Server
    Cannot connect to tcp:*******.database.windows.net,1433.
    ADDITIONAL INFORMATION:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=10061&LinkId=20476
    No connection could be made because the target machine actively refused it
    My IP was already added in Azure.
    I also checked that the TCP/IP was enabled on Configuration Manager.
    Any thoughts?
    Thanks!!

    Hi Aaron,
    If you are trying to manage your database through SSMS - make sure that the TCP/IP protocol is enabled.
    1) SQL server configuration manager
    2) In 'SQL server Network configuration'
    3) Enable TCP/IP
    Also try connecting your database through the web based sql azure management studio.
    http://msdn.microsoft.com/en-us/library/azure/ee336282.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/2151.azure-and-sql-database-tutorials-tutorial-2-using-sql-database.aspx
    Girish Prajwal

  • How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview.

    How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview. Please anyone help me.
    I'm using this code:
    Public Class McheckpaymentNew
    Private cn As New ADODB.Connection
    Private rs As New ADODB.Recordset
    Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Try
    cn.ConnectionString = "DSN=database; UID=user; PWD=password"
    cn.Open()
    rs.CursorLocation = ADODB.CursorLocationEnum.adUseClient
    rs.CursorType = ADODB.CursorTypeEnum.adOpenStatic
    rs.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
    Catch ex As Exception
    MsgBox("Failed to Connect!, Please check your Network Connections, or Contact MIS Dept. for assistance.", vbCritical, "Error while Connecting to Database.."
    End
    End Try
    End Sub
    End Class

    How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview. Please anyone help me.
    I'm using this code:
    Public Class McheckpaymentNew
    Private cn As New ADODB.Connection
    Private rs As New ADODB.Recordset
    Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Try
    cn.ConnectionString = "DSN=database; UID=user; PWD=password"
    cn.Open()
    rs.CursorLocation = ADODB.CursorLocationEnum.adUseClient
    rs.CursorType = ADODB.CursorTypeEnum.adOpenStatic
    rs.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
    Catch ex As Exception
    MsgBox("Failed to Connect!, Please check your Network Connections, or Contact MIS Dept. for assistance.", vbCritical, "Error while Connecting to Database.."
    End
    End Try
    End Sub
    End Class

  • PI Server Port to connect to an external MS SQL Server over jdbc

    Hi All,
    I need to connect to an MS SQL server from my PI Server but this SQL server is lying outside our company network.
    To enable the connectivity, I have asked the IT Team to establish a VPN connectivity.
    The IT team is asking for the port that need to be opened on the PI server to enable this connectivity.
    Can you please tell me that which port on the PI server should be opened for this?
    regards,
    Piyush

    Hi
      Whether if you use Sender or Receiver communication channel, SAP PI always open the connection to remote server. That is, SAP PI is always the component client, therefore the only thing you should to open is the MS SLQ port.
    Regards
    Ivá

  • Error while trying to connect to a remote SQL Server DB using multiconnect

    As part of our business process, we need to connect to a SQL Server DB external to SAP.
    We have done the following:
    1. We set up an ODBC connection on our SAP sandbox server to the external SQL server DB. 
    Name: sdsdev
    Connection string: sdsdev\sqlexpress2008
    2. We tested the ODBC connection from within ODBC and it works perfectly
    3. Using transaction: DBCO we have set up a DB connection known to SAP that we can use in ABAP to retrieve the data.
        It was set up with exactly the same parameters as with the ODBC.
        We used the following connection string so it would know to use the ODBC DBSL profile parameters, with the DSN name  
    being the same as defined in the ODBC:  See below ...
        DB connection: AR_INTERFACE
        DBMS: MSS
        User Name: ARTransfer
        Password: ******
        Conn info: MSSQL_DSN=sdsdev
    4. We also made sure we installed the DBSL dynamic library (DLL) on the R/3 system server.
    5. We ran a small test program to test connectivity ... as below ...
         exec sql .
             connect to 'AR_INTERFACE'
         end exec.
         right after the above command we check the system log for status.  It failed with the following message:
    B Wed Feb 09 14:40:40 2011
    B Connect to AR_INTERFACE as ARTransfer with MSSQL_DSN=sdsdev
    MSSQL_DBNAME=ARTransfer
    C Thread ID:3900
    C dbmssslib.dll patch info
    C patchlevel 0
    C patchno 118
    C patchcomment Problems with the use of literals in non-unicode
    systems (1524929)
    C np:(local) connection used on SAPS101B
    C OpenOledbConnection : CoCreateInstance failed. rc: 8007007e.
    C failed to establish conn to np:(local).
    C Retrying without protocol specifier: (local)
    C OpenOledbConnection : CoCreateInstance failed. rc: 8007007e.
    C failed to establish conn. 0
    B ***LOG BY2=> sql error -1 performing CON [dbds#2 @
    1056] [dbds 1056 ]
    B ***LOG BY0=> <message text not available> [dbds#2 @ 1056] [dbds
    1056 ]
    The connection failed !
    We used all of the information found in OSS Notes we could find.
    Has anyone had this problem before ?  Is there something obvious we are missing in all this ?
    Thank you for your assistance.

    Is this Excel or Access?  If Excel, try this.
    Sub ADOExcelSQLServer()
    ' Carl SQL Server Connection
    ' FOR THIS CODE TO WORK
    ' In VBE you need to go Tools References and check Microsoft Active X Data Objects 2.x library
    Dim Cn As ADODB.Connection
    Dim Server_Name As String
    Dim Database_Name As String
    Dim User_ID As String
    Dim Password As String
    Dim SQLStr As String
    Dim rs As ADODB.Recordset
    Set rs = New ADODB.Recordset
    Server_Name = "EXCEL-PC\EXCELDEVELOPER" ' Enter your server name here
    Database_Name = "AdventureWorksLT2012" ' Enter your database name here
    User_ID = "" ' enter your user ID here
    Password = "" ' Enter your password here
    SQLStr = "SELECT * FROM [SalesLT].[Customer]" ' Enter your SQL here
    Set Cn = New ADODB.Connection
    Cn.Open "Driver={SQL Server};Server=" & Server_Name & ";Database=" & Database_Name & _
    ";Uid=" & User_ID & ";Pwd=" & Password & ";"
    rs.Open SQLStr, Cn, adOpenStatic
    ' Dump to spreadsheet
    With Worksheets("sheet1").Range("a1:z500") ' Enter your sheet name and range here
    .ClearContents
    .CopyFromRecordset rs
    End With
    ' Tidy up
    rs.Close
    Set rs = Nothing
    Cn.Close
    Set Cn = Nothing
    End Sub
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Connectivity between SAP and SQL Server

    Hi all,
        how to take the SAP data which is in Oracle database on AIX Operating system to SQL Server database which resides in Windows for a portal?
    Can anyone help on this?  
    Regards,
    Sathya

    HEllo,
    Hi
    Please see the following:
    1. Create an entry in Trxn DBCA for SQL Server in SAP, you are creating a database connection for the SQL server in SAP.
    2. You use this connection, and write Native SQL stmnts...between EXECSQL...ENDEXEC to fetch the data..and then normal ABAP statements to put that data into your ztable.
    TABLE DBCON Entry can be like this...depends on your External database..
    CON_NAME Raj Logical name for connection
    DBMS MSS Microsoft SQL Server
    USER_NAME <User name> For SQL Server
    PASSWORD <password> " "
    CON_ENV MSSQL_SERVER=<server> MSSQL_DBNAME=<database name>
    DB_RECO Availability type for an open database connect
    FUNCTION z_houston_connect.
    *"*"Local interface:
    EXEC SQL.
    CONNECT TO 'RAJ' AS 'V'
    ENDEXEC.
    EXEC SQL.
    SET CONNECTION 'V'
    ENDEXEC.
    *- Get the data from MS-SQL Server
    EXEC SQL.
    open C1 for
    select
    l.loc_id,
    l.loc_name,
    a.acc_id,
    a.acc_name,
    d.person
    from ho_loc_mast as l
    inner join snd_acc_mast as a on l.loc_id = a.loc_id
    inner join snd_acc_addr as d on a.loc_id = d.loc_id and
    a.acc_id = d.acc_id
    where l.loc_id = '001'
    ENDEXEC.
    DO.
    EXEC SQL.
    FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_acc_id, :wa-c_acc_name, :wa-c_person
    ENDEXEC.
    IF sy-subrc = 0.
    PERFORM loop_output.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    EXEC SQL.
    CLOSE C1
    ENDEXEC.
    ENDFUNCTION.
    Regards,
    Vasanth

  • Hybrid Connection fails for Windows SQL Server 2014 - SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted

    Hello,
    I have configured BizTalk Services Hybrid Connection between Standard Azure Website and SQL Server 2014 on premise.
    Azure Management portal shows the status of Hybrid Connection as established.
    However, the website throws an error when trying to open a connection
    <
    addname="DefaultConnection"
    connectionString="Data
    Source=machine name;initial catalog=AdventureWorks2012;Uid=demouser;Password=[my password];MultipleActiveResultSets=True"
    providerName="System.Data.SqlClient"
    />
    (The same website, with the same connection string deployed on SQL Server machine works correctly).
    I tried various options with the connections sting (IP address instead of machine name, Trusted_Connection=False, Encrypt=False, etc. the result is the same
    [Win32Exception (0x80004005): The certificate chain was issued by an authority that is not trusted]
    [SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.
    I tried various machines - on premise and a clean Azure VM with SQL Server and it results in the same error - below full stack
    The certificate chain was issued by an authority that is not trusted             
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.            
    Exception Details: System.ComponentModel.Win32Exception: The certificate chain was issued by an authority that is not trusted
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.                  
    Stack Trace:
    [Win32Exception (0x80004005): The certificate chain was issued by an authority that is not trusted]
    [SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)]
    System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5341687
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +546
    System.Data.SqlClient.TdsParserStateObject.SNIWritePacket(SNIHandle handle, SNIPacket packet, UInt32& sniError, Boolean canAccumulate, Boolean callerHasConnectionLock) +5348371
    System.Data.SqlClient.TdsParserStateObject.WriteSni(Boolean canAccumulate) +91
    System.Data.SqlClient.TdsParserStateObject.WritePacket(Byte flushMode, Boolean canAccumulate) +331
    System.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData) +2109
    System.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword) +347
    System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) +238
    System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) +892
    System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) +311
    System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) +646
    System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +278
    System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +38
    System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +732
    System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +85
    System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1057
    System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
    System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +196
    System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146
    System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16
    System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +94
    System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +110
    System.Data.SqlClient.SqlConnection.Open() +96
    System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +44
    [EntityException: The underlying provider failed on Open.]
    System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +203
    System.Data.EntityClient.EntityConnection.Open() +104
    System.Data.Objects.ObjectContext.EnsureConnection() +75
    System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +41
    System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +36
    System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +369
    System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
    CloudShop.Services.ProductsRepository.GetProducts() +216
    CloudShop.Controllers.HomeController.Search(String SearchCriteria) +81
    CloudShop.Controllers.HomeController.Index() +1130
    lambda_method(Closure , ControllerBase , Object[] ) +62
    System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
    System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +193
    System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
    System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +28
    System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +10
    System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
    System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
    System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +58
    System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +225
    System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +10
    System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
    System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
    System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +23
    System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +99
    System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
    System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
    System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +14
    System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
    System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
    System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +39
    System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
    System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
    System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +29
    System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
    System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +25
    System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
    System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
    System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +31
    System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9651188
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213            
    Regards,
    Michal
    Michal Morciniec

    Same issue here, looking for more information !

  • Connection failed: SQLState:'01000' SQL Server Error:67 [Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). Connection failed: SQLState:'08001' SQL Server Error:17 [Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist o

    Help,
    setup a new sql server 2012 on a windows 2012r2 server to replace old sql server 2005 on an old windows server 2003 machine.  When i test the ODBC connection locally on the server it works fine, however when i try to connect via windows 7 client machine
    i get the following error:
    Connection failed:
    SQLState:'01000'
    SQL Server Error:67
    [Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
    (Connect()).
    Connection failed:
    SQLState:'08001'
    SQL Server Error:17
    [Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied
    I think it must be a permissions thing, I've turned off the firewall for now and still no difference, 've also made sure remote connection is enabled.  I can connect to the other sql server in studio manager on the new machine however, i can't go do
    the same in the old server, says:
    cannot connect to hbfsqlpro1\hbfsqlpro1
    Additonal information a network related or instance specifc error occured while establising a connection to SQL server.  The server was not found or was not accessible.  Verify that the instance name is correct and that SQL server is configured to
    allow remote connections. (provider:SQL Network Interfaces, error 26 - error locationg server/instance specified) (Microsoft SQL server)
    the instance is def correct, as that is what i use to connect locally on the new machine and what it comes up on the studio manager on the new machine.  STarting to pull my hair out somewhat, i'm sure it's something really simple! 

    Hello,
    You are trying to connect to a named instance. Make sure the SQL Server Browser service is started on the SQL Server computer.
    Make sure TCP/IP is enabled.
    http://msdn.microsoft.com/en-us/library/ms191294(v=sql.110).aspx
    Try to disable Windows Firewall or security software on both, SQL Server instance and client computer.
    Test basic connectivity too. Try to ping from the client computer to the SQL Server computer.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Can't add datasource for local SQL Server Express

    I can't get new datasource to connect to a local SQL Server Express (2008).
    On SSE, I enabled non-NTLM authentication, created an account specifically for CFServer, and was able to log into SQL Server through Management Studio. But the datasource still won't connect.
    When I enter computerName/SQLServerName for the Server, I get a message saying "...The requested instance is either invalid or not running."
    When I enter just SQLServerName, message says "Error establishing socket. Unknown host: SQLServerName."
    When I enter (local), I get a message saying "Error establishing socket. Unknown host: (local)"
    When I enter 127.0.0.1, message says "Error establishing socket to host and port: 127.0.0.1:1433. Reason: Connection refused: connect"
    I don't know why the first is considered invalid, or why the fourth is refusing connection. Am I forgetting something?

    I found the solution, which doesn't have to do with Coldfusion, but rather with configuring SQL Server for TCP/IP.  In case someone else ever stumbles upon this post with a similar problem, I wrote about it at http://forums.devshed.com/ms-sql-development-95/trying-to-connect-to-sql-server-on-localho st-1433t-958558.html.

  • Connecting from Oracle to SQL Server

    Hi
    I am now tring to connect from oracle to sql server using database link.
    Created database link
    but when connecting to remote db getting the floowing error
    select * from region@mysqlserverdsn
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from MYSQLSERVERDSN
    Can anyone help
    My Listener File
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc1)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL.DOMAIN.COM)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (SID_NAME = orcl)
    (SID_DESC =
    (GLOBAL_DBNAME = NORTHWIND.DOMAIN.COM)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (SID_NAME = MYSQLSERVERDSN)
    (PROGRAM=hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST=
         (ADDRESS = (PROTOCOL = TCP)(HOST = SALIHKM.DOMAIN.COM)(PORT = 1522))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    My Tnsnames Entry
    MYSQLSERVERDSN =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.xxx.xxx)(PORT=1522))
    (CONNECT_DATA=(SID=MYSQLSERVERDSN))
    (HS=OK)
    Lsnrctl is working fine.
    c:\>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 18-MAY-2006 18:53
    :13
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    System parameter file is D:\oracle\product\10.2.0\db_1\network\admin\listener.or
    a
    Log messages written to D:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SALIHKM.DOMAIN.COM)(POR
    T=1522)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SALIHKM.DOMAIN.COM)(POR
    T=1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 18-MAY-2006 18:53:16
    Uptime 0 days 0 hr. 0 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File D:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SALIHKM.DOMAIN.COM)(PORT=1522)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
    Services Summary...
    Service "NORTHWIND.DOMAIN.COM" has 1 instance(s).
    Instance "MYSQLSERVERDSN", status UNKNOWN, has 1 handler(s) for this service..
    Service "ORCL.DOMAIN.COM" has 1 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    But Tnsping show no listener
    C:\>tnsping MYSQLSERVERDSN
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 18-MAY-2
    006 18:56:27
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.xxx.xxx)(P
    ORT=1522)) (CONNECT_DATA=(SID=MYSQLSERVERDSN)) (HS=OK))
    TNS-12541: TNS:no listener
    Services
    C:\>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 18-MAY-2006 19:00
    :04
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SALIHKM.DOMAIN.COM)(POR
    T=1522)))
    Services Summary...
    Service "NORTHWIND.DOMAIN.COM" has 1 instance(s).
    Instance "MYSQLSERVERDSN", status UNKNOWN, has 1 handler(s) for this service..
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "ORCL.DOMAIN.COM" has 1 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: SALIHKM, pid: 2080>
    (ADDRESS=(PROTOCOL=tcp)(HOST=SALIHKM.DOMAIN.COM)(PORT=1070))
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    I am very much confused with this situation.
    Thanks & Regards
    Salih Km

    Hi ,
    Thanks for your reply.
    Contents of my initMYSQLSERVERDSN.ora file is
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = MYSQLSERVERDSN
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_TRACE_FILE_NAME = hsmsql.trc
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    set ODBCINI=c:\WINDOWS\ODBC.INI
    SALIHKM.DOMAIN.COM is my system in which Oracle Test DB is Installed.
    SQL Server is in another location.
    In Tnsnames i specified ip address.
    One more doubt.
    I am using 10g Release 2 demo version.
    whether it will support Hetrogeneous Services?
    How to know whether a database supports HS or not?
    Thanks & Regards
    Salih Km

  • Data modeler cannot connect to non-default sql server instance

    I've just started using DM, it installed and loaded fine, I got the jdbc drivers v2.0 from MS so that I can reverse engineer a couple of SQL-Server 2005 DB's.
    All worked just fine until I tried to connect to a machine with a named-sql-server instance.
    Normal way of doing this for sql-server is to add instance name to end of hostname in the hostname field, like this: "server10\inst01"
    but this gives me a cannot-connect-to-server10 error.
    I copied database over to a different server that has just a default sql-server instance and it worked fine. (both sql-server2005 and 2000!)
    I also tried the older 1.2 jdbc driver from MS against the sql-server 2005 named instance, no luck!
    I tried putting the instance name in front of the port number, that didn't work either.
    Am I just doing something wrong? or does DM need a special way of specifying the instance name on the sql-server host?

    Hello,
    you don't need instance name in order to connect. It's only host and port - probably named instance is not listening on default port. It'll be unfortunate if dynamic port assignment is used - but probably that won't be the case.
    I hope someone can tell you the port number.
    Philip

  • Can Reporting Services 2005 report on SQL Server 2012 database?

    We would like to upgrade our SQL Server from Standard 2005 to Enterprise/Standard 2012. Unfortunately, we also have a lot of reports based on Reporting Services 2005. If possible we would like avoid upgrading them at this time.
    Is it possible to run Reporting Services 2005 of SQL Server 2012? If yes then is there pre-requiste  like drivers  or dll or any other to connect SSRS 2005 to SQL server 2012?  
    If we run Reporting Services 2005 of SQL Server 2012  then do we will face performance lag issue due to version difference of SSRS 2005 and SQL server 2012?

    Moderators,
    Can anyone merge this -
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2c44351c-35b4-4208-a2b7-88fc810d53ff/can-reporting-services-2005-report-on-sql-server-2012-database?forum=sqlreportingservices
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • Connect Oracle 9i to SQL Server: platform incompatibility

    Hi,
    we want to connect an Oracle 9.2.0.4.0 - 64bit Production to a SQL Server.
    The Oracle DB is on a HP-UX Itanium 64bits machine.
    The SQL Server is on a WIN2000 machine.
    Our first choice to get them connected was an ODBC and HS.
    However, as far as we know, there is not HS for our platforms combination.
    We have also tried to use another Oracle BD in a WIN machine as a middle tier.
    Single queries work fine, but advance plsql blocks render in several errors (some due to db version, others to the way the oracle manager works)... so this solution also fails.
    We have read about Transparent Gateway. But since it uses HS, we are not sure our platform combination is supported. Moreover, on the whitepaper is said "stored procedures are not supported", which it is a hard backdraw.
    Any suggestion or workaround?
    Thanks in advance!
    Alberto.

    You can use TG4MSQL, the Gateway to SQL Server.
    The big advantage of the gateways is: they are independant from an Oracle db.
    This means, you can run an Oracle DB on machine A, have the gateway installed on machine B and run the foreign database on a 3rd machine!
    The TG4MSQL is only available for Windows based 32bit platforms, so in your case you can install the gateway on the SQL Server machine or -if you don't have access to it- on a 3rd machine running MS Windows operating system.

  • Connecting Oracle(64bit) to SQL Server(32bit) with heterogeneous serv ODBC

    Hi,
    We are planing the migration of 32bit Oracle 9.2.0.8 (MS Windows Server 2003 EE SP1) to 64 bit Oracle 10.2.0.4 (MS Windows Server 2003 Standard x64 Edition SP2).
    We have tested the migration using export/import procedure, and everything passed ok.
    The problem is because the database we are planning to migrate (32bit) using Oracles heterogeneous Services ODBC agent in connection to 32 bit SQL Server 2000. When we have tried to implement that on 64bit 10.2.0.4 oracle we always get the message:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    Then we looked up the metalink and find the document: Is Generic Connectivity Available On Linux Or Windows 64-bit Platforms ? [*ID 361676.1*]
    Is there any way to make the connection between 64bit Oracle 10.2.0.4 and 32bit SQL Server using system DSN within the Windows ODBC Data Sources with choosing the SQL Server driver?
    The option with Database Gateway for ODBC (DG4ODBC) isn't free.
    Thanks

    Hi everyone
    As far as I am aware, you need to install the Discoverer EUL into an Oracle database and then use an ODBC connection to SQL Server. This is because Discoverer has hooks into the Oracle database and is looking for features that only exist in an Oracle database. If you are using an Infrastructure, which is mandatory when using 4i, you can use that database to store your EUL using an ODBC connection over to SQL Server.
    I hope this helps
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

Maybe you are looking for

  • Backspace not working

    On some of my systems, when I am in SQL*Plus, the backspace does not work. There must be a setting in the login environment, that affects this. How can I fix this in the profile, without having to type in something everytime I log in ? This is on Lin

  • Limit on Query result set

    Limit on Query result set Is there anyway in Oracle9i to limit query result I.e.: we can limit query result in MySQL SELECT * FROM EMP LIMIT 2; Will return only top 2 records Thanks in advance

  • RE: APP

    Hi Experts, My client is giving advances to vendors using APP (F110) during APP user is unable to give long TEXT. system is picking up from respective field. Please let me know the behind the logic. 1) when we see line item level user wants long text

  • Regarding portion dates

    am confused between the portion dates

  • I/O Engine is SapVTIO in SAPCONSOLE coming with sapgui640?

    I have in mind to use SAP console on ECC6. On the server itself I installed sapgui(640) and SLNetRF v4.1 as telnet server. On version 4.7 I did not have any problem. Now in SAP console administrator in Control panel I have no more option "Treminal En