471,570 Members | 927 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,570 software developers and data experts.

Modifying IIS Metabase on remote server

Hi,

I'm trying to write an application to modify certain IIS metabase
entries (AllowKeepAlive, ASPProcessorThreadMax 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.Text, userpassBox.Text, AuthenticationTypes.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 1796

"Raith" <Ra******@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
| Hi,
|
| I'm trying to write an application to modify certain IIS metabase
| entries (AllowKeepAlive, ASPProcessorThreadMax 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.Text, userpassBox.Text, AuthenticationTypes.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 AuthenticationTypes.Encryption?

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

Feb 20 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by David Veeneman | last post: by
reply views Thread by Will Holley | last post: by
1 post views Thread by Schemer | last post: by
2 posts views Thread by =?Utf-8?B?UmJydA==?= | last post: by
3 posts views Thread by =?Utf-8?B?Q2hhcmxlcw==?= | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

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.