473,806 Members | 2,253 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.e xe 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.Diagnost ics.Process.Sta rt("aspnet_regi is -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 2028
re:
!would like to know if aspnet_regiis.e xe 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.Diagnost ics.Process.Sta rt("aspnet_regi is ...)
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.com wrote in message news:f4******** *************** ***********@34g 2000hsh.googleg roups.com...
>I am working on a hosting control panel. I am adding support for
multiple server and would like to know if aspnet_regiis.e xe 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.Diagnost ics.Process.Sta rt("aspnet_regi is -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
1180
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 using v1.1. From: WindowsDirectory\Microsoft.NET\Framework\v1.1.4322\ I should run aspnet_regiis -s W3SVC/1/ROOT/AppName at the command line. My application is configured as a web site in IIS, rather than a virtual directory under the...
3
3354
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 from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\1f575646\ad3a161b\assembly\dl2\57ca505e\044565c0_f84fc401\Test1.DLL' The problem is that the control is defined in two different assemblies
17
4847
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 administrative rights on this machine in order to run this tool." I have verified that I have administrative rights on the box as my normal login. I have also logged in as the local administrator, tried the same thing and get the same message.
1
1645
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 working and I have no clue how to fix it, hence my original post, sent from a place of severe stress. I rebooted my box for no particular reason other than I had decided to reboot my router. When XP had sorted itself out, I loaded Dev Studio 2003...
0
1568
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 that it only installs the aspnet_client directory under a specified web site or even just the .net web sites on the server. I'm running several production IIS servers that have got a mix of .net and non-.net web sites on them and I don't want the...
3
23588
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 webserver, the Web Site runs fine. When I publish the web site, I'm getting the following error message: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and
4
3440
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 the command against another domain account it doesn't do anything but show all the options. I'm running XP SP2 but I'm got a virtual machine with Win2003 loaded up and I get the same exact results. Does anybody know why I can't use this command...
8
3025
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? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com
6
7115
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 "c:\...\aspnet_regiis.exe is not a valid Win32 application" I am using Windows XP SP 2, .NET Framework 2.0
0
9596
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
10617
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
10364
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
10370
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
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7649
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
6876
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();...
1
4328
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
3849
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.