Why can't I install SQL Server SP1 (KB968369)? - sql-server-2008

I have a Windows Server 2008 x64 machine. I have the "Microsoft SQL Server 2008 Service Pack 1 (KB968368)" as an "optional" update available from Windows Update. I choose to install it, my computer installs it for a while, I restart, and that update is available again. Why doesn't my computer install it?
Thank you.

Not sure, but I had the same problem. Did you ever do an "Edition Upgrade" in the SQL Server 2008 installer? Many users who did such an upgrade are reporting problems with the update package. For me, it wasn't a mission-critical system, so I just uninstalled the whole shebang and then reinstalled.
Other workarounds at Microsoft Connect. These people have problems when it's installed on the same machine as Visual Studio.
FWIW, I find the entire setup experience for SQL Server 2008 to be absolutely miserable.

I think I got the same problem before. I googled around and found that's a known issue My solution is to check something like "don't notify this updates".

do you have any errors in your event log?
I found that I couldn't install it using windows update, I had to manually download it and it installed first time. I also has this problem for SQL 2005 sp2

I solved it. I deleted the PendingFileRenameOperation key in the registry (backed up that registry branch first), ran the install, restarted and it is now in my installed updates list.

Related

Mysql 8.0.29 installation failed

The installation failed at this point
I have already installed Microsoft Visual Studio c++ 2019.
I already uninstalled and delete all the hidden folders.
I read that for someone the solution was to turn off Windows firewall, I already tried it.
I also checked multiple videos of how to install MySQL, but they have the same steps, just a different voice.
Any suggestions?
Check some log information.
When you uninstall mysql, you should delete the relevant information about mysql in the registry.
3.install .net 4.5.2+

Getting error while installing SQL Server 2008

I am getting an error while installing SQL Server 2008. The error is like
SQLServer SetUp requires .NetFramework 3.5 to be installed
But .NET framework 3.5,SP1,VS2008 sp1 is already installed. I have checked in control panel also.
Because of this error I am not able to do daily tasks.
Please help me, where am going wrong?
Even though you install .NET Framework 3.5
sql server installer still ask you to install .NET Framework 3.5.
If you install sql server 2008 Standard ed in windows -server 2008 R2, .NET Framework 3.5 is already built in with windows.
Just go to server manager, click Add Feature and enable it. After that, you can install SQL Server 2008.
This bug had already reported to microsoft see here.
http://connect.microsoft.com/SQLServer/feedback/details/354980/sql-server-2008-setup-requires-microsoft-net-framework-3-5
and solution that helped was
The setup has been successfully completed after installation of .NET 3.5 Service Pack 1 (BETA) and Windows Installer 4.5. It was also nessary to install PowerShell after that.
Go ahead and download the required software and then try again installing.
I had the same problem.
In the installation folder you have some files and three folder (ia64, x64, x86). When I copied the installation folder of SQL Server 2008 I excluded the ia64 and x64 folder.
The solution that worked for me was to not exclude the x64 folder. Maybe it is possible you have missing files. I would download or copy the installation files again!

"Unauthorized operation" error when installing Express Edition

Microsoft Outlook 2010 with Business Contact Manager worked on my Vista laptop but, laptop died. Now, have Windows 7 Ultimate x64 tower since November. Loaded Office 2010 x86 just fine but, trying to install BCM, failed to install SQL Server Express.
So, now I can't get SQL Server 2008 to install; the Engine, that is, all supporting files install fine. I read that if you can install SQL Server 2008 with the ID=MSSMLBIZ, BCM will pass over the server install, and continue with install. I read that the issue may be SQL Server x86 on Win 7 x64. So, I tried SQL Server x64. Every time I get an Attempted to perform an unauthorized operation.
Install always fails at step SqlBrowserConfigAction_install_ConfigNonRC_Cpu32. So, ran as Admin, from Admin log-in, from the root directory in the Admin log-in, changing permissions on the Security Registry KEY, turned off firewall, all suggestions still failed.
Coincidentally, I have an Update for Windows 7 for x64-based systems (KB2732487) that has failed to install, as well.
I think your Windows 7 is not proper installed, perhaps while installing Windows Updates.
But as for the
SqlBrowserConfigAction_install_ConfigNonRC_Cpu32
I dont understand: ConfigNonRC , in Microsoft terms stands the RC for Release Candidate.
If i was you i should try this:
Open CMD as Admin
Typ: "sfc /scannow"
When that's ready your pc may restart.
Now at CMD typ: "sfc /verifyonly"
If it shows any errors, try "sfc /scannow" again.
If it does not show any errors, try to install Windows Updates. All of them.
If this works, delete all existing SQL apps. And install the Core first.
If the updates can't install, You can try to re-install Windows 7 what i basically should not do and just use MySQL. A lot faster & reliable these days.
I hope this will fix your problems!

