Solved

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

Posted on 2010-09-15
2
507 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
2 Comments
 
LVL 30

Accepted Solution

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Monitor vmware windows vm status of services 9 69
powershell - out of memory issues on process.exe 4 50
What is this Task? 4 80
No login server available 4 18
I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

929 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

16 Experts available now in Live!

Get 1:1 Help Now