P
Prodip Saha
I am trying to load a shared component like DataAccess from GAC and not been
able to successfully get it working for my asp.net application. The dll is
loading from the GAC with correct version and I can verify it from Output
window of VS.Net IDE. I can change the policy and it works because I can see
the oldversion is redirected to newVersion.
The problem is- unless I copy the dll in the bin directory of the
application [from where it referenced by other components of the
application] I get FileNotFoundException. This entirely defeats the purpose
of have the dll in the GAC.
I have tried the codebase but asp.net always probes the dll in the temporary
directory like the one below-
Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/iisvirtualpathname/c6b755e3/7450c22c/DataAccess.DLL ...etc.
So, my question is why am I getting the file not found exception while the
file is already loaded from GAC? Am I missing something? I would appreciate
your comments.
Thanks,
Prodip Saha
able to successfully get it working for my asp.net application. The dll is
loading from the GAC with correct version and I can verify it from Output
window of VS.Net IDE. I can change the policy and it works because I can see
the oldversion is redirected to newVersion.
The problem is- unless I copy the dll in the bin directory of the
application [from where it referenced by other components of the
application] I get FileNotFoundException. This entirely defeats the purpose
of have the dll in the GAC.
I have tried the codebase but asp.net always probes the dll in the temporary
directory like the one below-
Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/iisvirtualpathname/c6b755e3/7450c22c/DataAccess.DLL ...etc.
So, my question is why am I getting the file not found exception while the
file is already loaded from GAC? Am I missing something? I would appreciate
your comments.
Thanks,
Prodip Saha