aspnet_compiler error

G

Guest

I'm trying to use the aspnet_compiler to publish a web site from the command
line. I can publish the same website successfully from within VS, but when I
try to do the same from the command line I get the error:

error ASPCONFIG: The specified module could not be found. (Exception from
HRESULT: 0x8007007E)

Using the -errorstack option gives:

error ASPCONFIG: The specified module could not be found. (Exception from
HRESUL
T: 0x8007007E)

[FileNotFoundException]: The specified module could not be found. (Exception
fro
m HRESULT: 0x8007007E)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, E
vidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark,
Bool
ean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence
assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence as
semblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
asse
mblyName, Boolean starDirective)

[ConfigurationErrorsException]: The specified module could not be found.
(Except
ion from HRESULT: 0x8007007E)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
asse
mblyName, Boolean starDirective)
at
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomain
BinDirectory()
at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo
ai)
at
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSec
tion compConfig)
at System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath
configPath
, Boolean supportLocalization, String outputAssemblyName)
at
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(Virt
ualPath virtualDir, CodeDirectoryType dirType, String assemblyName,
StringSet ex
cludedSubdirectories, Boolean isDirectoryAllowed)
at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath
virtu
alDir, CodeDirectoryType dirType, String assemblyName, StringSet
excludedSubdire
ctories)
at System.Web.Compilation.BuildManager.CompileCodeDirectories()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()

Any help determining which module could not be found would be much
appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top