how to fix error in re-installing SQL Server 2008 - sql-server-2008

I had sql server installed in my laptop. I planned to download an update of sqlr2 since I wa not able to attach my previous database in sql server 2008 since it is a 661 version. The update didn't finish as expected hence I decided to uninstall sql server 2008 by deleting it in the control panel.
Now when I tried re-installing sql server 2008 back, I am getting following error prompt
https://imageshack.com/i/1qu5vzj
http://imageshack.com/a/img62/3218/u5vz.jpg
When I click on continue option, it again comes back to the same promot
Can anyone help me how to fix this error so i can install sql server 2008 again in my laptop?

I think the problem is about .Net framework 4 . your windows is x86 or x64?
try to install it without using sql server 2008 install package base on your OS system type.

Related

MSSQLSERVER checkbox cannot be checked when install SQL Server 2008 SP2

I want upgrade my SQL Server 2008 by installing SP2, however, I could not check the instance name as snapshot shows. I can confirm this service is running as I have checked in Administration tool.
The error message on the right is pretty clear - you have SQL Server 2008 (v10.0.1600.22) installed, and you're trying to apply the Service Pack 2 for SQL Server 2008 R2 (v10.50.1600.1) on top of it.
SQL Server 2008 and 2008 R2 are two different versions of SQL Server! You cannot do this. You need to download Service Pack 2 for SQL Server 2008 (not 2008 R2!)
From the error screen on the top right says the version is mismatched have you tried using windows update to install service packs?

Error when trying to install SSIS 2005 Package on 64 bit OS

I've created an SSIS package on a 64 bit Windows 7 box running the 32 bit version of SQL Server 2005. When I try to install the package on a 64 bit Windows Server 2008 box running the 32 bit version of SQL Server 2005 I get the following error:
===================================
Unexpected error occurred. (Package Installation Wizard)
===================================
Retrieving the COM class factory for component with CLSID {E44847F1-FD8C-4251-B5DA-B04BB22E236E}
failed due to the following error: 80040154. (Microsoft.SqlServer.ManagedDTS)
------------------------------
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Application..ctor()
at Microsoft.SqlServer.Dts.Deployment.PackageInstallationWizardForm..ctor()
at Microsoft.SqlServer.Dts.Deployment.PackageInstaller.Main(String[] args)
===================================
Retrieving the COM class factory for component with CLSID {E44847F1-FD8C-4251-B5DA-B04BB22E236E}
failed due to the following error: 80040154. (Microsoft.SqlServer.ManagedDTS)
------------------------------
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Application..ctor()
I've also tried to install it on my Windows 7 box and got the same error. I have the same version of SQL Server 2005 running on our test server which is running 64 bit Windows Server 2003 and the installation wizard launches just fine.
On the Server 2003 box there isn't an assemblies folder in the C:\Program Files (x86)\Microsoft SQL Server\90\SDK so even though it's a 32 bit install of SQL Server the install is different. I'm figuring it was an upgrade from a previous version.
So far through my research I haven't found anything that's helped me correct this issue with the Server 2008 box. I'm assuming that the newer OS's or the clean installation of SQL server might be causing an issue but I'm only guessing at this point.
I've done a version check on all 3 instances of SQL Server using "SELECT ##VERSION" and have verified that all of the versions are 32 bit.
I've compiled my package on the Server 2003 box as well and it still won't install on the Server 2008 box. I've also set the Run64BitRuntime option to "False" in the package properties but so far nothing has helped.
Are there any files, such as dll's, that I need to transfer to the 2008 server from the 2003 server?
Any suggestions would be appreciated.
As it turns out I needed to uninstall sql expess 2008. I'd read that sql server 2005 and sql express 2008 could exist on the same server which they can if they were only being used as database instances. Unfortunately the install of sql express 2008, which was already installed on the server, prohibited Integration Services and SQL Server Agent from working correctly and caused them to throw the errors mentioned.
Once sql express was uninstalled everything worked fine.
Thanks to everyone who responded.
This looks like a build error for your package. You need to track down what component is represented by that "component with CLSID ..."
Usually if you add the package to a BIDS SSIS Project and Execute it (debug it) the component with the issue will become clear.

Run-Time error '-2147024703 (800700c1)' when running Access 2010 with SQL Server 2008

