473,473 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

IIS Application Name resolving

Hi,
Is there anyone who can help me in resolving the Application Name of my IIS
Aaplication.
I want to check the application name to see what configuration i need to use
because multiple virtual or root Web domains are using the same app env.

Regards,
Rene
Nov 29 '05 #1
4 2682
Request.ApplicationPath should work for you.

Juan T. Llibre
ASP.NET.FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================

"RJDev" <rj*******@hotmail.com> wrote in message news:en**************@TK2MSFTNGP12.phx.gbl...
Hi,
Is there anyone who can help me in resolving the Application Name of my IIS Aaplication.
I want to check the application name to see what configuration i need to use because multiple
virtual or root Web domains are using the same app env.

Regards,
Rene

Nov 29 '05 #2
Juan,
Thnx. I tried this but it will return my Virtual Web path. And not the
Application name itself.
Regards,
Rene

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:um**************@TK2MSFTNGP11.phx.gbl...
Request.ApplicationPath should work for you.

Juan T. Llibre
ASP.NET.FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================

"RJDev" <rj*******@hotmail.com> wrote in message
news:en**************@TK2MSFTNGP12.phx.gbl...
Hi,
Is there anyone who can help me in resolving the Application Name of my
IIS Aaplication.
I want to check the application name to see what configuration i need to
use because multiple virtual or root Web domains are using the same app
env.

Regards,
Rene


Nov 29 '05 #3
RJ,

Your virtual path *is* your ASP.NET application's name.

If you just want the letters in the name ( without the slash ), use :

Request.ApplicationPath.Substring(1, Request.ApplicationPath.Length-1)

That, instead of returning "/appname", will return "appname".

Juan T. Llibre
ASP.NET.FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================

"RJDev" <rj*******@hotmail.com> wrote in message news:uu*************@TK2MSFTNGP15.phx.gbl...
Juan,
Thnx. I tried this but it will return my Virtual Web path. And not the Application name itself.
Regards,
Rene

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:um**************@TK2MSFTNGP11.phx.gbl...
Request.ApplicationPath should work for you.

Juan T. Llibre
ASP.NET.FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================

"RJDev" <rj*******@hotmail.com> wrote in message news:en**************@TK2MSFTNGP12.phx.gbl...
Hi,
Is there anyone who can help me in resolving the Application Name of my IIS Aaplication.
I want to check the application name to see what configuration i need to use because multiple
virtual or root Web domains are using the same app env.

Regards,
Rene



Nov 29 '05 #4
Juan,
I am going to try this.
Thnx.

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:uy**************@tk2msftngp13.phx.gbl...
RJ,

Your virtual path *is* your ASP.NET application's name.

If you just want the letters in the name ( without the slash ), use :

Request.ApplicationPath.Substring(1, Request.ApplicationPath.Length-1)

That, instead of returning "/appname", will return "appname".

Juan T. Llibre
ASP.NET.FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================

"RJDev" <rj*******@hotmail.com> wrote in message
news:uu*************@TK2MSFTNGP15.phx.gbl...
Juan,
Thnx. I tried this but it will return my Virtual Web path. And not the
Application name itself.
Regards,
Rene

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:um**************@TK2MSFTNGP11.phx.gbl...
Request.ApplicationPath should work for you.

Juan T. Llibre
ASP.NET.FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================

"RJDev" <rj*******@hotmail.com> wrote in message
news:en**************@TK2MSFTNGP12.phx.gbl...
Hi,
Is there anyone who can help me in resolving the Application Name of my
IIS Aaplication.
I want to check the application name to see what configuration i need
to use because multiple virtual or root Web domains are using the same
app env.

Regards,
Rene



Nov 29 '05 #5

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

Similar topics

1
by: craigkenisston | last post by:
I have an asp.net application that is fully database driven. It takes the parameters from the server name and according to the domain it display the proper information. So, I upload the same exact...
20
by: weston | last post by:
I've got a piece of code where, for all the world, it looks like this fails in IE 6: hometab = document.getElementById('hometab'); but this succeeds: hometabemt =...
9
by: Garann Means | last post by:
I have a subfolder under wwwroot set up as a virtual directory with its own application name in IIS. I pulled it down from Visual Source Safe and, on the machine where it's normally hosted, it...
2
by: rjbr | last post by:
ASP.NET problem I have ASP.NET 1.1 application installed on 3 server Win2003/IIS6 Relative paths are being resolved in 2 of those but not on one dir structire /app/ /import
12
by: =?ISO-8859-1?Q?Une_B=E9vue?= | last post by:
two possibilities or the attribute type of script : text/javascript (the one i usually use) application/x-javascript what are the differencies between both ? depends on the html content ?...
2
by: loga123 | last post by:
Hi All, I have 2 web applications running on the same IIS server with different roots. Suppose, application A can be run using --http://localhost/A application B can be run using...
1
by: Usman Jamil | last post by:
Hi I'm having problem resolving DNS records of a domain using C#. What I want to do is an exact replica of this command nslookup.exe -type=MX i.e I need to resolve the MX record of a...
0
by: rkumar4acc | last post by:
Hi, We are encountering frequent deadlock- timout issues in QA Databases.Further looking into the lock snapshot, it seems that there is an agentID with appl hande ID as 0 and also we are not able...
2
by: barrett | last post by:
Is there a way to find the name of a page you are retrieving using python. For example, if I get http://www.cnn.com/ i want to know that the page is index.html. I can do this using wget. as seen...
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
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,...
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...
1
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...
0
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,...
0
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...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.