I found the problem. Its a permission issue

IAdmin runs under the current users account.
IWebMessage runs under the System account.

I changed the service to run under an account with enough permissions and every thing 
works fine.

Thanks for lending me your time,

John

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of John Morrison
> Sent: Friday, August 08, 2003 3:25 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [IMail Forum] External Database Issues.
> 
> 
> All changes performed in IAdmin commit.
> I can start profiler and watch it work against the database.
> 
> Nothing happens in profiler when I attempt to use the web mail interface.
> 
> I downloaded the source for odbcuser.dll compiled it and am debugging it.
> 
> When IWebMessage invokes my odbcuser.dll SQLDriverConnect retruns -1.
> 
> When IAdmin invokes odbcuser.dll SQLDriverConnect retruns 1.
> 
> For some reason szConnStrOut has a different value depending on 
> what invokes my dll.
> 
> 
> 
>  
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Andy Ognenoff
> > Sent: Friday, August 08, 2003 2:53 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [IMail Forum] External Database Issues.
> > 
> > 
> > When you have the DB as SQL and you add/edit a user in the 
> Admin interface
> > do the changes stay?  Can you authenticate using a different 
> > client and not
> > web messaging?
> > 
> > For some reason, when I first tried this and my permissions 
> were messed up
> > in SQL server it appeared to work in Administrator but never 
> really commit
> > the changes to the DB.  Is any of this the case?
> > 
> > - Andy
> > 
> > 
> > To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
> > List Archive: 
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
> 


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to