Bing mapping API from SQL Server

I am trying to call Bing Mapping API from our SQL 2012 Server.  I started using this code:

It does not seem to work anymore. I am getting the same .net errors that the other people are having.  It seems that the DLL may not execute properly.  When I manually call the constructed string from the server, I get the results.  I even hard coded the working URL strings into the C# but when called, the Dll returns only an error.

Does anyone know of a good library or code to call BING's API to lookup and calculate driving distance between points?  I am not 100% set on Bing, but do need to do it via SQL.
egarrisonCEO / CTOAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vitor MontalvãoMSSQL Senior EngineerCommented:
Microsoft Development and Miscellaneous Programming topics added.
egarrisonCEO / CTOAuthor Commented:
Secondary question then.  What is the best way to call WebServices via TSQL?

Calling SOAP / XML from Bing.
Vitor MontalvãoMSSQL Senior EngineerCommented:
Since SQL Server 2005 that you can do that using Common Language Programming (CLR). I'm not expert in CLR but I think this article is a good start for you.

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
egarrisonCEO / CTOAuthor Commented:
working on a new CLR / DLL to bing. That is where I started off and guess how I need to do it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.