System.DirectoryServices FileNotFoundException when installing SQL Express 2008 R2
Using the web platform installer and manual downloads, SQL install fails with the following error. I posted this here rather than in the sql forum because I have tried reinstalling .net framework on my windows 7 64-bit machine under Turn windows features on or off and haven't had any luck repairing the framework. Exception type: System.IO.FileNotFoundException Message: Could not load file or assembly 'System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Data: DisableWatson = true Stack: at Microsoft.SqlServer.Configuration.Sco.User..ctor(ServiceContainer ctx, String userName) at Microsoft.SqlServer.Configuration.SqlEngine.InputValidator.ValidateServiceAccount(String sqlAccount, SqlSecureString sqlPassword, String sqlDomainGroup, ConfigActionScenario scenario, Boolean isExpressSku) at Microsoft.SqlServer.Configuration.SqlEngine.InputValidator.ValidateServiceAccountForInstall() at Microsoft.SqlServer.Configuration.SqlEngine.InputValidator.ValidateInstallInput() at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPublic.ValidateSettings() at Microsoft.SqlServer.Configuration.SetupExtension.ValidateFeatureSettingsAction.ExecuteAction(String actionId) at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream) at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
December 28th, 2010 3:00am

Exception type: System.IO.FileNotFoundException Message: Could not load file or assembly 'System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. ctionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun) This message means that the DLL: "C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.DirectoryServices.dll" is not found. This file is a Windows DLL which belongs to .net Framework 2.0. Maybe the DLL is damaged or completely missing. Please start the command prompt (cmd.exe) with admin right s [1] and run sfc [2]: sfc.exe /scannow Is it able to find and repair broken files?Does the setup work now? If not, extract the DLL from your DVD [3] and store the DLL into the folder C:\Windows\Microsoft.NET\Framework\v2.0.50727\. If this doesn't work, extract the 64Bit version of the DLL from the DVD to this folder: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\. best regards André [1] http://windows.microsoft.com/en-US/windows7/How-do-I-run-an-application-once-with-a-full-administrator-access-token [2] http://support.microsoft.com/kb/929833 [3] http://blog.nirsoft.net/2009/09/17/how-to-extract-missing-system-files-from-the-dvd-of-windows-7vista/"A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
December 28th, 2010 7:54am

I copied the System.DirectoryServices.dll from a known working Windows 7 64-bit computer from both the 32 and 64 bit directories with no luck. sfc /scannow at an elevated command prompt fails "Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.log windir\Logs\CBS\CBS.log"
December 28th, 2010 8:54pm

I have a attached part of the CBS.log file which may be of interest but I have copied all of the valid files from a working Windows 7 64bit machine. Please keep in mind that I do not have a windows 7 dvd because this computer was bought directly from the store and it didn't come with it, nor have I been able to find an i386 directory anywhere on the disk. 2010-12-28 20:13:21, Info CSI 000001c6 [SR] Verify complete 2010-12-28 20:13:22, Info CSI 000001c7 [SR] Verifying 100 (0x0000000000000064) components 2010-12-28 20:13:22, Info CSI 000001c8 [SR] Beginning Verify and Repair transaction 2010-12-28 20:13:25, Info CSI 000001c9 [SR] Cannot repair member file [l:34{17}]"System.Design.dll" of System.Design, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing 2010-12-28 20:13:25, Info CSI 000001ca [SR] Cannot repair member file [l:34{17}]"System.Design.dll" of System.Design, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing 2010-12-28 20:13:25, Info CSI 000001cb [SR] This component was referenced by [l:202{101}]"Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385.WindowsFoundationDelivery" 2010-12-28 20:13:25, Info CSI 000001cc Repair results created: POQ 77 starts: POQ 77 ends. 2010-12-28 20:13:25, Info CSI 000001cd [SR] Verify complete 2010-12-28 20:13:25, Info CSI 000001ce [SR] Verifying 100 (0x0000000000000064) components 2010-12-28 20:13:25, Info CSI 000001cf [SR] Beginning Verify and Repair transaction 2010-12-28 20:13:25, Info CSI 000001d0 [SR] Cannot repair member file [l:56{28}]"System.DirectoryServices.dll" of System.DirectoryServices, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing 2010-12-28 20:13:30, Info CSI 000001d1 [SR] Cannot repair member file [l:56{28}]"System.DirectoryServices.dll" of System.DirectoryServices, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing 2010-12-28 20:13:30, Info CSI 000001d2 [SR] This component was referenced by [l:202{101}]"Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385.WindowsFoundationDelivery" 2010-12-28 20:13:31, Info CSI 000001d3 Repair results created: POQ 78 starts: POQ 78 ends. 2010-12-28 20:13:31, Info CSI 000001d4 [SR] Verify complete 2010-12-28 20:13:31, Info CSI 000001d5 [SR] Verifying 100 (0x0000000000000064) components 2010-12-28 20:13:31, Info CSI 000001d6 [SR] Beginning Verify and Repair transaction 2010-12-28 20:13:45, Info CSI 000001d7 Ignoring duplicate ownership for directory [l:126{63}]"\??\C:\ProgramData\Microsoft\Windows NT\MSFax\Common Coverpages" in component Microsoft-Windows-Fax-Common, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 (10), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
Free Windows Admin Tool Kit Click here and download it now
December 28th, 2010 9:02pm

The file System.Design.dll is also missing. Run an InPlace Upgrade [1][2] to repair your windows. Your programs are still usable after doing the InPlace upgrade. This should repair all missing files. Now try to install the SQL Server 2008 R2 again. André [1] http://support.microsoft.com/kb/2255099 [2] http://www.sevenforums.com/tutorials/3413-repair-install.html"A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
December 29th, 2010 9:38am

Is it possible to do an in place upgrade using a service pack or something? Maybe if I download Windows 7 SP1 RC1? I don't have a windows 7 DVD
Free Windows Admin Tool Kit Click here and download it now
December 29th, 2010 6:44pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics