I am trying to utilize the Interop.Domino.dll object in a VB.Net application. I have it actually working on my development machine with no problems what so ever. But as soon as I deploy it to any one of our Citrix servers I receive the error “Notes Error: Could not open ID File.”. The strange thing is, if I sign on to the Citrix Server it is installed on, everything works fine, but for any other user if fails. I’m stuck and don’t know where to go from here.
Oh and by the way, I am trying to access the corporate address book and send emails, but it is failing on the session.Initialize(“password”), and of course using the users password.
Thanks
Subject: .Net and COM
This isn’t a permissions thing is it?
When you are logged on you are accessing the Windows system as YOURSELF so you will have that set of Windows rights. However, if your code is run using a service or by other users, perhaps they don’t have the access rights NTFS permissions to view the id file or the folder that it is in.
Alternatively, if you developed locally and used a local path to point to the ID file is it possible that this is why it is not working in a client-server scenario? Could be looking for ID file on local machine. If your users are Citrix users, may depend on how their ‘machines’ are set up.
Subject: RE: .Net and COM
Thanks for the response, but I don’t thnk it is a permissions issue and my program is not pointing to a particular ID file. I have my boss try to application, because he has at least the same rights as myself if not more and the problem occurs with him as well. We thought this at first as well.
I don’t point to a particlar directory for the ID file because with Citrix I thought it would just find it. And since it was working for my login I didn’t think that was an issue. I found some code yesterday abotu switching ID’s but that failed miserably. I received all kind of errors from Notes trying that approach.
When using the COM, is there a way to tell it with ID or Notes.ini file to attach itself to? I do look at the Notes.ini for the user to get information for server, and I can see the ID file name, but I haven’t found a way to tell the COM which ID to use.
With so little documentation for the COM it makes it hard to figure out sometimes.
Thanks