SQL Server 8 / Server 2003 + Exchange 2010 E-Mail Notification
I was asked to setup a mail profile on the SQL 8 server we have running on Server 2003 so it can send emails via exchange. Every guide online is telling me to install an exchange client but I have no idea what an exchange client is? Anyone got any guides
for this?
Hi Neurotox,
According to your description, we need to verify if you use SQL Server 2008 and
want to setup a mail profile in SQL Server database for sending an email or notification. If yes, as other post, you need to configure database mail in SQL Server. In SQL Server 2000 , it supports MAPI profiles to send email instead of an
SMTP server. SQL Mail requires a MAPI-compliant mail server (Microsoft Exchange Server) and a MAPI client (Microsoft Outlook).
And now it uses an SMTP server to send mail. When you specify the related accounts associated with the profile, you can use
an external e-mail application, such as 126, 163, yahoo and so on.
Only set the right SMTP server name, port number, and
in Basic Authentication option, enter the same email ID along with the valid password of the email ID. It can send and receive e-mail.
For more information, see:
http://www.codeproject.com/Articles/485124/Configuring-Database-Mail-in-SQL-Server
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support
Similar Messages
-
Installing SQL 2012 BI on a server with Exchange 2010
I would like to create a new SBS-type network ... and I know that SBS2011 is dead, so I am looking at moving into the new Server 2012 world. I understand that Server 2012 Essentials has some really nice management and remote-access capabilities.
I definitely want to install Exchange 2010 on-premises and I know that it cannot be installed on Server 2012 Essentials, so I will have to deploy a second server running Server 2012 Standard. Not thrilled, but I can live with that (I miss SBS already).
I am also interested in installing SQL Server 2012 BI because I understand my POS (Point-Of-Sale) vendor should release a new SQL-based option in 2013 and I want to anticipate that and be ready.
I should have 15-17 users on this network without heavy use - mostly file + print sharing along with Exchange-based email. I do understand that Exchange takes up a lot of RAM, which is potentially a conflict with SQL Server, but I can put
8-12GB into each box. (Each box has two dual-core 2GHz AMD cpu's.)
So, my questions are:
Where should I best install SQL2012 BI?
Can Exchange 2010 and SQL 2012 BI live on the same box? If so, are there any tuning/install recommendations?
As you can see, I'm a newbie to the 2012 world and I appreciate any advice / pointers you can give.
Thanks!Hello,
Please see the following article:
http://technet.microsoft.com/en-us/library/aa997379(v=EXCHG.80).aspx
“Running SQL Server on the same computer as a production Exchange mailbox server is not recommended. Both SQL Server and Exchange mailbox servers consume a large amount of memory and disk resources to operate optimally. Co-hosting SQL Server and Exchange Server
on the same computer in a production environment will likely lead to poor performance by one or both of the servers. Additionally, troubleshooting and securing such an installation is not well understood.”
“Move either Exchange Server or SQL Server off the computer. Completely removing one of these programs from the computer is recommended”
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Upgrading Exchange Server 2003 to 2010 to 2013 is worth???
Hello there, I am planning to upgrade about 30 users from exchange server 2003 to 2010 and finally to 2013. Is it worth to upgrade in this way because this steps are hard and very time consuming. What if, if I just copy all the user mailboxes directly to
exchange server 2013 and configure 2013 as a new exchange server and decommission old exchange server 2003?
How to copy user mailboxes to fresh exchange server 2013?
Please help me out.
ThankxYes, Export the PST from User Mailbox and Import it into Exchange 2013 Mailbox. But the problem is, you can't install Exchange 2013 in your current Exchange 2003 environment.
Only option is to install Exchange 2010 first and migrate all the users to Exchange 2010. Also Replicate the Public Folders too(If you are using)
Decommission Exchange 2003 entirely. Install Exchange 2013 SP1 and Migrate the User to Exchange 2013.
Cheers,
Gulab Prasad
Technology Consultant
Blog:
http://www.exchangeranger.com Twitter:
LinkedIn:
Check out CodeTwo’s tools for Exchange admins
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Oracle 10.2.0.3 - LINUX 64bit to sql server 2003
I have applied Patch 5965763 and installed DG4ODBC in seperate oracle home
I have the Data Direct ODBC drivers for linux 64-bit and am using ddsqls24.so driver
my connection to sql server 2003 is "AFMAC"
my listener on 11.2 works and is started from the 11g home
my previous listeners are working from the 10g home
i have create the database link: create database link AFMAC connect to "mysql" identified by "mysql" using 'AFMAC';
select * from dual@AFMAC;
select * from dual@AFMAC
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from AFMAC
I have exhausted my searches and have not found the issue. any suggestions?
below are my files:
initAFMAC.ora file
# this is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = AFMAC
HS_FDS_SHAREABLE_NAME=/opt/oracle/gateway/hs/lib/dg4odbc.o:/opt/oracle/odbc/lib/libodbc.so
# ODBC specific environment variables
set ODBCINI=/opt/oracle/odbc/odbc.ini
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
listener.ora on 11g
AFMAC =
(ADDRESS_LIST=
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxxxxxxx-dev-vip)(PORT = 1522))
SID_LIST_LISTENER =
(SID_LIST=
(SID_DESC=
(SID_NAME = AFMAC)
(ORACLE_HOME = /opt/oracle/gateway)
(PROGRAM = dg4odbc)
listener.ora on 10g
LISTENER_XXXXXXXXXXXXX-DEV =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxxxxxxxx-dev-vip)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 1xx.xxx.xxx.136)(PORT = 1521)(IP = FIRST))
tnsnames.ora on 10g
COHODEV1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac1-dev-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = XXX.XXX.XXX.136)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XXXXdev)
(INSTANCE_NAME = XXXXdev1)
AFMAC =
(DESCRIPTION =
(ADDRESS= (PROTOCOL = TCP) (HOST = XXXXXXXX-dev-vip) (PORT = 1522))
(CONNECT_DATA = (SID = AFMAC))
(HS=OK)
11g alert/log.xml
<msg time='2009-12-01T14:49:39.752-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='cohortrac1-dev'
host_addr='140.140.200.136'>
<txt>01-DEC-2009 14:49:39 * service_update * cohodev1 * 0
</txt>
</msg>
<msg time='2009-12-01T14:50:39.758-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='cohortrac1-dev'
host_addr='140.140.200.136'>
<txt>01-DEC-2009 14:50:39 * service_update * cohodev1 * 0
</txt>
</msg>
<msg time='2009-12-01T14:52:06.774-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='cohortrac1-dev'
host_addr='140.140.200.136'>
<txt>01-DEC-2009 14:52:06 * service_update * cohodev1 * 0
</txt>
</msg>
<msg time='2009-12-01T14:53:39.787-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='cohortrac1-dev'
host_addr='140.140.200.136'>
<txt>01-DEC-2009 14:53:39 * service_update * cohodev1 * 0
</txt>
</msg>
<msg time='2009-12-01T14:54:15.791-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='cohortrac1-dev'
host_addr='140.140.200.136'>
<txt>01-DEC-2009 14:54:15 * service_update * cohodev1 * 0
</txt>
</msg>
<msg time='2009-12-01T14:55:18.062-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='cohortrac1-dev'
host_addr='140.140.200.136'>
<txt>01-DEC-2009 14:55:18 * (CONNECT_DATA=(SID=AFMAC)(CID=(PROGRAM=)(HOST=cohortrac1-dev)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=140.140.200.137)(PORT=10706)) * establish * AFMAC * 12505
</txt>
</msg>
<msg time='2009-12-01T14:55:18.062-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='cohortrac1-dev'
host_addr='140.140.200.136'>
<txt>TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
</txt>
</msg>
<msg time='2009-12-01T14:56:18.790-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='cohortrac1-dev'
host_addr='140.140.200.136'>
<txt>01-DEC-2009 14:56:18 * service_update * cohodev1 * 0
</txt>
</msg>
<msg time='2009-12-01T14:56:39.794-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='cohortrac1-dev'
host_addr='140.140.200.136'>
<txt>01-DEC-2009 14:56:39 * service_update * cohodev1 * 0
</txt>
</msg>
<msg time='2009-12-01T14:56:45.797-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='cohortrac1-dev'
host_addr='140.140.200.136'>
<txt>01-DEC-2009 14:56:45 * service_update * cohodev1 * 0
</txt>
</msg>
trace file -- afmac.log
Tue Dec 01 14:40:22 2009
01-DEC-2009 14:40:22 * service_update * cohodev1 * 0
Tue Dec 01 14:42:12 2009
01-DEC-2009 14:42:12 * service_update * cohodev1 * 0
Tue Dec 01 14:43:21 2009
01-DEC-2009 14:43:21 * service_update * cohodev1 * 0
Tue Dec 01 14:44:27 2009
01-DEC-2009 14:44:27 * service_update * cohodev1 * 0
Tue Dec 01 14:45:39 2009
01-DEC-2009 14:45:39 * service_update * cohodev1 * 0
Tue Dec 01 14:47:15 2009
01-DEC-2009 14:47:15 * service_update * cohodev1 * 0
Tue Dec 01 14:48:39 2009
01-DEC-2009 14:48:39 * service_update * cohodev1 * 0
Tue Dec 01 14:49:39 2009
01-DEC-2009 14:49:39 * service_update * cohodev1 * 0
Tue Dec 01 14:50:39 2009
01-DEC-2009 14:50:39 * service_update * cohodev1 * 0
Tue Dec 01 14:52:06 2009
01-DEC-2009 14:52:06 * service_update * cohodev1 * 0
Tue Dec 01 14:53:39 2009
01-DEC-2009 14:53:39 * service_update * cohodev1 * 0
Tue Dec 01 14:54:15 2009
01-DEC-2009 14:54:15 * service_update * cohodev1 * 0
Tue Dec 01 14:55:18 2009
odbctrace.out
EXIT SQLError with return code 100 (SQL_NO_DATA_FOUND)
HENV 0x0adaaa30
HDBC 0x0adab960
HSTMT 0x00000000
UCHAR * 0x2f5cd5b0 (NYI)
SDWORD * 0x2f5cd3ac
UCHAR * 0x2f5cd3b0
SWORD 511
SWORD * 0x2f5cd3aa
ENTER SQLAllocStmt
HDBC 0x0adab960
HSTMT * 0x2f5cdce8
EXIT SQLAllocStmt with return code 0 (SQL_SUCCESS)
HDBC 0x0adab960
HSTMT * 0x2f5cdce8 ( 0x0adc66d0)
ENTER SQLFreeStmt
HSTMT 0x0adc66d0
UWORD 2 <SQL_UNBIND>
EXIT SQLFreeStmt with return code 0 (SQL_SUCCESS)
HSTMT 0x0adc66d0
UWORD 2 <SQL_UNBIND>
ENTER SQLDisconnect
HDBC 0x0adab960
EXIT SQLDisconnect with return code 0 (SQL_SUCCESS)
HDBC 0x0adab960
ENTER SQLFreeConnect
HDBC 0x0adab960
EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS)
HDBC 0x0adab960
ENTER SQLFreeEnv
HENV 0x0adaaa30
EXIT SQLFreeEnv with return code 0 (SQL_SUCCESS)
HENV 0x0adaaa30I have change the path to below. do i need to point something to the dg4odbc.o?
my oracle home is /opt/oracle/product/10.2.0/db_1/database
the oracle gateway is in /opt/oracle/gateway
HS_FDS_SHAREABLE_NAME=/opt/oracle/gateway/lib/libodbc.so
[oracle@xxxxxxxxxx-dev lib]$ pwd
/opt/oracle/odbc/lib
[oracle@xxxxxxxxxxdev lib]$ da
total 77592
-rwxr-xr-x 1 oracle oinstall 11864950 Apr 8 2009 libddicu24.so*
-rwxr-xr-x 1 oracle oinstall 1862747 Apr 8 2009 ddor824r.so*
-rwxr-xr-x 1 oracle oinstall 1846224 Apr 8 2009 ddmsss24r.so*
-rwxr-xr-x 1 oracle oinstall 28748 Apr 8 2009 ddmsssdlg24.so*
-rwxr-xr-x 1 oracle oinstall 1684501 Apr 8 2009 ddor824s.so*
-rwxr-xr-x 1 oracle oinstall 3071461 Apr 8 2009 ddor824.so*
-rwxr-xr-x 1 oracle oinstall 1960824 Apr 9 2009 libddssl24.so*
-rwxr-xr-x 1 oracle oinstall 785197 Apr 13 2009 ddmsss24.so*
-rwxr-xr-x 1 oracle oinstall 1680661 Apr 13 2009 ddmsss24s.so*
-rwxr-xr-x 1 oracle oinstall 1853846 Jun 25 10:34 ddifcl24r.so*
-rwxr-xr-x 1 oracle oinstall 2780278 Jun 25 10:36 ddifcl24.so*
-rwxr-xr-x 1 oracle oinstall 1919201 Aug 6 12:50 ddase24r.so*
-rwxr-xr-x 1 oracle oinstall 1876326 Aug 6 12:50 ddtera24r.so*
-rwxr-xr-x 1 oracle oinstall 4445059 Aug 6 12:50 ddase24.so*
-rwxr-xr-x 1 oracle oinstall 1688747 Aug 6 12:50 ddtera24s.so*
-rwxr-xr-x 1 oracle oinstall 2857765 Aug 6 12:50 ddtera24.so*
-rwxr-xr-x 1 oracle oinstall 1844597 Aug 24 10:23 ddgplm24r.so*
-rwxr-xr-x 1 oracle oinstall 1844629 Aug 24 10:24 ddpsql24r.so*
-rwxr-xr-x 1 oracle oinstall 1806678 Sep 21 15:19 libddmbackw.so*
-rwxr-xr-x 1 oracle oinstall 1926162 Sep 21 15:20 ddora24r.so*
-rwxr-xr-x 1 oracle oinstall 1819448 Sep 21 15:20 libddmback.so*
-rwxr-xr-x 1 oracle oinstall 3639409 Sep 21 17:48 ddora24.so*
-rwxr-xr-x 1 oracle oinstall 3008211 Oct 8 11:30 ddmysql24.so*
-rwxr-xr-x 1 oracle oinstall 3010496 Oct 13 14:57 ddpsql24.so*
-rwxr-xr-x 1 oracle oinstall 3009760 Oct 13 15:02 ddgplm24.so*
-rwxr-xr-x 1 oracle oinstall 3869943 Oct 14 09:39 dddb224.so*
-rwxr-xr-x 1 oracle oinstall 1944521 Oct 14 16:21 dddb224r.so*
-rwxr-xr-x 1 oracle oinstall 15283 Oct 19 10:52 ddtrn24.so*
-rwxrwxr-x 1 oracle oinstall 3390754 Oct 20 10:03 ddsqls24.so*
-rwxrwxr-x 1 oracle oinstall 77982 Oct 20 13:35 vscnctdlg.so*
-rwxrwxr-x 1 oracle oinstall 335288 Oct 20 13:35 odbctrac.so*
-rwxrwxr-x 1 oracle oinstall 1840285 Oct 20 13:35 odbccurs.so*
-rwxrwxr-x 1 oracle oinstall 2115774 Oct 20 13:35 libodbc.so*
-rwxrwxr-x 1 oracle oinstall 1530695 Oct 20 13:35 libodbcinst.so*
[oracle@xxxxxxxxxx-dev database]$ tnsping AFMAC
TNS Ping Utility for Linux: Version 10.2.0.3.0 - Production on 02-DEC-2009 07:17:02
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Used parameter files:
/opt/oracle/product/10.2.0.1/db_1/database/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS= (PROTOCOL = TCP) (HOST = xxxxxxxxxx-dev-vip) (PORT = 1522)) (CONNECT_DATA = (SID = AFMAC)) (HS=OK))
OK (0 msec)
[oracle@xxxxxxxxxx-dev admin]$ lsnrctl status AFMAC
LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 02-DEC-2009 07:21:21
Copyright (c) 1991, 2006, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxxxxx-dev-vip)(PORT=1522))(CONNECT_DATA=(SID=AFMAC))(HS=OK))
STATUS of the LISTENER
Alias AFMAC
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 01-DEC-2009 14:37:20
Uptime 0 days 16 hr. 44 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/gateway/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/cohortrac1-dev/afmac/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.xxx.137)(PORT=1522)))
The listener supports no services
The command completed successfully
SQL> select count(*) from "test_table"@AFMAC;
select count(*) from "test_table"@AFMAC
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from AFMAC
Edited by: user11986618 on Dec 2, 2009 5:31 AM -
SQL Server 2003 support?
I need to migrate a lot of SQL Server 2003 databases to Oracle 10g. It looks like the migration workbench doesn't have support for 2003. is that True?
is there a beta version coming that might support 2003?
What expectation should I have if I run it against SQL Server 2003 anyway -- is it possible that I'll still get all of my data, and some of the stored procedures, etc?We are not aware that a SQL Server 2003 existed. Only 2000 and 2005.
Donal -
JDBC Adapter for SQL Server 2003
We are trying to connect from XI to SQL Server 2003 for the first time. Does anyone know what values to use for these 2 parms in the JDBC receiver channel:
1) JDBC Driver
2) ConnectionHi,
JDBC Driver :
jdbc:microsoft:sqlserver://<server name>;DatabaseName=Nameof database
Connection:
com.microsoft.jdbc.sqlserver.SQLServerDriver
If Driver is not installed for SQL than use this doc:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f
Thanks -
Which is the best way to migrate the SQL SERVER 2000 Database to SQL SERVER 2003 Database?
Hi,
I need to migrate the Production database sql server 2000 to Sql server 2003, Please give me the best idea to migrate the database without any loss data, credentials and Objects.
Nandha KumarSQL server does not have any version named SQL server 2003 please check the version correctly it should be either SQL 2005,2008,2008 R2,2012
You can use the backup/restore to upgrade the SQL 2000 database to till SQL 2005,2008,2008R2
For SQL Server 2000 to 2012
First upgrade from SQL 2000 database to either SQL 2005, 2008 or 2008R2 and than upgrade it to SQL 2012.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/eaa1eb44-729f-466b-8233-cb768fbb4208/upgrading-to-sql-server-2008-from-sql-server-2000?forum=sqlsetupandupgrade
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4fac7511-2c75-46a0-802b-807dd26b12bf/sql-2012-will-not-convert-a-sql-2000-database?forum=sqlservermigration
And after migration to SQL 2005 or 2008, if you want to script the database than can generate scripts pick DB and check off "script all objects in the selected database".
http://blog.sqlauthority.com/2011/05/07/sql-server-2008-2008-r2-create-script-to-copy-database-schema-and-all-the-objects-data-schema-stored-procedure-functions-triggers-tables-views-constraints-and-all-other-database-objects/
You can upgrade from SQL Server 2005, SQL Server 2008, and SQL Server 2008 R2 to SQL Server 2012.
http://msdn.microsoft.com/en-us/library/ms143393(v=sql.110).aspx
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
Connecting to MS SQL Server 2003 with JDBC.
I have a problem connecting to the MS SQL Server 2003.
When i execute my sample example coded in JDBC it gives me the error :
TCP/IP Connection failed . Connection Refused.
The authentication used in MS SQL Server 2003 is the SQL authentication. The port number used is 1433. But when i telnet the remote machine on which the SQL Server is installed on port number 1433 it gives me the error : Connection to the host lost.
Is this the problem with MS SQL Server 2003 ?
I changed the port number to 1400 but still the problem persists .
Are the settings of the SQL Server a problem . Because i have not used it much & it is been set by others.
The JDBC code is surely not a problem as i have checked that code on different machine with the databases.
I have tried other drivers but the error remains the same. ?Thanks for the replies but as u suggested to check
As u have suggested to check the firewall i
dont know the way to check it. So can u please
explain the way to do it.You need to talk to the owner of the server on which the database is running and ask if it's behind a firewall. The best way to check is to talk to some other people who know about your network.
I'd also ask which port the listener is running on. Maybe they changed from the standard port 1433 to confound hackers.
Is there any way to check whether there is a problem
with the particular port. I changed the port number
to 1400 but still the problem persists.The port change won't help. The only person who can change the port on which the SQL server listener is running is the database DBA. You can tell your client to try to connect to different ports, but the listener on the server side won't change.
If the SQL server client won't connect, you've got a very serious problem indeed. Sure you have the server name correct? Start with that. Check the easy things before you thrash around with harder problems.
% -
What is available on new Windows servers that allow you to write scripts that can work directly with Windows, SQL Server, and Exchange Server?
a. PowerShell
b. isql
c. osql
d. sqlcmdAll questions seem to be from the interview or a test. I think I even took this test once, it's KForce test.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
SQL Server Agent Job And Database Mail - Error formatting query, probably invalid paramters
We have a stored procedure that we are trying to call with a SQL Server Agent Job. The stored procedure calls Database Mail. This is SQL 2008. The execute task is simply:
USE [Production]
GO
EXEC [dbo].[JOB_EMAIL_SCHEDULED_REPORTS]
GO
When the job runs, it is erroring out immediately, with the error:
Execute as user: NT AUTHORITY\NETWORK SERVICE. Error formatting query, probably invalid paramters [SQLSTATE 42000] (Error 22050). The step failed.
When we go into SQL Server Manager and just execute the SQL query, it works though. Something within the SQL Server Agent job, and Database Mail is causing problems. Any ideas? Thanks.Justin,
If you use SSMS then the procedure is executed under a different user when compared to running using a SQL Server Agent Job.
Isolate the problem by running a SQL Server agent job that sends a mail. Also check if the NT Authority\Network Service account is
in good standing. Look at the below thread with a similar problem that had an expired account.
http://social.msdn.microsoft.com/Forums/en/sqltools/thread/bac7ecee-a156-4313-b532-ba15813a0700
http://SankarReddy.com/ -
Exchange 2010 mit Mail 7.2 unter OSX 10.9
Ist Exchange 2010 mit Mail 7.2 unter OSX 10.9 kompatibel?
Hello Daryl,
Thanks for using Apple Support Communities.
I found another Apple Discussion covering the same topic, with a response showing it solved the issue.
How do I restore the "whoosh" sent mail...: Apple Support Communities
https://discussions.apple.com/thread/4236085
Take care,
Alex H. -
Relay issue from Unix across Exchange 2003 OWA server in Exchange 2010 environment
Hi,
I'm trying to resolve an issue. We have one Exchange 2003 server left in our environment. The rest is now Exchange 2010. We are working to decommission this server. Monitoring the SMTP logs, I am working with the various groups to get the traffic
off this server and onto the Exchange 2010 environment.
The issue we are finding is with a work flow. This Java app for eBis sends email to users. This is done correctly through Exchange 2010 and gets delivered from our HUB/CAS servers to the target user mailbox. This email has several links the user must click
for approving or rejecting requests. Upon clicking Approve, a new email window opens (we use Outlook 2010). The TO address is in the format of [email protected] Upon clicking Send, our Exchange 2010 HUB/CAS servers accept the
email, because one of our send connectors has, as address space, *.domain.corp. However, the email address being used it not an alias on any Exchange 2010 mailbox, so it appears Exchange 2010 is sending this email on to the Exchange 2003 server, which
also is an SMTP server. I *think* this server is looking at the address after @ to determine where to send it (ebisserver.domain.corp, which is valid in our DNS), and sends it on to that server, where the java "listener" program intercepts
the mail, processes it and then saves it to a file somewhere.
We are at a loss as to how to get Exchange 2010 to do this instead of Exchange 2003... once this traffic is eliminted from Exchange 2003, I can proceed with decommission of this server. Any help troubleshooting this issue is appreciated.The only reason the Exchange 2010 server would route outbound mail through an Exchange 2003 server is that you have an SMTP Connector defined on the Exchange 2003 server that has a more specific domain than you have on the Exchange 2010 server. You
should be able to see all your Send Connectors (an SMTP Connector on Exchange 2003 looks like a Send Connector in Exchange 2010) by running Get-SendConnector.
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems." -
Setting up a test AD domain to practice Exchange Server 2003 to 2010 migration
Please critique my plan to upgrade our Exch 2003 server to 2010.
I want to start by setting up a test domain using an old Win Svr 2003 DC, and another old win 2003 server as an Exch 2003 mail server.
This test domain will be connected to our existing LAN so I need to make sure it doesn’t cause any problems.
We are a small single domain shop with a public domain name that I will call “mycompany.net” for the purposes of this question.
Our DC’s are named: “dc05.main.mycompany.net”, “dc06.main.mycompany.net”
Mail server: “mail1.main.mycompany.net”
Public DNS for our domain has an MX record that points to a public IP we use for our Sonicwall spam filter. The firewall has a 1 to 1 NAT entry to route that public IP to the LAN IP of the spam filter with corresponding rule that allows smtp to that LAN
IP.
The spam filter routes good mail to the Exch Svr, and the Exch Svr uses the spam filter as a smart host for outgoing mail.
Another public DNS entry points “smtp.mycompany.net” to our firewall which 1 to 1 NAT’s that public IP to another LAN IP of our Exch Svr (we have 2 IP’s assigned to this server). This is used for OWA, ActiveSync etc. to the Exch Svr.
Test Domain Setup
I plan to name the test domain “test.mycompany.net”.
DC = “dc01.test.mycompany.net”
Mail = “mail.test.mycompany.net”
Public DNS MX record for “test.mycompany.net” to point to a currently unused public IP we have available.
MX record for “test.mycompany.net” will point to public IP x.x.x.10
Firewall will NAT that public IP to the LAN IP x.x.x.30, and allow smtp on that IP to route to the sonicwall spam filter.
The spam filter will have in incoming mail path setup that routes mail with source IP x.x.x.30 to the test mail server.
Outgoing mail configuration on the test mail server will be the same as the “main” exch svr I guess.
Once the test domain seems to be working:
I will obtain an SSL certificate (we are not using SSL now) and apply it to the test mail server, so I can figure out how that works.
Then I will add a new Win Svr 2008 R2, Exch Svr 2010 machine to the test domain and go thru the procedure of migrating to it.
Once I feel like I know what I am doing I will plan the migration of the “main” domain mail server.
Primary concern is to not allow this testing to disrupt the operation of our currrent systems.
I know this is a lot to ask, but I’m hoping some of you guys just love this stuff so much you will enjoy thinking about it and helping me with any constructive suggestions.
Thank you.Hi,
Based on my experience, your deployment steps can be considerable. And here are some articles you can refer to:
Installing New Exchange 2003 Servers:
http://technet.microsoft.com/en-us/library/bb123643(v=exchg.65).aspx
How to configure the SMTP connector in Exchange 200x:
http://support.microsoft.com/kb/265293
Install Exchange 2010 in an Existing Exchange 2003 Organization:
http://technet.microsoft.com/en-us/library/dd638130(v=exchg.141).aspx
How to setup a SmartHost in Exchange 2003:
http://support.prolateral.com/index.php?/Knowledgebase/Article/View/118
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.
Thanks,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Angela Shi
TechNet Community Support -
Manually removing Exchange Server from Exchange 2010 Organization
Hi everybody, I need some help with a problem removing my last Exchange Server 2003 (the only one now, back-end) from my mixed environment, actually I have one Exchange 2010 server with all the mailboxes, I have replicated public folders and OAB and List
Address Books to it, after that i removed my front end server from my environment but when I tryed to remove my back-end, I have the error 0x80072030 (8240) when I ran the uninstallation of Exchange from Add/remove Programs: I read
tons of articles but anyone helps (i have removed all mailboxes from that server), my last resource is removing the last Exchange Server 2003 from my mixed (2003/2010) organization, I have read articles about to remove Exchange from one server and to remove
Exchange from one site, also to remove Exchange to reinstall after, but my goal is remove Exchange at all because I have Exchange Server 2010 too and finally need to migrate to Exchange 2013 so I need to clean Exchange 2003 manually from my
organizatión.
Please somebody knows a procedure to remove Exchange Server 2003 from Active Directory and left only Exchange 2010 to be able to migrate to Exchange 2013.
thanks in advance.
Felxs
FelxHi,
Let’s begin with the following similar thread:
http://social.technet.microsoft.com/Forums/exchange/en-US/1c10c868-9b1d-43fe-afe1-d630626e2c28/exchange-2003-removal-fails-w-error-code-0x80072030-8240-there-is-no-such-object-on-the-server?forum=exchangesvrdeploylegacy
And we can check the following possible reasons:
1. HomeMDBBL attribute
http://social.technet.microsoft.com/Forums/en-US/exchangesvrmigration/thread/f0e3edd7-34e5-46b8-8061-1991aaffc30f
2. msExchHomeServerName attribute (all pointing to Exchange 2010 server)
3. the "famous" postmaster issue:
http://support.microsoft.com/kb/283089/en-us
We can also try to manually remove the old Exchange Server by:
http://support.microsoft.com/kb/833396
Thanks,
Angela Shi
TechNet Community Support -
Removing mailbox server from Exchange 2010 DAG - Node not fully cleaned up
Hi,
We are in the process of decommissioning some old Exchange 2010 servers. I have just attempted to remove one of our mailbox servers and have received a number of errors, related to its removal from the DAG.
I have already removed the Public Folder replicas and all mailbox database copies. I then tried to evict the server from the DAG and received the following warning:
I then ran the command that was recommended, from another server and in an administrative command prompt:
I have looked in this log on both the server I ran the command on, a CAS server, and the mailbox server itself and can see no evidence of this error 2 that is listed here.
If I run the Powershell command to look at the DAG I cannot see it there any more. I am assuming that this error message might only be an issue if I was planning on re-using this server somewhere else in Exchange or perhaps adding this server to another
DAG. But I just want to decommission it.
Can anyone put my mind at rest as to whether this is a genuine concern or not. If not my next step is to uninstall Exchange 2010 from this server and turn it off.Hi Belinda,
I get the following:
[PS] C:\Windows\system32>Get-DatabaseAvailabilityGroup
Name Member Servers
Operational Servers
DAG01 {WSR-EX-01, WSR-EX-101, WSR21}
It doesn't look like that server is part of the DAG any more as far as I can see. I just can't explain that error message reported from the cluster command. As far as I can see the server is isolated. I already removed its database copies as a pre-requisite
before removing it from the DAG as per this guide:
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_27039933.html
I found a nice little script that gave reports on your Public Folder configuration and it highlighted that some of our folders were not being replicated properly across our mailbox servers. This helped me in removing these services from the server.
It is currently doing nothing at this time as far as Exchange Services are concerned.
Maybe you are looking for
-
Unity Connection 8.6 not able to forward from extension (dial out)
Dear all, I'm having a problem at a customer where i'm not able to forward calls externally from the Unity (that's a wish too). Basically here is the request for which I'm having an issue: - I'm making a menu with a number XXX (CTI Port) with a Syste
-
After upgrading to ios 5.01 my iphone 4 died one day after
I updated my iphone 4 to ios 5.01. on the second day after upgrading (recharged the phone during the night) the phone shut off alone and there is no way to start it up. I plugged it to the computer and iTunes does not recognize it
-
Multiple versions of the same RAW image
Hi All, It's posible to have multiple versions of the same RAW file. Let's say I work my RAW file and make some changes, can those changes become an independent file? I want to be able to go back to the original RAW file without loosing any other ver
-
I have had my laptop for less then a year, and the majority of the time, only a small portion of the mouse works, how do I fix this, or is there someplace I can take it for warranty work.
-
I have a Time Capsule installed; everything is working for my Mac powerbook. Can I use Time Capsule to back up a PC on my network?