Uninstalling VS Setup project prerequisites

We currently use a VS 2010 (upgraded from 2008) setup project to install our application, and utilize the SQL Server 2008 install prerequisite.
Well wouldn't you know, management has got it in their head that everything (including prerequisites, but not .net) that's installed by the application must now be uninstalled by the uninstaller.
So I'm trying to modify the installer to uninstall SQL Server Express 2008.
I first thought that I could modify the package.xml dependency for sql server to trigger the right install conditions so I could pass in the uninstall arguments, but I'm at a loss as to what those conditions would be.
Then I thought about using a custom install action and System.Diagnostics.Process to programmatically invoke the sql express installer with uninstall command flags, but I'm not sure if I can guarantee that the installer will make that executable accessible for uninstallation.
Any ideas?
Um, uninstalling sql server express is bad. What if another application was later added that relies on this? Your uninstaller would break that application.
Management is right, though: you should uninstall everything you installed in the first place.
So what is the solution then? As they say, "damned if you do, damned if you don't".
Fortunately, if this is for a desktop application the answer is simple: don't use Sql Server Express Edition. Express Edition is really a server class engine. Sql Server Compact Edition is much more suited to this scenario, and will solve your deployment issues.
If this is for a server application, it's a little trickier. Any well-behaving installer will create it's own instance of Sql Server Express. You then need to make sure you uninstall only your instance (and also make sure your install is well-behaving). This doesn't really solve the problem, but at least it lets you say it's their bug and not your if something breaks after your uninstaller runs. Unfortunately, you still have to build this part manually.

Why is SQL Server 2008 Management Studio Intellisense not working?

