SQL Server 2005 Express Error 3417

In a follow-up to my post on SQL Server migration options I decided to download and try out MS SQL Server Express Beta 2.

The program downloaded no problem but the SQL Server 2005 Express error code 3417 came up on installation:

SQL Server Express error

SQL Server Express error

I checked various newsgroups and ensured that all the requisite components were uninstalled before starting. I installed the .Net Framework 2.0 as recommended on the SQL Server 2005 Express download page – all to no avail.

It is either due to my installing it on a Windows XP SP2 OS or the fact that my copy of Windows XP SP2 is installed on my Apple Powerbook using Virtual PC!

I guess the chances are that it doesn’t like the hardware but I already have Visual Studio .Net, SQL Server Enterprise Manager and Visual Web Developer 2005 Express edition all installed and running fine on it. Maybe when Beta 3 is released – or maybe I’ll just look into another db!

About tomraftery

Irish Sustainability and IT guy in Spain
This entry was posted in Technology and tagged . Bookmark the permalink.

68 Responses to SQL Server 2005 Express Error 3417

  1. Pingback: Tom Raftery's I.T. ramblings » Combatting WordPress Trackback Spam

  2. Alan says:

    Hi Tom,

    We’re expierencing the same problem on the install of the Sql Server Express beta 3. Problem when installing it onto a Windows 2000 SP4 machine. All pre-requisits are fine – although it does warn that the hardware does not meet required spec – although were happy it does.

    If anyone has a solution I’d love to hear it .. or more meaning to the error 3417

  3. Anonymous says:

    Someone said it may be a compress directory problme

  4. superdigua says:

    i met the same problem, which is caused by compress directory of sqlserver 2005

  5. ksc@aloha.net says:

    I received the same error, error 3417, when attempting to start the SQL 2005 Express service on a WinXP Pro SP2 machine. Are there any solutions out there for this?
    ksc@aloha.net

  6. Erik Ronne says:

    I had exactely the same 3417-problem but it was easy to fix. All you need to do is to run SQLdiag.exe in the \90\Tools\Binn folder

  7. Doozie says:

    I had the sam error when attempting to start the SQL server on XP pro SP2 machine. Did the following:

    Windows control panel -> Performance and maintenance -> Administrative tools -> Services ->right click on SQLEXPRESS -> Properties -> Under Logon tab check Local logon and allow interact with local services…

    The start the SQL Express do the same for SQLServer too.

  8. Frank says:

    I was having the same problem as well.

    The last post about changing the service logon from Network to Local System was the key.

    I think some of it had to do with the fact that I installed SQL Server Express a couple of months ago, but just last week finally rejoined my company’s domain. Which almost makes sense because it changes how my computer (XP SP2) interacts with the network…

    My 2 cents…

  9. ASH says:

    Thanks a lot, Doozie. It worked…

    ASH.

  10. Anonymous says:

    Compression was the issue for me. Thanks for the help.

  11. Mike says:

    Hey, I have another solution. My event viewer siad something about the Master database being compressed. I checked the data folder, and all database files were blue (meaning compressed, the ‘blue’ setting can be found in folder options). So I selected all files, right clicked, choose properties, clicked advanced and unchecked compressed attributes. After that, I could start the service.

  12. Moojjoo says:

    Yes, I had the same issue and after right clicking and decompressing the data files in the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data solved the issue.

  13. Harshal says:

    Compression was the issue. Thanks

    P.S. I have SQL 2000 and I checked the db files, those were also compressed, but I was able to start the service MSSQLSERVER and use SQL 2000 normally.

  14. Emmanuel says:

    Compressed files were my issue

  15. Anonymous says:

    I had the same issue…Compressed files. Thanks to everyone Moojoo

  16. Manon says:

    Compressed Files, thanks!

  17. Assad says:

    Thanks for the useful info, decompression was the solution. I’m running SQL Server 2005 on WinXP Sp2.

  18. G Money says:

    Compression was the solution for me.

  19. Totally Mad says:

    Thanks doozie, u are the best bro! it worked

  20. Dexiang.Wu says:

    Thanks very much to Mike

    I think his solution is the key

  21. brdietdidi says:

    Compression was the solution for me too. Not the whole drive had to be uncompressed by only my data-dir: C:\Programme\Microsoft SQL Server\MSSQL.1\MSSQL\Data. Thanks for the help

  22. Enrico says:

    Yep, it was a compression issue! Cheers

  23. Cristian says:

    No way…same problem but not the same solution.
    Can someone help?

  24. sachin says:

    I had also problem like that ,now its resolved how?

    see-> Windows control panel -> Performance and maintenance -> Administrative tools -> Services ->right click on SQLEXPRESS -> Properties -> Under Logon tab check Local logon and allow interact with local services…

    Realy Good One…

    Thanks
    Sachin

  25. Sam Stange says:

    Yep, compression was the issue for me. I solved this issue by going to my SQL Server data folder via windows explorer (mine was: C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data), select all the files, right click, click advanced, uncheck, “Compress contents to save disk space”.

  26. vladimir says:

    Doozie master, thank you

  27. James Dawson says:

    As mentioned above, this may be a permissions issue. If you are trying to run the server with a domain account, make sure it has sufficient priveleges to do it.

  28. bruce says:

    In my case, it’s compression issue, too

  29. Wil says:

    I know u may not read this since ur post was in 2006 but thx Moojjoo… save me =D

  30. MWONG says:

    THANKS DOZIE.

  31. SN says:

    Yes, compression was the issue for me. I solved this issue by going to my SQL Server data folder via windows explorer (mine was: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL), select all the files, right click, click advanced, uncheck, “Compress contents to save disk space”.

  32. Vinicius says:

    Thanks Tom for mantain “posts” on your blog.
    I tried that Erik Ronne said and works fine.
    Congrats.

  33. Myk says:

    Windows control panel -> Performance and maintenance -> Administrative tools -> Services ->right click on SQLEXPRESS -> Properties -> Under Logon tab check Local logon and allow interact with local services… worked for mine. But I am using Business Contact Manager and Accounting 2007. So services appears different. Faster way is START > Run type services.msc. Then on SQL Server (MSSMLBIZ)right click and on the LogOn tab select Local System Account and check Allow service to interact with Desktop.

  34. Thomas says:

    It was a compression issue.
    Thx for the help !

  35. Franc'O. says:

    Thanks all! Some updates changed the service login. Switching to the Local Service account did it for us.

  36. Andy says:

    I found that granting the “Network Service” account Full Permission on the “C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data” folder done the trick.

    Hope this helps.

  37. Andrey Andreev says:

    Yep, compression issue here too!

  38. Rifat says:

    compression was the issue on my xp sp2 sql server 2005 dev ed.

    select the databases, (master.mdf…)
    rigth click, click advanced in properties tab, and remove checkbox on the compression control….

    rifat

  39. Ashish says:

    Worked for me as well after decompressing the file.

  40. Gary says:

    I’ve been dealing with the issue of SQL failing for months.
    Thanks to the information provided here it’s resolved, compression is the issue.
    Thanks Everyone.

  41. Gary says:

    However SP3 failed, no doubt need to reboot.

  42. Ankit says:

    thanks dear Doozie your idea is worked for me

  43. abhijeet says:

    thanx a lot guys.. compression was my issue which was resolved

  44. Niall says:

    As Andy said above, granting full control did the trick.
    Having read, read & execute, write, modify didn’t work!

    I thought the configuration manager was supposed to take care of all required permissions?

    Thanks for the help.

  45. Simon says:

    Thanks…changing the service to local solved my service not starting AND allowed me to install the latest service pack.

  46. Anonymous says:

    Thanks guys compression was the problem .. it really helped & thanks to ll of them who posted…

  47. SirThomas says:

    Login as “local service” appears to have corrected “Error Code 3417″ for me. Thanks!

    Now if only someone can figure out why my MsIE refuses to open anything on http! (https works, and so does any other web-app)

  48. NawarT says:

    Thanks Mike, it works for me concerning uncompressing the files

  49. alomohora says:

    it is work for me. thx all

  50. Kevin Jacobs says:

    Login as “local service” appears to have corrected “Error Code 3417? This also worked for me. I think the problem started when I loaded a new key for MS Office 2007 Small Biz on a new system in the Admin account. I then created a new user account with Admin rights, switched to that account and the problems started. It looked like the service defaults to This Account instead of Local User Account. The problem was This account was where it was first loaded, the Administrator Account.

  51. Mustafa says:

    Hello !

    i have this problem with Sql Server 2005 express but i don’t know how to solve i tried SqlDiag.exe but it doesn’t work any body have solutions and i didn’t understand Compressing solution
    thanks for your time

  52. Loo says:

    i decompress the data file and it work now. thanks.

  53. Kalyan says:

    I had different issue, Entire drive was read mode!! after network team fixing this issue, it is resolved.

  54. grude says:

    Thanks All. Changing my services to local and not network did the trick.

  55. Jagjit says:

    I had also problem like that ,now its resolved how?

    see-> Windows control panel -> Performance and maintenance -> Administrative tools -> Services ->right click on SQLEXPRESS -> Properties -> Under Logon tab check Local logon and allow interact with local services…

    Realy Good One…

    Thanks
    Jagjit Singh

  56. JayJay says:

    Thanks so much i could work out this error.
    Good job!!!

  57. Vishal Srivastava says:

    This dosent solve the issue

    Thanks

  58. Grant says:

    Thanks Doozie,

    After weeks of struggling it worked a charm after using your settings.

  59. Victor Jimenez says:

    Thanks Doozie. I will ad this page to favorites.

  60. A Ahmed says:

    Thanks. This was a helpful comment.

  61. R Hartness says:

    Will try this out soon… Thanks Tom for helping me find this post since you moved your blog!

    I’m sure this will continue to be a good reference for many other users as well.

  62. Steven says:

    yup. compression is the issue. thank you all.

  63. Hum says:

    Changing to local logon worked for me…thanks guys

  64. Aamir Saddique says:

    De-compressing the master database resolved the issue

  65. Rupesh says:

    I had same problem.. After uncheck the compress problem resolved

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s