error while installing sql server 2008 r2 express in a windows 8 pc

  • I was trying to install sql server 2008 R2 in windows 8 pc.

    First i installed sql server 2008 r2 by using UI mode in windows 8 PC without enabling .net 3.5. While installing i got an warning like shown below.

    I clicked on "Run the program without getting help" and then it installed properly.

    But when i do the install using configuration file in silent mode i got same warning and i clicked on "Run the program without getting help" and after that at the middle of installation i got the error like

    Microsoft (R) SQL Server 2008 R2 Setup 10.50.1600.01

    Copyright (c) Microsoft Corporation. All rights reserved.

    Unhandled Exception: Microsoft.SqlServer.Chainer.Infrastructure.ChainerInfrastru

    ctureException: The file or directory is corrupted and unreadable.

    ---> System.IO.IOException: The file or directory is corrupted and unreadable.

    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I

    nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o

    ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolea

    n useLongPath, Boolean checkHost)

    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,

    FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean

    bFromProxy, Boolean useLongPath, Boolean checkHost)

    at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean che

    ckHost)

    at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encodin

    g, Int32 bufferSize, Boolean checkHost)

    at System.IO.StreamWriter..ctor(String path)

    at Microsoft.SqlServer.Chainer.Infrastructure.LogProviderFile..ctor(String ta

    rgetFile)

    --- End of inner exception stack trace ---

    at Microsoft.SqlServer.Chainer.Infrastructure.LogProviderFile..ctor(String ta

    rgetFile)

    at Microsoft.SqlServer.Chainer.Infrastructure.StatusLogs.WriteSummaryLog(Int3

    2 resultCode, Boolean finalResult, Exception exception)

    at Microsoft.SqlServer.Chainer.Setup.Setup.WriteStatusLogs(Int32 resultCode,

    Exception e)

    at Microsoft.SqlServer.Chainer.Setup.Setup.Start()

    at Microsoft.SqlServer.Chainer.Setup.Setup.Main()

    So my doubt is without enabling .net 3.5 also we can install sql server 2008 r2.But why i got the error while installing using configuration file?

  • Is your configuration File Directory pointing towards the same directory you have on the PC?

  • I think you need to install .NET 3.5 SP1.

    See prerequisite sql server 2008 R2

    http://msdn.microsoft.com/en-IN/library/ms143506.aspx

    download and install it.then Try

    Thanks.......
    -----------------------------------
    My Blog[/url] | Articles

  • hi nicbyte

    I have config file and setup file in the same folder.

  • Hi Winmansoft

    You got your configuration file form a previous installation that pointed towards certain folders for installation requirements. My question is, do you have the same folder configured on your new PC where you are trying to install. for instance my install dir might be d:\prog file\msssql..... from last config but on new machine I might not have a d: drive. I haven't installed from config but from what I have read about it in the past it automates the entire process meaning your environments must be configured the same way.

  • Config file is properly configured for new installation.Setup path config file path and all parameters are proper. Also i have doubt that should i enable .net 3.5 to install sql server 2008 r2 express?(in some article i saw that it should be enabled) But i have installed same without enabling .net 3.5. I am confused how that possible?

  • That's very strange your error is explicitly complaining about your install dir. Maybe try copy another file to that dir and see if that works.

  • Hi nicbyte

    Do you mean that install directory is corrupted or what?

  • Yeah it seems like something is wrong there. If you can copy files to it with the same permission your trying to install SQL with it would help troubleshoot the issue.

  • I tried installing the same in another PC and it worked.So can i install sql server 2008 R2 RTM in a windows 8 pc? According to link (http://blogs.msdn.com/b/sqlexpress/archive/2012/03/02/sql-server-express-and-windows-8.aspx) it's not possible. But i was able to install it in windows 8.

  • I'm running 2012 Std RTM on my Win8 Laptop with no issues. where you able to copy data to that directory?

  • Anyone installed sql server 2008 R2 RTM in a Windows 8 pc?

  • Yes,

    It requires .Net 2.0+.Net 3.5 to install.

    Use your windows CD => add & remove windows Feature=>check .net2.0+.net 3.5

    I hope it will works.

    Thanks.......
    -----------------------------------
    My Blog[/url] | Articles

Viewing 13 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic. Login to reply