Solved

IISCNFG problem importing, export works fine

Posted on 2006-11-15
5
731 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 83

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 83

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now