Hi
I have wrote a test application to access class library from different
location and the configuration file created through .NET framework
configuration looks like this
<?xml version="1.0"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="TestLib" />
<publisherPolicy apply="no" />
<codeBase version="1.0.1742.11266"
href="E:\DotNet\Testing\TestLib\bin\Debug" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="TestLib2" />
<publisherPolicy apply="no" />
<codeBase version="1.0.1742.11338"
href="E:\DotNet\Testing\TestLib2\bin\Debug" />
</dependentAssembly>
<publisherPolicy apply="no" />
<probing privatePath="" />
</assemblyBinding>
<gcConcurrent enabled="true" />
</runtime>
</configuration>
When I tired to call function from any of this class library, I am getting
an error Acess is denied "TestLib" . Anybody having solution for this
problem?
Regards,
R.Muralidharan
Richard Blewett [DevelopMentor] - 11 Oct 2004 12:37 GMT
Does the principal under which the code is executing have access to the
E:\DotNet\Testing\TestLib\bin\Debug
Directory?
Regards
Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
nntp://news.microsoft.com/microsoft.public.dotnet.framework/<#KQ9rFyrEHA.1988@TK2MSFTNGP09.phx.gbl>
Hi
I have wrote a test application to access class library from different
location and the configuration file created through .NET framework
configuration looks like this
<?xml version="1.0"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="TestLib" />
<publisherPolicy apply="no" />
<codeBase version="1.0.1742.11266"
href="E:\DotNet\Testing\TestLib\bin\Debug" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="TestLib2" />
<publisherPolicy apply="no" />
<codeBase version="1.0.1742.11338"
href="E:\DotNet\Testing\TestLib2\bin\Debug" />
</dependentAssembly>
<publisherPolicy apply="no" />
<probing privatePath="" />
</assemblyBinding>
<gcConcurrent enabled="true" />
</runtime>
</configuration>
When I tired to call function from any of this class library, I am getting
an error Acess is denied "TestLib" . Anybody having solution for this
problem?
Regards,
R.Muralidharan
[microsoft.public.dotnet.framework]