473,799 Members | 3,098 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Modifying IIS Metabase on remote server

Hi,

I'm trying to write an application to modify certain IIS metabase
entries (AllowKeepAlive , ASPProcessorThr eadMax etc.) on remote web
servers (Win2000 IIS5) over the network.

I'm confident using it to modify the metabase on my local machine and
it works great, however trying the same on a remote machine gives
access denied. Using the following...

DirectoryEntry W3SVC = new DirectoryEntry( "IIS://someserver/w3svc",
usernameBox.Tex t, userpassBox.Tex t, AuthenticationT ypes.Secure);

where the username and password are just the administrator account,
doesn't work. I thought it would just be as simple as that but
obviously not.

Options?

Thanks in advance.

Feb 16 '06 #1
2 1884

"Raith" <Ra******@gmail .com> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
| Hi,
|
| I'm trying to write an application to modify certain IIS metabase
| entries (AllowKeepAlive , ASPProcessorThr eadMax etc.) on remote web
| servers (Win2000 IIS5) over the network.
|
| I'm confident using it to modify the metabase on my local machine and
| it works great, however trying the same on a remote machine gives
| access denied. Using the following...
|
| DirectoryEntry W3SVC = new DirectoryEntry( "IIS://someserver/w3svc",
| usernameBox.Tex t, userpassBox.Tex t, AuthenticationT ypes.Secure);
|
| where the username and password are just the administrator account,
| doesn't work. I thought it would just be as simple as that but
| obviously not.
|
| Options?
|
| Thanks in advance.
|

Not sure if it's the same for W2K, but IIS6 on W2K3 requires an encrypted
connection. Could you try using AuthenticationT ypes.Encryption ?

Willy.
Feb 16 '06 #2
Still didn't work :(

Feb 20 '06 #3

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

Similar topics

2
3312
by: Keith | last post by:
I think we have a corrupt IIS metabase on our web cluster. The controller is replicating the problem to the members. What steps can we take to confirm our IIS metabase is intact? I would prefer not to do ADSI calls. Isn't there a command to interate thru the metabase? Many thanks, Keith
1
6247
by: Roger | last post by:
I need to edit the IIS 6.0 config file (metabase.xml) and had a go with this code, trying to get a list of all defined websites, and write their name to console, but it does not seem to work, would appreciate any pointers: ----------- Try Dim doc As New XmlDocument Dim nodelist As XmlNodeList Dim node As XmlNode
5
45570
by: David Veeneman | last post by:
I had to reformat my Windows XP Professional development machine yesterday and reinstall everything, including IIS and VS 2005. I thought I had worked out the procedure to get ASP.NET up and running on a local machine, but I am getting this error when I try to open a web app on the local IIS installation: "Failed to access IIS metabase". Okay--the ASPNET account doesn't have access to the IIS metabase. I ran aspnet_regiis with the -ga...
0
3500
by: and251076 | last post by:
Buongiorno, da pochi giorno ho installato la versione 2005 di Visual Studio, ma ahi mè non funziona tutto perfettamente. Infatti non riesco ad eseguite le miei applicazioni web in localhost. Se provo ad eseguire il debug mi ritorna la seguente segnalazione di errore: Impossibile avviare il debug sul server Web.Il server Web non è configurato in modo corretto. Per verificare gli errori di
0
2183
by: Will Holley | last post by:
I have a problem with cache headers which I cannot track down. We are running IIS6 on Windows Server 2003 and ASP.NET 2.0. Our application has an installer which sets up our caching options in the metabase - specifically it sets HttpExpires="D, 0" and CacheControlCustom="no-cache" on the directory containing our web forms. In IIS manager this shows up correctly (saying expires immediately). For some specific web forms (aspx) within...
1
2052
by: Schemer | last post by:
Hello, I tried to load a web page from my local IIS, and got this error: ----------------------------- Failed to access IIS metabase. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
2
6049
by: =?Utf-8?B?UmJydA==?= | last post by:
I am having bizarre problems with IIS 6.0 an ASP.NET 2.0 on the Win 2003 Server in our (closed internal) development network. Following some of the suggestions I have seen here, I have removed IIS 6.0 from the server as well as all versions of ASP.NET. I would also like to remove the IIS metabase (Metabase.xml & MBSchema.xml) before I re-install IIS & ASP.NET, but when I try to do that I get a message saying that the files are in use by a...
3
2402
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Hi: I'm looking for an example of modifying the registry of a remote system. Thanks much! Charles
1
4635
by: nagmvs | last post by:
Hello I am unable to upload More than 200kb in to my server and also i can downlaod only less than 4MB file from my server .When i am searching in internet i found solution as u can increase size of Metabase.xml (In IIS) file up to 1GB. Suppose if i increase size of Metabase.xml file up to 200 MB.is there any problems i can face for other applications ? Why microsoft predefined the size of Metabase.xml file as 4MB ? ...
0
9687
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, 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...
0
10484
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
10251
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
10228
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,...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6805
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
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4141
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
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.