I'm being driven to insanity trying to figure out why Intellisense just fails to work at all. The server I'm using is local and is 2008, the database is set to 2008 compatibility, Intellisense is on in every menu I can find, and yet no member list will pop up even with a CTRL-J.
Has anyone experienced something like this and found a way to fix it? I really can't bring myself to start work unless I have Intellisense working.
I understand this post is old but if anybody is still searching and has not found a solution to the intellisense issue even after re-installing, applying the cumulative updates, or other methods, then I hope I may be of assistance.
I have Applied SQL 2008 R2 Service Pack 1 which you can download here
http://www.microsoft.com/download/en/details.aspx?id=26727
32 Bit:
SQLServer2008R2SP1-KB2528583-x86-ENU.exe
64 Bit:
SQLServer2008R2SP1-KB2528583-x64-ENU.exe
I have applied this SP1 and now my intellisense works again.
Visual Studio 2010 SP1 breaks SSMS 2008 R2's IntelliSense. There is a connect about that, and fortunately there is also a fix for that.
(In short, you will need to install Cumulative Update package 7 for SQL Server 2008 R2 by requesting
SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x86or
SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x64
from this hotfix request page.)
EDIT: As #Paul Lemke noted, one might need to get the latest CU package. This blog contains the SQL server releases. (As of this writing, the latest is CU14)
For SQL Server 2008 R2, installing Cumulative Update 7 will fix the problem. The file you need is
SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x86
or
SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x64
I also had to uninstall and re-install SQL Server 2008 first (which didn't fix it, but the CU did).
No need to reinstall.
Click on the setup file. Then go to maintenance and click on Repair. This should correct the intellisense problem.
I just the had same problem. I figured out that Intellisense stopped working after I took some databases offline and doing an Intellisense refresh (Ctrl-Shift-R). I brought the offline databases back online, did a refresh (Ctl-Shft-R) again and VOILA! Intellisense is working again.
What a crappy design. Maybe the population of Intellisense's lists chokes when a database exists but is offline. Thanks Microsoft.
I don't want to suggest a product out of turn, since getting Intellisense running is probably the best option, but I've struggled with the accursed no intellisense on Management Studio for months. Reinstallation, CU7 update, refreshing caches, sacrificing chickens to pagan gods; nothing has helped.
I was about to pay for RedGate's SqlPrompt (pretty damned pricey, $195 US), when I found SqlComplete.
http://www.devart.com/dbforge/sql/sqlcomplete/?gclid=CN2xs_Lw7akCFcYZHAodpicXXw
There is a free version which does the basics, and the full version is only $50!
I'm a database architect, and while I can remember the commands, auto complete saves me heaps of time. If you're stuck and can't get Intellisense to work, try SqlComplete. It saved me hours of hassle.
I recently wrote a tip about troubleshooting IntelliSense. The title says SQL Server 2012 but most of the techniques can be applied to earlier versions of Management Studio as well.
Troubleshooting IntelliSense in SQL Server Management Studio
I ended up fixing it by reinstalling SQL Server 2008. This wasn't at all optimal, but if someone comes across a similar problem be sure to know this route will probably work.
I tried all the fixes - taking databases offline and then bringing them online, installed Cumulative update 10, repaired SQL Server Installation, refreshed local cache, made changes to the required settings on SQL Server Management Studio but everything was in vain. Finally installing the correct service pack (SP1) did the trick for me !
Follow the link below, and download SQLServer2008R2SP1-KB2528583-x86-ENU.exe (or the x64 file for a x64 bit instance of SQL Server)
http://www.microsoft.com/download/en/details.aspx?id=26727
Finally i have Intellisense enabled !
I'm posting this here as I am sure more people will be comeing across this issue. I installed Security Update for microsoft Visual Studio 2010 Service Pack 1 (KB2565057) and lost Intellisense in SQL Server Management studio 2008 (not R2).
An uninstall of the SP restored Intellisense .. Don't you just love Microsoft????
After finding this thread, I discovered that my Intellisense only broke after taking a database offline, and any offline database(s) on the instance would kill Intellisense.
In this thread, explaining that in order to restore Intellisense, you must
take the necessary databases offline, then
restart the server instance, and finally
refresh the Intellisense cache.
This procedure has worked for me and Intellisense is now working again.
I've had the same problem too. Searched everywhere online and can't find a solution. I did install Redgate's SQL Prompt which functions similarly to Intellisense, so maybe there was a conflict. I've since stopped the Prompt from running, but now no intellisense at all. Using SQL Server 2008 will SQLCMD mode off, no luck at all. This has happened before, a reinstall of SQL Server was the only thing that I could get to work.
Same problem, but just re-installing SQL Management Studio 2008 R2 Service Pack 1 worked for me. I left my DB engine alone. The DB engine is not the problem, just SQL Management Studio getting hosed by Visual Studio SP1.
Installers here...
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=26727
I installed SQLManagementStudio_x86_ENU.exe (32 bit for my machine).
When trying the accepted answer, I was getting an installation error: A failure was detected for a previous installation, patch, or repair blah, blah, blah...
To fix this, in my registry, I changed all DWORD values to 1 in the following Keys: (As always be careful modifying the registry and create a backup of the key before changing anything)
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\100\ConfigurationState
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSAS10_50.MSSQLSERVER\ConfigurationState
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\ConfigurationState
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.SQLEXPRESS\ConfigurationState
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\ConfigurationState
See my full post about Fixing Intellisense issue in SSMS.
Here is the official word on this from MS.
http://support.microsoft.com/kb/2531482
Their solution is the same as above, install the SQL Server 2008 R2 updates with the version 10.50.1777.0.
http://support.microsoft.com/kb/2507770
I did all of the above and ultimately gave up. Then one last resort was a third part SQL Intellisense add-on I found SQL Complete Express by devArt.
It's Intellisense plus more. Intellisense is back and all is well.
Supports SSMS 2005 - 2012 also includes Visual Studio Add-In.
SQL Complete
For SQL Server 2008 R2, installing Cumulative Update 7 will fix the problem. The file you need is
SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x86
or
SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x64
I also had to uninstall and re-install SQL Server 2008 first (which didn't fix it, but the CU did).
this is Direct Link From MS that i was got it Hot Fix