Home Database Mysql Tutorial 64位 Win7 安装Sql Server 2008 Express

64位 Win7 安装Sql Server 2008 Express

Jun 07, 2016 pm 03:08 PM
64 bit EX server sql win7 Install

这次 安装 纠结了很久,碰到一堆稀奇古怪的问题,最终还是成功了,发上来做文档。 ======================================== 新装的系统,Win7旗舰版,64位。 开始想装完整版Sql Server 2008,所以在装Visual Studio 2010的时候没有选08的Express。 用原来

这次安装纠结了很久,碰到一堆稀奇古怪的问题,最终还是成功了,发上来做文档。

 

========================================

 

新装的系统,Win7旗舰版,64位。

开始想装完整版Sql Server 2008,所以在装Visual Studio 2010的时候没有选08的Express。

用原来下载的Sql Server 2008 企业版安装,装好之后问题来了,打开SSMS的时候报了一个错误,导致完全无法使用。错误如下:

************** Exception Text **************
System.MissingMethodException: Method not found: 'Int32 Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.GetLogicalVersion()'.
   at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.get_State()
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigableDataObject.Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.INavigableItem.get_State()
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigableExplorerViewItem.get_Item(String propertyName)
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ExplorerListView.OnRetrieveVirtualItem(RetrieveVirtualItemEventArgs e)
   at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
   at System.Windows.Forms.ListView.WndProc(Message& m)
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ExplorerListView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************

 

Google了一下,说是08在win7下的一个bug,要装SP1补丁(另一说法是装完SP1再SP2,再卸掉SP2 。。囧)

官网下了SP1,装之,问题仍然存在,继续google,看到http://support.microsoft.com/kb/982360/。微软客气的说,“要解决这些问题,请安装 SQL Server 2008 R2 Management Studio”。好,听你的,谁让咱网速快,下之。

安装前要把之前的Sql Server卸干净,建议用Windows Installer Clean Up。

 

========================================

 

终于找到两个靠谱的东西:

1、Microsoft SQL Server 2008 R2 RTM - Express

(只有Express实例,不带SSMS,选择x64)

http://www.microsoft.com/zh-cn/download/details.aspx?id=3743

2、Microsoft SQL Server 2008 R2 RTM - Express with Management Tools

(对应的SSMS)

http://www.microsoft.com/zh-cn/download/details.aspx?id=23650&hash=R6iQUK4JpIB8qVgYKYI3HOwLIQuMZIhMsF0cA4Bpk%2bm0bfdQcehFtjtAhAEgcZ1PTH5jw5lN67N0B2wV60H5RQ%3d%3d

 

========================================

 

安装Express的时候又弹出个错误,消息如下:

TITLE: Microsoft SQL Server 2008 R2 Setup
------------------------------

The following error has occurred:

Could not open key: UNKNOWN\Components

\0E3118066B3FEE6C0AF18C3B9B1A1EE8\84b9c17023c712640acaf308593282f8.   Verify that you have

sufficient access to that key, or contact your support personnel.

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL

+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.1600.1&EvtType=0xDF039760%25401201%25401

 

解决方法:打开CMD,运行:

secedit /configure /cfg %windir%/inf/defltbase.inf /db defltbase.sdb /verbose

 

运行完成后,再安装。OK,正常安装成功。

 

========================================

 

打开SSMS,没有弹错,数据库打开正常:)

用VS2010连接的时候,又报了个错:

由于启动用户实例的进程时出错,导致无法生成 SQL Server 的用户实例。该连接将关闭

 

这个百度就能解决。

原因:重装SQLEXPRESS时,装在了不同的目录下。

解决方法:关闭Sqlserver及相关的程序,删除目录C:\Users\%User%\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS下的所有文件。

========================================

 

 

于是和谐。

 

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What is the difference between HQL and SQL in Hibernate framework? What is the difference between HQL and SQL in Hibernate framework? Apr 17, 2024 pm 02:57 PM

HQL and SQL are compared in the Hibernate framework: HQL (1. Object-oriented syntax, 2. Database-independent queries, 3. Type safety), while SQL directly operates the database (1. Database-independent standards, 2. Complex executable queries and data manipulation).

What should I do if the Win7 taskbar does not display the icon? How to solve the problem of the computer taskbar icon disappearing What should I do if the Win7 taskbar does not display the icon? How to solve the problem of the computer taskbar icon disappearing Jun 09, 2024 pm 01:49 PM

