|
by: jason |
last post by:
What is the best way to handle global includes for 3 subwebs that may at
various times consume similiar include files such as ENQUIRY FORMS.
I ask this question as I now have the oppportunity to control sub webs more
tightly on my new host via virtual director and wish to improve the folder
structure and code on my various sites.
However, I am concerned with the implications for the PHYSICAL and RELATIVE
file path options.
|
by: Simon |
last post by:
I wonder if someone can help with this -
I 'm creating an IISVirtualDirectory, and setting its Path property to the
physical path I want to reference. This works fine when I have a standard
file path - 'C:/Test' - however I sometimes have a UNC path -
'//remoteComputer/Test' - and IIS appears to choke when it's given that.
So, is there any way of translating a UNC path to the physical path on the
remote computer? ie: Translating '...
|
by: Michiel Schaeverbeke |
last post by:
Hi,
I'm trying to reach an xml file from within a web application. The file is
physically on a different server. When I try to reach it using
\\servername\path\ style, I get the error "\\servername\path\ is a physical
path". Using a virtual directory gives the same result.
All I really do is the following:
// XmlTransformer is a System.Web.UI.WebControls.Xml object
|
by: DagoFlores |
last post by:
Hi, Im trying to get programmaticly the physical path of each directory
displayed on IIS Console.
If the SchemaClassName is "IIsWebVirtualDir" then I can get it (i.e.:
"C:\..."). Trying with the "IIsWebDirectory" schema, I get a url like
follows:
IIS://DAGOSERVER/w3svc/1/ROOT/DagoSite
and not the common physical path like "C:\...". If I put both on the
|
by: Raed Sawalha |
last post by:
I have a problem in getting asp.net application physical path in global.ascx
static function
in my global.ascx i have a static function :
first i tried to get the physical path by refelection using
string rootPath =
Path.GetDirectoryName(System.Refelection.Assmebly.GetExecutingAssembly().Location);
but the problem it returned a path in temprary folder in
/winnt/framework/ver/temporay asp.net files ..i do not know why?
|
|
by: dgk |
last post by:
Is there some built in way to know whether a physical folder path is
'My Documents" for a specific user? I can always use xxx.StartsWith to
compare it to the enumeration returned by the Personal folder, but it
seems a bit inelegant.
|
by: Jaime Stuardo |
last post by:
Hi all...
How can I get the physical path of a web site from an EXE application? The
Web Site is on the same server as the application.
Thanks in advance
Jaime
|
by: =?Utf-8?B?SmVmZiBCZWVt?= |
last post by:
Best way I can think to describe this is through an example. I have a
virtual directory, let's call it "MyVirtualDirectory" that maps to
\\MyServer\Shared.
I have a path that is \\MyServer\Shared\SomeDirectory\SomeFile.txt.
I need to convert this path to a virtual path with the virtual directory
name. The result I'm after would be:
MyVirtualDirectory\SomeDirectory\SomeFile.txt
|
by: marss |
last post by:
Server.MapPath("~/page.aspx") returns the physical file path based on
the specified virtual path. Is there any reverse method to get the
virtual path based on the physical path (both pathes belong to the
same web application)?
Usually I do in this way:
virtualFilePath =
physicalFilePath.Replace(physicalRootDirectoryPath,"~/")
Perhaps, is there standard inbuilt method?
|
by: Ahmedhussain |
last post by:
Hi everyone,
I am totally new to IIS. I somehow configured IIS and now whenever I try to add a website, on testing it gives me the error of authorization, i.e.
"Cannot verify access to path : The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read...
|
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: 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: 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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: 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...
|