473,800 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems when using aspnet_compiler .exe

When compiling my web site with Visual Studio everything works fine. But when
bulding on our build server using the aspnet compiler (aspnet_compile r.exe),
I get the message "error ASPPARSE: Could not load type <namespace>.<cl ass>".

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
directory of the web application. Both the aspx- and cs-files are there.

Any ideas why this doesn't work?
Sep 13 '06 #1
0 2786

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
877
by: Martin Moser | last post by:
I have migrated my asp.net application from 1.1 to 2.0. Now I have the problem, that VS 2005 does not show me all compile errors, it only shows the error for the files which lie in the app_code folder. For now I have to open each aspx file to get the errors. Does somebody knows, if theres a way to get all error for the whole application? My second problem is, that I am not able to deploy the application (I am able to start the...
0
1269
by: Ajay | last post by:
Can I use build my VS 2005 web projects to target framework 1.1 and run the sites on aspnet 1.1? Could this be done with aspnet_compiler so that I can automate this as part of automated build? Thanks.
0
1791
by: Kieran Toon | last post by:
I'm using Visual Studio 2005 and have an ASP.NET web application written in Visual Basic. When the application runs on my local webserver and hits an error, my errorhandler writes out debug information using the Stacktrace method of the exception object. However the line number of the exception and the file where it occured does not display when I deploy the application to the live server using either the following command:
0
1166
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...
3
2020
by: George Ter-Saakov | last post by:
If I precompiled my project with aspnet_compiler do I need to have web.config on a server? Or all I need is just a BIN directory and aspx files as markers? George.
0
972
by: fmolinet | last post by:
Hi, in my current application i found that validateRequest can't be set to false, either in the aspx pages and in the web.config. When i change the validateRequest value, it won't change anything, the ValidateRequest will ever occur. I really need to disable this validation. Any clue ?
1
1751
by: Tessa | last post by:
Hi, Is there a way to use aspnet_compiler to precompile an existing asp.net 2.0 web application that is on another server? I need to initiate the precompile programmatically from another .net windows program running on a different machine. thanks for any info
0
1441
by: jobs | last post by:
I've got an asp.net website that runs fine from VS.NET on my client. If I deploy the site by moving it to the Test web server it works fine. If I precompile the site on the Test server that goes well as well. If I deploy the sources to my prod server which is 64 bit I get this error:
0
1019
by: arun | last post by:
Can any one please say me the difference b/w Aspnet_compiler.exe and "Publish Website"
0
9690
marktang
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...
0
10505
Oralloy
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...
0
10275
jinu1996
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...
1
10253
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,...
0
9085
agi2029
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...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.