Wednesday, March 21, 2012
Database migration from SQL 2000 to SQL 2005
Can somebody post a link which has information about migrating databases
from SQL Server 2000 (32 bit) to SQL Server 2005 64 bit. Your help is
greatly appreciated..
Thanks in advance,
Venkat
--
*** Sent via Developersdex http://www.examnotes.net ***these could be a start, even though it states 2000 64bit and not 2005...
http://www.microsoft.com/sql/soluti...ingto64bit.mspx
http://searchsqlserver.techtarget.c...tml?bucket=NEWS
Immy
Immy
"Venkat" <nospam_venkat_asp@.yahoo.co.uk> wrote in message
news:uCauqdpmGHA.4536@.TK2MSFTNGP04.phx.gbl...
> Hi folks,
> Can somebody post a link which has information about migrating databases
> from SQL Server 2000 (32 bit) to SQL Server 2005 64 bit. Your help is
> greatly appreciated..
> Thanks in advance,
> Venkat
> --
> *** Sent via Developersdex http://www.examnotes.net ***|||I am pretty sure that moving a 2000 32 bit database to 2005 64 bit is just a
matter of detaching the DB from 2000 server and attaching it to the 2005
server. 2005 64 bit supports this...
"Immy" wrote:
> these could be a start, even though it states 2000 64bit and not 2005...
> http://www.microsoft.com/sql/soluti...ingto64bit.mspx
> http://searchsqlserver.techtarget.c...tml?bucket=NEWS
> Immy
> Immy
> "Venkat" <nospam_venkat_asp@.yahoo.co.uk> wrote in message
> news:uCauqdpmGHA.4536@.TK2MSFTNGP04.phx.gbl...
>
>
Saturday, February 25, 2012
Database Mail Problems / Job Notifications...
I've read an extensive bit about this problem in several forums and so far none of the information has helped me to determine if there is a bug in SQL 2005 x64 regardless of version or SP or if I just don't know how to do this correctly.
I can send a test email from db mail but when a job fails it does not send an email to an operator. I have monitored the IIS logs to see if it is trying to send and it is not. Database mail is enabled in Surface AC and in SQL Agent [one odd thing is that the 'test' button is only available on the SQL Agent Alerts page if I use SQL Mail]. No specific error happens (in the mail log, sql agent log, or application event log) when I try to send mail from a failed job. Mail accounts and credentials are valid. Please note that in the steps listed below, I have restarted the SQL Agent Service each time I make a change.
I've tried deleting and recreating the operators (they are enabled). I've tried using a mail server that uses anonymous authentication as well (I changed this back to one that uses basic authentication). The profiles were made default and public. (Though this shouldn't ever have to be done, as the account is a sysadmin) the SQLServer2005SQLAgentUser was explicitly added to the msdb DatabaseMail user role.
This query works, so I know that the job is not trying to execute the sp:
USE msdb ;
GO
EXEC dbo.sp_notify_operator
@.profile_name = N'staging monitor',
@.name = N'Charles Evans',
@.subject = N'Test Notification',
@.body = N'Successfully emailed profile.' ;
GO
This is happening in SQL 2005 x64 EE and x64 DE SP1 and SP2 respectively. Any thoughts on what else this could be? The same setup works fine in SQL 2005 SE x86 SP1.
Check the following article...
How to configure SQL Server Agent to send job status notifications and alert notifications in SQL Server 2005 64-bit editions
http://support.microsoft.com/kb/908360
|||So the only way is to use SQL Mail, instead of database mail?|||SQL Server Agent is not integrated with Database Mail or with SQL Mail in Microsoft SQL Server 2005 64-bit editions.
Please read the article... you can setup mail using SMTP where SQL mail uses MAPI ...
|||In SP0 this is true - according to the article:
"In SQL Server 2005 Service Pack 1 (SP1), you can use SQL Server Agent to interact with Database Mail as the mailing system on 64-bit operating systems."
I've made this work in our production system now with SP-1 EE x64, there was a permissions issue. However, things are not working in our staging environment SP-2 DE x64 with the same setup and account settings/permissions.
I'll keep posted if I figure out why not in staging.
Database Mail is not working for me on 64 bit SQL 2005
has permissions to read the msdb system database?
"John D." <JohnD@.discussions.microsoft.com> wrote in message
news:28596E29-6110-4A44-806F-6E82C2A86983@.microsoft.com...
>I am trying to get Database mail working on our win 2003 EE 64 bit SQL 2005
> SP 1 EE 64bit server. I have done a ton of searching around other posts &
> have checked everything that people have said would work. Nothing has
> worked
> so far with me. The mail service is enabled, broker service is enabled &
> relay permission is allowed for the service. Here is the error message I
> am
> getting: Could not retrieve items from the queue. If I look at the
> queue,
> it does have several test messages in there waiting to be sent. Any ideas
> on
> what else I could try to get this to work?
> Thanks!
> John
>I am trying to get Database mail working on our win 2003 EE 64 bit SQL 2005
SP 1 EE 64bit server. I have done a ton of searching around other posts &
have checked everything that people have said would work. Nothing has worke
d
so far with me. The mail service is enabled, broker service is enabled &
relay permission is allowed for the service. Here is the error message I am
getting: Could not retrieve items from the queue. If I look at the queue,
it does have several test messages in there waiting to be sent. Any ideas o
n
what else I could try to get this to work?
Thanks!
John|||hmm..what login is the mail service running under? Are you sure that user
has permissions to read the msdb system database?
"John D." <JohnD@.discussions.microsoft.com> wrote in message
news:28596E29-6110-4A44-806F-6E82C2A86983@.microsoft.com...
>I am trying to get Database mail working on our win 2003 EE 64 bit SQL 2005
> SP 1 EE 64bit server. I have done a ton of searching around other posts &
> have checked everything that people have said would work. Nothing has
> worked
> so far with me. The mail service is enabled, broker service is enabled &
> relay permission is allowed for the service. Here is the error message I
> am
> getting: Could not retrieve items from the queue. If I look at the
> queue,
> it does have several test messages in there waiting to be sent. Any ideas
> on
> what else I could try to get this to work?
> Thanks!
> John
>|||Pardon my ignorance but how where do you set what login the mail service is
running under? Does it use the login that SQL Agent is running under? I
enabled it in the surface area configuration tool.
"Tim Greenwood" wrote:
> hmm..what login is the mail service running under? Are you sure that user
> has permissions to read the msdb system database?
>
> "John D." <JohnD@.discussions.microsoft.com> wrote in message
> news:28596E29-6110-4A44-806F-6E82C2A86983@.microsoft.com...
>
>|||Pardon my ignorance but how where do you set what login the mail service is
running under? Does it use the login that SQL Agent is running under? I
enabled it in the surface area configuration tool.
"Tim Greenwood" wrote:
> hmm..what login is the mail service running under? Are you sure that user
> has permissions to read the msdb system database?
>
> "John D." <JohnD@.discussions.microsoft.com> wrote in message
> news:28596E29-6110-4A44-806F-6E82C2A86983@.microsoft.com...
>
>
Database Mail is not working for me on 64 bit SQL 2005
SP 1 EE 64bit server. I have done a ton of searching around other posts &
have checked everything that people have said would work. Nothing has worked
so far with me. The mail service is enabled, broker service is enabled &
relay permission is allowed for the service. Here is the error message I am
getting: Could not retrieve items from the queue. If I look at the queue,
it does have several test messages in there waiting to be sent. Any ideas on
what else I could try to get this to work?
Thanks!
Johnhmm..what login is the mail service running under? Are you sure that user
has permissions to read the msdb system database?
"John D." <JohnD@.discussions.microsoft.com> wrote in message
news:28596E29-6110-4A44-806F-6E82C2A86983@.microsoft.com...
>I am trying to get Database mail working on our win 2003 EE 64 bit SQL 2005
> SP 1 EE 64bit server. I have done a ton of searching around other posts &
> have checked everything that people have said would work. Nothing has
> worked
> so far with me. The mail service is enabled, broker service is enabled &
> relay permission is allowed for the service. Here is the error message I
> am
> getting: Could not retrieve items from the queue. If I look at the
> queue,
> it does have several test messages in there waiting to be sent. Any ideas
> on
> what else I could try to get this to work?
> Thanks!
> John
>|||Pardon my ignorance but how where do you set what login the mail service is
running under? Does it use the login that SQL Agent is running under? I
enabled it in the surface area configuration tool.
"Tim Greenwood" wrote:
> hmm..what login is the mail service running under? Are you sure that user
> has permissions to read the msdb system database?
>
> "John D." <JohnD@.discussions.microsoft.com> wrote in message
> news:28596E29-6110-4A44-806F-6E82C2A86983@.microsoft.com...
> >I am trying to get Database mail working on our win 2003 EE 64 bit SQL 2005
> > SP 1 EE 64bit server. I have done a ton of searching around other posts &
> > have checked everything that people have said would work. Nothing has
> > worked
> > so far with me. The mail service is enabled, broker service is enabled &
> > relay permission is allowed for the service. Here is the error message I
> > am
> > getting: Could not retrieve items from the queue. If I look at the
> > queue,
> > it does have several test messages in there waiting to be sent. Any ideas
> > on
> > what else I could try to get this to work?
> >
> > Thanks!
> > John
> >
>
>