当前位置:网站首页>附加简化版示例数据库到SqlServer数据库实例中
附加简化版示例数据库到SqlServer数据库实例中
2022-07-06 09:22:00 【不许秃】
问题展示
当我们执行 附加简化版示例数据库到SqlServer数据库实例中 的操作时可能出错:
分析出错的原因(同时提供解决报错的方法):
1.下载的AdventureWorks的zip包和SQL Server Management Studio的版本不一致
SQL Server Management Studio2008
AdventureWorks2008
(版本一定要一致才行,不然附加数据库时会出错)
2.不是以管理员身份运行SQL Server Management Studio
(要进行附加数据库的操作要以管理员的身份运行SQL Server Management Studio)
3.权限放置附加数据库的文件夹的权限问题
(1)解压AdventureWorks的zip包,右键点击解压后的AdventureWorks文件夹,打开 “属性” ,
点开 “安全” 那一栏,点击 “编辑” 选项
(2)接着我们可以看到 AdventureWorks 的权限 的窗口 ,点击 “添加”
(3)来到 选择用户/组 的窗口,点击 “高级”,在新弹出的窗口选择 “立即查找” ,找到并选中 “Everyone” ,最后点击 “确定”
(4)在Everyone的权限下 ,“允许”列全选 , “应用” 后 ——>点击 “确定”
(5)最后打开SQL Server Management Studio 连接服务器,附加数据库......
附加成功!
成功解决问题记得回来给我点赞!!!蟹蟹~
边栏推荐
- [modern Chinese history] Chapter 6 test
- SRC挖掘思路及方法
- Redis的两种持久化机制RDB和AOF的原理和优缺点
- The latest tank battle 2022 - Notes on the whole development -2
- 杂谈0516
- . Net6: develop modern 3D industrial software based on WPF (2)
- Why use redis
- 2.初识C语言(2)
- Detailed explanation of redis' distributed lock principle
- [the Nine Yang Manual] 2020 Fudan University Applied Statistics real problem + analysis
猜你喜欢
The latest tank battle 2022 - Notes on the whole development -2
Mortal immortal cultivation pointer-1
3. Input and output functions (printf, scanf, getchar and putchar)
5.MSDN的下载和使用
1. C language matrix addition and subtraction method
Thoroughly understand LRU algorithm - explain 146 questions in detail and eliminate LRU cache in redis
Redis的两种持久化机制RDB和AOF的原理和优缺点
The latest tank battle 2022 full development notes-1
1.初识C语言(1)
FAQs and answers to the imitation Niuke technology blog project (I)
随机推荐
[modern Chinese history] Chapter 9 test
The difference between cookies and sessions
Implementation of count (*) in MySQL
Have you encountered ABA problems? Let's talk about the following in detail, how to avoid ABA problems
7-14 错误票据(PTA程序设计)
Redis cache obsolescence strategy
Safe driving skills on ice and snow roads
7. Relationship between array, pointer and array
MySQL锁总结(全面简洁 + 图文详解)
Write a program to simulate the traffic lights in real life.
The latest tank battle 2022 full development notes-1
[面试时]——我如何讲清楚TCP实现可靠传输的机制
[au cours de l'entrevue] - Comment expliquer le mécanisme de transmission fiable de TCP
7-3 构造散列表(PTA程序设计)
[the Nine Yang Manual] 2016 Fudan University Applied Statistics real problem + analysis
1. Preliminary exercises of C language (1)
FAQs and answers to the imitation Niuke technology blog project (III)
Service ability of Hongmeng harmonyos learning notes to realize cross end communication
3.C语言用代数余子式计算行列式
2.初识C语言(2)