2016-08-12 126 views
0

背景:我真的很新。適用於PowerCenter Express的Informatica Developer版本:9.6.1 HotFix 2informatica powercenter sql server連接問題

我試圖連接到sql server 2012數據庫。我創建了這個連接 ,基本上只是改變了服務器,數據庫連接字符串中的元數據訪問和數據訪問。我已經測試了我可以使用用戶名密碼訪問sql server management studio中的sql server。當我點擊測試它報告成功。 enter image description here

但是,當我創建一個基於地圖和該連接上的物理對象(讀),當我嘗試在該對象上的數據來看,它會報告這個錯誤:

[LDTMCMN_0029] message [com.informatica.sdk.dtm.ExecutionException: [LDTM_0072] RR_4036 Error connecting to database [ 
    Microsoft SQL Server Native Client 11.0: Login timeout expired 
    SQL State: HYT00 Native Error: 0 

    Microsoft SQL Server Native Client 11.0: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. 
    SQL State: 08001 Native Error: 87 

    Microsoft SQL Server Native Client 11.0: SQL Server Network Interfaces: Connection string is not valid [87]. 
    SQL State: 08001 Native Error: 87 
    State: 1 Severity: 16 
    SQL Server Message: SQL Server Network Interfaces: Connection string is not valid [87]. 


    Database driver error... 
    Function Name : Connect 
    Database Error: Failed to connect to database using user [bcsgetl] and connection string [192.168.100.88:1433].].] 

有一點要注意,當我創建該物理對象時,我使用了該連接,並且可以選擇一個表來證明連接成功。

回答

0

從錯誤消息「連接字符串無效」。

對於本地SQL Server的連接工作,而爲其提供

你可以嘗試用ODBC協議的連接,而是作爲的PowerCenter,它需要建立在Windows Server上的ODBC 64位的連接2012,對於開發人員和PowerCenter Express,我發現它仍然需要ODBC,但是需要本地機器。

按照此步驟:

- 啓動使用位於

C中的odbcad32.exe的文件ODBC管理器:\ WINDOWS \ Syswow64資料目錄。

- 在用戶下創建新的ODBC SQL數據源,並確保不要在名稱中使用空格。

-Restart Developer Client。

- 在Developer Client中創建一個包含參數的ODBC連接。

請確保將「Connection String」用作本地計算機上用於ODBC源的相同字符串。

所以,如果你把它叫做「SQL_Local」那是你的連接字符串

+0

而是一個長的答案,你應該把一個單一的評論與建議... –

+0

我沒有評論,因爲我不允許。我把「建議」這個詞,但實際上我發佈了什麼爲我工作,而不僅僅是一個建議 –