I am receiving the following error message when opening one of our web applications. I did find in the forum about changing/adding permission and stopping/starting services but it didn't work. We have moved our test server to another machine, which started this error (it was a virtual). I have also attempted to do a repair on the PDF Generator but that also didn't work. Any ideas on what to do next?
Could not load file or assembly 'ceTe.DynamicPDF' or one of its dependencies. Access is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadExceptio
n: Could not load file or assembly 'ceTe.DynamicPDF' or one of its dependencies. Access is denied.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'ceTe.DynamicPDF' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\F
usion!Enab
leLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\F
usion!Enab
leLog].
Stack Trace:
[FileLoadException: Could not load file or assembly 'ceTe.DynamicPDF' or one of its dependencies. Access is denied.]
[FileLoadException: Could not load file or assembly 'ceTe.DynamicPDF, Version=4.0.0.0, Culture=neutral, PublicKeyToken=09b5ce0d5c0
a9d8b' or one of its dependencies. Access is denied.]
System.Reflection.Assembly
._nLoad(As
semblyName
fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly
.nLoad(Ass
emblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
System.Reflection.Assembly
.InternalL
oad(Assemb
lyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly
.InternalL
oad(String
assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly
.Load(Stri
ng assemblyString) +25
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
Helper(Str
ing assemblyName, Boolean starDirective) +32
[ConfigurationErrorsExcept
ion: Could not load file or assembly 'ceTe.DynamicPDF, Version=4.0.0.0, Culture=neutral, PublicKeyToken=09b5ce0d5c0
a9d8b' or one of its dependencies. Access is denied.]
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
Helper(Str
ing assemblyName, Boolean starDirective) +596
System.Web.Configuration.C
ompilation
Section.Lo
adAllAssem
bliesFromA
ppDomainBi
nDirectory
() +211
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
(AssemblyI
nfo ai) +46
System.Web.Compilation.Bui
ldManager.
GetReferen
cedAssembl
ies(Compil
ationSecti
on compConfig) +177
System.Web.Compilation.Bui
ldProvider
sCompiler.
.ctor(Virt
ualPath configPath, Boolean supportLocalization, String outputAssemblyName) +185
System.Web.Compilation.Cod
eDirectory
Compiler.G
etCodeDire
ctoryAssem
bly(Virtua
lPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +350
System.Web.Compilation.Bui
ldManager.
CompileCod
eDirectory
(VirtualPa
th virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.Bui
ldManager.
EnsureTopL
evelFilesC
ompiled() +441
[HttpException (0x80004005): Could not load file or assembly 'ceTe.DynamicPDF, Version=4.0.0.0, Culture=neutral, PublicKeyToken=09b5ce0d5c0
a9d8b' or one of its dependencies. Access is denied.]
System.Web.Compilation.Bui
ldManager.
ReportTopL
evelCompil
ationExcep
tion() +57
System.Web.Compilation.Bui
ldManager.
EnsureTopL
evelFilesC
ompiled() +612
System.Web.Hosting.Hosting
Environmen
t.Initiali
ze(Applica
tionManage
r appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParamete
rs hostingParameters) +644
[HttpException (0x80004005): Could not load file or assembly 'ceTe.DynamicPDF, Version=4.0.0.0, Culture=neutral, PublicKeyToken=09b5ce0d5c0
a9d8b' or one of its dependencies. Access is denied.]
System.Web.HttpRuntime.Fir
stRequestI
nit(HttpCo
ntext context) +3465427
System.Web.HttpRuntime.Ens
ureFirstRe
questInit(
HttpContex
t context) +69
System.Web.HttpRuntime.Pro
cessReques
tInternal(
HttpWorker
Request wr) +279
--------------------------
----------
----------
----------
----------
----------
----
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Start Free Trial