/build/static/layout/Breadcrumb_cap_w.png

How do i solve this uninstallation

I have a package Microsoft SQL Server Manager which i need to make an uninstallation of!!
To uninstall i use the cmd msiexec /x {productcode} /qb!

Under the uninstallation i get the message: Error 1306. Another application has excluse access to the file c:\program file\Microsoft SQL Server\MSSQL\Log\Error\Errorlog. Please shut down all other application and try again

I have only Sql Server Manger running on my test computer. I figures out if i kill the process SQLSERVERManger in TaskManger the uninstalltion works fine!! And here is my question how do i do this the best way!!!
Is there a cmd-line i can use to kill this process??
Or should i write a vbs file which does it!!! (If so-how should it look like)???

Do you have any other suggestion to solve this please tell me

0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 16 years ago
Red Belt
0
SQL Server holds a number of files open while it's running. You may find it worthwhile to stop all the SQL services before attempting to uninstall it...
Posted by: FrankSpierings 16 years ago
Orange Senior Belt
0
Command to stop a service: [font="courier new"]net stop <servicename>
Other command to stop a service: [font="courier new"]sc.exe stop <servicename>
Posted by: anonymous_9363 16 years ago
Red Belt
0
Nice catch, Frank. I should have added in my reply to the OP that killing the process is a great way to completely screw up your SQL database(s).
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