Home > Net >  How do you write Asp.net Oracle connection string
How do you write Asp.net Oracle connection string

Time:09-23

F11TEST=
(the DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(TCP) PROTOCOL=(HOST=172.25.1.111) (1511) PORT=)
)
(CONNECT_DATA=
https://bbs.csdn.net/topics/(SERVICE_NAME=F11TST)
)
)


This can be written is can

But in this not

F11TEST=
(the DESCRIPTION=
(ADDRESS=
(TCP) PROTOCOL=(HOST=172.25.1.111) (PORT=1511)
)
(CONNECT_DATA=(SID=BBORB https://bbs.csdn.net/topics/
)
)


After the two are not, change the SID, how should write

CodePudding user response:

Has been resolved,

Funny than me

CodePudding user response:

F11TEST=
(the DESCRIPTION=
(ADDRESS=
(TCP) PROTOCOL=(HOST=172.25.1.111) (PORT=1511)
)
(CONNECT_DATA=(SID=BBORB https://bbs.csdn.net/topics/
)
)
This way only oracle configuration file,

Program in webconfig so only write & lt; Add the name="OracleConnectionString"...
  • Related