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

未針對(duì)數(shù)據(jù)訪問(wèn)配置 SQL Server

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

問(wèn)題描述

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

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

我將運(yùn)行 SQL 服務(wù)器默認(rèn)實(shí)例的計(jì)算機(jī)從軟件"重命名為IT".然后我運(yùn)行 sp_dropserversp_addserver 存儲(chǔ)過(guò)程來(lái)重命名實(shí)例.

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.

重新啟動(dòng) 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ùn)行我的應(yīng)用程序并通過(guò) ADO 記錄集讀取記錄.但是我無(wú)法使用 .Update 方法更新任何記錄集.我收到以下錯(cuò)誤... SQL Server 未配置數(shù)據(jù)訪問(wèn)

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í)例上啟用數(shù)據(jù)訪問(wèn)?

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

推薦答案

如何:重命名承載 SQL Server 2005 獨(dú)立實(shí)例的計(jì)算機(jī)

您應(yīng)該能夠在任何鏈接服務(wù)器上運(yùn)行它,但不能.它不是鏈接服務(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)于未針對(duì)數(shù)據(jù)訪問(wèn)配置 SQL Server的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

相關(guān)文檔推薦

Sql server table usage statistics(Sql server 表使用情況統(tǒng)計(jì))
Relative path in t sql?(t sql中的相對(duì)路徑?)
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 語(yǔ)句)
Table vs Temp Table Performance(表與臨時(shí)表性能)
主站蜘蛛池模板: 久久精品欧美一区二区三区麻豆 | 91麻豆精品国产91久久久更新资源速度超快 | 日韩欧美在线观看视频 | 精品免费国产一区二区三区四区介绍 | 色综合久| 中文字幕 亚洲一区 | 久久久久九九九女人毛片 | 最新超碰 | 亚洲日本免费 | 亚洲精品一区二区三区中文字幕 | 中文字幕免费 | 国产伦精品一区二区三区照片91 | 亚洲激情在线观看 | 97精品超碰一区二区三区 | 亚洲午夜精品一区二区三区他趣 | 青青伊人久久 | 男人天堂999 | 黄色免费网站在线看 | 黄色一级电影免费观看 | 久草网在线视频 | 色视频成人在线观看免 | 91精品久久| 欧美一区二区另类 | 91在线精品一区二区 | 久操av在线 | 日韩aⅴ片| .国产精品成人自产拍在线观看6 | 国产99视频精品免费视频7 | 亚洲午夜av久久乱码 | 日韩一区二区三区在线 | 国产成人99久久亚洲综合精品 | 亚洲在线一区 | 玩丰满女领导对白露脸hd | 视频一区二区在线观看 | 欧美成人手机在线 | 男女下面一进一出网站 | 精品www | 午夜精品一区二区三区在线视频 | 欧美一级免费片 | 免费黄色a视频 | 中文字幕免费中文 |