tns:l**tener does not currently know of sid given in connect descriptorcause: the l**tener received a request to establ**h a connection to a database or other service. the connect descriptor received by the l**tener specified a sid for an instance (usually a database instance) that either has not yet dynamically reg**tered with the l**tener or has not been statically configured for the l**tener. th** may be a temporary condition such as after the l**tener has started, but before the database instance has reg**tered with the l**tener.action:- wait a moment and try to connect a second time.- check which instances are currently known by the l**tener by executing: lsnrctl services <l**tener name>- check that the sid parameter in the connect descriptor specifies an instance known by the l**tener.- check for an event in the l**tener.log file.从ora-12505这个错误来看应该是数据库没有正常注册到**中。请问你是什么环境,rac??**端口是否改变??是否使用了静态注册而非动态注册???还有就是看看**日志。 20210311
好的.我一句句分析.<%set rs = server.createobject ("adodb.recordset") '打开ado组件sql="select top 6 * from article where articlesubitem=120 order by article_id desc" '查询在数据库中符合articl...