Solved

IISCNFG problem importing, export works fine

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

832 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