发生与网络相关或特定于实例的错误. [英] A network-related or instance specific error occured while....

查看:72
本文介绍了发生与网络相关或特定于实例的错误.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!我有一个使用C#,Windows窗体和sql server 2000开发的应用程序,我将该应用程序部署在Windows Server 2003上运行的网络上.当我尝试使用lo-gin表单进行lo-gin时,我得到与网络相关的错误或连接到sql时发生实例特定的错误.服务器上没有防火墙,我使用了sql server 2000 sp3a.可能是什么问题呢?并且启用了TCP/IP协议.

Hi guys! I have an application i developed using C#, windows forms and sql server 2000 I deployed the application on a network that runs on windows server 2003. When i try to lo-gin using the lo-gin form i get the error a network related or instance specific error occurred while connecting to sql.There are no fire walls on the server and i used sql server 2000 sp3a. What could be the problem? And TCP/IP protocols are enabled.

推荐答案

是否有命名实例?如果是这样,您的连接字符串是否包含实例的名称?例如``MyServer \ MyInstance''.

还要使用外围应用配置器"工具检查是否允许远程连接.
Are having a named instance? If so does your connection string contain the name of the instance? For example ''MyServer\MyInstance''.

Also check using Surface Area Configuration tool that remote connections are allowed.


这篇关于发生与网络相关或特定于实例的错误.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