Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 9th, 2003, 12:31 PM
rvw rvw is offline
Registered User
 
Join Date: Oct 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default xp_sendmail fails

I get the following error message whenever I try to send an e-mail message via the website:

java.sql.SQLException: []xp_sendmail: failed with mail error 0x8004010f

The database is moved to a new server, and this might be the problem.
It seems that I have to rerun any scripts build on the XPs on the new server, but I don't know how. Someone else set this database up, and I can't reach him at the moment. I don't even know if there are scripts that should be rerun.
 
Old December 9th, 2003, 06:25 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

The issue with the XP_Sendmail. Check your version Of SQL and you have the latest service pack, make sure user has the privileges to run it.

This may be also:

Since you moved from server to another. script the jobs by right clicking and selecting generate scripts. run it against your new server. Make sure modification are made to for existing operators if you have any installed. Try using the same account as your SQL serveragent. Since this account usually has the permission and privileges to run proc and other services.






Similar Threads
Thread Thread Starter Forum Replies Last Post
login fails... yasminnnnn ASP.NET 2.0 Basics 6 December 12th, 2006 03:49 PM
CreateObject fails slam Javascript 1 October 6th, 2006 10:32 AM
insert fails Mitch MySQL 3 June 3rd, 2006 11:48 AM
xp_sendmail executes forever bsrini SQL Server 2000 2 March 14th, 2006 06:56 PM
ASP and xp_sendmail dlandolin Classic ASP Basics 0 July 14th, 2003 11:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.