473,386 Members | 1,969 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.

AppDomain.CurrentDomain.BaseDirectory problems on network share

Hi there,

Im in the process of moving 200 odd websites to a new webfarm. This webfarm
consists of several web servers that access a separate dedicated hardware
storage device (Network Appliance FAS250 Filer) for all web content (so
instead of a website being located on C:\inetpub\wwwroot\websitename it is
now located on \\filer\home\websitename)

This has causes several problems but the main one being that if a web
application uses "AppDomain.CurrentDomain.BaseDirectory" to get the base web
directory (developers sometimes use this for upload directory paths) it now
returns C:\WINDOWS\system32\inetsrv\/filer/home/websitename which is the
incorrect address and causes errors.

Can anyone offer any advice to fix this problem?
Jul 21 '05 #1
0 1254

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

Similar topics

0
by: Matt Calhoon | last post by:
Hi there, I have a web application that I need to move to a new webfarm. This application uses AppDomain.CurrentDomain.BaseDirectory to call up the base path (D:\content\clientwebsiteroot\) when...
2
by: Foehammer | last post by:
Hello, I'm trying to load an assembly dynamically using an app domain. This is a proof-of-concept for a larger project, so please excuse the lame class names. TestLib is the dll where all the...
0
by: JonS. | last post by:
Hey All, I'm currently working on a program that dynamically loads assemblies from a directory each into their own seperate AppDomains using a somewhat logical extension of Eric Gunnerson's...
1
by: George Nevsky | last post by:
My ASP.Net application installed in IIS virtual folder which points to some shared folder on network. Everything works fine except AppDomain.CurrentDomain.BaseDirectory method. It returns...
7
by: JJ | last post by:
Hi, What's the equivalent for AppDomain.CurrentDomain.BaseDirectory in asp.net? Trying to access web app directory for reading and writing xml files. Thanks, JJ
0
by: Matt Calhoon | last post by:
Hi there, Im in the process of moving 200 odd websites to a new webfarm. This webfarm consists of several web servers that access a separate dedicated hardware storage device (Network Appliance...
5
by: Benny Raymond | last post by:
What should I do instead of this: AppDomain.CurrentDomain.AppendPrivatePath(Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath) + @"\plugins"); now that...
12
by: John | last post by:
I have a AppDomain ID, how do I get the instance of the AppDomain Object? Please advice. Thanks in advance. John
1
by: ThunderMusic | last post by:
Hi, (My code is at the end of this post) I have an AppDomain that must load a simple assembly that has only one class with one method and it does not work... I receive this exception : "Could...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.