Saturday, February 25, 2012
AgentMail Problem (SQL2K)
I use Microsoft outlook as MAPI client. On my own computer, when the outlook
is open, both SQL Mail and Agent Mail can use the file of mail profile to
send email. But on one of client's computer, when outlook is open, it locks
the file of profile and both SQL Mail and Agent Mail fail when try to
connect to profile. When I close outlook, they can access profile. This is
strange behavior that I had never seen elsewhere.
Any help would be greatly appreciated.
Leila
I believe this behavior can depend on your version of Outlook (I prefer Outlook 2000, I've seen the
strange behavior with later versions). It might also be related to whether all users use the same
Windows account.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Leila" <Leilas@.hotpop.com> wrote in message news:uMzUEcNjHHA.4872@.TK2MSFTNGP03.phx.gbl...
> Hi,
> I use Microsoft outlook as MAPI client. On my own computer, when the outlook is open, both SQL
> Mail and Agent Mail can use the file of mail profile to send email. But on one of client's
> computer, when outlook is open, it locks the file of profile and both SQL Mail and Agent Mail fail
> when try to connect to profile. When I close outlook, they can access profile. This is strange
> behavior that I had never seen elsewhere.
> Any help would be greatly appreciated.
> Leila
>
|||> It might also be related to whether all users use the same Windows
> account.
If this is the case, then closing the outlook must not solve the problem I
think
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:%234lZSjNjHHA.680@.TK2MSFTNGP06.phx.gbl...
>I believe this behavior can depend on your version of Outlook (I prefer
>Outlook 2000, I've seen the strange behavior with later versions). It might
>also be related to whether all users use the same Windows account.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:uMzUEcNjHHA.4872@.TK2MSFTNGP03.phx.gbl...
>
|||I think that some versions of MAPI (Outlook) doesn't like several Windows accounts using mail at the
same time. Say that Agent and SQL Server uses the same service account. They might not conflict, but
if you are logged in interactively using some other account, you might be in for some problems.
Anyhow, I recommend Outlook 2000. Or actually, I don't recommend SQL Mail at all
(http://www.karaszi.com/SQLServer/info_no_mapi.asp), since it causes so many of these problems...
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Leila" <Leilas@.hotpop.com> wrote in message news:OLQuVxOjHHA.2552@.TK2MSFTNGP06.phx.gbl...
> If this is the case, then closing the outlook must not solve the problem I think
>
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in message
> news:%234lZSjNjHHA.680@.TK2MSFTNGP06.phx.gbl...
>
AgentMail Problem (SQL2K)
I use Microsoft outlook as MAPI client. On my own computer, when the outlook
is open, both SQL Mail and Agent Mail can use the file of mail profile to
send email. But on one of client's computer, when outlook is open, it locks
the file of profile and both SQL Mail and Agent Mail fail when try to
connect to profile. When I close outlook, they can access profile. This is
strange behavior that I had never seen elsewhere.
Any help would be greatly appreciated.
LeilaI believe this behavior can depend on your version of Outlook (I prefer Outl
ook 2000, I've seen the
strange behavior with later versions). It might also be related to whether a
ll users use the same
Windows account.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Leila" <Leilas@.hotpop.com> wrote in message news:uMzUEcNjHHA.4872@.TK2MSFTNGP03.phx.gbl...[v
bcol=seagreen]
> Hi,
> I use Microsoft outlook as MAPI client. On my own computer, when the outlo
ok is open, both SQL
> Mail and Agent Mail can use the file of mail profile to send email. But on
one of client's
> computer, when outlook is open, it locks the file of profile and both SQL
Mail and Agent Mail fail
> when try to connect to profile. When I close outlook, they can access prof
ile. This is strange
> behavior that I had never seen elsewhere.
> Any help would be greatly appreciated.
> Leila
>[/vbcol]|||> It might also be related to whether all users use the same Windows
> account.
If this is the case, then closing the outlook must not solve the problem I
think
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:%234lZSjNjHHA.680@.TK2MSFTNGP06.phx.gbl...
>I believe this behavior can depend on your version of Outlook (I prefer
>Outlook 2000, I've seen the strange behavior with later versions). It might
>also be related to whether all users use the same Windows account.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:uMzUEcNjHHA.4872@.TK2MSFTNGP03.phx.gbl...
>|||I think that some versions of MAPI (Outlook) doesn't like several Windows ac
counts using mail at the
same time. Say that Agent and SQL Server uses the same service account. They
might not conflict, but
if you are logged in interactively using some other account, you might be in
for some problems.
Anyhow, I recommend Outlook 2000. Or actually, I don't recommend SQL Mail at
all
(http://www.karaszi.com/SQLServer/info_no_mapi.asp), since it causes so many
of these problems...
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Leila" <Leilas@.hotpop.com> wrote in message news:OLQuVxOjHHA.2552@.TK2MSFTNGP06.phx.gbl...[v
bcol=seagreen]
> If this is the case, then closing the outlook must not solve the problem I
think
>
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote i
n message
> news:%234lZSjNjHHA.680@.TK2MSFTNGP06.phx.gbl...
>[/vbcol]
AgentMail Problem (SQL2K)
I use Microsoft outlook as MAPI client. On my own computer, when the outlook
is open, both SQL Mail and Agent Mail can use the file of mail profile to
send email. But on one of client's computer, when outlook is open, it locks
the file of profile and both SQL Mail and Agent Mail fail when try to
connect to profile. When I close outlook, they can access profile. This is
strange behavior that I had never seen elsewhere.
Any help would be greatly appreciated.
LeilaI believe this behavior can depend on your version of Outlook (I prefer Outlook 2000, I've seen the
strange behavior with later versions). It might also be related to whether all users use the same
Windows account.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Leila" <Leilas@.hotpop.com> wrote in message news:uMzUEcNjHHA.4872@.TK2MSFTNGP03.phx.gbl...
> Hi,
> I use Microsoft outlook as MAPI client. On my own computer, when the outlook is open, both SQL
> Mail and Agent Mail can use the file of mail profile to send email. But on one of client's
> computer, when outlook is open, it locks the file of profile and both SQL Mail and Agent Mail fail
> when try to connect to profile. When I close outlook, they can access profile. This is strange
> behavior that I had never seen elsewhere.
> Any help would be greatly appreciated.
> Leila
>|||> It might also be related to whether all users use the same Windows
> account.
If this is the case, then closing the outlook must not solve the problem I
think
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:%234lZSjNjHHA.680@.TK2MSFTNGP06.phx.gbl...
>I believe this behavior can depend on your version of Outlook (I prefer
>Outlook 2000, I've seen the strange behavior with later versions). It might
>also be related to whether all users use the same Windows account.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:uMzUEcNjHHA.4872@.TK2MSFTNGP03.phx.gbl...
>> Hi,
>> I use Microsoft outlook as MAPI client. On my own computer, when the
>> outlook is open, both SQL Mail and Agent Mail can use the file of mail
>> profile to send email. But on one of client's computer, when outlook is
>> open, it locks the file of profile and both SQL Mail and Agent Mail fail
>> when try to connect to profile. When I close outlook, they can access
>> profile. This is strange behavior that I had never seen elsewhere.
>> Any help would be greatly appreciated.
>> Leila
>|||I think that some versions of MAPI (Outlook) doesn't like several Windows accounts using mail at the
same time. Say that Agent and SQL Server uses the same service account. They might not conflict, but
if you are logged in interactively using some other account, you might be in for some problems.
Anyhow, I recommend Outlook 2000. Or actually, I don't recommend SQL Mail at all
(http://www.karaszi.com/SQLServer/info_no_mapi.asp), since it causes so many of these problems...
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"Leila" <Leilas@.hotpop.com> wrote in message news:OLQuVxOjHHA.2552@.TK2MSFTNGP06.phx.gbl...
>> It might also be related to whether all users use the same Windows account.
> If this is the case, then closing the outlook must not solve the problem I think
>
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in message
> news:%234lZSjNjHHA.680@.TK2MSFTNGP06.phx.gbl...
>>I believe this behavior can depend on your version of Outlook (I prefer Outlook 2000, I've seen
>>the strange behavior with later versions). It might also be related to whether all users use the
>>same Windows account.
>> --
>> Tibor Karaszi, SQL Server MVP
>> http://www.karaszi.com/sqlserver/default.asp
>> http://sqlblog.com/blogs/tibor_karaszi
>>
>> "Leila" <Leilas@.hotpop.com> wrote in message news:uMzUEcNjHHA.4872@.TK2MSFTNGP03.phx.gbl...
>> Hi,
>> I use Microsoft outlook as MAPI client. On my own computer, when the outlook is open, both SQL
>> Mail and Agent Mail can use the file of mail profile to send email. But on one of client's
>> computer, when outlook is open, it locks the file of profile and both SQL Mail and Agent Mail
>> fail when try to connect to profile. When I close outlook, they can access profile. This is
>> strange behavior that I had never seen elsewhere.
>> Any help would be greatly appreciated.
>> Leila
>>
>
Sunday, February 19, 2012
After Sql 2005 Install, Sql 2000 Still There
I just downloaded and installed Sql 2005 from the MS site.
I see that my instance of Sql 2000 is still on the same computer.
I assumed that Sql 2005 would upgrade but it didnt. Should I
simply delete my instance of 2000 or will this cause complications?
Sorry - newbie question.pbd22 (dushkin@.gmail.com) writes:
Quote:
Originally Posted by
I just downloaded and installed Sql 2005 from the MS site.
I see that my instance of Sql 2000 is still on the same computer.
I assumed that Sql 2005 would upgrade but it didnt. Should I
simply delete my instance of 2000 or will this cause complications?
That depends on how you opted to do your installation: as a new instance
or an upgrade. Since you say that you downloaded SQL 2005 from MS,
I assume that you installed SQL Express, which by default is installed
as a named instance, SQLEXPRESS.
I would keep both instances, as you may want to compare SQL 2005 to
SQL 2000.
--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx
After restoring MASTER database, can't start SQLServer Service: Configuration block version 0 i
Now, I checked and verified that my backup version of SQL Server is the same as the version installed on the computer I'm restoring too.
I have SQL Server on a production machine that I backed up and want to test a full restore on a dev machine to make sure it will work when I need it to.
Now that I've run the restore command on my tape backup and go to restart the SQL server service I receive:
Configuration block version 0 is not a valid version number. SQL Server is exiting. Restore the master database or reinstall.
I'm afraid I don't understand why this is happening. If the builds are the same, then shouldn't restoring the MASTER database have worked normally and I'd be able to restart the service now?
Any thoughts or suggestions?
If the service cannot be started, you must rebuild the
system databases, adding information that has been lost by attaching existing tables and recreating
objects.
After this, Restoring the master database when SQL Server is accessible
With master database accessible, you should start SQL Server in single-user mode and then restore your copy of the
master database from your most recent full database backup in the usual way, as described in the
following steps.
#1 - Start SQL Server in single-user mode.
with command:
sqlservr.exe -c –m
#2 - Restore the master database from the most recent backup:
RESTORE DATABASE master
FROM masterbackup
If Master isn′t accessible:
To rebuild the master database, you should run the SQL Server setup program with the following
options:
? The /qn switch to suppress the user interface.
? The REINSTALLMODE = AMUS property to rebuild system databases.
? The REINSTALL = ALL property to set up the server with the previously installed features.
This must be used when specifying the REINSTALLMODE property.
|||I tried rebuilding using this command:
start /wait d:\setup.exe /qb INSTANCENAME=MSSQLSERVER REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=YourPassword
However, you are saying those were not the proper commands and switches to use during the reinstallation?
(Also I didn't want to specify an SA account and password, I wanted to use windows authentication but didn't see an option for that).
|||To use Windows authentication, you need use this parameters:
start /wait d:\setup.exe /qb INSTANCENAME=MSSQLSERVER REINSTALL=SQL_Engine REBUILDDATABASE=1
SQLACCOUNT=<domain\user> SQLPASSWORD=<DomainUserPassword>
|||Thanks.
Anyway, I tried rebuilding and that DID work.
But when I restored the master database, I was back where I started.
I KNOW the database installations are the same version as I did SELECT @.@.VERSION on both and they match.
So I don't understand why restoring a tape from one server to the other causes the other server to throw this error when the versions of the server do appear to be the same.
Thursday, February 16, 2012
After rename the computer
I have rename my WindowsXP after I installing the SqlServer 2005 express.
Can the SqlServer run well in the WindowsXP after renaming?you want to drop the old sqlserver name and add the new one.
exec sp_dropserver 'oldcomputername\sqlexpress'
go
exec sp_addserver 'newcomputername\sqlexpress','local'
go
restart sqlserver service to take effect.
-oj
"ad" <flying@.wfes.tcc.edu.tw> wrote in message
news:OYygEeAlGHA.1456@.TK2MSFTNGP04.phx.gbl...
> Hi,
> I have rename my WindowsXP after I installing the SqlServer 2005 express.
> Can the SqlServer run well in the WindowsXP after renaming?
>|||i think we need to update originating_server in sysjobs after change server
name?
else the job won't run..
DECLARE @.srv sysnameSET @.srv = CAST(SERVERPROPERTY('ServerName') AS sysname)
UPDATE sysjobs SET originating_server = @.srv
"oj" wrote:
> you want to drop the old sqlserver name and add the new one.
> exec sp_dropserver 'oldcomputername\sqlexpress'
> go
> exec sp_addserver 'newcomputername\sqlexpress','local'
> go
> restart sqlserver service to take effect.
> --
> -oj
>
> "ad" <flying@.wfes.tcc.edu.tw> wrote in message
> news:OYygEeAlGHA.1456@.TK2MSFTNGP04.phx.gbl...
>
>|||you want to drop the old sqlserver name and add the new one.
exec sp_dropserver 'oldcomputername\sqlexpress'
go
exec sp_addserver 'newcomputername\sqlexpress','local'
go
restart sqlserver service to take effect.
-oj
"ad" <flying@.wfes.tcc.edu.tw> wrote in message
news:OYygEeAlGHA.1456@.TK2MSFTNGP04.phx.gbl...
> Hi,
> I have rename my WindowsXP after I installing the SqlServer 2005 express.
> Can the SqlServer run well in the WindowsXP after renaming?
>|||i think we need to update originating_server in sysjobs after change server
name?
else the job won't run..
DECLARE @.srv sysnameSET @.srv = CAST(SERVERPROPERTY('ServerName') AS sysname)
UPDATE sysjobs SET originating_server = @.srv
"oj" wrote:
> you want to drop the old sqlserver name and add the new one.
> exec sp_dropserver 'oldcomputername\sqlexpress'
> go
> exec sp_addserver 'newcomputername\sqlexpress','local'
> go
> restart sqlserver service to take effect.
> --
> -oj
>
> "ad" <flying@.wfes.tcc.edu.tw> wrote in message
> news:OYygEeAlGHA.1456@.TK2MSFTNGP04.phx.gbl...
>
>|||indeed. also, you will not be able to drop the old name (unless you hack the
sysservers table) if you have replication, loopback linked server setup.
-oj
"soonyu" <soonyu@.discussions.microsoft.com> wrote in message
news:096BBAB9-19AC-44B8-9E5E-1924FA71F61C@.microsoft.com...[vbcol=seagreen]
>i think we need to update originating_server in sysjobs after change
>server
> name?
> else the job won't run..
> DECLARE @.srv sysnameSET @.srv = CAST(SERVERPROPERTY('ServerName') AS
> sysname)
> UPDATE sysjobs SET originating_server = @.srv
>
> "oj" wrote:
>|||indeed. also, you will not be able to drop the old name (unless you hack the
sysservers table) if you have replication, loopback linked server setup.
-oj
"soonyu" <soonyu@.discussions.microsoft.com> wrote in message
news:096BBAB9-19AC-44B8-9E5E-1924FA71F61C@.microsoft.com...[vbcol=seagreen]
>i think we need to update originating_server in sysjobs after change
>server
> name?
> else the job won't run..
> DECLARE @.srv sysnameSET @.srv = CAST(SERVERPROPERTY('ServerName') AS
> sysname)
> UPDATE sysjobs SET originating_server = @.srv
>
> "oj" wrote:
>
After rename the computer
I have rename my WindowsXP after I installing the SqlServer 2005 express.
Can the SqlServer run well in the WindowsXP after renaming?you want to drop the old sqlserver name and add the new one.
exec sp_dropserver 'oldcomputername\sqlexpress'
go
exec sp_addserver 'newcomputername\sqlexpress','local'
go
restart sqlserver service to take effect.
--
-oj
"ad" <flying@.wfes.tcc.edu.tw> wrote in message
news:OYygEeAlGHA.1456@.TK2MSFTNGP04.phx.gbl...
> Hi,
> I have rename my WindowsXP after I installing the SqlServer 2005 express.
> Can the SqlServer run well in the WindowsXP after renaming?
>|||i think we need to update originating_server in sysjobs after change server
name?
else the job won't run..
DECLARE @.srv sysnameSET @.srv = CAST(SERVERPROPERTY('ServerName') AS sysname)
UPDATE sysjobs SET originating_server = @.srv
"oj" wrote:
> you want to drop the old sqlserver name and add the new one.
> exec sp_dropserver 'oldcomputername\sqlexpress'
> go
> exec sp_addserver 'newcomputername\sqlexpress','local'
> go
> restart sqlserver service to take effect.
> --
> -oj
>
> "ad" <flying@.wfes.tcc.edu.tw> wrote in message
> news:OYygEeAlGHA.1456@.TK2MSFTNGP04.phx.gbl...
> > Hi,
> >
> > I have rename my WindowsXP after I installing the SqlServer 2005 express.
> >
> > Can the SqlServer run well in the WindowsXP after renaming?
> >
> >
>
>|||indeed. also, you will not be able to drop the old name (unless you hack the
sysservers table) if you have replication, loopback linked server setup.
--
-oj
"soonyu" <soonyu@.discussions.microsoft.com> wrote in message
news:096BBAB9-19AC-44B8-9E5E-1924FA71F61C@.microsoft.com...
>i think we need to update originating_server in sysjobs after change
>server
> name?
> else the job won't run..
> DECLARE @.srv sysnameSET @.srv = CAST(SERVERPROPERTY('ServerName') AS
> sysname)
> UPDATE sysjobs SET originating_server = @.srv
>
> "oj" wrote:
>> you want to drop the old sqlserver name and add the new one.
>> exec sp_dropserver 'oldcomputername\sqlexpress'
>> go
>> exec sp_addserver 'newcomputername\sqlexpress','local'
>> go
>> restart sqlserver service to take effect.
>> --
>> -oj
>>
>> "ad" <flying@.wfes.tcc.edu.tw> wrote in message
>> news:OYygEeAlGHA.1456@.TK2MSFTNGP04.phx.gbl...
>> > Hi,
>> >
>> > I have rename my WindowsXP after I installing the SqlServer 2005
>> > express.
>> >
>> > Can the SqlServer run well in the WindowsXP after renaming?
>> >
>> >
>>
Sunday, February 12, 2012
after downloading updates
when starting up blue window comes up with "Begining dump of Physical memory"
can anyone help me fix?
You should contact Microsoft Product Support ASAP. Blue screens could be
caused by bad hardware, drivers or Windows bugs.
Adrian
"Marty" <Marty@.discussions.microsoft.com> wrote in message
news:CC1EB672-56C6-4D3A-B664-4C815A3408C8@.microsoft.com...
> after down loading updates my computer now reboots on its own. it now too
> when starting up blue window comes up with "Begining dump of Physical
> memory"
> can anyone help me fix?
|||In Most of the cases, there might be a RAM failure. Just Replace the RAM and
try rebooting the system.
thanks and regards
Chandra
"Marty" wrote:
> after down loading updates my computer now reboots on its own. it now too
> when starting up blue window comes up with "Begining dump of Physical memory"
> can anyone help me fix?
after downloading updates
when starting up blue window comes up with "Begining dump of Physical memory
"
can anyone help me fix?You should contact Microsoft Product Support ASAP. Blue screens could be
caused by bad hardware, drivers or Windows bugs.
Adrian
"Marty" <Marty@.discussions.microsoft.com> wrote in message
news:CC1EB672-56C6-4D3A-B664-4C815A3408C8@.microsoft.com...
> after down loading updates my computer now reboots on its own. it now too
> when starting up blue window comes up with "Begining dump of Physical
> memory"
> can anyone help me fix?|||In Most of the cases, there might be a RAM failure. Just Replace the RAM and
try rebooting the system.
thanks and regards
Chandra
"Marty" wrote:
> after down loading updates my computer now reboots on its own. it now too
> when starting up blue window comes up with "Begining dump of Physical memo
ry"
> can anyone help me fix?
after downloading updates
when starting up blue window comes up with "Begining dump of Physical memory"
can anyone help me fix?You should contact Microsoft Product Support ASAP. Blue screens could be
caused by bad hardware, drivers or Windows bugs.
Adrian
"Marty" <Marty@.discussions.microsoft.com> wrote in message
news:CC1EB672-56C6-4D3A-B664-4C815A3408C8@.microsoft.com...
> after down loading updates my computer now reboots on its own. it now too
> when starting up blue window comes up with "Begining dump of Physical
> memory"
> can anyone help me fix?|||In Most of the cases, there might be a RAM failure. Just Replace the RAM and
try rebooting the system.
thanks and regards
Chandra
"Marty" wrote:
> after down loading updates my computer now reboots on its own. it now too
> when starting up blue window comes up with "Begining dump of Physical memory"
> can anyone help me fix?
After computer name changed ...
We have database server that runs on SQL Server 2000
Enterprise Edition with SP3.
The computer name changed from DEVA-DB09 to DEVB-DB09.
Now, when I issue the command select @.@.servername in SQL
Query Analyzer, it returned DEVA-DB09, but the computer
name is DEVB-DB09. So my scheduling jobs cannot add,
update, or delete.
In SQL Query Analyzer I issue the following command:
DECLARE @.srv sysname
SET @.srv = CAST(SERVERPROPERTY ('Servername') AS sysname)
UPDATE sysjobs SET originating_server = @.srv
Now I can add, update, or delete the scheduling jobs. My
question is: How can I change the SQL Server name from
DEVA-DB09 to DEVB-DB09 when I issue the select
@.@.servername.
Thanks,
-Jenny
You might want to check into the issues note in this KB article:
http://support.microsoft.com/default...74&Product=sql
----
-
Need SQL Server Examples check out my website
http://www.geocities.com/sqlserverexamples
"Jenny" <jyu@.iseoptions.com> wrote in message
news:14ee01c499b9$dcc67690$a301280a@.phx.gbl...
> Hi,
> We have database server that runs on SQL Server 2000
> Enterprise Edition with SP3.
> The computer name changed from DEVA-DB09 to DEVB-DB09.
> Now, when I issue the command select @.@.servername in SQL
> Query Analyzer, it returned DEVA-DB09, but the computer
> name is DEVB-DB09. So my scheduling jobs cannot add,
> update, or delete.
> In SQL Query Analyzer I issue the following command:
> DECLARE @.srv sysname
> SET @.srv = CAST(SERVERPROPERTY ('Servername') AS sysname)
> UPDATE sysjobs SET originating_server = @.srv
> Now I can add, update, or delete the scheduling jobs. My
> question is: How can I change the SQL Server name from
> DEVA-DB09 to DEVB-DB09 when I issue the select
> @.@.servername.
> Thanks,
> -Jenny
>
|||Try this out..run on your mastr db and restart SQL server services...
sp_dropserver 'DEVA-DB09'
go
sp_addserver 'DEVB-DB09'
go
-Nilay
"Jenny" wrote:
> Hi,
> We have database server that runs on SQL Server 2000
> Enterprise Edition with SP3.
> The computer name changed from DEVA-DB09 to DEVB-DB09.
> Now, when I issue the command select @.@.servername in SQL
> Query Analyzer, it returned DEVA-DB09, but the computer
> name is DEVB-DB09. So my scheduling jobs cannot add,
> update, or delete.
> In SQL Query Analyzer I issue the following command:
> DECLARE @.srv sysname
> SET @.srv = CAST(SERVERPROPERTY ('Servername') AS sysname)
> UPDATE sysjobs SET originating_server = @.srv
> Now I can add, update, or delete the scheduling jobs. My
> question is: How can I change the SQL Server name from
> DEVA-DB09 to DEVB-DB09 when I issue the select
> @.@.servername.
> Thanks,
> -Jenny
>
>
|||Actually try this:
SP_DropServer 'DEVA-DB09'
Go
SP_AddServer 'DEVB-DB09','Local'
Go
HTH
Saleem@.sqlnt.com
"NT" wrote:
[vbcol=seagreen]
> Try this out..run on your mastr db and restart SQL server services...
> sp_dropserver 'DEVA-DB09'
> go
> sp_addserver 'DEVB-DB09'
> go
> -Nilay
> "Jenny" wrote:
After computer name changed ...
We have database server that runs on SQL Server 2000
Enterprise Edition with SP3.
The computer name changed from DEVA-DB09 to DEVB-DB09.
Now, when I issue the command select @.@.servername in SQL
Query Analyzer, it returned DEVA-DB09, but the computer
name is DEVB-DB09. So my scheduling jobs cannot add,
update, or delete.
In SQL Query Analyzer I issue the following command:
DECLARE @.srv sysname
SET @.srv = CAST(SERVERPROPERTY ('Servername') AS sysname)
UPDATE sysjobs SET originating_server = @.srv
Now I can add, update, or delete the scheduling jobs. My
question is: How can I change the SQL Server name from
DEVA-DB09 to DEVB-DB09 when I issue the select
@.@.servername.
Thanks,
-JennyYou might want to check into the issues note in this KB article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;303774&Product=sql
--
----
----
-
Need SQL Server Examples check out my website
http://www.geocities.com/sqlserverexamples
"Jenny" <jyu@.iseoptions.com> wrote in message
news:14ee01c499b9$dcc67690$a301280a@.phx.gbl...
> Hi,
> We have database server that runs on SQL Server 2000
> Enterprise Edition with SP3.
> The computer name changed from DEVA-DB09 to DEVB-DB09.
> Now, when I issue the command select @.@.servername in SQL
> Query Analyzer, it returned DEVA-DB09, but the computer
> name is DEVB-DB09. So my scheduling jobs cannot add,
> update, or delete.
> In SQL Query Analyzer I issue the following command:
> DECLARE @.srv sysname
> SET @.srv = CAST(SERVERPROPERTY ('Servername') AS sysname)
> UPDATE sysjobs SET originating_server = @.srv
> Now I can add, update, or delete the scheduling jobs. My
> question is: How can I change the SQL Server name from
> DEVA-DB09 to DEVB-DB09 when I issue the select
> @.@.servername.
> Thanks,
> -Jenny
>|||Actually try this:
SP_DropServer 'DEVA-DB09'
Go
SP_AddServer 'DEVB-DB09','Local'
Go
HTH
Saleem@.sqlnt.com
"NT" wrote:
> Try this out..run on your mastr db and restart SQL server services...
> sp_dropserver 'DEVA-DB09'
> go
> sp_addserver 'DEVB-DB09'
> go
> -Nilay
> "Jenny" wrote:
> > Hi,
> >
> > We have database server that runs on SQL Server 2000
> > Enterprise Edition with SP3.
> >
> > The computer name changed from DEVA-DB09 to DEVB-DB09.
> > Now, when I issue the command select @.@.servername in SQL
> > Query Analyzer, it returned DEVA-DB09, but the computer
> > name is DEVB-DB09. So my scheduling jobs cannot add,
> > update, or delete.
> >
> > In SQL Query Analyzer I issue the following command:
> >
> > DECLARE @.srv sysname
> > SET @.srv = CAST(SERVERPROPERTY ('Servername') AS sysname)
> > UPDATE sysjobs SET originating_server = @.srv
> >
> > Now I can add, update, or delete the scheduling jobs. My
> > question is: How can I change the SQL Server name from
> > DEVA-DB09 to DEVB-DB09 when I issue the select
> > @.@.servername.
> >
> > Thanks,
> > -Jenny
> >
> >
> >
After change the computer name.
machine is pc1.
After installing SqlServer 2005, I change the machine name to pc2.
I find that many login names in the Manager Studio is still prefixed with
pc1, like pc1/ASPNET.
Must I change the prefix to pc2 manually?
Hello, ad
See: http://msdn2.microsoft.com/en-us/library/ms143799.aspx
Razvan
After change the computer name.
machine is pc1.
After installing SqlServer 2005, I change the machine name to pc2.
I find that many login names in the Manager Studio is still prefixed with
pc1, like pc1/ASPNET.
Must I change the prefix to pc2 manually?Hello, ad
See: http://msdn2.microsoft.com/en-us/library/ms143799.aspx
Razvan
After change the computer name.
machine is pc1.
After installing SqlServer 2005, I change the machine name to pc2.
I find that many login names in the Manager Studio is still prefixed with
pc1, like pc1/ASPNET.
Must I change the prefix to pc2 manually?Hello, ad
See: http://msdn2.microsoft.com/en-us/library/ms143799.aspx
Razvan