Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Configure Virtual Directories on another server

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Related Topics:
how to configure virtual smtp server - Hello, Does any one knows where can i find or tutorials about WinXP's virtual smtp server? I want to be albe to send SMTP messages from my PC. I'll all your help. Best regards,

Configure an IIS Virtual Directory with Server Extensions .. - I am about to pull all my hair out. I have spent hours trying to figure out how to configure the necessary server on a virtual directory in IIS so I can wrap an Interdev project around it. XP Pro SP1, IIS 5, FP2000

configure a virtual directory? - Hi, I want to install a simple web service using IIS, how can I create a directory under and configure it into a web root directory using the install program instead of manually? Thank you very much. -May

IIS 5.1 Can't configure Virtual Directory In XP Pro - I have WinXP Pro and according to in Computer I have IIS5.1. If I expand Internet Web Site and on IISHelp, on the Virtual Directory tab, I can't click on ..

how to configure virtual directory to use .Net v1.1 instea.. - I am running IIS version 6.0 on win2003 server. On original install of we were using .Net framework v1.1 with Sql Server 2000, Reporting Services 2000, Visual Studio 2003. I came into the picture after this original install. ..
Next:  IIS: Live video Content Server  
Author Message
Chris M

External


Since: Oct 24, 2007
Posts: 1



(Msg. 1) Posted: Wed Oct 24, 2007 7:46 pm
Post subject: Configure Virtual Directories on another server
Archived from groups: microsoft>public>inetserver>iis (more info?)

I am always recreating my IIS virtual directories on to other servers. Is
there an automated way I can recreate entire IIS virtual directory structure
using export and import features of IIS? Any samples/articles would be
great!

 >> Stay informed about: Configure Virtual Directories on another server 
Back to top
Login to vote
David Wang

External


Since: Nov 01, 2007
Posts: 309



(Msg. 2) Posted: Wed Oct 24, 2007 10:41 pm
Post subject: Re: Configure Virtual Directories on another server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 24, 4:46 pm, "Chris M" <stopthat1....DeleteThis@gmail.com> wrote:
> I am always recreating my IIS virtual directories on to other servers. Is
> there an automated way I can recreate entire IIS virtual directory structure
> using export and import features of IIS? Any samples/articles would be
> great!

IIS version?

What you want can be done in a variety of ways:
1. Write script code against the IIS Admin APIs to create virtual
directory structure
2. Batch Script existing tools like ADSUTIL.VBS to create virtual
directory structure
3. On IIS6, use tools like IISCNFG.VBS to export/import virtual
directory structure.

http://technet2.microsoft.com/windowsserver/en/library/d76460b0-e6c3-4...-88d1-0

In all cases, you are responsible for making sure the physical
directories backing the virtual directories exist and are valid. IIS
will never guess and "fixup" your configuration mistakes.

IIS6 exposes import/export on the UI (same underlying code called by
IISCNFG.VBS). Script code/tools work on all modern IIS versions,
including IIS7 with IIS6 Metabase Compatibility component.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

 >> Stay informed about: Configure Virtual Directories on another server 
Back to top
Login to vote
Tiago Halm

External


Since: Apr 12, 2005
Posts: 22



(Msg. 3) Posted: Tue Oct 30, 2007 11:16 pm
Post subject: Re: Configure Virtual Directories on another server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Adding to David's response, here is a simple example for an existing VDir
using the import/export features of WMI for IIS6 in the same computer.
Remember that copying a VDir structure requires the same AppPool structure
(not covered in this example, but simple to figure out). The tools mentioned
by David are the full blown import/export out-of-the box tools that are
available to IIS6.

=======================
=== Export metadata
=======================

oIIS = new ManagementObject("\\root\\MicrosoftIISv2:IIsComputer=\"LM\"");
oIIS.Get();
oIIS.InvokeMethod("Export", new object[] {
"",
"c:\\meta.txt",
"/LM/W3SVC/1/ROOT/Foo",
IIsWmiConstants.EXPORT_CHILDREN});

=======================
=== Import metadata
=======================

oIIS = new ManagementObject("\\root\\MicrosoftIISv2:IIsComputer=\"LM\"");
oIIS.Get();
oIIS.InvokeMethod("Import", new object[] {
"",
"c:\\meta.txt",
"/LM/W3SVC/1/ROOT/Foo",
"/LM/W3SVC/1/ROOT/Foo",
IIsWmiConstants.IMPORT_CHILDREN});


More information on:
http://msdn2.microsoft.com/en-us/library/ms525669.aspx

Tiago Halm
 >> Stay informed about: Configure Virtual Directories on another server 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]