使用 sql server 2008 R2 的远程过程调用失败

Remote Procedure call failed with sql server 2008 R2(使用 sql server 2008 R2 的远程过程调用失败)
本文介绍了使用 sql server 2008 R2 的远程过程调用失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 SQL Server 2008 R2.我无法远程连接到我的数据库.我收到以下错误.

I am working with SQL Server 2008 R2. I am unable to connect to my database remotely. I got the following error.

建立连接时发生与网络相关或特定于实例的错误到 SQL Server.服务器未找到或无法访问.验证实例名称正确,并且 SQL Server 已配置为允许远程连接.
(提供者:命名管道提供者,错误:40 - 无法打开与 SQL Server 的连接)

我检查了 SQL Server 属性并启用了允许远程连接.

I have checked the SQL Server properties and I enable the Allow remote connections.

我已检查服务管理器和 SQL Server 服务正在运行.

I have checked the Service manager and SQL Server service are running.

我检查了配置管理器,我在 SQL Server Services 下看不到任何服务它显示远程过程调用失败

I have checked the configuration manager, I can't see any services under SQL Server Services and it shows Remote Procedure call failed

所以请指导我.

推荐答案

打开控制面板>管理工具>服务>选择标准服务选项卡(在底部)>找到启动SQL Server代理

Open Control Panel > Administrative Tools > Services > Select Standard services tab (under the bottom) > Find start SQL Server Agent

右键选择属性,

启动类型:自动,

申请,好的.

完成.

这篇关于使用 sql server 2008 R2 的远程过程调用失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Execute complex raw SQL query in EF6(在EF6中执行复杂的原始SQL查询)
SSIS: Model design issue causing duplications - can two fact tables be connected?(SSIS:模型设计问题导致重复-两个事实表可以连接吗?)
SQL Server Graph Database - shortest path using multiple edge types(SQL Server图形数据库-使用多种边类型的最短路径)
Invalid column name when using EF Core filtered includes(使用EF核心过滤包括时无效的列名)
How should make faster SQL Server filtering procedure with many parameters(如何让多参数的SQL Server过滤程序更快)
How can I generate an entity–relationship (ER) diagram of a database using Microsoft SQL Server Management Studio?(如何使用Microsoft SQL Server Management Studio生成数据库的实体关系(ER)图?)