...and everything in between RSS 2.0
# Monday, September 22, 2008

Had a strange error appear last week when using the WCF LOB Adapter for Oracle and spent an hour of my life I will never get back. When attempting to connect to an Oracle DB we kept getting the following error:

ORA-12154: TNS:could not resolve the connect identifier specified

This occurred when we:

  1. Tried to generate metadata in our BizTalk project using the Add Generated Items wizard.
  2. Tried to generate metadata in a Class Library project using the Add Adapter Service Reference wizard.
  3. Connect to an Oracle DB using the Oracle Explorer.

We had all the latest versions/patches of the Oracle client and WCF LOB Adapter (Oh, yeah. Thanks Oracle for packaging patches in easy to consume 1GB downloads...love your work!!)

We could however, connect to Oracle using the Oracle SQL Developer Tool. So we knew something was happening (or not happening inside of VS).

It turns out the issue relates to the install directory of VS2005. In our case it was

C:\Program Files (x86)\...

This triggers an *undocumented feature* in the Oracle Data Provider for .Net (ODP.NET) so that applications with a parenthesis in their (exe) path fail to connect to the server.

The solution was to uninstall VS2005 and reinstall using a different install directory *one that did not have (x86) in it*.

smile_confused ... I know, I did not want to believe it either, but if you want to save yourself time and hair try this solution first.

