Dear all,
I am trying to dynamically create the instance
(withActivator. CreateInstance) of cManop class
This class uses as reference Dep4Man class.
But somehow at the invokation time I get a exception, that Dep4Man class
couldn't be found. The class is regersered with regasm Dep4Man.dll /codebase
But the shown Appbase is not as it should be!!!
May be somebody has an idea, what could be wrong?
Thanks,
Boni
System.Reflecti on.TargetInvoca tionException: Exception has been thrown by
the target of an invocation. ---> System.IO.FileN otFoundExceptio n: ?
File name: "Dep4Man"
at cManop.cManop.. ctor()
=== Pre-bind state information ===
LOG: DisplayName = Dep4Man, Version=1.0.0.0 , Culture=neutral ,
PublicKeyToken= f15b37290cce953 8
(Fully-specified)
LOG: Appbase = c:\Programme\Mi crosoft Visual Studio .NET 2003\Common7\ID E\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: Private path hint found in configuration file:
PublicAssemblie s;PrivateAssemb lies.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/Dep4Man/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PublicAssemblie s/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PublicAssemblie s/Dep4Man/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PrivateAssembli es/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PrivateAssembli es/Dep4Man/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/Dep4Man.EXE.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/Dep4Man/Dep4Man.EXE.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PublicAssemblie s/Dep4Man.EXE.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PublicAssemblie s/Dep4Man/Dep4Man.EXE.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PrivateAssembli es/Dep4Man.EXE.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PrivateAssembli es/Dep4Man/Dep4Man.EXE.
--- End of inner exception stack trace ---
at System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly)
at System.Activato r.CreateInstanc e(Type type, Boolean nonPublic)
at System.Activato r.CreateInstanc e(Type type)
I am trying to dynamically create the instance
(withActivator. CreateInstance) of cManop class
This class uses as reference Dep4Man class.
But somehow at the invokation time I get a exception, that Dep4Man class
couldn't be found. The class is regersered with regasm Dep4Man.dll /codebase
But the shown Appbase is not as it should be!!!
May be somebody has an idea, what could be wrong?
Thanks,
Boni
System.Reflecti on.TargetInvoca tionException: Exception has been thrown by
the target of an invocation. ---> System.IO.FileN otFoundExceptio n: ?
File name: "Dep4Man"
at cManop.cManop.. ctor()
=== Pre-bind state information ===
LOG: DisplayName = Dep4Man, Version=1.0.0.0 , Culture=neutral ,
PublicKeyToken= f15b37290cce953 8
(Fully-specified)
LOG: Appbase = c:\Programme\Mi crosoft Visual Studio .NET 2003\Common7\ID E\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: Private path hint found in configuration file:
PublicAssemblie s;PrivateAssemb lies.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/Dep4Man/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PublicAssemblie s/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PublicAssemblie s/Dep4Man/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PrivateAssembli es/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PrivateAssembli es/Dep4Man/Dep4Man.DLL.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/Dep4Man.EXE.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/Dep4Man/Dep4Man.EXE.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PublicAssemblie s/Dep4Man.EXE.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PublicAssemblie s/Dep4Man/Dep4Man.EXE.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PrivateAssembli es/Dep4Man.EXE.
LOG: Attempting download of new URL file:///c:/Programme/Microsoft Visual
Studio .NET 2003/Common7/IDE/PrivateAssembli es/Dep4Man/Dep4Man.EXE.
--- End of inner exception stack trace ---
at System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly)
at System.Activato r.CreateInstanc e(Type type, Boolean nonPublic)
at System.Activato r.CreateInstanc e(Type type)
Comment