SQL Server配置问题

技术标签: SQL-Server.  SQL-Server-2005

我在我的家用电脑安装了SQL Server以供个人使用。当我计划通过曲面区域配置配置SQL Server时,我有一个错误,如下所示: “无法加载文件或装配'Microsoft.Sqlserver.customControls,Version = 9.0.242..0,Cultiput = Neutral,PublicKeyTocken = 89845DCD8080CC91'或其依赖之一。系统找不到指定的文件。(SQSAC)” 。我为解决这个问题做了什么?

看答案

基于此链接 潜在的解决方案 尝试...

sqlcmd -s <dbname>
use loadtest
exec sp_grantdbaccess 'domain\user','user'
exec sp_addrolemember 'db_datareader','user'

1)替换为您的数据库名称。如果它是默认数据库,那么这是。\ sqlexpress

2)将“Domain \ User”替换为您想要访问的帐户并将“用户”替换为“用户名”以将其存储在数据库中。例如,

EXEC SP_GRANTDBACCESS'公司\ Sean','Sean'

3)将“用户”替换为您在第三语句中给出的用户名中的最后一个语句中的“用户”。所以在我的例子中,

Exec sp_addrolembermber'db_datareader','sean'


智能推荐

SQL server导入数据问题

今天和大家分享我在sql server导入数据时遇到并解决的两个小问题 1、问题1:提示:“INSERT 语句与 FOREIGN KEY 约束"FK_XSQK_ID"冲突。该冲突发生于数据库"XSCJ",表"dbo.XSQK", column ‘学号’。” 出现这个原因主要是因为我成绩表的&...

SQL Server无法安装问题

SQL Server无法安装问题 一、软件安装“无法使用此产品的安装源,请确认安装源存在并且你可以访问它 安装过程中遇到无法访问您试图使用的功能所在的网络位置问题 一、软件安装“无法使用此产品的安装源,请确认安装源存在并且你可以访问它 原因:之前版本卸载没有卸载干净(主要是注册表) 解决:   1、卸载之前SQL版本的所有程序,并把所有之前版本创建的文件...

SQL Server 2017安装问题

问题 最近在学数据库,要安装SQL Server,总遇到这样那样的问题,总结了一下解决办法,希望对大家有所帮助 1.Polybase 要求安装 Oracle JRE7 更新 规则失败 2.MDS(Master Data Service)配置 3.SQL Server2017数据库质量程序安装 4.无SSMS (顺序) 主要就这几个吧,其他的按照指示操作一步一步做就行了 1.Polybase 要求安...

Sql Server登录问题汇总

Sql Server登录问题汇总         Sql Server安装之后,经常会遇到登录失败的问题,下面就可能出现的问题进行总结。         首先是服务器类型、服务器名称、身份验证。         服务器类型:就是你要登录的那一项服务、比如数据库...

sql server 性能问题总结

1:刚刚看了sqlServer性能优化的书,公司席哥有正好开会总结这个问题,我把会议记录和读书内容大体结合提炼一下大家分享 2、in 和exists: 查询很慢,可以看到用了16s,看了一下执行计划:哈希匹配占消耗的的71%,由于in是hash匹配的,我猜是以为它,我把它改成exists了:  ...where exists (select MAX(orderdate) from... ...

猜你喜欢

android远程调用sql server实现增删查改,sql server配置+android端代码+常见问题

1.sql server环境的搭建: 注意:本实例用的是sql server2008 r2,jtds 1.2.7        https://jingyan.baidu.com/article/49711c61486072fa441b7cb2.html 2. sql server远程调用的配置    &nb...

原型对象,原型链

函数都有prototype属性,它指向原型对象。 实例对象有__proto__属性,它指向对象原型 每一个原型对象都有constructor输赢,指向构造函数,每一个原型对象又具有__proto__属性,这个指向Object.prototype.在这里插入图片描述...

Node 调用 dubbo 服务的探索及实践

2.Dubbo简介 2.1 什么是dubbo Dubbo是一款高性能、轻量级的开源Java RPC框架,它提供了三大核心能力:面向接口的远程方法调用,智能容错和负载均衡,以及服务自动注册和发现。 2.2 流程图 Provider : 暴露服务的服务提供方。 Consumer : 调用远程服务的服务消费方。 Registry : 服务注册与发现的注册中心。 Monito...

mysql总结

mysql基础入门的总结     关于数据库:     数据库是软件开发人员要掌握的基本工具,软件的运行的过程就是操作数据的过程,数据库中的数据无非就是几个操作:增-删-查-改。         Mysql安装完成后,需要配置变量环境,找到配置路径path,然后把mysql安装目录bin文件导入就可以了。 然后运行cm...

adb及monkey常用命令

adb常用命令: 查看手机是否连接:adb devices   连接设备:adb connect 设备ip:端口号  若有连接多个设备需指明设备ip及端口号 安装APP:adb install [-r] 包名  -r表示覆盖安装,首次安装可省略 卸载APP:adb uninstall 包名 列出设备中所有应用包名:adb shell pm list packages ...

问答精选

Correctly formatting GCM notifications?

I'm currently trying out the google cloud messaging service with its sample application "Guestbook." https://developers.google.com/cloud/samples/mbs/ I'm attempting to send notifications tha...

Are there any performance benefits of using Asynchronous functions over Synchronous in Node Js?

Now I came across an article that distinguishes between an Asynchronous function and Synchronous functions. From my understanding of the different examples and explanations, synchronous functions are ...

Python: Costing calculator output

Good day all I'm busy creating a small costing calculator for the signage department. I'm not getting the calculator to output the amount. Brief Description: You enter the height and width and then wh...

Flask-SQLAlchemy - model has no attribute 'foreign_keys'

I have 3 models created with Flask-SQLalchemy: User, Role, UserRole role.py: user.py: user_role.py: If I try (in the console) to get all users via User.query.all() I get AttributeError: 'NoneType' obj...

Seeding many PRNGs, then having to seed them again, what is a good quality approach?

I have many particles that follow an stochastic process in parallel. For each particle, there is a PRNG associated to it. The simulation must go through many repetitions to get average results. For ea...

相关问题

相关文章

热门文章

推荐文章

相关标签

推荐问答