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

在使用 VS2010 進(jìn)行調(diào)試時(shí),使用 SQL CLR 存儲(chǔ)過程使

Consuming web-service using SQL CLR stored procedure not find default endpoint while debugging with VS2010(在使用 VS2010 進(jìn)行調(diào)試時(shí),使用 SQL CLR 存儲(chǔ)過程使用 Web 服務(wù)找不到默認(rèn)端點(diǎn)) - IT屋-程序員軟件開發(fā)技術(shù)
本文介紹了在使用 VS2010 進(jìn)行調(diào)試時(shí),使用 SQL CLR 存儲(chǔ)過程使用 Web 服務(wù)找不到默認(rèn)端點(diǎn)的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

限時(shí)送ChatGPT賬號(hào)..

我們開發(fā)了調(diào)用 Web 服務(wù)方法的 SQL CLR 存儲(chǔ)過程.我們使用VS2010來開發(fā)和調(diào)試這個(gè)項(xiàng)目.問題是當(dāng)我們嘗試啟動(dòng)調(diào)用存儲(chǔ)過程的測試腳本時(shí)出現(xiàn)以下異常:

We develop SQL CLR stored procedure which calls methods of a web-service. We use VS2010 to develop and debug this project. The problem is the following exception when we try to start test script which calls our stored procedure:

A .NET Framework error occurred during execution of user-defined routine or aggregate
"WebServiceExample": 
System.InvalidOperationException: Could not find default endpoint element that
references  contract 'ServiceReference1.ExRatesSoap' in the ServiceModel client
configuration section.  This might be because no configuration file was found for your
application, or because no  endpoint element matching this contract could be found in
the client element.
System.InvalidOperationException:
...

在使用 wsdl.exe 和 sgen.exe 實(shí)用程序以及其他操作的網(wǎng)絡(luò)中,有一些關(guān)于此問題的建議.但是我們對(duì)只使用VS2010工具、設(shè)置、選項(xiàng)等的解決方案感興趣.VS2010不能從頭到尾做這個(gè)餡餅似乎令人難以置信,我們認(rèn)為我們做錯(cuò)了什么.

There are some recomendations regarding this problem in the Net which use wsdl.exe and sgen.exe utilities along with another manipulations. But we are interested in solution which utilizes only VS2010 tools, settings, options, etc. It's seemed unbeleivable that VS2010 can't cook this pie from beginning to end, we think we are doing something wrong.

推薦答案

您可能需要在配置文件中手動(dòng)創(chuàng)建對(duì) Web 服務(wù)的引用,例如sqlserver.exe.config 它是從 SQL Server 調(diào)用的.這些不是為 SQL CLR 自動(dòng)創(chuàng)建的,因?yàn)樗?SQL Server 執(zhí)行.

You may have to manually create the reference to the web service in a config file, e.g. sqlserver.exe.config where it is invoked from SQL Server. Those aren't created automatically for SQL CLR since it is executed by SQL Server.

這篇關(guān)于在使用 VS2010 進(jìn)行調(diào)試時(shí),使用 SQL CLR 存儲(chǔ)過程使用 Web 服務(wù)找不到默認(rèn)端點(diǎn)的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

相關(guān)文檔推薦

What SQL Server Datatype Should I Use To Store A Byte[](我應(yīng)該使用什么 SQL Server 數(shù)據(jù)類型來存儲(chǔ)字節(jié) [])
Interpreting type codes in sys.objects in SQL Server(解釋 SQL Server 中 sys.objects 中的類型代碼)
Typeorm .loadRelationCountAndMap returns zeros(Typeorm .loadRelationCountAndMap 返回零)
MS SQL: Should ISDATE() Return quot;1quot; when Cannot Cast as Date?(MS SQL:ISDATE() 是否應(yīng)該返回“1?什么時(shí)候不能投射為日期?)
Converting the name of a day to its integer representation(將一天的名稱轉(zhuǎn)換為其整數(shù)表示)
How to convert nvarchar m/d/yy to mm/dd/yyyy in SQL Server?(如何在 SQL Server 中將 nvarchar m/d/yy 轉(zhuǎn)換為 mm/dd/yyyy?)
主站蜘蛛池模板: 欧美视频 亚洲视频 | 欧美日韩国产中文字幕 | 精品国产精品国产偷麻豆 | 男人天堂av网 | 7777精品伊人久久精品影视 | 狠狠躁天天躁夜夜躁婷婷老牛影视 | 91精品国产91久久久久久最新 | 91视频进入 | 欧美一区2区三区4区公司二百 | 激情五月激情综合网 | 亚洲成人av在线 | 久久精品91久久久久久再现 | 精品国产一区二区国模嫣然 | 亚洲国产成人精品久久久国产成人一区 | 精品欧美一区二区三区精品久久 | 国产精品一区久久久 | 成人精品一区二区三区中文字幕 | 久久久精品一区二区三区四季av | 91精品国产91综合久久蜜臀 | 日韩欧美不卡 | 黄色毛片在线观看 | 欧美激情久久久 | 2023亚洲天堂 | 欧美xxxx黑人又粗又长 | 中文字幕一区二区三区精彩视频 | 国产欧美精品 | 国产精品久久精品 | 91视频国产区 | 午夜男人的天堂 | 久久精品一区二区三区四区 | 亚州精品天堂中文字幕 | 日韩精品一区二区在线观看 | 欧美视频二区 | 午夜婷婷激情 | 91精品国产91久久久久久 | 中文字幕av在线 | 天堂在线www | 日韩一区二区黄色片 | a毛片| 99精品久久久国产一区二区三 | 天天天插 |