473,698 Members | 2,086 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Recompile ASP.NET 1.1 application WITHOUT VS.

Hi

This might seem an unusual request!

Does anybody know how to rebuild an ASP.NET 1.1 application on server
without Visual studio (i.e. compile on the server itself).

It would be fine if it was an ASP.NET 2.0 application I guess (would
recompile on the fly).

Is there anything in the standard 1.1. framework which will allow me
to do this?

BACKGROUND

Basically I've hacked a .VB file on the application server (minor
change) using notepad, there are no copies of Visual Studio available
here. I've backed up the application and wish to attempt a rebuild
(just changing the file, or deleting the bin files is not enough for
ASP.NET 1.1 seems), and I don't really want to install VS2003 on a
machine just for this trivial hack.

Many thanks

Alex
Jan 22 '08 #1
1 3852
re:
!Does anybody know how to rebuild an ASP.NET 1.1 application
!on server without Visual studio (i.e. compile on the server itself).

Here's a tip from :
http://www.ssw.com.au/ssw/kb/KB.aspx?KBID=Q1545246

<quote>
ASP.NET 2.0 has precompilation built-in (when you compile through VS.NET 2005 or above) or with
the command line aspnet_compiler .exe. However, if you are using ASP.NET 1.1, you can use this tip.

Place the following http handler section into your web.config:

<configuratio n>
<system.web>
<httpHandlers >
<add verb="*" path="precompil e.axd" type="System.We b.Handlers.Batc hHandler"/>
</httpHandlers>
</system.web>
</configuration>

Then surf to the file http://webservername/VirtualDirector...Precompile.axd

If your site has no errors, you will get a message "Batch Compilation Successful" displaying on the page.
Otherwise, you will get an error from the pages on your site that do not precompile. Note that this will only
work for the current directory. If you have subfolders, you will need to run it on the subfolders as well.

You may also have to restart the ASP.NET worker process
(or just restart IIS) for the ASP.NET 1.1 precompiler to work.
</quote>

HTH...
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"Alex" <po******@alexs hirley.comwrote in message
news:60******** *************** ***********@e6g 2000prf.googleg roups.com...
Hi

This might seem an unusual request!

Does anybody know how to rebuild an ASP.NET 1.1 application on server
without Visual studio (i.e. compile on the server itself).

It would be fine if it was an ASP.NET 2.0 application I guess (would
recompile on the fly).

Is there anything in the standard 1.1. framework which will allow me
to do this?

BACKGROUND

Basically I've hacked a .VB file on the application server (minor
change) using notepad, there are no copies of Visual Studio available
here. I've backed up the application and wish to attempt a rebuild
(just changing the file, or deleting the bin files is not enough for
ASP.NET 1.1 seems), and I don't really want to install VS2003 on a
machine just for this trivial hack.

Many thanks

Alex


Jan 22 '08 #2

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

Similar topics

0
1233
by: Jason Moore | last post by:
I am trying to setup an asp.net web application without using a virtual directory, but when I do, the IDE forces me to use absolute paths so I cannot use root relative paths. Is there a way to setup IIS so that you can use root relative paths without including the name of the virtual directory?
1
2347
by: Pino | last post by:
Hi to all. I would like to run .NET application without install the framework on my computer. This is a requirement for my application because it will downloaded from the internet. I know there are various "compilers" which link all the assemblies of a project and embed the .NET Framework. Have you got any experience?
2
1960
by: Lars Uffmann | last post by:
Hello everyone! I am trying to run a very minor .net-application (autopatcher for a free everquest server) while avoiding to actually install the 23megabytes .net basic package that Microsoft seems to want to impose on everyone using .net-applications. I have managed to manually place the required DLLs into the proper directories (so far) but am now at a loss as to how the machine.config file should look like. Currently
7
1229
by: Baghdadi | last post by:
how can I run an application without a graphic interface , I mean an application that works in the background licke the msn messenger , I know that I can hide the window form , but that makes the program very slow !!
3
2433
by: Frankie | last post by:
I want to build a standard application (without .NET Framework features) with my Visual C++.NET. I want to produce a standalone executable application that runs in another PC without .NET Framework. How can i do this? (if there isn't .NET Framework, my application doesn't work...)
7
1690
by: Staale L. Hansen | last post by:
We have an application which uses some mixed-mode code to expose a .NET 1.1 managed API. Only the necessary files are compiled with /clr. We want to be able to load the application without .NET present, and then just disable the API. But we are not even able to give an error message when we start the application without mscoree.dll present. We have tried delay-loading mscoree.dll, but that did not help because the OS loader (at least on...
2
1781
by: MB | last post by:
Hello! At home I am using ASP.net to develop an asp application. Now I have copied this application to my IIS5.0 server at my workplace. Everything works fine, but then I would do a change in a code behind file. I made the changes with notepad, but I can't get it to take affect. Not event restarting IIS solved it. How do I compile or refresh IIS so that my changes takes affect? I do not have VS.Net at my workplace. Where is the running...
2
4784
by: Colin | last post by:
Hi altogether, I ran into a problem with asp.net: I tried to create a pure web application WITHOUT any asax or aspx pages. Only one .dll in the bin folder supplying a HttpApplication and some IHttpModules etc.. All pages are created dynamicly using a xml data source and converting through xslt. Now I have the problem, that asp.net does not start my HttpApplication
3
1331
by: Daylor | last post by:
hi. i want to destroy the application when i catch some exception. i have multithread app. how can i destroy the application and exit immedietly ?
24
14648
by: Rajiv | last post by:
Hello, Can some one guide me on how do i make a .NET application which upon installing on the target system doesnot require a .NET Framework Installed? Bye Rajiv
0
8674
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
8604
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,...
0
9157
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
9028
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
8895
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
5860
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
4369
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
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2001
bsmnconsultancy
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...

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.