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

在使用 VS2010 進行調試時,使用 SQL CLR 存儲過程使

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

問題描述

限時送ChatGPT賬號..

我們開發了調用 Web 服務方法的 SQL CLR 存儲過程.我們使用VS2010來開發和調試這個項目.問題是當我們嘗試啟動調用存儲過程的測試腳本時出現以下異常:

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 實用程序以及其他操作的網絡中,有一些關于此問題的建議.但是我們對只使用VS2010工具、設置、選項等的解決方案感興趣.VS2010不能從頭到尾做這個餡餅似乎令人難以置信,我們認為我們做錯了什么.

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.

推薦答案

您可能需要在配置文件中手動創建對 Web 服務的引用,例如sqlserver.exe.config 它是從 SQL Server 調用的.這些不是為 SQL CLR 自動創建的,因為它由 SQL Server 執行.

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.

這篇關于在使用 VS2010 進行調試時,使用 SQL CLR 存儲過程使用 Web 服務找不到默認端點的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

相關文檔推薦

What SQL Server Datatype Should I Use To Store A Byte[](我應該使用什么 SQL Server 數據類型來存儲字節 [])
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() 是否應該返回“1?什么時候不能投射為日期?)
Converting the name of a day to its integer representation(將一天的名稱轉換為其整數表示)
How to convert nvarchar m/d/yy to mm/dd/yyyy in SQL Server?(如何在 SQL Server 中將 nvarchar m/d/yy 轉換為 mm/dd/yyyy?)
主站蜘蛛池模板: 久久精品国产亚洲 | 国产激情综合五月久久 | 免费在线观看h片 | 国产一区二区三区在线看 | 欧美多人在线 | 成人片免费看 | 色播视频在线观看 | 综合久久av | 91亚洲国产成人久久精品网站 | 国产成人精品一区二区三 | 国产黄色大片 | 久久亚洲一区二区三区四区 | 一区二区三区四区av | 免费久久99精品国产婷婷六月 | 污视频在线免费观看 | www.奇米| 日韩欧美中文在线 | 国产精品一区久久久久 | 99视频在线播放 | 黄色大片网 | 草草视频在线播放 | 美女日皮网站 | 91精品国产91久久久久久最新 | 日韩欧美一区二区三区四区 | 中文二区 | 毛片免费观看 | 成人av一区 | 国产伦精品一区二区 | 精品九九 | 9191在线播放 | 黄网站免费在线 | 久久精品视频播放 | 黄色大片免费观看 | 欧美天堂 | 亚洲精品性视频 | 色99视频| 2021狠狠干| 精品网站999 | 免费一级片 | 在线观看av网站永久 | 免费看国产片在线观看 |