简体   繁体   English

将端口号关联到MSSQL2005命名实例后出现问题:服务无法启动

[英]Problem after assigining port number to MSSQL2005 named instance:Service won't start

I'll like to combine both my initial problem which leads me to this one and this one. 我想将我最初遇到的这个问题和这个问题结合起来。

  1. my first problem was to be able to connect jaspersoft ireport 3.7.0 to MSSQL2005.I downloaded the jar from microsoft downloads and added the `jdbc4.jar` from the `irepot>tool>classpath>add jar`. 我的第一个问题是能够将jaspersoft ireport 3.7.0连接到MSSQL2005。我从Microsoft下载中下载了jar,并从irepot> tool> classpath> add jar中添加了jdbc4.jar。 It went fine but i needed the port number other than 1433 since i'm using a named instance.so my first question is on which port to connect to a MSSQL2005 named instance? 一切正常,但由于我使用的是命名实例,所以我需要的端口号不是1433.所以我的第一个问题是要连接到MSSQL2005命名实例的端口是什么?
  2. During my search on google i found lot's of article like [this one][1] and [link text][2]. 在Google上搜索期间,我发现了很多文章,例如[this] [1]和[link text] [2]。
    • i first did: `start>Microsoft SQL Server 2005>configuration tools>Sql Server Surface Area Configuration>Surface Area Configuration for service and connections` and allow remote connection. 我首先做了:`开始> Microsoft SQL Server 2005>配置工具> SQL Server外围应用配置>服务和连接的外围应用配置`,并允许远程连接。
    • I located listenALL at `Microsoft SQL Server 2005>configuration tools>Sql Server Surface Area Configuration>Sql Server configuration manager>protocol for instancename>TCPIP>protocol` which was yes 我将listenALL定位在“ Microsoft SQL Server 2005>配置工具> SQL Server外围应用配置器> SQL Server配置管理器>实例名称的协议> TCPIP> protocol”(是)
    • I Located IPALL at `Microsoft SQL Server 2005>configuration tools>Sql Server Surface Area Configuration>Sql Server configuration manager>protocol for instancename>TCPIP>IP addresses` and as in the second link i posted ,i removed `0` from TCP Dynamic Ports and assigne `90000` to TCP Port 我将IPALL放在“ Microsoft SQL Server 2005”>“配置工具”>“ SQL Server外围应用配置器”>“ SQL Server配置管理器”>“实例名称> TCPIP> IP地址”的协议中,就像在发布的第二个链接中一样,我从“ TCP动态”中删除了“ 0”端口并将“ 90000”分配给TCP端口
    • I try to restart the database engine it keeps on saying: `the request failed or the service did not respond in a timely fashion. 我尝试重新启动它一直说的数据库引擎:`请求失败或服务没有及时响应。 even though i undo every thing but still.Doesn't start from service manager.And it affected the SQLEXPress that got installed after i installed Visual Studio 即使我撤消了所有操作,但仍然如此。不是从服务管理器开始的,它影响了在我安装Visual Studio之后安装的SQLEXPress
    • i uninstalled the named instance but the SQLExpress is having the same behavior 我卸载了命名实例,但是SQLExpress具有相同的行为

Anyone to help me?this is critical thanks for reading this 有人帮我吗?这很重要,感谢您阅读本文

尝试在TCPview的帮助下找到可用端口,然后将您的DB Server分配给它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM