Solved

IISCNFG problem importing, export works fine

Posted on 2006-11-15
5
739 Views
Last Modified: 2012-06-27
I am trying to export and then import the entire IIS configuration of a site, here is my syntax.

iiscnfg /export /f c:\temp\iisconfig.xml /sp / /children

^^ this works fine.

i then copy the iisconfig.xml to the same path on the second server and attempt an import

iiscnfg /import /f c:\temp\iisconfig.xml /sp / /children /inherited /dp /
connecting to server ...Done
Error &H1F4: Variable is undefined

no matter what different switches i try i keep getting this Error &H1F4: Variable is undefined error.  i contacted microsoft and the engineer completley threw me off and told me to use IISMT instead but IISMT keeps on making duplicate copies of the sites in IIS every 5 minutes when the task runs.

these are both windows 2003 enterprise r2 sp1 servers
0
Comment
Question by:noneil
  • 2
5 Comments
 
LVL 84

Expert Comment

by:oBdA
ID: 17950077
The syntax requires the destination path directly after the source path; try
iiscnfg /import /f c:\temp\iisconfig.xml /sp / /dp / /children /inherited
0
 

Author Comment

by:noneil
ID: 17950724
thank you for your reply, still having the same problem

iiscnfg /import /f c:\temp\iisconfig.xml /sp / /dp / /children /inherited
Connecting to server ...Done.
Error &H1F4: Variable is undefined
0
 
LVL 84

Accepted Solution

by:
oBdA earned 125 total points
ID: 17950934
Rename the %Systemroot%\system32\iiscnfg.vbs on the machine where it's not working, copy the one from the working machine to the same folder, try again.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem pinging RRAS server from outside the network 11 94
Event ID: 5719 / Source: NETLOGON 9 146
AD Replications issues 12 114
Domain Controller FSMO 7 67
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question