[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Can't run a script using RDP for Applications.config IIS7.0

Posted on 2010-09-15
2
Medium Priority
?
547 Views
Last Modified: 2012-05-10
When using RDP or the console I can act on this IIS7 file (applications.config) I can view, edit , copy, etc. I do see a "lock" on the icon for the file in I.E.

However when I run a script that tries to open and read this file, nothing happens.  The script is executed by either System or Administrator and it liek the file does not exist.  In  fact all files in theis folder appera to be invisible.
0
Comment
Question by:kdschool
[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 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 2000 total points
ID: 33686627
Hm...
This is for security purposes.
The ApplicationHost.config is the root configuration file for IIS 7.0 / 7.5. It includes the definitions of all sites, applications, virtual directories and application pools, as well as global defaults for the web server settings. It is not a file that should be modified via a script.
What manual changes are you making to this file?
Why can't you use IIS Management Interface or appcmd?
What are you trying to achieve?
Remember, an application inherits configuration settings from the server-level configuration files (appicationhost and Machine .config), parent level web.configs and from the site's root application Web.config file.  
Cheers,Hades666
0
 

Author Closing Comment

by:kdschool
ID: 33691934
I did not think it should be edited.  Someone working with me thought it could be done.  This helps me go back and say NO...thanks.
0

Featured Post

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

656 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