运行sqlserver时在vb.net中发生网络相关 [英] A network related occur in vb.net while run sqlserver

查看:75
本文介绍了运行sqlserver时在vb.net中发生网络相关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行我的项目时,将发生此错误.
连接到sql服务器时与网络相关的实例或特定实例.验证数据库并检查sql是否允许远程连接.

我不知道这是什么错误.
请有人帮我.
谢谢

When i run my project this error will occured.
A network related instance or specific while connected to the sql server. Verify the database and check whether the sql is allow remote connections.

i didn''t know what error this is.
please somebody help me.
thank you

推荐答案

->当您为连接字符串提供错误的凭据时,会发生此错误.
检查一下.
->您在本地主机上或从远程系统使用数据库
如果您从远程系统使用,请检查您的远程系统允许远程连接.
->this error occures when your provide wrong credentials to you connection string.
check it.
->You use database on localhost or from remote system
if you use from remote system check your remote system allow remote connections.


此错误的连接字符串导致发生错误.因此请再次检查您的连接字符串.
This error occures due to wrong connection string. so please check once again your connection string.


这篇关于运行sqlserver时在vb.net中发生网络相关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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