I have an application written in MS ACCESS 2007 using VBA, connecting to an SQL Server at the back end. Both Access and SQL Server are running locally.
My machine runs Access 2010 and MS SQL Server Express 2008 R2 (both 32-bit, on WinXP) with no problem.
I have another machine, Win7 64-bit, running both Access 2010 and SQL Server 2008 (NOT R2) 64-bit.
When I run the Access application on the 64-bit machine, I have a drop down box to select the SQL Server which holds the various databases. When I select the server, after a few seconds I get an error:
Run-time error '-2147024703 (800700c1)':
Automation error %1 is not a valid Win32 application.
When I select the Debug option, the yellow arrow points to:
Set oServer = New SQLDMO.SQLServer
The next line is:
oServer.Connect ServerName, strSQLUser, strSQLPwd
In the watch list, I can see that ServerName, strSQLUser, and strSQLPwd hold the right values to access the SQL Server. I've tested these in sqlcmd and successfully was able to query tables.
Can anyone please help me out on this one? I'm not sure what to do next.
Seems like you've got registered a 32-bit SQLDMO on your system that is being used for connection to the 64-bit instance. Check your registry / file system for SQLDMO.dll versions and register the correct one.
Also check MSDN "Installing SQL-DMO" because SQLDMO was scheduled for remove after SQL Server 2008 R2:
Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
SQL Server Database Management Objects (SQL-DMO) has been removed from SQL Server 2008 R2 Express and the SQL Server 2008 R2 Feature Pack. SQL-DMO also does not support Database Engine features introduced after SQL Server 2000. We recommend that you modify applications that currently use this feature as soon as possible. If you must support SQL-DMO, install the Backward Compatibility Components from the SQL Server 2008 Feature Pack from the Microsoft Download Center. Do not use SQL-DMO in new development work; use SQL Server Management Objects (SMO) instead. You can obtain the SMO documentation by installing SQL Server 2008 R2 Books Online.
Thanks for this.
I looked to find SQLDMO.DLL 64-bit version, but although using the Backwards Comparability package for x64, installing using the MSI did not do the job.
I had to manually extract the files and place the correct version (which is ~2MB larger than the x86 version as an indication to knowing which one is the x64) and then run 'regsvr32 sqldmo.dll ' in the command line (very important: need to run cmd as Administrator for this to succeed).
After the module has been registered, my Access front end run great.

Can't install SQL Server 2008 R2 management tool (complete)

I have SQL Server 2008 R2 Express installed on my workstation. I’m in the process of learning Entity Framework, and wanted to use the Management Studio Profiler to help understand the SQL commands generated by EF.
Since the Express version does not include the Profiler, I installed SQL Server 2008-R2 Developer side-by-side with Express. The installation went perfectly and I had no problem adding my databases to the full Server installation.
The problem is that Management Studio – Complete was not installed with the full SQL Server so I still don’t have access to the profiler. I re-ran the installer so I could install the Complete version, but it is greyed out and I cannot select it for installation.
Can someone help me get Management Studio – Complete installed?
If I have to uninstall the Express version, will that hurt anything (I have VS2010 Ultimate installed as well)?
Thanks!
I ran into this and had the hardest time getting the Management Tools - Complete to install. I finally got it working by running the upgrade. Even though it was already Enterprise edition with nothing obvious to upgrade I went through the update wizard. After that I was able to do the install of the complete tools.
Steps:
Run the installer -> Maintenance -> Edition Upgrade -> follow the wizard.
Then -> Run the installer -> Installation -> New SQL Server stand-alone ... -> ... "Add features to existing install" -> Management Tools - Complete.
To solve the problem I uninstalled SQL express and the Basic version of Server Management Studio.
Uninstalling SQL Express is not intuitive as it does not appear as a separate item in the “Programs and Features” window.
To uninstall it, I right-clicked on “Microsoft SQL Server 2008 R2 (64-bit)” and selected Uninstall/Change”. This opened a dialog, from which I selected ‘Remove’. I navigated though the process until I arrived at a screen which allowed me to elect to remove the Express version (all items with 'Express' in the name). I also elected to remove Management Studio Basic.
After SQL Server Express and Management Studio Basic were uninstalled, I started the SQL Server 2008 R2 installer; this time I was able to select Management Studio Complete for installation.
The installation process executed normally; when it finished the Complete version of Management Studio was available and I was able to execute the Profiler.
Uninstalling SQL Server Express appears to have done no harm to my system; I was able to modify the Server Explorer data connection in VS2010 to connect to my database in the full version of SQL Explorer.
This process outlined above worked for me; YMMV.
In my case I was trying to install instance features, while SQL Management Studio is a Shared feature.
Another way of installing SQL Management Studio is to install another instance using SQL With Tools or the Advance Services issue. Do not look into another instance that is already installed.

SQL Server 2008 Installation Incomplete

This question may look stupid and dumb but I needed to ask this. I installed SQL server 2008 but what I have finally installed is this (see the images).
Is SQL Server 2008 is installed? If not how can I install it?
Start Menu
Control Panel (Add/Remove)
SQL Server 2008 is installed but you might have to install Client tools for Sql Server 2008 to access the installed instance..