Long path names to files on sql server installation media как исправить ошибку

  • Remove From My Forums
  • Вопрос

  • Hello all,

    I’m trying to install SQL Server 2008R2 in my laptop OS Windows 10 64bit and I’m getting the following error message:

    ” Long Path Names to Files on SQL Server Installation Media”

    My question is, where this path resides? I cannot find it at all. By the way, the laptop I’m using is from Work. The application does not specified where this path is to correct it, so is very hard for me to fix this error message. I cannot continued
    with the installation due to this error.

    Thank you in advance.

    Ernesto


  • December 13, 2013 at 10:17 am

    #285954

    I’m getting a rule check fail “Long path names to files on SQL Server Installation media failed” when installing SQL 2012 Standard edition from a network share. What is the work around for this?

    Thanks

  • Steve Jones – SSC Editor

    SSC Guru

    Points: 731245

    My understanding is that this is a check to be sure all files/paths are < 256 characters. Do you have long paths for the installation folder?

  • Lowell

    SSC Guru

    Points: 323498

    cathy.baker (12/13/2013)


    I’m getting a rule check fail “Long path names to files on SQL Server Installation media failed” when installing SQL 2012 Standard edition from a network share. What is the work around for this?

    Thanks

    i believe you can simply map a drive to the share,and install form that, instead of from the share with the long file name;;

    here’s gui instructions:

    http://windows.microsoft.com/en-us/windows/create-shortcut-map-network-drive#1TC=windows-7

    from a command line, it’s pretty simple:

    net use m: \servernamesharenamesubsharesubshare2

    Lowell


    help us help you! If you post a question, make sure you include a CREATE TABLE… statement and INSERT INTO… statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • cathy.baker

    Hall of Fame

    Points: 3412

  • cathy.baker

    Hall of Fame

    Points: 3412

    I renamed the folder that was WAY long to something shorter and simpler then mapped the drive. That fixed the problem.

  • Jeff Moden

    SSC Guru

    Points: 1002798

    cathy.baker (12/13/2013)


    I renamed the folder that was WAY long to something shorter and simpler then mapped the drive. That fixed the problem.

    Thanks for the feedback, Cathy.

  • adamenko1984

    Valued Member

    Points: 67

    Long Path Tool could be the answer to your problem. I too faced a similar predicament some time back. Long Path Tool came in very handy at that time.

  • virenderverma

    SSC Journeyman

    Points: 75

    On my case my sql server path was very long

    D:Softwareen_sql_server_2008_r2_enterprise_x86_x64_ia6t4_dvd_520517en_sql_server_2008_r2_enterprise_x86_x64_ia64_dvd_520517setup.exe

    I just renamed that to

    D:Softwaresql serversql serversetup.exe

    then work fine for me

    😀

  • bitf11m050

    Valued Member

    Points: 67

    Thanks dude, solved my problem the same way:-)

  • March 24, 2017 at 2:02 am

    This was removed by the editor as SPAM

  • March 24, 2017 at 2:03 am

    This was removed by the editor as SPAM

  • March 24, 2017 at 2:03 am

    This was removed by the editor as SPAM

  • March 24, 2017 at 2:03 am

    This was removed by the editor as SPAM

  • March 24, 2017 at 2:03 am

    This was removed by the editor as SPAM

  • March 24, 2017 at 2:04 am

    This was removed by the editor as SPAM

Viewing 15 posts – 1 through 15 (of 17 total)

it seems you are installing SQL2K8 from a network share with more than 260 characters in its path name. this can be fixed by shorten the path name using SUBST command.

SUBST /?
Associates a path with a drive letter.

SUBST [drive1: [drive2:]path]
SUBST drive1: /D

  drive1:        Specifies a virtual drive to which you want to assign a path
  [drive2:]path  Specifies a physical drive and path you want to assign to
                 a virtual drive.
  /D             Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.

Open in new window

for example, to shorten \server1path2folder3subfolder4sql2008 to drive Z:, type the following on command prompt.

SUBST Z: \server1path2folder3subfolder4sql2008

then install SQL2K8 from Z:

hope it helps,
bbao

DAKTRONICS DOES NOT PROMISE THAT THE CONTENT
PROVIDED HEREIN IS ERROR-FREE OR THAT ANY DEFECTS WILL BE CORRECTED, OR THAT
YOUR USE OF THE CONTENT WILL PROVIDE SPECIFIC RESULTS. THE CONTENT IS DELIVERED
ON AN “AS-IS” AND “AS-AVAILABLE” BASIS. ALL INFORMATION PROVIDED IN THIS ARTICLE
IS SUBJECT TO CHANGE WITHOUT NOTICE. DAKTRONICS DISCLAIMS ALL WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF ACCURACY, NON-INFRINGEMENT,
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. DAKTRONICS DISCLAIMS ANY
AND ALL LIABILITY FOR THE ACTS, OMISSIONS AND CONDUCT OF YOU OR ANY THIRD
PARTIES IN CONNECTION WITH OR RELATED TO YOUR USE OF THE CONTENT. ADJUSTMENT,
REPAIR, OR SERVICE OF THE EQUIPMENT BY ANYONE OTHER THAN DAKTRONICS OR ITS
AUTHORIZED REPAIR AGENTS MAY VOID THE EQUIPMENT WARRANTY. YOU ASSUME TOTAL
RESPONSIBILITY FOR YOUR USE OF THE CONTENT AND ANY LINKED CONTENT. YOUR SOLE
REMEDY AGAINST DAKTRONICS FOR DISSATISFACTION WITH THE CONTENT IS TO STOP USING
THE CONTENT. THIS LIMITATION OF RELIEF IS A PART OF THE BARGAIN BETWEEN THE
PARTIES.

The above disclaimer applies to any property damage, equipment
failure, liability, infringement, or personal injury claim arising out of or in
any way related to your use or application of the content, whether such claim is
for breach of contract, tort, negligence or any other cause of action.

Ask a Question

All Questions
All Unanswered

FAQ

Please Sign up or sign in
to vote.

1.00/5 (2 votes)

See more:

SQL-Server

I wanna install sql server. but it has error.
error is “long path names to files on sql server installation media”. how fix it?

Click here what see error image

Posted 28-Apr-13 6:47am

Ч. Цэрэнпүрэв

Add a Solution

Comments

CHill60
28-Apr-13 15:07pm

   

Many of us cannot access your link because it is blocked whilst at work. Please post the text of your message using Improve question. You should also state where you are trying to install to


1 solution

Please Sign up or sign in
to vote.

Solution 1

Sounds like there is a path limitation on the installation media.

Try copying the contents to the harddisk and run the install from there.

Permalink

Share this answer

Posted 28-Apr-13 10:48am

DaveAuld

Add a Solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

 

Print

Answers RSS

Top Experts
Last 24hrs This month
Graeme_Grant 65
steveb 50
OriginalGriff 40
CPallini 40
Richard MacCutchan 35
OriginalGriff 1,560
Graeme_Grant 610
Richard Deeming 520
Richard MacCutchan 500
Dave Kreskowiak 343

Related Questions

Problem to install a package

SQL Server Installation

install “sql server”

SQL server installation

SQL Server Installation

Install RDLC for VB.NET

SQL SERVER INSTALLATION

error in installing SQL

Installation of a software

Advice on installers

Advertise
Privacy
Cookies
Terms of Use
Last Updated 28 Apr 2013

Layout: fixed
|
fluid

Copyright © CodeProject, 1999-2023
All Rights Reserved.

Web01
2.8:2023-05-13:1

CodeProject,
20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8
+1 (416) 849-8900

Добавить комментарий