473,386 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

aspnet_complier: how to precompile in place if not on default website or port

Hi,

For an existing asp.net 2.0 web site which is not on the default web site,
or uses a different port number, what is the syntax to precomplie using
aspnet_compiler?

e.g. aspnet_complier -v "/myvirtualdirectory" works if my web site is at
http://servername/myvirtualdirectory
but what do you do if your as.net web app is at
http://servername:7654/myvirtualdirectory ?

We've got 2 websites on 1 server which are differentiated by the port
number.

I keep getting errors like : error ASPRUNTIME: '/:7654/myvirtualdirectory'
is not a valid virtual path
I've also tried using the -p syntax e.g. aspnet_compiler -v
"myvirtualdirectory" -p "c:\inetpub\wwwroot2\myphysicaldirectory" but this
doesn't work either - it's just as slow as ever on first hit.
Do you have to resort to getting the exact details from the IIS metabase
first and specifying that using -m ?

What do you do also if you have a web app that is on the default website but
not on port 80?

any help much appreciated
Tessa

Jan 22 '07 #1
0 2046

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

Similar topics

5
by: gerry | last post by:
single machine - W2Kserver , IIS5 , VS.NET 2003 I spent some time struggling with what looked like the dreaded asp.net debugging configuration problem but none of the solutions for this did any...
4
by: LiamCo | last post by:
I want to deploy an asp.net application but I want the installer to be able to specify the website that it goes into at install time. The current installer always installs to the default website. ...
2
by: js | last post by:
I am using Visual Studio 2003. An IIS is installed on a separate box with the Remote Debugger server component from VS2003. Initially, I created a new blank project in VS2003 under the IIS's...
8
by: Mike Owen | last post by:
Hi, I am trying to pre-compile a project prior using ASP.Net 2.0, VS 2005, to putting it onto a live server. The reason for doing this is that other people have access to the server, and I...
2
by: Shimon Sim | last post by:
I tried to use Precompile.axd to compile my site but got HTTP404 (The resource cannot be found) instead. I am running ASP.NET Version:2.0.50727.42 .. Any suggestions? Thank you, Shimon.
0
by: thatsMaBoy | last post by:
Hi, I have an ASP.Net web service application. The .Net installer (a deployment project) currently installs the web service in the Default Website area in IIS on the target server PC. This is...
5
by: chaz | last post by:
Hi, I've a couple questions regarding in-place pre-compiling . As I understand it from ms documentation - precompiling a site in place effectively performs the same compilation that occurs when...
1
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...
3
by: Scott M. | last post by:
Scenario: ASP .NET 2.0 Web "Site" All but one page is written using inline VB .NET code. One page is written using VB .NET code-behind. MSBuild options are set at the default (allow pages to be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...

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.