?
Solved

IISCNFG problem importing, export works fine

Posted on 2006-11-15
5
Medium Priority
?
749 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 85

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 85

Accepted Solution

by:
oBdA earned 500 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

801 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