无法安装SQL 2008 RC2

安装完成后,我无法运行SQL Server。

它在e: ,但我没有一个电子驱动器。 我已经尝试重置我的registry项,如此处所示的所有答案

日志文件:

 2011-05-19 21:22:39.63 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required. 2011-05-19 21:22:39.63 Server Detected 16 CPUs. This is an informational message; no user action is required. 2011-05-19 21:22:39.65 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required. 2011-05-19 21:22:39.65 Server Lock partitioning is enabled. This is an informational message only. No user action is required. 2011-05-19 21:22:39.70 Server Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required. 2011-05-19 21:22:39.73 spid7s Starting up database 'master'. 2011-05-19 21:22:39.80 spid7s 2 transactions rolled forward in database 'master' (1). This is an informational message only. No user action is required. 2011-05-19 21:22:39.80 spid7s 0 transactions rolled back in database 'master' (1). This is an informational message only. No user action is required. 2011-05-19 21:22:39.80 spid7s Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required. 2011-05-19 21:22:39.85 spid7s FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'EXP'. 2011-05-19 21:22:39.86 spid7s SQL Trace ID 1 was started by login "sa". 2011-05-19 21:22:39.86 spid7s Starting up database 'mssqlsystemresource'. 2011-05-19 21:22:39.88 spid7s The resource database build version is 10.50.1600. This is an informational message only. No user action is required. 2011-05-19 21:22:39.99 spid7s Server name is 'CT4417\EXP'. This is an informational message only. No user action is required. 2011-05-19 21:22:39.99 spid10s Starting up database 'model'. 2011-05-19 21:22:40.00 spid10s Error: 17204, Severity: 16, State: 1. 2011-05-19 21:22:40.00 spid10s FCB::Open failed: Could not open file e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\model.mdf for file number 1. OS error: 3(The system cannot find the path specified.). 2011-05-19 21:22:40.00 spid7s Informational: No full-text supported languages found. 2011-05-19 21:22:40.00 spid10s Error: 5120, Severity: 16, State: 101. 2011-05-19 21:22:40.00 spid10s Unable to open the physical file "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\model.mdf". Operating system error 3: "3(The system cannot find the path specified.)". 2011-05-19 21:22:40.00 spid7s Starting up database 'msdb'. 2011-05-19 21:22:40.00 spid10s Error: 17207, Severity: 16, State: 1. 2011-05-19 21:22:40.00 spid10s FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\modellog.ldf'. Diagnose and correct the operating system error, and retry the operation. 2011-05-19 21:22:40.00 spid7s Error: 17204, Severity: 16, State: 1. 2011-05-19 21:22:40.00 spid7s FCB::Open failed: Could not open file e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBData.mdf for file number 1. OS error: 3(The system cannot find the path specified.). 2011-05-19 21:22:40.00 spid10s File activation failure. The physical file name "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\modellog.ldf" may be incorrect. 2011-05-19 21:22:40.00 spid7s Error: 5120, Severity: 16, State: 101. 2011-05-19 21:22:40.00 spid7s Unable to open the physical file "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBData.mdf". Operating system error 3: "3(The system cannot find the path specified.)". 2011-05-19 21:22:40.00 spid10s Error: 945, Severity: 14, State: 2. 2011-05-19 21:22:40.00 spid10s Database 'model' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details. 2011-05-19 21:22:40.00 spid10s Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in the event log that may indicate why the tempdb files could not be initialized. 2011-05-19 21:22:40.00 spid10s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required. 2011-05-19 21:22:40.00 spid7s Error: 17207, Severity: 16, State: 1. 2011-05-19 21:22:40.00 spid7s FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBLog.ldf'. Diagnose and correct the operating system error, and retry the operation. 2011-05-19 21:22:40.00 spid7s File activation failure. The physical file name "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBLog.ldf" may be incorrect. 

首选:重新安装。

如果您真的必须尝试并保存它:加载SQL Serverconfigurationpipe理器。 在“SQL Server服务”下find该服务,右键单击“属性”,然后更改“高级”下的文件位置。 这可能会或可能不会工作。

五个小时后,我可以启动新的SQL Server实例。 按照下面的步骤:

1.启动发动机:

 NET START MSSQL$SQLEXPRESS /f /T3608 

2.检查path是否无效: SELECT name,physical_name,state_desc FROM sys.master_files ORDER BY database_id; 走

3.修改path ALTER DATABASE model MODIFY FILE(NAME = modeldev,FILENAME ='C:\ Archivos de programa \ Microsoft SQL Server \ MSSQL10_50.SQLEXPRESS \ MSSQL \ DATA \ model.mdf'); ALTER DATABASE model MODIFY FILE(NAME = modellog,FILENAME ='C:\ Archivos de programa \ Microsoft SQL Server \ MSSQL10_50.SQLEXPRESS \ MSSQL \ DATA \ modellog.ldf');

ALTER DATABASE msdb MODIFY FILE(NAME = MSDBData,FILENAME ='C:\ Archivos de programa \ Microsoft SQL Server \ MSSQL10_50.SQLEXPRESS \ MSSQL \ DATA \ MSDBData.mdf'); ALTER DATABASE msdb MODIFY FILE(NAME = MSDBLog,FILENAME ='C:\ Archivos de programa \ Microsoft SQL Server \ MSSQL10_50.SQLEXPRESS \ MSSQL \ DATA \ MSDBLog.ldf');

ALTER DATABASE tempdb MODIFY FILE(NAME = tempdev,FILENAME ='C:\ Archivos de programa \ Microsoft SQL Server \ MSSQL10_50.SQLEXPRESS \ MSSQL \ DATA \ temp.mdf'); ALTER DATABASE tempdb MODIFY FILE(NAME = templog,FILENAME ='C:\ Archivos de programa \ Microsoft SQL Server \ MSSQL10_50.SQLEXPRESS \ MSSQL \ DATA \ temp.ldf');

4.退出:

出口;

5.停止发动机:

NET STOP MSSQL $ SQLEXPRESS

准备!!! 现在正常启动引擎。