Showing posts with label re-installing. Show all posts
Showing posts with label re-installing. Show all posts

Friday, March 23, 2012

Re-installing SQL Server Express

I recently posted this question in the SQL Server Express forum and it was suggested I also post this issue to this forum. In the hope that someone can shed some light on the problem.

A couple of days ago I installed SQL Server Express and it seemed to be running fine. (I've not really had a lot of time to devote to trying it out).

Today I decided to remove the software as I noticed it placed various components on differnet drives (my fault, I think). Anyway I removed everything using Add/Delete Progams and then deleted any folders left behind.

Now I try a fresh install of SQLEXPR_ADV and I get as far as the "Instance Name" dialog and use the default Named instance of SQLEXPRESS and then click Next.

The next dialog box appears with the heading "Existing components". The three check boxes are grayed out. So I click the Details button and the following is presented on screen:

Name: Microsoft SQL Server 2005 (SQLEXPRESS)
Allowed Action: Maintain (Action is only available from Add or Remove Programs)
Reason: Cannot maintain product, to maintain the product go to Add or Remove Programs

Name: Microsoft SQL Server 2005 Reporting Services (SQLEXPRESS)
Allowed Action: Maintain (Action is only available from Add or Remove Programs)
Reason: Cannot maintain product, to maintain the product go to Add or Remove Programs

Name: Microsoft SQL Server 2005 Tools
Allowed Action: Maintain (Action is only available from Add or Remove Programs)
Reason: Cannot maintain product, to maintain the product go to Add or Remove Programs

It has been pointed out that the following services should have been stopped prior to removal.

SQL Server Active Directory Helper

SQL Server Browser

SQL Server FullTest Search (SQLEXPRESS)

SQL Server Reporting Services (SQLEXPRESS)

Surely this should be managed by the Add/Remove process!

I was able to successfully re-install the program as long as I created a new instance.

What should be the correct process to remove SQL Server Express and if necessary how do I remove services if they do not get deleted?

TIA

Steve

Hmmmm.... for some reason the discovery process is still finding existing components from your original install. When you click on the report button from Add/Remove Programs, do the original install components show up? I'll try to repro it here to see if I hit it. Are both versions SP1? And what is your OS & SP level?

Thanks,
Sam Lester (MSFT)

|||

It could be that the registry entries for the install were not cleaned up correctly, since those services should have been cleaned up by add and remove. There could be multiple reasons, account access could be one of them. Are you sure the same account that installed it was used to uninstall it (or an account with similar privileges)?

Thanks

|||I'm trying to add/remove SQL Server Express via command line. I can successfully install using

sqlexpr.exe /q /qn INSTANCENAME=myinstance DISABLENETWORKPROTOCOLS=0 ADDLOCAL=SQL_DataFiles,Connectivity

My goal is to uninstall just the 'myinstance' instance, and leave other instances alone, so I use

sqlexpr.exe /q /qn INSTANCENAME=myinstance REMOVE=SQL_Data_Files

On the surface, this seems to work. However, when I attempt to re-run the install, the attempt fails, informing me that the instance 'myinstance' already exists. I checked the registry, and discovered a lot of references to 'myinstance' are still there (I stopped counting at a half-dozen). And it seems to make no difference whether I run 'REMOVE=SQL_Data_Files' or 'REMOVE=ALL'.

So I too would like to know of a reliable way to remove a specific instance from a SQL Server Express install so that no traces of that instance remain behind.

|||

Without having the details of the configuration, I do not know what could be the issue related to install/unistall. However, the following link provides full details on how to install and uninstall from a command prompt. Please try and let me know if it helps:

http://msdn2.microsoft.com/en-us/library/ms144259.aspx#uninstallscripts

Regards,

sql

Re-installing SQL Server Express

I recently posted this question in the SQL Server Express forum and it was suggested I also post this issue to this forum. In the hope that someone can shed some light on the problem.

A couple of days ago I installed SQL Server Express and it seemed to be running fine. (I've not really had a lot of time to devote to trying it out).

Today I decided to remove the software as I noticed it placed various components on differnet drives (my fault, I think). Anyway I removed everything using Add/Delete Progams and then deleted any folders left behind.

Now I try a fresh install of SQLEXPR_ADV and I get as far as the "Instance Name" dialog and use the default Named instance of SQLEXPRESS and then click Next.

The next dialog box appears with the heading "Existing components". The three check boxes are grayed out. So I click the Details button and the following is presented on screen:

Name: Microsoft SQL Server 2005 (SQLEXPRESS)
Allowed Action: Maintain (Action is only available from Add or Remove Programs)
Reason: Cannot maintain product, to maintain the product go to Add or Remove Programs

Name: Microsoft SQL Server 2005 Reporting Services (SQLEXPRESS)
Allowed Action: Maintain (Action is only available from Add or Remove Programs)
Reason: Cannot maintain product, to maintain the product go to Add or Remove Programs

Name: Microsoft SQL Server 2005 Tools
Allowed Action: Maintain (Action is only available from Add or Remove Programs)
Reason: Cannot maintain product, to maintain the product go to Add or Remove Programs

It has been pointed out that the following services should have been stopped prior to removal.

SQL Server Active Directory Helper

SQL Server Browser

SQL Server FullTest Search (SQLEXPRESS)

SQL Server Reporting Services (SQLEXPRESS)

Surely this should be managed by the Add/Remove process!

I was able to successfully re-install the program as long as I created a new instance.

What should be the correct process to remove SQL Server Express and if necessary how do I remove services if they do not get deleted?

TIA

Steve

Hmmmm.... for some reason the discovery process is still finding existing components from your original install. When you click on the report button from Add/Remove Programs, do the original install components show up? I'll try to repro it here to see if I hit it. Are both versions SP1? And what is your OS & SP level?

Thanks,
Sam Lester (MSFT)

|||

It could be that the registry entries for the install were not cleaned up correctly, since those services should have been cleaned up by add and remove. There could be multiple reasons, account access could be one of them. Are you sure the same account that installed it was used to uninstall it (or an account with similar privileges)?

Thanks

|||I'm trying to add/remove SQL Server Express via command line. I can successfully install using

sqlexpr.exe /q /qn INSTANCENAME=myinstance DISABLENETWORKPROTOCOLS=0 ADDLOCAL=SQL_DataFiles,Connectivity

My goal is to uninstall just the 'myinstance' instance, and leave other instances alone, so I use

sqlexpr.exe /q /qn INSTANCENAME=myinstance REMOVE=SQL_Data_Files

On the surface, this seems to work. However, when I attempt to re-run the install, the attempt fails, informing me that the instance 'myinstance' already exists. I checked the registry, and discovered a lot of references to 'myinstance' are still there (I stopped counting at a half-dozen). And it seems to make no difference whether I run 'REMOVE=SQL_Data_Files' or 'REMOVE=ALL'.

So I too would like to know of a reliable way to remove a specific instance from a SQL Server Express install so that no traces of that instance remain behind.

|||

Without having the details of the configuration, I do not know what could be the issue related to install/unistall. However, the following link provides full details on how to install and uninstall from a command prompt. Please try and let me know if it helps:

http://msdn2.microsoft.com/en-us/library/ms144259.aspx#uninstallscripts

Regards,

Re-installing SQL Server Express

I recently posted this question in the SQL Server Express forum and it was suggested I also post this issue to this forum. In the hope that someone can shed some light on the problem.

A couple of days ago I installed SQL Server Express and it seemed to be running fine. (I've not really had a lot of time to devote to trying it out).

Today I decided to remove the software as I noticed it placed various components on differnet drives (my fault, I think). Anyway I removed everything using Add/Delete Progams and then deleted any folders left behind.

Now I try a fresh install of SQLEXPR_ADV and I get as far as the "Instance Name" dialog and use the default Named instance of SQLEXPRESS and then click Next.

The next dialog box appears with the heading "Existing components". The three check boxes are grayed out. So I click the Details button and the following is presented on screen:

Name: Microsoft SQL Server 2005 (SQLEXPRESS)
Allowed Action: Maintain (Action is only available from Add or Remove Programs)
Reason: Cannot maintain product, to maintain the product go to Add or Remove Programs

Name: Microsoft SQL Server 2005 Reporting Services (SQLEXPRESS)
Allowed Action: Maintain (Action is only available from Add or Remove Programs)
Reason: Cannot maintain product, to maintain the product go to Add or Remove Programs

Name: Microsoft SQL Server 2005 Tools
Allowed Action: Maintain (Action is only available from Add or Remove Programs)
Reason: Cannot maintain product, to maintain the product go to Add or Remove Programs

It has been pointed out that the following services should have been stopped prior to removal.

SQL Server Active Directory Helper

SQL Server Browser

SQL Server FullTest Search (SQLEXPRESS)

SQL Server Reporting Services (SQLEXPRESS)

Surely this should be managed by the Add/Remove process!

I was able to successfully re-install the program as long as I created a new instance.

What should be the correct process to remove SQL Server Express and if necessary how do I remove services if they do not get deleted?

TIA

Steve

Hmmmm.... for some reason the discovery process is still finding existing components from your original install. When you click on the report button from Add/Remove Programs, do the original install components show up? I'll try to repro it here to see if I hit it. Are both versions SP1? And what is your OS & SP level?

Thanks,
Sam Lester (MSFT)

|||

It could be that the registry entries for the install were not cleaned up correctly, since those services should have been cleaned up by add and remove. There could be multiple reasons, account access could be one of them. Are you sure the same account that installed it was used to uninstall it (or an account with similar privileges)?

Thanks

|||I'm trying to add/remove SQL Server Express via command line. I can successfully install using

sqlexpr.exe /q /qn INSTANCENAME=myinstance DISABLENETWORKPROTOCOLS=0 ADDLOCAL=SQL_DataFiles,Connectivity

My goal is to uninstall just the 'myinstance' instance, and leave other instances alone, so I use

sqlexpr.exe /q /qn INSTANCENAME=myinstance REMOVE=SQL_Data_Files

On the surface, this seems to work. However, when I attempt to re-run the install, the attempt fails, informing me that the instance 'myinstance' already exists. I checked the registry, and discovered a lot of references to 'myinstance' are still there (I stopped counting at a half-dozen). And it seems to make no difference whether I run 'REMOVE=SQL_Data_Files' or 'REMOVE=ALL'.

So I too would like to know of a reliable way to remove a specific instance from a SQL Server Express install so that no traces of that instance remain behind.

|||

Without having the details of the configuration, I do not know what could be the issue related to install/unistall. However, the following link provides full details on how to install and uninstall from a command prompt. Please try and let me know if it helps:

http://msdn2.microsoft.com/en-us/library/ms144259.aspx#uninstallscripts

Regards,

Re-installing SQL Server

A remote user messed up my installation of SQL SP3 and now the SQL Server property shows it has SP3 but in fact it never went though the process. I'm planning to re-isntll the SQL server then apply the SP3.
Is there an article or can someone give me some pointers of preparation prior to removing the current SQL server. Also, currently I only know to back up the database file. Can I backup and restore the Master DB and it will retore all users' login and pa
sswords to a particular database now on the server?
Thanks,
Alpha
Have you tried reinstalling sp3? If it still fails without a good reason, I
highly recommend you starting reinstallation from scratch because the
previous failed sp install may have corrupted the SQL instance, or at least
changed system schemas etc, leaving you in a inconsistent state. You can run
sp_help_revlogin to script out all user logins and save them. Also detach
all user dbs for future attach. You need to script out all jobs, alerts,
etc. also to avoid restoring msdb.
"Alpha" <Alpha@.discussions.microsoft.com> wrote in message
news:3D37FDD1-7C11-4DAE-99A6-E2E12CC11A76@.microsoft.com...
> A remote user messed up my installation of SQL SP3 and now the SQL Server
property shows it has SP3 but in fact it never went though the process. I'm
planning to re-isntll the SQL server then apply the SP3.
> Is there an article or can someone give me some pointers of preparation
prior to removing the current SQL server. Also, currently I only know to
back up the database file. Can I backup and restore the Master DB and it
will retore all users' login and passwords to a particular database now on
the server?
> Thanks,
> Alpha
|||I tried reinstalling sp3 twice and both time it won't go through. The sql server status shows it has SP3 when in fact the installation never went through. It is in a confused state. I will be removing the sql server installation, deleted the folder and
then re-install from scratch. I search the on-line book for more detail of sp_help_revlogin but it is not found. Is there a typo?
Thanks,
Alpha
"Richard Ding" wrote:

> Have you tried reinstalling sp3? If it still fails without a good reason, I
> highly recommend you starting reinstallation from scratch because the
> previous failed sp install may have corrupted the SQL instance, or at least
> changed system schemas etc, leaving you in a inconsistent state. You can run
> sp_help_revlogin to script out all user logins and save them. Also detach
> all user dbs for future attach. You need to script out all jobs, alerts,
> etc. also to avoid restoring msdb.
>
> "Alpha" <Alpha@.discussions.microsoft.com> wrote in message
> news:3D37FDD1-7C11-4DAE-99A6-E2E12CC11A76@.microsoft.com...
> property shows it has SP3 but in fact it never went though the process. I'm
> planning to re-isntll the SQL server then apply the SP3.
> prior to removing the current SQL server. Also, currently I only know to
> back up the database file. Can I backup and restore the Master DB and it
> will retore all users' login and passwords to a particular database now on
> the server?
>
>
|||Yes, you can backup and restore master, model, everything... But I think I
would open a PSS call to get MS support for this... Perhaps they can help
you get through without re-install... The cost is just $249 I think..
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Alpha" <Alpha@.discussions.microsoft.com> wrote in message
news:58D9149D-F7B0-423F-9EE7-CA7E1AC62C13@.microsoft.com...
> I tried reinstalling sp3 twice and both time it won't go through. The sql
server status shows it has SP3 when in fact the installation never went
through. It is in a confused state. I will be removing the sql server
installation, deleted the folder and then re-install from scratch. I search
the on-line book for more detail of sp_help_revlogin but it is not found.
Is there a typo?[vbcol=seagreen]
> Thanks,
> Alpha
>
> "Richard Ding" wrote:
reason, I[vbcol=seagreen]
least[vbcol=seagreen]
run[vbcol=seagreen]
detach[vbcol=seagreen]
Server[vbcol=seagreen]
I'm[vbcol=seagreen]
preparation[vbcol=seagreen]
to[vbcol=seagreen]
it[vbcol=seagreen]
on[vbcol=seagreen]

Re-installing SQL SERVER

I have to install SQL Server onto a new PC and then restore the data from
tape backup to the new server.
Are there any special things I have to do...I have never done this before,
so I am unsure of the steps...
Basically, I will be doing this
Setup new PC
Install SQLSERVER
Make sure no server procedures are running on system startup
Restore databases from tape backup to new SQL SERVER build
Is there anything else I need to do? Delete MASTER.MDB?
Thx
read these two articles
http://support.microsoft.com/default...b;EN-US;224071
http://support.microsoft.com/default...b;EN-US;246133
it makes things a little simpler if you keep the exact same drive letter
and directory structure on your new server as on the old server.
Billy wrote:
> I have to install SQL Server onto a new PC and then restore the data from
> tape backup to the new server.
> Are there any special things I have to do...I have never done this before,
> so I am unsure of the steps...
> Basically, I will be doing this
> Setup new PC
> Install SQLSERVER
> Make sure no server procedures are running on system startup
> Restore databases from tape backup to new SQL SERVER build
> Is there anything else I need to do? Delete MASTER.MDB?
> Thx

Re-installing SQL SERVER

I have to install SQL Server onto a new PC and then restore the data from
tape backup to the new server.
Are there any special things I have to do...I have never done this before,
so I am unsure of the steps...
Basically, I will be doing this
Setup new PC
Install SQLSERVER
Make sure no server procedures are running on system startup
Restore databases from tape backup to new SQL SERVER build
Is there anything else I need to do? Delete MASTER.MDB?
Thxread these two articles
http://support.microsoft.com/default.aspx?scid=kb;EN-US;224071
http://support.microsoft.com/default.aspx?scid=kb;EN-US;246133
it makes things a little simpler if you keep the exact same drive letter
and directory structure on your new server as on the old server.
Billy wrote:
> I have to install SQL Server onto a new PC and then restore the data from
> tape backup to the new server.
> Are there any special things I have to do...I have never done this before,
> so I am unsure of the steps...
> Basically, I will be doing this
> Setup new PC
> Install SQLSERVER
> Make sure no server procedures are running on system startup
> Restore databases from tape backup to new SQL SERVER build
> Is there anything else I need to do? Delete MASTER.MDB?
> Thxsql

Re-installing SQL Server

A remote user messed up my installation of SQL SP3 and now the SQL Server pr
operty shows it has SP3 but in fact it never went though the process. I'm p
lanning to re-isntll the SQL server then apply the SP3.
Is there an article or can someone give me some pointers of preparation prio
r to removing the current SQL server. Also, currently I only know to back u
p the database file. Can I backup and restore the Master DB and it will ret
ore all users' login and pa
sswords to a particular database now on the server?
Thanks,
AlphaHave you tried reinstalling sp3? If it still fails without a good reason, I
highly recommend you starting reinstallation from scratch because the
previous failed sp install may have corrupted the SQL instance, or at least
changed system schemas etc, leaving you in a inconsistent state. You can run
sp_help_revlogin to script out all user logins and save them. Also detach
all user dbs for future attach. You need to script out all jobs, alerts,
etc. also to avoid restoring msdb.
"Alpha" <Alpha@.discussions.microsoft.com> wrote in message
news:3D37FDD1-7C11-4DAE-99A6-E2E12CC11A76@.microsoft.com...
> A remote user messed up my installation of SQL SP3 and now the SQL Server
property shows it has SP3 but in fact it never went though the process. I'm
planning to re-isntll the SQL server then apply the SP3.
> Is there an article or can someone give me some pointers of preparation
prior to removing the current SQL server. Also, currently I only know to
back up the database file. Can I backup and restore the Master DB and it
will retore all users' login and passwords to a particular database now on
the server?
> Thanks,
> Alpha|||I tried reinstalling sp3 twice and both time it won't go through. The sql s
erver status shows it has SP3 when in fact the installation never went throu
gh. It is in a confused state. I will be removing the sql server installat
ion, deleted the folder and
then re-install from scratch. I search the on-line book for more detail of
sp_help_revlogin but it is not found. Is there a typo?
Thanks,
Alpha
"Richard Ding" wrote:

> Have you tried reinstalling sp3? If it still fails without a good reason,
I
> highly recommend you starting reinstallation from scratch because the
> previous failed sp install may have corrupted the SQL instance, or at leas
t
> changed system schemas etc, leaving you in a inconsistent state. You can r
un
> sp_help_revlogin to script out all user logins and save them. Also detach
> all user dbs for future attach. You need to script out all jobs, alerts,
> etc. also to avoid restoring msdb.
>
> "Alpha" <Alpha@.discussions.microsoft.com> wrote in message
> news:3D37FDD1-7C11-4DAE-99A6-E2E12CC11A76@.microsoft.com...
> property shows it has SP3 but in fact it never went though the process. I
'm
> planning to re-isntll the SQL server then apply the SP3.
> prior to removing the current SQL server. Also, currently I only know to
> back up the database file. Can I backup and restore the Master DB and it
> will retore all users' login and passwords to a particular database now on
> the server?
>
>|||Yes, you can backup and restore master, model, everything... But I think I
would open a PSS call to get MS support for this... Perhaps they can help
you get through without re-install... The cost is just $249 I think..
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Alpha" <Alpha@.discussions.microsoft.com> wrote in message
news:58D9149D-F7B0-423F-9EE7-CA7E1AC62C13@.microsoft.com...
> I tried reinstalling sp3 twice and both time it won't go through. The sql
server status shows it has SP3 when in fact the installation never went
through. It is in a confused state. I will be removing the sql server
installation, deleted the folder and then re-install from scratch. I search
the on-line book for more detail of sp_help_revlogin but it is not found.
Is there a typo?[vbcol=seagreen]
> Thanks,
> Alpha
>
> "Richard Ding" wrote:
>
reason, I[vbcol=seagreen]
least[vbcol=seagreen]
run[vbcol=seagreen]
detach[vbcol=seagreen]
Server[vbcol=seagreen]
I'm[vbcol=seagreen]
preparation[vbcol=seagreen]
to[vbcol=seagreen]
it[vbcol=seagreen]
on[vbcol=seagreen]

Re-installing SQL SERVER

I have to install SQL Server onto a new PC and then restore the data from
tape backup to the new server.
Are there any special things I have to do...I have never done this before,
so I am unsure of the steps...
Basically, I will be doing this
Setup new PC
Install SQLSERVER
Make sure no server procedures are running on system startup
Restore databases from tape backup to new SQL SERVER build
Is there anything else I need to do? Delete MASTER.MDB?
Thxread these two articles
http://support.microsoft.com/defaul...kb;EN-US;224071
http://support.microsoft.com/defaul...kb;EN-US;246133
it makes things a little simpler if you keep the exact same drive letter
and directory structure on your new server as on the old server.
Billy wrote:
> I have to install SQL Server onto a new PC and then restore the data from
> tape backup to the new server.
> Are there any special things I have to do...I have never done this before,
> so I am unsure of the steps...
> Basically, I will be doing this
> Setup new PC
> Install SQLSERVER
> Make sure no server procedures are running on system startup
> Restore databases from tape backup to new SQL SERVER build
> Is there anything else I need to do? Delete MASTER.MDB?
> Thx

Re-installing SP4

I posted a week or so ago about replication breaking after I installed SP4.
Raymond Mak queried about the login account I used and suggested registering
the dll's.
I did this but to no avail. I was wondering if I could re-run the SP4
install using the SQL Server account and if I need to do anything first.
i.e. can I rerun it straight away on a server already with SP4?
As the agents work from the command line, I'm sure the problem is dll / DCom
related but I'm not sure how to trace this further.
Any suggestions would be appreciated.
Thanks!
Hi Daryl,
The most important thing to check first is whether the replication Interface
guids are improperly ACL'd w.r.t. to your SQL Server Agent account. If so,
you may need to un-register and then re-register the replication components
under a high privileged account just so the ACLs on the replication guids are
refreshed. You can, of course, manually update the ACLs also. However, I am
guessing that you want a cleaner approach so you are wondering if an SP4
reinstall will work. My take is that since we don't fully understand why the
problem happened in the first place, a reinstall may lead you to the same
problem with a slight risk of aggravating other parts of the system (well, I
am chicken . As to why the ACLing problem happened in the first place, I do
have the following semi-educated guesses:
1) SP4 setup could not retrieve information for the SQL Server Agent service
account and so cannot add it to the ACLs of the replication component reg
keys. This may be a domain issue if SQL Server Agent service account is a
domain account or the account running SP4 setup simply doesn't have enough
privilege to enumerate the Agent service account information.
2) The SQL Server Agent service account was changed outside of Enterprise
Manager after SP4 install.
I can be completely wrong above but in any case, it would be tremendously
useful if you can let us know of anything unusual when you first set up SP4.
Thanks much.
-Raymond
"DJ" wrote:

> I posted a week or so ago about replication breaking after I installed SP4.
> Raymond Mak queried about the login account I used and suggested registering
> the dll's.
> I did this but to no avail. I was wondering if I could re-run the SP4
> install using the SQL Server account and if I need to do anything first.
> i.e. can I rerun it straight away on a server already with SP4?
> As the agents work from the command line, I'm sure the problem is dll / DCom
> related but I'm not sure how to trace this further.
> Any suggestions would be appreciated.
> Thanks!
>
>
|||Thanks for the reply Raymond
I'm guessing the problem was probably caused by running SP4 with an account
with lower permissions.
I will try unregistering the components with the service account but what is
the command / what do I un-register?
I'll let you know the outcome.
Many Thanks again
Daryl
"Raymond Mak [MSFT]" wrote:
[vbcol=seagreen]
> Hi Daryl,
> The most important thing to check first is whether the replication Interface
> guids are improperly ACL'd w.r.t. to your SQL Server Agent account. If so,
> you may need to un-register and then re-register the replication components
> under a high privileged account just so the ACLs on the replication guids are
> refreshed. You can, of course, manually update the ACLs also. However, I am
> guessing that you want a cleaner approach so you are wondering if an SP4
> reinstall will work. My take is that since we don't fully understand why the
> problem happened in the first place, a reinstall may lead you to the same
> problem with a slight risk of aggravating other parts of the system (well, I
> am chicken . As to why the ACLing problem happened in the first place, I do
> have the following semi-educated guesses:
> 1) SP4 setup could not retrieve information for the SQL Server Agent service
> account and so cannot add it to the ACLs of the replication component reg
> keys. This may be a domain issue if SQL Server Agent service account is a
> domain account or the account running SP4 setup simply doesn't have enough
> privilege to enumerate the Agent service account information.
> 2) The SQL Server Agent service account was changed outside of Enterprise
> Manager after SP4 install.
> I can be completely wrong above but in any case, it would be tremendously
> useful if you can let us know of anything unusual when you first set up SP4.
> Thanks much.
> -Raymond
> "DJ" wrote:
|||Hi Daryl,
For exe COM servers, you just need run the executable with the /UnRegServer
parameter followed by running it with the /RegServer parameter, e.g.
snapshot.exe /UnRegServer&snapshot.exe /RegServer. For dll COM components in
the 80\COM directory, you just need to run regsvr32 /u followed by regsvr32
on it, e.g. regsvr32 /u replagnt.dll®svr32 replagnt.dll.
-Raymond
"DJ" <DJ@.discussions.microsoft.com> wrote in message
news:FAA6361C-AB9E-468F-B998-212EB2EE18A9@.microsoft.com...[vbcol=seagreen]
> Thanks for the reply Raymond
> I'm guessing the problem was probably caused by running SP4 with an
> account
> with lower permissions.
> I will try unregistering the components with the service account but what
> is
> the command / what do I un-register?
> I'll let you know the outcome.
> Many Thanks again
> Daryl
> "Raymond Mak [MSFT]" wrote:
|||Hi Raymond
I un-registered and then re-registered them and then stopped and started the
agent (using the loacal admin account) but I still get the same error.
There was nothing unusual when I first ran SP4, although it did take ages.
I'm off home for today (in the UK) but any thoughts are appreciated as always.
Daryl
"Raymond Mak [MSFT]" wrote:

> Hi Daryl,
> For exe COM servers, you just need run the executable with the /UnRegServer
> parameter followed by running it with the /RegServer parameter, e.g.
> snapshot.exe /UnRegServer&snapshot.exe /RegServer. For dll COM components in
> the 80\COM directory, you just need to run regsvr32 /u followed by regsvr32
> on it, e.g. regsvr32 /u replagnt.dll®svr32 replagnt.dll.
> -Raymond
> "DJ" <DJ@.discussions.microsoft.com> wrote in message
> news:FAA6361C-AB9E-468F-B998-212EB2EE18A9@.microsoft.com...
>
>
|||I am pretty much out of ideas now... have you checked the ACLs on the
replication reg keys? Can you run, say, the snapshot agent from the command
line?
"DJ" <DJ@.discussions.microsoft.com> wrote in message
news:2A2307B3-DE6E-402E-A8C1-317B55D7FBF2@.microsoft.com...[vbcol=seagreen]
> Hi Raymond
> I un-registered and then re-registered them and then stopped and started
> the
> agent (using the loacal admin account) but I still get the same error.
> There was nothing unusual when I first ran SP4, although it did take ages.
> I'm off home for today (in the UK) but any thoughts are appreciated as
> always.
> Daryl
> "Raymond Mak [MSFT]" wrote:
|||Forgot to mention that you may want to try out regmon from
sysinternals.com...
-Raymond
"Raymond Mak [MSFT]" <rmak@.online.microsoft.com> wrote in message
news:ebwjbh93FHA.3628@.TK2MSFTNGP12.phx.gbl...
>I am pretty much out of ideas now... have you checked the ACLs on the
>replication reg keys? Can you run, say, the snapshot agent from the command
>line?
> "DJ" <DJ@.discussions.microsoft.com> wrote in message
> news:2A2307B3-DE6E-402E-A8C1-317B55D7FBF2@.microsoft.com...
>
|||Thanks for your help Raymond
I've run regmon and filemon the server and when I use the command line, all
processes have the '.exe' icon associated with them. When I run this via EM,
the same processes have a blue square and 'process not accessable'.
However when I compare the permissions at this level, nothing looks out of
place.
Can you confirm what the icons mean and if this does point to a permissions
error?
If I change the owner of the SQLAgent job, will this change who the job tuns
under or is it always the SQL Agent account?
Thanks again for all your help, I would not have known where to start!
Daryl
|||Hi Daryl,
First of all, I might have been on a completely wrong track here so you
should probably keep an open mind that what you are seeing may not be a
permission problem (although I can't really think of an alternative at the
moment). But in case this is indeed a permission problem, you should focus
your attention on SQL Server Agent through reg|filemon and see if it has
trouble accessing certain registry keys (for COM object creation) or files
(various replication COM components). It is actually a really good idea to
run SQL Server Agent temporarily under a high-privileged account (some admin
on the box) just so you can quickly tell whether this is a permission
problem or not. I will also encourage you to focus your troubleshooting
effort on just one agent, say, the snapshot agent which involved the
following components:
80\COM\snapshot.exe
80\COM\rinitcom.dll
80\COM\replagnt.dll
80\COM\Resources\1033\replres.rll
I am not sure if I mentioned this already but you should definitely start a
CMD window under your current SQL Server Agent account and experiment with
starting various agents from that window. This should hopefully a better
means to isolate what the problem is.
-Raymond
"DJ" <DJ@.discussions.microsoft.com> wrote in message
news:7F43DE84-E387-47B5-A735-5F5FD13A5585@.microsoft.com...
> Thanks for your help Raymond
> I've run regmon and filemon the server and when I use the command line,
> all
> processes have the '.exe' icon associated with them. When I run this via
> EM,
> the same processes have a blue square and 'process not accessable'.
> However when I compare the permissions at this level, nothing looks out of
> place.
> Can you confirm what the icons mean and if this does point to a
> permissions
> error?
> If I change the owner of the SQLAgent job, will this change who the job
> tuns
> under or is it always the SQL Agent account?
> Thanks again for all your help, I would not have known where to start!
> Daryl
>

Re-installing RS 2000 report designer

I am somewhat of an RS newbie -- many months ago I installed RS (using sql
v2K, VS 2005) and created a handful of projects - nothing crazy, but they
worked. Recently I needed to get in there and either edit an existing or
create a new one, but I am unable to do so. In VS, start page, if I hit my
project, it fails w/this error:
The application for projetc 'D:\Projects\....\Project Name.rptproj' is not
installed.
Make sure the application for the project type (.rptproj) is installed.
I have tried everything - I even removed and reinstalled VS. Still get the
same error, nothing works.
In VS, New Project, Business Intelligence Projects is no longer available.
Also, all reports are available/visible via Report Manager. I just can't
get into VS to access/edit them, or to create new ones.
I've done a little surfing, have seen indication that I may need to
re-install the report designer. Is that correct, and if so, how do I do that?
Any advice at all really is appreciated.
-- LynnCan anybody tell me how to uninstall/reinstall RS 2000 report designer?
-- Lynn
"Lynn" wrote:
> I am somewhat of an RS newbie -- many months ago I installed RS (using sql
> v2K, VS 2005) and created a handful of projects - nothing crazy, but they
> worked. Recently I needed to get in there and either edit an existing or
> create a new one, but I am unable to do so. In VS, start page, if I hit my
> project, it fails w/this error:
> The application for projetc 'D:\Projects\....\Project Name.rptproj' is not
> installed.
> Make sure the application for the project type (.rptproj) is installed.
> I have tried everything - I even removed and reinstalled VS. Still get the
> same error, nothing works.
> In VS, New Project, Business Intelligence Projects is no longer available.
> Also, all reports are available/visible via Report Manager. I just can't
> get into VS to access/edit them, or to create new ones.
> I've done a little surfing, have seen indication that I may need to
> re-install the report designer. Is that correct, and if so, how do I do that?
> Any advice at all really is appreciated.
> -- Lynn

Re-installing Report Server

I had to uninstall Report Server and Report Designer on are
SQL server machine because of bandwidth concerns. Instead, Im installing
Report Server and Report Designer on a different member server. However the
Report databases remain after the uninstall on the SQL server machine. Is
this ok for these databases to remain? Will the new install try and create a
separate set of databases? I've already run RSkeymgmnt utility and saved the
key file. Is there a different procedure to follow in reinstalling on a
different server? By the way no work was done on the first installation, so
these databases really contain no important data.
MarkIf you don't need the databases, you can delete them. You only needed to
save the key file if you were planning to reuse the old database.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Mark C" <MarkC@.discussions.microsoft.com> wrote in message
news:E80AE112-31C1-4FA0-BFF5-5A6595C339C8@.microsoft.com...
>I had to uninstall Report Server and Report Designer on are
> SQL server machine because of bandwidth concerns. Instead, Im installing
> Report Server and Report Designer on a different member server. However
> the
> Report databases remain after the uninstall on the SQL server machine. Is
> this ok for these databases to remain? Will the new install try and create
> a
> separate set of databases? I've already run RSkeymgmnt utility and saved
> the
> key file. Is there a different procedure to follow in reinstalling on a
> different server? By the way no work was done on the first installation,
> so
> these databases really contain no important data.
> Marksql

Wednesday, March 21, 2012

re-installing Client Tools

I run a medical software and the software company messed
something up and now they say that I need to re-install
the client tools. I own Small Business Server 2000 that
came with sql 2000. The software company said that the
Client Tools are located on disk 2 of sql 2000 cd pak.
But I dont have those all I got were the Small Business
Server 2000 cd's. On disk 2 there is a sql2000 directory
but I don't see the client tools directory. Can anyone
help??
Charles wrote:
> I run a medical software and the software company messed
> something up and now they say that I need to re-install
> the client tools. I own Small Business Server 2000 that
> came with sql 2000. The software company said that the
> Client Tools are located on disk 2 of sql 2000 cd pak.
> But I dont have those all I got were the Small Business
> Server 2000 cd's. On disk 2 there is a sql2000 directory
> but I don't see the client tools directory. Can anyone
> help??
Just run whatever SQL Server installation CD you have. The client tools
are a part of the main installation and can be selected as the install
only option once the installation starts. Then download the and install
the latest SQL Server service pack on the client to update the tools.
David Gugick
Imceda Software
www.imceda.com
sql