Monday, September 22, 2008 11:31:09 PM (AUS Eastern Standard Time, UTC+10:00)  #    - Trackback
BizTalk General | WCF LOB Adapters
Tracked by:
"http://www.google.com/search?q=nmsdojol" (http://www.google.com/search?q=nmsdoj... [Pingback]
"http://www.obu.edu/www06/news/story.asp?ID=2852" (http://www.obu.edu/www06/news... [Pingback]
"http://uaonline.ua.pt/detail.asp?c=15996" (http://uaonline.ua.pt/detail.asp?c=1... [Pingback]
"http://www.ujmv.edu/movil/asp/Cursos/curso_Basico.asp?cod=83" (http://www.ujmv.... [Pingback]
"http://jhmmi.jhsph.edu/malaria/calendar/event_detail_info.cfm?event_id=134" (ht... [Pingback]
"http://jhmmi.jhsph.edu/malaria/calendar/event_detail_info.cfm?event_id=113" (ht... [Pingback]
"http://carter.tennessee.edu/calendar/showCalendar.asp?entryNo=29352" (http://ca... [Pingback]
"http://carter.tennessee.edu/calendar/showCalendar.asp?entryNo=29356" (http://ca... [Pingback]
"http://greene.tennessee.edu/calendar/showCalendar.asp?entryNo=29401" (http://gr... [Pingback]
"http://greene.tennessee.edu/calendar/showCalendar.asp?entryNo=29403" (http://gr... [Pingback]
"http://bradley.tennessee.edu/calendar/showCalendar.asp?entryNo=29409" (http://b... [Pingback]
"http://robertson.tennessee.edu/news/showArticle.asp?id=3779" (http://robertson.... [Pingback]
"http://cheatham.tennessee.edu/calendar/showCalendar.asp?entryNo=29484" (http://... [Pingback]
"http://hamblen.tennessee.edu/calendar/showCalendar.asp?entryNo=29658" (http://h... [Pingback]
"http://www.google.com/search?q=cqfoezgp" (http://www.google.com/search?q=cqfoez... [Pingback]
"http://french.islamtoday.net/show_quest_french.cfm?Qa_ID=4648" (http://french.i... [Pingback]
"http://www.volkswagen.com.br/vwbrasil/sala/press/release.asp?r=453" (http://www... [Pingback]
"http://www.iag.puc-rio.br/mba/ementa.cfm?id=354" (http://www.iag.puc-rio.br/mba... [Pingback]
"http://www.iag.puc-rio.br/mba/ementa.cfm?id=373" (http://www.iag.puc-rio.br/mba... [Pingback]
"http://www.google.com/search?q=gulziexo" (http://www.google.com/search?q=gulzie... [Pingback]
"http://www.legis.state.wv.us/News_release/newsrelease_RecordView1.cfm?RecordID=... [Pingback]
"http://www.legis.state.wv.us/News_release/newsrelease_RecordView1.cfm?RecordID=... [Pingback]
"http://www.google.com/search?q=tnahkdmk" (http://www.google.com/search?q=tnahkd... [Pingback]
"http://163.1010job.com/job_seeker/pos_view_multi.asp?id=969860423" (http://163.... [Pingback]
"http://www.landolakes.com/tips/ShowTool.cfm?ToolID=838672659" (http://www.lando... [Pingback]
"http://www.landolakes.com/tips/ShowTool.cfm?ToolID=578398370" (http://www.lando... [Pingback]
"http://www.tarladalal.com/recipe.asp?id=277710309" (http://www.tarladalal.com/r... [Pingback]
"http://www.tarladalal.com/recipe.asp?id=965193244" (http://www.tarladalal.com/r... [Pingback]
"http://www3.westminster.gov.uk/childrensactivities/kidseventsearch_detail.cfm?e... [Pingback]
"http://www.asianetglobal.com/ShowNews.aspx?NwsID=3947" (http://www.asianetgloba... [Pingback]
"http://www.google.com/search?q=hkudmron" (http://www.google.com/search?q=hkudmr... [Pingback]
"http://www.cemig.com.br/cemig2008//content/aplicativos/descricao.asp?codigo=807... [Pingback]
"http://www.cemig.com.br/cemig2008//content/aplicativos/descricao.asp?codigo=831... [Pingback]
"http://cademp.fgv.br/curso_detalhe.asp?idCurso=769552269" (http://cademp.fgv.br... [Pingback]
"http://www.oriadis.afpa.fr/accessible/explorer/generalite.asp?code=992174466" (... [Pingback]
"http://www.sifycorp.com/scripts/press/content.asp?PressId=691328616" (http://ww... [Pingback]
"http://www.sifycorp.com/scripts/press/content.asp?PressId=514521869" (http://ww... [Pingback]
"http://www.rwc.cgiar.org/rwc/news_det.asp?id=rnqmbmyf" (http://www.rwc.cgiar.or... [Pingback]
"http://www.rwc.cgiar.org/rwc/news_det.asp?id=gnddqvcg" (http://www.rwc.cgiar.or... [Pingback]
"http://www.tvsa.co.za/actorprofile.asp?actorid=10708" (http://www.tvsa.co.za/ac... [Pingback]
"http://www.rwc.cgiar.org/rwc/news_det.asp?id=rxauiktj" (http://www.rwc.cgiar.or... [Pingback]
"http://www.nationalbank.kz/document/?docid=3505" (http://www.nationalbank.kz/do... [Pingback]
"http://www.universitysport.ca/e/story_detail0401.cfm?id=750703749" (http://www.... [Pingback]
"http://www.nu.edu.pk/Newsdetails.aspx?nid=272" (http://www.nu.edu.pk/Newsdetail... [Pingback]
"http://www.nu.edu.pk/NewsDetails.aspx?nid=247" (http://www.nu.edu.pk/NewsDetail... [Pingback]
"http://www.mdurohtak.com/Site/FacultyDetails.aspx?fc=918797171" (http://www.mdu... [Pingback]
"http://www.eletropaulo.com.br/portal/imprensa/?idConteudo=910122040" (http://ww... [Pingback]
"http://www.eletropaulo.com.br/portal/imprensa/?idConteudo=965796599" (http://ww... [Pingback]
"http://www.google.com/search?q=godbslrg" (http://www.google.com/search?q=godbsl... [Pingback]
"http://www.google.com/search?q=cdxzmnsj" (http://www.google.com/search?q=cdxzmn... [Pingback]
"http://www.stmc.qld.edu.au/showitem.asp?pid=7945" (http://www.stmc.qld.edu.au/s... [Pingback]
"http://www.stmc.qld.edu.au/showitem.asp?pid=7957" (http://www.stmc.qld.edu.au/s... [Pingback]
"http://www.kmworld.com/Authors/AuthorDetails.aspx?AuthorID=3961" (http://www.km... [Pingback]
"http://www.seir.pa.gov.br/agenda/agenda.asp?id_age=201" (http://www.seir.pa.gov... [Pingback]
"http://www.unep-wcmc.org/GRAMED/viewRecord.cfm?AssID=844926369" (http://www.une... [Pingback]
"http://www.unep-wcmc.org/GRAMED/viewRecord.cfm?AssID=709028995" (http://www.une... [Pingback]
"http://www.homepower.com/resources/jobs/details/?job_id=308" (http://www.homepo... [Pingback]
"http://www.cda-adc.ca/store/shopexd.asp?id=85" (http://www.cda-adc.ca/store/sho... [Pingback]
"http://websiteofthestate.interactiveinfonet.info/state-web/state-of-louisiana-w... [Pingback]
"http://basketballgoal.interactiveinfonet.info/mounted-basketball/nerf-basketbal... [Pingback]
Navigation
Archive
<September 2008>
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012
Breeze
Sign In
Statistics
Total Posts: 44
This Year: 1
This Month: 0
This Week: 0
Comments: 182
Themes
Pick a theme:
All Content © 2012, Breeze
DasBlog theme 'Business' created by Christoph De Baene (delarou)