GetUserStoreForDomain failed in COM addin

S

stan_siu

In my test case, I have a minimal COM extensiblity add-in generated from .NET
2003 project template.

Inside the OnConnect code, I used IsolatedStorageFile.GetUserStoreForDomain.
It failed and threw exception with message "Unable to determine assembly
identity".

Later I knew that the Interop CCW is through the assembly of mscoree.dll
which is not strong-named, so I downloaded the COM add-in shim from
Microsoft, hoping the isolated AppDomain from the shim will solve this. No
such luck.

http://msdn.microsoft.com/office/de...dno2k3ta/html/ODC_Office_COM_Shim_Wizards.asp

The call still doesn't work. What goes wrong?

Actually, the above question is raised because I am trying to use Enterprise
Library June 2005 Cache block with no avail and the last statement came from
that a call of GetUserStoreForDomain; if the cache manager is selected to
use isolated storage. I would also apprecate any help from anyone tried
Enterprise Library inside Office COM addin successfully.



Thanks much.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top