久久久久久久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?)
主站蜘蛛池模板: 久久91精品国产一区二区 | 国产精品国产成人国产三级 | av中文字幕网 | 国产午夜精品一区二区三区四区 | 久久久精品综合 | 亚洲欧美一区二区三区视频 | 午夜免费福利电影 | 97av视频在线观看 | 超碰在线97国产 | 亚洲 中文 欧美 日韩 在线观看 | 欧美日韩一区二区在线观看 | 中文字幕成人免费视频 | 中文字幕亚洲专区 | 国产成年人小视频 | www日韩| 美日韩免费视频 | 精品视频一区二区在线观看 | 精品亚洲一区二区三区 | 午夜影院免费体验区 | 欧美一二区| 欧美在线一区二区视频 | 天天看天天操 | 狠狠躁天天躁夜夜躁婷婷老牛影视 | 亚洲视频在线看 | 一区二区三区四区国产精品 | 欧美在线视频网 | 精品国产一区二区三区性色av | 国产精品无码专区在线观看 | 黄色一级免费 | 搞av.com| 久久精品国产清自在天天线 | 久久亚洲精品久久国产一区二区 | 麻豆av电影网 | 欧美亚洲第一区 | 一区二区三区免费在线观看 | 欧美天堂在线观看 | 久草www| 91精品国产高清一区二区三区 | 狠狠躁18三区二区一区 | 国产成视频在线观看 | 亚洲成年在线 |