Session could not be opened

I've got this error 'System.Runtime.InteropServices.COMException (0x80004005): Session could not be
opened. at AccpacCOMAPI.IAccpacSession.Open(String UserIdentifier, String
Password, String DataBase, DateTime SessionDate, Int32 Flags, String Reserved)' when trying to connect to ACCPAC from web application VB.net/c#. But when i'm trying to connect using vb6, there is no error.

 

What should I do? please help...

Parents Reply
  • 0 in reply to KDH

    0x80004005 is Access Denied. What is the context you are calling this? Is it from a Windows Service? If it is then perhaps you need to check the service configuration for the login, and make sure that user has sufficient rights. Remember that the local admin doesn't have rights to network resources.

Children