473,657 Members | 2,407 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Enterpri seServices.Inte rnal reliable ?

Hi

I need to use the class IISVirtualRoot to create virtual directories in IIS

What worries me is the warning in the documentation that reads "This member supports the .NET Framework nfrastructure and is not intended to be used directly from your code"

How reliable and predictable is the behaviour of the members of the namespace System.Enterpri seServices.Inte rnal

TI
regards
-Kumarforg
Nov 16 '05 #1
2 1767
Kumarforg,

I would think that the performance is reliable, since the class is being
used internally in the framework. However, you can not be guaranteed that
you will always have access to it.

If you want to create virtual directories on IIS programatticall y, then
I suggest going another route. Just putting the term "create virtual IIS
directory" on google produced this:

http://cprogrammingtrends.com/cprogr...oryUsingC.html

Also, there are some newsgroup postings dealing with the matter, which
can be found at:

http://groups.google.com/groups?q=cr...-8&sa=N&tab=wg

Many of these could be converted easily to C#.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Kumarforg" <Ku*******@hotm ail.com> wrote in message
news:31******** *************** ***********@mic rosoft.com...
Hi,

I need to use the class IISVirtualRoot to create virtual directories in IIS.
What worries me is the warning in the documentation that reads "This member supports the .NET Framework nfrastructure and is not intended to be
used directly from your code".
How reliable and predictable is the behaviour of the members of the namespace System.Enterpri seServices.Inte rnal ?
TIA
regards
-Kumarforg

Nov 16 '05 #2
Kumarforg,

I would think that the performance is reliable, since the class is being
used internally in the framework. However, you can not be guaranteed that
you will always have access to it.

If you want to create virtual directories on IIS programatticall y, then
I suggest going another route. Just putting the term "create virtual IIS
directory" on google produced this:

http://cprogrammingtrends.com/cprogr...oryUsingC.html

Hope this helps.

"Kumarforg" <Ku*******@hotm ail.com> wrote in message
news:31******** *************** ***********@mic rosoft.com...
Hi,

I need to use the class IISVirtualRoot to create virtual directories in IIS.
What worries me is the warning in the documentation that reads "This member supports the .NET Framework nfrastructure and is not intended to be
used directly from your code".
How reliable and predictable is the behaviour of the members of the namespace System.Enterpri seServices.Inte rnal ?
TIA
regards
-Kumarforg


Nov 16 '05 #3

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

Similar topics

1
6695
by: ulf | last post by:
Hello, After I got a FileNotFoundException in my real life CSharp code, I nailed it down to the following line: System.EnterpriseServices.ResourcePool rp = new System.EnterpriseServices.ResourcePool(null); The exception I get for this line is System.IO.FileNotFoundException: The specified module could not be found.
0
820
by: WebM¤nkey | last post by:
Hey Guys I am using the WebRequest class to do a http post and recieve a response back. As my application talks to another server for authentication etc this is the only way. But for some reason after a couple of days of working smoothly the whole thing fails. Vague errors like Internal server error etc are returned. The behaviour is consistent. To fix the problem I just have to copy the dll and replace the existing dll and it starts...
3
3000
by: Keith Patrick | last post by:
I have the Beta 2 of VS 2005 running an ASP.Net 2.0 app. This thing worked yesterday, but today, it's telling me: Error 1 Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Config\web.config 42 I'm not even sure why the thing has a problem with...
3
3225
by: Sarah | last post by:
I have a function residing in a module that is doing some file copy and database query operations. This function is called from a regular form under a System.Windows.Forms.Timer control. The problem is that sometimes it gives an error - even when it is doing the same exact operations. It may fail on the 20th tick event or the 100th. The file and data has no changes - so, it is doing the same operations repeatedly. I'm wondering if anyone...
6
27851
by: chanmm | last post by:
Dear all, I have run the same web application in my Windows XP Pro without any problem but once I deploy it in Windows 2003 Server the message below appear: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) I checked all the files I need in those paths and nothing is missing in fact. Anyone can help?
0
755
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. The same code works fine in a standalone app. I have inspected System.Runtime.Remoting.dll with ildasm, and I can see the ....Channels.Http namespace there. I verified that the virtual directory is configured to use v2.0.50727 (the error message...
1
1574
by: tassieboy | last post by:
Hi All I have a VB.NET application which runs on all client machines except one, where on startup, it gives the message system.enterpriseservices.thunk.dll, or one of its dependencies, were not found I do not have a reference to this file, and I do not use enterprise services anywhere in the solution.
0
968
by: PhreakRox | last post by:
Hello, everytime I start a website project the first line is always underlined and gives me the following error: Error 1 C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\WebSites\Releases\Default.aspx: ASP.NET runtime error: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified....
0
1147
by: Jay | last post by:
Here's a bizarre find. InstallShield deploys our ASP.NET code to customers. Everything is fine up untill THIS version release. Not happening on all customers' machines (which tells me that it's isolated - but...). When this package runs, system.enterpriseservices.dll (2.0) DISAPPEARS. Reinstall of 2.0 Framework makes it reappear.
0
8323
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
8838
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
8739
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
8513
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,...
1
6176
isladogs
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...
0
5638
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
4173
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...
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
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.