Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

IIS6/SMTP/CDO When Using Specified Identity in App Pool

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  IIS directory name problem?  
Author Message
gwalker

External


Since: Apr 27, 2004
Posts: 3



(Msg. 1) Posted: Tue Apr 27, 2004 3:11 pm
Post subject: IIS6/SMTP/CDO When Using Specified Identity in App Pool
Archived from groups: microsoft>public>inetserver>iis (more info?)

I've got a Windows 2003 server with IIS6 up and running. I'm using an application pool and running my web application under a domain user account that has no special privileges.

I've got everything working (integrated security to SQL server, access to network file shares, application running). The only problem I'm having is sending e-mail. It gives me an error when creating the CDO.Message object.

Mail works fine (though other stuff doesn't) when running under the Network Service identity.

Is there a strange permission that needs to be set for the specified user in order the send SMTP based e-mails? I'm using the standard system.web.mail interfaces and not doing anything fancy.

Thanks in advance...

Greg Walker
ExpenseWatch.com
gwalker.TakeThisOut@expensewatch.com

 >> Stay informed about: IIS6/SMTP/CDO When Using Specified Identity in App Pool 
Back to top
Login to vote
anonymous131

External


Since: Oct 17, 2003
Posts: 720



(Msg. 2) Posted: Tue Apr 27, 2004 3:21 pm
Post subject: IIS6/SMTP/CDO When Using Specified Identity in App Pool [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Telling us the exact error would be helpful.

doug

 >-----Original Message-----
 >I've got a Windows 2003 server with IIS6 up and running.
I'm using an application pool and running my web
application under a domain user account that has no
special privileges.
 >
 >I've got everything working (integrated security to SQL
server, access to network file shares, application
running). The only problem I'm having is sending e-mail.
It gives me an error when creating the CDO.Message object.
 >
 >Mail works fine (though other stuff doesn't) when
running under the Network Service identity.
 >
 >Is there a strange permission that needs to be set for
the specified user in order the send SMTP based e-mails?
I'm using the standard system.web.mail interfaces and not
doing anything fancy.
 >
 >Thanks in advance...
 >
 >Greg Walker
 >ExpenseWatch.com
 >gwalker@expensewatch.com
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS6/SMTP/CDO When Using Specified Identity in App Pool 
Back to top
Login to vote
gwalker

External


Since: Apr 27, 2004
Posts: 3



(Msg. 3) Posted: Tue Apr 27, 2004 4:01 pm
Post subject: RE: IIS6/SMTP/CDO When Using Specified Identity in App Pool [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The totally useless error I'm getting:

The standard 8004005: Could not access 'CDO.Message' object

I'm guessing it's a permission error, as everything works if I switch the appliction pool to run under the default "Network Service" account.

The error occurs when I do the System.Web.Mail.SmtpMail.Send(email) call.

I know others have had this problem, I've just never seen a fix for it.

Thanks

Greg Walker
ExpenseWatch.com
gwalker.DeleteThis@expensewatch.com
 >> Stay informed about: IIS6/SMTP/CDO When Using Specified Identity in App Pool 
Back to top
Login to vote
anonymous131

External


Since: Oct 17, 2003
Posts: 720



(Msg. 4) Posted: Wed Apr 28, 2004 8:41 am
Post subject: RE: IIS6/SMTP/CDO When Using Specified Identity in App Pool [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Googling came up with:

<a style='text-decoration: underline;' href="http://www.google.ca/search?" target="_blank">http://www.google.ca/search?</a>
q=Could+not+access+CDO.Message&ie=UTF-8&oe=UTF-
8&hl=en&btnG=Google+Search&meta=

doug
 >-----Original Message-----
 >The totally useless error I'm getting:
 >
 >The standard 8004005: Could not access 'CDO.Message'
object
 >
 >I'm guessing it's a permission error, as everything
works if I switch the appliction pool to run under the
default "Network Service" account.
 >
 >The error occurs when I do the
System.Web.Mail.SmtpMail.Send(email) call.
 >
 >I know others have had this problem, I've just never
seen a fix for it.
 >
 >Thanks
 >
 >Greg Walker
 >ExpenseWatch.com
 >gwalker@expensewatch.com
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6/SMTP/CDO When Using Specified Identity in App Pool 
Back to top
Login to vote
gwalker

External


Since: Apr 27, 2004
Posts: 3



(Msg. 5) Posted: Wed Apr 28, 2004 10:46 am
Post subject: RE: IIS6/SMTP/CDO When Using Specified Identity in App Pool [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks, Doug!

That got it working. Was a mixed batch of problems.

One of these days I'll remember that google likes english phrase queries... Sad

Greg Walker
ExpenseWatch
gwalker RemoveThis @expensewatch.com
 >> Stay informed about: IIS6/SMTP/CDO When Using Specified Identity in App Pool 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Custom Application Pool Identity - When we try to run the Application pool with a configurable identity, Application pool is getting automatically disabled. We are using Windows 2003 Enterprise Edition and IIS6. Application pool starts without any error with the configured Identity. Bu...

IIS 6 ASP: Which Process Identity Is It Using? App Pool or.. - Hi, I am currently test running an old ASP application on IIS 6.0 and I have a question on what user identity is actually being used. I created a new application pool with its own service identity account (let's call it TestService, and added it to the...

application pool custom identity - I have a Windows 2003 Web Edition (IIS 6.0) server that host my intrAnet site. We are using only NT integrated authentication. When the AppPool identity is set to Network Service (default) everything works fine. But we are trying to use the aspnet..

Using Domain Account as App Pool Identity... - I'm trying to change the Default App Pool Identity in IIS6 to an account that is not predefined. According to the IIS administrator guide, all I need to do is add the desired account to the local IIS_WPG group and make sure all the web files have th...

app pool failure iis6 - Hi, This is a problem with a server that is hosting sharepoint, I've had this posted there for a while, so I'd see if anyone could pick up on the issue here.. ----------- I am having some really strange behaviour with wss on win2003 standard which can....
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]