久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

未針對數(shù)據(jù)訪問配置 SQL Server

SQL Server not configured for data access(未針對數(shù)據(jù)訪問配置 SQL Server)
本文介紹了未針對數(shù)據(jù)訪問配置 SQL Server的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我正在從 VB 6 應(yīng)用程序運行 SQL Server 2005 數(shù)據(jù)庫.我連接到數(shù)據(jù)庫通過 ODBC DSN.

I'm running a SQL Server 2005 database from a VB 6 Application. I connect to the database through an ODBC DSN.

我將運行 SQL 服務(wù)器默認實例的計算機從軟件"重命名為IT".然后我運行 sp_dropserversp_addserver 存儲過程來重命名實例.

I renamed the computer on which I'm running the default instance of SQL server from 'Software' to 'IT'. I then ran the sp_dropserver and sp_addserver stored procedures to rename the instance.

重新啟動 SQL Server 服務(wù)后,服務(wù)器能夠使用新的 SQL Server 名稱.

On restarting the SQL Server service, the server was able to pick up on the new SQL Server name.

將ODBC數(shù)據(jù)源名稱配置為新名稱后,連接正常.我能夠運行我的應(yīng)用程序并通過 ADO 記錄集讀取記錄.但是我無法使用 .Update 方法更新任何記錄集.我收到以下錯誤... SQL Server 未配置數(shù)據(jù)訪問

After configuring the ODBC data source name to the new name, the connection was Ok. I'm able to run my application and read records through ADO record sets. However I'm unable to update any recordset using the .Update method. I get the following error instead ... SQL Server not configured for data access

如何在重命名的服務(wù)器實例上啟用數(shù)據(jù)訪問?

How can I enable data access on the renamed server instance?

推薦答案

如何:重命名承載 SQL Server 2005 獨立實例的計算機

您應(yīng)該能夠在任何鏈接服務(wù)器上運行它,但不能.它不是鏈接服務(wù)器.這是本地的.

You should be able to run this but not against any linked server. It's not a linked server. It's local.

EXEC sp_serveroption 'YourServer', 'DATA ACCESS', TRUE

這篇關(guān)于未針對數(shù)據(jù)訪問配置 SQL Server的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Sql server table usage statistics(Sql server 表使用情況統(tǒng)計)
Relative path in t sql?(t sql中的相對路徑?)
Getting the last record in SQL in WHERE condition(在 WHERE 條件下獲取 SQL 中的最后一條記錄)
Query to get XML output for hierarchical data using FOR XML PATH in SQL Server(在 SQL Server 中使用 FOR XML PATH 查詢以獲取分層數(shù)據(jù)的 XML 輸出)
T-SQL IF statement embedded in a sum() function(嵌入在 sum() 函數(shù)中的 T-SQL IF 語句)
Table vs Temp Table Performance(表與臨時表性能)
主站蜘蛛池模板: 成人综合久久 | 久久久久久一区 | 久久99精品国产自在现线小黄鸭 | 日本高清不卡视频 | 免费av在线网站 | av一二三四| 日韩91| 在线观看视频中文字幕 | 神马影院一区二区三区 | 午夜影院视频在线观看 | 青草福利 | 国产精品久久欧美久久一区 | 91就要激情 | 嫩草视频在线免费观看 | 精品91久久 | 91porn在线 | 国产精品欧美一区喷水 | 蜜桃视频成人 | 亚洲狠狠 | 亚洲第一在线 | 亚欧洲精品在线视频免费观看 | 视频精品一区二区三区 | 精品国产一区二区三区性色av | 国产一区二区精品自拍 | 久久色视频 | 91av导航| 亚洲精品电影网在线观看 | 亚洲国产成人精品久久久国产成人一区 | 国产免费一区 | 欧美专区日韩专区 | 成年人黄色一级毛片 | 伊人伊成久久人综合网站 | 久久男女视频 | 欧美色综合一区二区三区 | 成人精品一区二区三区四区 | 在线亚洲欧美 | 91精品国产乱码麻豆白嫩 | 亚洲播放一区 | 免费在线观看一区二区 | 亚洲美女在线一区 | 日本免费一区二区三区四区 |