473,387 Members | 1,441 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,387 software developers and data experts.

aspnet_regiis to register ASP.NET on different server.

I am working on a hosting control panel. I am adding support for
multiple server and would like to know if aspnet_regiis.exe has a
switch for the server name. For example, I have an ASPX page running
on server1, where the control panel is located. The client wants to
update the .NET framework version of www.his-website.com, which
happens to be running on server6. If I do
System.Diagnostics.Process.Start("aspnet_regiis -s W3SVC/234234234/
Root/") is there anyway that I can specify the server name in that
process? I can specify the server name for owsadm.exe for FrontPage
Extensions, specify the server name with the ADSI stuff, can I do the
same for this? I would imagine that I could, but I just can't find it.
Please help. I appreciate it in advance.

BTW - If any of you are wondering what control panel, it's
WindowsPanel at www.aspDotNetSoftware.com. It is the only Windows
Hosting Control Panel that comes with 100% of the source code. Yes,
shameful plug, but very few people know about it and it really is an
excellent product that is very well written.

Thanks,
John Johnson
Sr. Application Architect
Sr. Database Administrator
asp.netSoftware | Tampa Web Development
Jun 27 '08 #1
1 2010
re:
!would like to know if aspnet_regiis.exe has a switch for the server name

No, it does not.
It only works on the machine it's running on.

If you want your clients to run aspnet_regiis on different boxes,
you'll have to provide access to System.Diagnostics.Process.Start("aspnet_regiis ...)
on the servers they have websites in.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"twdo" <jo***@twdo.comwrote in message news:f4**********************************@34g2000h sh.googlegroups.com...
>I am working on a hosting control panel. I am adding support for
multiple server and would like to know if aspnet_regiis.exe has a
switch for the server name. For example, I have an ASPX page running
on server1, where the control panel is located. The client wants to
update the .NET framework version of www.his-website.com, which
happens to be running on server6. If I do
System.Diagnostics.Process.Start("aspnet_regiis -s W3SVC/234234234/
Root/") is there anyway that I can specify the server name in that
process? I can specify the server name for owsadm.exe for FrontPage
Extensions, specify the server name with the ADSI stuff, can I do the
same for this? I would imagine that I could, but I just can't find it.
Please help. I appreciate it in advance.

BTW - If any of you are wondering what control panel, it's
WindowsPanel at www.aspDotNetSoftware.com. It is the only Windows
Hosting Control Panel that comes with 100% of the source code. Yes,
shameful plug, but very few people know about it and it really is an
excellent product that is very well written.

Thanks,
John Johnson
Sr. Application Architect
Sr. Database Administrator
asp.netSoftware | Tampa Web Development

Jun 27 '08 #2

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

Similar topics

0
by: George Durzi | last post by:
I have a web server with both v1.0 and v1.1 of the .NET Framework installed. I'm referencing this article (http://support.microsoft.com/?id=820106) to "tell" my web server to run my web application...
3
by: Dan | last post by:
Hi, I have a problem using an aspx page with a Control on it. I get the following error message Compiler Error Message: CS1595: 'Test.Class2' is defined in multiple places; using definition...
17
by: JStemper | last post by:
On one of my localhost sites I'm getting a message to run aspnet_regiis -c to correct some scripting issues. When I try to run the listed command I get another error: "You must have...
1
by: J Rieggle | last post by:
Hi, Having been flamed for my previous HEEEELP! post and called childish, I decided to reframe this problem - I have to have something ready for tomorrow morning, and my server has stopped...
0
by: richard.warner | last post by:
When you run 'aspnet_regiis -c', the aspnet_client directory is created under EVERY web site on the IIS server. It seems strange that there doesn't seem to be any way of running the command so...
3
by: Mammaloe | last post by:
Hi, I have VS2005 Beta2. I'm trying to publish a Web Site (as described in http://msdn2.microsoft.com/en-us/library/1y1404zt.aspx). When I run the site from Visual Studio on Visual Studio's...
4
by: Anthony Yott | last post by:
Folks, In using the aspnet_regiis –ga command I'm running into an issue. I'm using this command against a domain account e.g. aspnet_regiis –ga MyDomain\ayott and it works fine. If I perform...
8
by: David Thielen | last post by:
Hi; In our setup program how do I determine if I need to run "aspnet_regiis –i" and if so, is there an API I can calll rather than finding that program on the user's disk and calling it? --...
6
by: =?Utf-8?B?TWVsaXNzYQ==?= | last post by:
I was having a problem on my computer and had to uninstall and re-install iis. Now I am trying to re-register asp.net using aspnet_regiis.exe -i but the computer just gives me the error message...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
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...

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.