Recently, many users using Win7 system have found that the icons in the taskbar suddenly disappeared, which makes the operation very inconvenient and they do not know how to solve the problem. This article will introduce to you how to solve the problem of disappearing taskbar icons in Win7 system. Bar! Cause Analysis When encountering such a situation, there are generally two situations: one is that the taskbar on the computer does not really disappear, but is just hidden, and the other is that the taskbar does disappear. Method 1: 1. There is a situation that you need to confirm first, that is, when the mouse is placed at the bottom of the screen, the taskbar will be displayed. You can directly click the mouse on the taskbar and select "Properties". 2. In the dialog box that opens, click & on the "Hide taskbar" option.

How to clear all desktop background images in Win7? Tips for deleting personalized background images in Win7 How to clear all desktop background images in Win7? Tips for deleting personalized background images in Win7 Jun 02, 2024 am 09:01 AM

In Win7 system, many users want to delete personalized desktop background images, but do not know how to delete them. This article will show you how to delete personalized background images in Win7 system. 1. First, open the control panel interface of the Win7 system and click to enter the "Appearance and Personalization" settings; 2. Then, in the opened interface, click the "Change Desktop Background" setting; 3. Then, click below "Desktop background" option; 4. Then, select Select all, and then click Clear all. Of course, you can also use it under "Customize", right-click the theme you want to delete, and then click &q on the shortcut menu

Beelink EX graphics card expansion dock promises zero GPU performance loss Beelink EX graphics card expansion dock promises zero GPU performance loss Aug 11, 2024 pm 09:55 PM

One of the standout features of the recently launched Beelink GTi 14is that the mini PC has a hidden PCIe x8 slot underneath. At launch, the company said that this would make it easier to connect an external graphics card to the system. Beelink has n

Where is the network discovery in Win7? Tips for enabling the network discovery function in Win7 Where is the network discovery in Win7? Tips for enabling the network discovery function in Win7 Jun 04, 2024 am 09:02 AM

Many computer users know that network discovery is a network setting. This setting will affect whether the computer can find other computers and devices on the network and whether it can find the computer when other computers on the network are found. So how to enable network discovery in win7? The following computer System Home U Disk Installation will introduce you to the tutorial on how to enable network discovery in win7 system. 1. First, click the "Start Menu" icon on the desktop taskbar and choose to open the "Control Panel" interface. 2. Then, in the interface that opens, set "View by" to "Category", and then choose to enter "Network and Internet"

Introduction to how to change the startup sound of Windows 7 computer Introduction to how to change the startup sound of Windows 7 computer Mar 26, 2024 pm 09:30 PM

1. First copy the file you want to use as boot music to the corresponding directory of C: WindowsMedia. As shown in the figure: 2. Right-click the desktop on a single machine and select Personalize menu; as shown in the figure: 3. Select the sound option; as shown in the figure: 4. In the [Program Events] box in the [Sound] tab of the sound interface Select [Windows Login], then click [Browse]; as shown in the figure: 5. Select the music file that needs to be replaced, click Open, then click Apply and confirm to save the settings. as the picture shows:

How to delete vbs virus in win7 How to delete vbs virus in win7 Mar 26, 2024 pm 09:21 PM

1. Click [Start → Run] and enter gpedit.msc. On the left side of the [Group Policy] window, click the [Computer Configuration → Windows Settings → Security Settings → Software Restriction Policy] item, and then click the [Action → Create New Policy] menu item. As shown in the picture: 2. Select [Other Rules] from the left. Right-click the blank space in the right pane and select the [New Path Rule] item in the menu. In the pop-up window, click the [Browse] button after [Path], select the wscript.exe file in the C: WindowsSystem32 folder, and set the [Security Level] to [Not Allowed]. Change C: System32, Dllcache and I386 under Windows

Detailed steps to install Go language on Win7 computer Detailed steps to install Go language on Win7 computer Mar 27, 2024 pm 02:00 PM

Detailed steps to install Go language on Win7 computer Go (also known as Golang) is an open source programming language developed by Google. It is simple, efficient and has excellent concurrency performance. It is suitable for the development of cloud services, network applications and back-end systems. . Installing the Go language on a Win7 computer allows you to quickly get started with the language and start writing Go programs. The following will introduce in detail the steps to install the Go language on a Win7 computer, and attach specific code examples. Step 1: Download the Go language installation package and visit the Go official website

See all articles