oracle service integrated in IronFoundry v1, push asp.net APP bind with oracle service issue.

14 views
Skip to first unread message

haxhun...@gmail.com

unread,
Dec 17, 2013, 1:22:50 AM12/17/13
to ironf...@googlegroups.com
Hi
we have asp.net APP but use oracle service, now the oracle service has been integrated in Ironfoundry v1
some part of web.config regarding data connect as following:

  <connectionStrings>
     <add name="ZTCConnection" connectionString="Data Source = ironnet;user id = iron;password = iron" providerName="System.Data.OracleClient"/>
  </connectionStrings>
 <appSettings>
    <add key="WebDAL" value="Demo.DAL"/>
 </appSettings>

after vmc push the web.config as following:

  <connectionStrings>
    <add name="ZTCConnection" connectionString="Data Source = ironnet;user id = iron;password = iron" providerName="System.Data.OracleClient" />
 </connectionStrings>
  <appSettings>
    <add key="WebDAL" value="Demo.DAL" />
    <add key="HOME" value="C:\IronFoundry\apps\ZTCDemo-0-e7127c6e46d444f1a8ae757913626e49" />
    <add key="VCAP_APPLICATION" value="{&quot;instance_id&quot;:45,&quot;instance_index&quot;:0,&quot;name&quot;:&quot;ZTCDemo&quot;,&quot;uris&quot;:[&quot;ztcdemo.vcap.me&quot;],&quot;users&quot;:[&quot;i@i&quot;],&quot;version&quot;:&quot;a3c9664734e8120415a2118f2a18e63ab83df7e9-1&quot;,&quot;runtime&quot;:&quot;aspdotnet40&quot;}" />
    <add key="VCAP_SERVICES" value="{&quot;oracle-11.2&quot;:{&quot;name&quot;:&quot;oracle-4b2f1&quot;,&quot;type&quot;:&quot;generic&quot;,&quot;label&quot;:&quot;oracle-11.2&quot;,&quot;vendor&quot;:&quot;oracle&quot;,&quot;version&quot;:&quot;11.2&quot;,&quot;tags&quot;:[&quot;Oracle&quot;,&quot;oracle-11.2&quot;,&quot;relational&quot;,&quot;oracle-11.2&quot;,&quot;oracle&quot;],&quot;plan&quot;:&quot;free&quot;,&quot;plan_option&quot;:null,&quot;credentials&quot;:{&quot;hostname&quot;:&quot;10.10.102.138&quot;,&quot;host&quot;:&quot;10.10.102.138&quot;,&quot;port&quot;:&quot;1521&quot;,&quot;name&quot;:&quot;u74cdac669ba542aa8e9276574b4fc&quot;,&quot;username&quot;:&quot;u74cdac669ba542aa8e9276574b4fc&quot;,&quot;password&quot;:&quot;p83e29d0fa3304da2955fb6a598df6&quot;}}}" />
    <add key="VCAP_APP_HOST" value="10.10.103.208" />
  </appSettings>

we want the data connection was managed by oracle service in ironfoundry, not use TNS config(Data Source = ironnet) direct。if we disable the windows local TNS the connect will lost.

how can i bind the oracle service with asp.net APP.

thanks
Reply all
Reply to author
Forward
0 new messages