426 Subj : Re: How to connect to a SQL server from service application To : borland.public.cpp.borlandcpp From : Mohsen Date : Sat Mar 05 2005 06:21 am "P.Baszak" wrote: >Hi, > >I have a problem with connecting to a MSSQL 2k server form service >application. > >The same application based on a form connecting without any problems, but >when I want the same from service application I get an error: >Project ServiceApp.exe raised exception class EDBEngineError with message >'Unknown user name or password. >[Microsoft][ODBC SQL Server Driver][SQL Server]Loginfailed for user 'test'. >Reason: Not associated with a trusted SQL Server. > >I get this error whe program try to connect to a SQL Server. > >My MSSQL server has a mixed mode authentication set, passwords and users are >correct. > >What I can do more to launch this application? > >Regards. > >P.Baszak > > Are you using Borland C++ compiler? Borland Database Engine? If not you should visist other newsgroups as necessary. Mohsen . 0