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)
[FileNotFoundExc eption]: The specified module could not be found. (Exception
fro
m HRESULT: 0x8007007E)
at System.Reflecti on.Assembly.nLo ad(AssemblyName fileName, String
codeBase, E
vidence assemblySecurit y, Assembly locationHint, StackCrawlMark& stackMark,
Bool
ean throwOnFileNotF ound, Boolean forIntrospectio n)
at System.Reflecti on.Assembly.Int ernalLoad(Assem blyName assemblyRef,
Evidence
assemblySecurit y, StackCrawlMark& stackMark, Boolean forIntrospectio n)
at System.Reflecti on.Assembly.Int ernalLoad(Strin g assemblyString,
Evidence as
semblySecurity, StackCrawlMark& stackMark, Boolean forIntrospectio n)
at System.Reflecti on.Assembly.Loa d(String assemblyString)
at System.Web.Conf iguration.Compi lationSection.L oadAssemblyHelp er(String
asse
mblyName, Boolean starDirective)
[ConfigurationEr rorsException]: The specified module could not be found.
(Except
ion from HRESULT: 0x8007007E)
at System.Web.Conf iguration.Compi lationSection.L oadAssemblyHelp er(String
asse
mblyName, Boolean starDirective)
at
System.Web.Conf iguration.Compi lationSection.L oadAllAssemblie sFromAppDomain
BinDirectory()
at System.Web.Conf iguration.Compi lationSection.L oadAssembly(Ass emblyInfo
ai)
at
System.Web.Comp ilation.BuildMa nager.GetRefere ncedAssemblies( CompilationSec
tion compConfig)
at System.Web.Comp ilation.BuildPr ovidersCompiler ..ctor(VirtualP ath
configPath
, Boolean supportLocaliza tion, String outputAssemblyN ame)
at
System.Web.Comp ilation.CodeDir ectoryCompiler. GetCodeDirector yAssembly(Virt
ualPath virtualDir, CodeDirectoryTy pe dirType, String assemblyName,
StringSet ex
cludedSubdirect ories, Boolean isDirectoryAllo wed)
at System.Web.Comp ilation.BuildMa nager.CompileCo deDirectory(Vir tualPath
virtu
alDir, CodeDirectoryTy pe dirType, String assemblyName, StringSet
excludedSubdire
ctories)
at System.Web.Comp ilation.BuildMa nager.CompileCo deDirectories()
at System.Web.Comp ilation.BuildMa nager.EnsureTop LevelFilesCompi led()
Any help determining which module could not be found would be much
appreciated. 0 1226 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gilles |
last post by:
Hello,
I am new to the group so please let me know if there is a better place to
post this.
I am trying to use aspnet_compiler to precompile a full web site and put the
result into an MSI setup
This generates a bunch of randomly names assemblies (bd45ft6.dll) for
instance.
Sicne I cannot predict the name of the generated Dlls, I cannot easily build
|
by: yousry |
last post by:
Hi guys,
I am trying to precompile a virtual directory that is located in a web site
other than default web site. I do not know how to use Aspnet_compiler to
precompile it. I tried to use the metabase path like the following :
Aspnet_compiler -m LM/W3SVC/670816/ROOT/TestCaching/ -f C:\TempFolder
When i tried this, it gave the following error :
error 1002: 'LM/W3SVC/670816/ROOT/TestCaching/' is not a well formed IIS
|
by: chris |
last post by:
I am confused about the aspnet_compiler. I have a solution that
contains a website, and other supporting assemblies such as business
logic and the data layer. Before I actually run aspnet_compiler I go
to the solution configuration manager and change the active
configuration to Release and have all the assemblies and the website
checked to build. I then change the web.config debug=false. Now I run
my aspnet_compiler. I run the...
|
by: JJ Koran |
last post by:
I am trying to compile a web site in place on a website other than the
default web site on my production server. On the development server we
have a web site installed on the default web site and I was able to use the
following command to compile the site:
aspnet_compiler.exe -v /
However, on the production server we created another website called IIE in
IIS and I try the following command aspnet_compiler.exe -v IIE and I get the...
|
by: Bjørn Terje Svennes |
last post by:
When compiling my web site with Visual Studio everything works fine. But when
bulding on our build server using the aspnet compiler (aspnet_compiler.exe),
I get the message "error ASPPARSE: Could not load type <namespace>.<class>".
I call aspnet_compiler from a nant script:
aspnet_compiler -nologo -v <virtual path-p <physical path-u -f <target
path>
The type that cannot be loaded belongs to a user control located in a sub
| |
by: David Thielen |
last post by:
Hi;
I am building our asp.net app for release and we want to precompile the
whole thing. A couple of questions.
First off, what is the -v for? It looks like I can call it anything. Does
that mean anything?
Second, once I compile and have created the pre-compiled program - what
files do I sign with my digital ID?
|
by: David Thielen |
last post by:
Just checking - there is nothing I need to do to build before running this
correct? All .cs files in App_Code will get built if needed.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
|
by: Brian McCullough |
last post by:
Is aspnet_compiler.exe actually the tool used by the ASP.NET runtime to
dynamically compile an ASP.NET 2.0 application? ...Or is the
aspnet_compiler.exe tool just a console application "front-end" for some
lower level functionality and the ASP.NET runtime actually hooks into this
lower level API?
Similarly, is the aspnet_compiler actually what get's called when using the
"Publish Web Site" utiltiy (or again, is the "Publish Web Site"...
|
by: =?Utf-8?B?U3VzaGlTZWFu?= |
last post by:
Ok, I have asp.net 2.0 site. I use VS2005.
My code use some .net dll which I have in bin folder and it work without
problem when I compile site by VS2005, but how I can add this dll file to
aspnet_compiler?
=================================================
aspnet_compiler -f -v /mysite C:\site\work -p c:\site\code -u -c
-errorstack
=================================================
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |