Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Dll Path Access2003 and Unity ...it does not work

0 views
Skip to first unread message

Howard Schmaeu

unread,
Aug 23, 2010, 5:07:32 AM8/23/10
to
Hey Guys,

wir are using "Microsoft.Practices.Unity" and the "Common Service
Locator library". This Works fine at all pure C# Projects. But i I use
it with an Access i got a lot of Problems. I have a Access2003 DB and
1 C# that is referenced to this DB. At Startup i initialized my
Environment to startup the Unity Stuff and load all the needed C# -
Dlls. But the Working Directory is ever the Office11 Folder. Also if i
change that with " Environment.CurrentDirectory" and
"AppDomain.CurrentDomain.SetData("APPBASE",@"....");"
I can't Start the Unity Stuff because the Path will not be found by
Unity.

If i Start a different ONLY C# - Project all works fine!!!
We load all the Dll's via an XML File not directly from the Code...

Howard

0 new messages