当前位置:网站首页>附加简化版示例数据库到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 连接服务器,附加数据库......


附加成功!
成功解决问题记得回来给我点赞!!!蟹蟹~
边栏推荐
- 1.C语言初阶练习题(1)
- 为什么要使用Redis
- The latest tank battle 2022 - Notes on the whole development -2
- 简述xhr -xhr的基本使用
- QT meta object qmetaobject indexofslot and other functions to obtain class methods attention
- Nuxtjs快速上手(Nuxt2)
- A piece of music composed by buzzer (Chengdu)
- 1. C language matrix addition and subtraction method
- [the Nine Yang Manual] 2020 Fudan University Applied Statistics real problem + analysis
- 记一次猫舍由外到内的渗透撞库操作提取-flag
猜你喜欢

7-7 7003 组合锁(PTA程序设计)

Custom RPC project - frequently asked questions and explanations (Registration Center)

Differences among fianl, finally, and finalize

It's never too late to start. The tramp transformation programmer has an annual salary of more than 700000 yuan

1.初识C语言(1)

【黑马早报】上海市监局回应钟薛高烧不化;麦趣尔承认两批次纯牛奶不合格;微信内测一个手机可注册俩号;度小满回应存款变理财产品...

3. Input and output functions (printf, scanf, getchar and putchar)
![[hand tearing code] single case mode and producer / consumer mode](/img/b3/243843baaf0d16edeab09142b4ac09.png)
[hand tearing code] single case mode and producer / consumer mode
![[during the interview] - how can I explain the mechanism of TCP to achieve reliable transmission](/img/d6/109042b77de2f3cfbf866b24e89a45.png)
[during the interview] - how can I explain the mechanism of TCP to achieve reliable transmission

深度强化文献阅读系列(一):Courier routing and assignment for food delivery service using reinforcement learning
随机推荐
3. Number guessing game
Zatan 0516
The latest tank battle 2022 - Notes on the whole development -2
甲、乙机之间采用方式 1 双向串行通信,具体要求如下: (1)甲机的 k1 按键可通过串行口控制乙机的 LEDI 点亮、LED2 灭,甲机的 k2 按键控制 乙机的 LED1
C language to achieve mine sweeping game (full version)
Implementation principle of automatic capacity expansion mechanism of ArrayList
抽象类和接口的区别
C language Getting Started Guide
Principles, advantages and disadvantages of two persistence mechanisms RDB and AOF of redis
Mortal immortal cultivation pointer-2
3.输入和输出函数(printf、scanf、getchar和putchar)
8. C language - bit operator and displacement operator
String ABC = new string ("ABC"), how many objects are created
Cookie和Session的区别
扑克牌游戏程序——人机对抗
fianl、finally、finalize三者的区别
20220211-CTF-MISC-006-pure_ Color (use of stegsolve tool) -007 Aesop_ Secret (AES decryption)
深度强化文献阅读系列(一):Courier routing and assignment for food delivery service using reinforcement learning
Have you encountered ABA problems? Let's talk about the following in detail, how to avoid ABA problems
[modern Chinese history] Chapter 9 test