October 11, 2005 at 9:36 am
Hello guys!!
I'm using MSDE as Publisher/Distributor and SQL Server 2000 as Subscriber.
Now i want to configure SQL Mail to send me an email when replication fails!!
HOw can i do this?
This is done in the Publisher or in the Subscriber? ( MSDE does not support SQL Mail!!!)
Thanks,
Cláudia
Cláudia Rego
www.footballbesttips.com
October 11, 2005 at 9:50 am
Is it a pull subscription running at the subscriber ? I just modify the SQL agent job on the subscriber to use email notification when the job fails
October 11, 2005 at 9:53 am
No.
It's a push subscription!
Cláudia
Cláudia Rego
www.footballbesttips.com
October 14, 2005 at 5:04 am
How can i configure the SQL agent job on the subscriber to use email notification when the job fails???
Any article/tutorial about this??
Thankx
Cláudia
Cláudia Rego
www.footballbesttips.com
October 14, 2005 at 7:15 am
Perhaps you can put a second step into your push subscription job. If the replication at step one fails, then your new step 2 won't happen. Step 2 writes a completion record to your subscriber. Your subscriber looks for it, and sends an email if it's not there.
I didn't think this out much ..... but you get the idea.
October 14, 2005 at 7:56 am
Ok.
I got the ideia.
But i use wizards to configure the replication...
HowTO implement this ideia??
Thankz
Claudia
Cláudia Rego
www.footballbesttips.com
October 14, 2005 at 8:10 am
After you're finished configuring replication, SQL will create a regular SQL Agent job. You can then edit that job just like any other job to add an additional step.
A simpler solution might be to make a pull subscription instead of a push subscription. Then the job will run at your subscriber, which does have email, right ? If so, you can just use regular SQL notification to alert you if the job fails.
October 14, 2005 at 8:57 am
Ok!
I will try!
Thanks,
Cláudia
PS- Can you see my other post??
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=7&messageid=227972
Cláudia Rego
www.footballbesttips.com
October 14, 2005 at 9:52 am
I saw it already, but didn't have any ideas about it.
October 14, 2005 at 9:56 am
Thanks anyway.
Cláudia
Cláudia Rego
www.footballbesttips.com
October 18, 2005 at 8:02 am
homebrew01 said:
A simpler solution might be to make a pull subscription instead of a push subscription. Then the job will run at your subscriber, which does have email, right ? If so, you can just use regular SQL notification to alert you if the job fails.
I tried a pull subscription but when I look at publications from registered servers i can't find any.
The publication i have made has enabled anonymous pull subscriptions.
Also i'm using the same login for both servers (sa + password) and this login is part of the PAL.
What is it wrong?
Thankx,
Cláudia
Cláudia Rego
www.footballbesttips.com
October 18, 2005 at 8:26 am
Hmmmm that's odd ...... Do you see the server, but not the publications ?? Or do you not even see the server ? Are they on the same domain ?
October 18, 2005 at 8:29 am
I can see the server.
I cann't see the publication!!!
They aren't in the same domain.
Cláudia
Cláudia Rego
www.footballbesttips.com
October 18, 2005 at 9:41 am
Have you read this ?
http://support.microsoft.com/default.aspx?scid=kb;en-us;321822
I had a problem a while back caused by the publisher being registered with the local name, not the actual server name.
When setting up a subscriber on the Subscriber, log on the the server itself, and make sure the Publisher is referred to as the actual server name in Enterprise Manager, not a local "nickname". Modify the host file or DNS if this is not the case.
I hope I'm not leading you too far astray .....
Viewing 14 posts - 1 through 14 (of 14 total)
You must be logged in to reply to this topic. Login to reply