Adminscripts folder is missing in IIS 7 - iis-7

I have IIS 7 installed on windows 2008 server. I want to execute commands adsutil.vbs for compression but adminscripts directory is missing under inetpub directory. How can I execute those commands ?

In IIS7 those administration scripts are an optional component - make sure that you have the following installed:
IIS > Web Management Tools > IIS 6 Management Capability > IIS 6 Scripting Tools

You could also consider using the new utility AppCmd.exe included with IIS 7. Here is an article that explains how to enable HTTP Compression using AppCmd.
http://support.microsoft.com/kb/930909
More info on AppCmd
http://technet.microsoft.com/en-us/library/cc772200(v=ws.10).aspx
Thanks!

Related

How to enable Configuration Editor in IIS 7

I'm working on a Server 2008 32 bit machine with IIS 7.0. I would like to install/enable the "Configuration Editor" because I don't see it by default when I select the server in the connections tree view. I thought it was supposed to come installed on IIS 7, but this article seems to indicate a need for an additional download.
"The IIS 7.0 Administration Pack adds to the set of management features that ship with IIS 7.0 "...https://www.iis.net/downloads/microsoft/administration-pack
I tried to download the "Administration Pack" per the article above, but all links to this are broken.
I've looked through the features and file services in the server manager, but I don't see an option to install. Is this part of another package that I need to enable? Are there other functional download links for the administration pack?
Which OS/Server are you using ?
Configuration Editor is included in Adminisration Pack for IIS 7.0.
The functionality of the Administration Pack was integrated into the Windows Server 2008 R2/Windows 7 installation. You don't need to install additional Extension since IIS 7.5

How to run ASP.NET MVC app in IIS 10 on Windows 10

I installed IIS 10 through windows features and published MVC app into the IIS folder, then executed "dism /online /enable-feature /featurename:IIS-ASPNET45" command but still getting error:
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory
I've done this in windows 7 with "aspnet_regiis -I" command instead of "dism /online /enable-feature /featurename:IIS-ASPNET45" and web app loaded just fine from localhost, but I can't seem to get this to work on Windows 10.
I had the same problem and I solved it by using the Win10 GUI for selecting installed features. Internet Information Services -> World Wide Web Service -> Application Development Features->ASP.NET 4.6 was not checked. Checked that along with a few others I needed and all was good.
I had similar problem - in my case IIS just have not full rights to access folder where I put website files...
Giving full access to directory via Windows Properties/Security resolved problem in my case.
Try put your website files to C:\inetpub - form my experience it's the best location (but should make no difference).
Other things:
- check if IIs have rights to C:\inetpub & ..\Documents\IISExpress
- check if you have installed right version od .NET and ASP.NET
I see that you try install ASP.NET 4.5, but what targeting your project?
If you trying deploy new project you probably need APS.NET 4.6 or ASP.NET 5 RC (in second case you need also setup DNX).

Is is possible to enable metabase compatibility in IIS 7 programmatically?

I have an application that I am wrapping up in an installer. I would like to, either through the registry, or by writing a script, enable IIS 6 metabase compatibility in IIS 7.
Does anyone know if this is possible?
You should be able to use dism.exe or pkgmgr.exe or ocsetup.exe to automate the installation of this component. You can technically do this these days because Windows Vista ( as far as I know ) always caches the WIM file needed to install the component.
Still, I wouldn't do it. I'd just upgrade to InstallShield 2010 which has native II7 capabilities. Or you could use Windows Installer XML 3.5 which has the same. You eliminate the dependency and simplify the deployment in the process.
If you decide to do it anyways, check out this good article:
Install Typical IIS Workloads
UI Name Update Name
IIS 6 Metabase Compatibility
IIS-Metabase
IIS 6 WMI Compatibility
IIS-WMICompatibility IIS 6
Scripting Tools IIS-LegacyScripts

Debug .NET app with IIS7 and Delphi.NET - Use aspnet_regiis.exe to configure the local IIS web server

I have been trying to set up local debugging for my ASP.NET app in Delphi and am getting the error above. I have used the aspnet_regiis.exe tool with the following:
Aspnet_regiis.exe -s W3SVC/1/ROOT/DevTest
but this hasn't helped. It added it to IIS as an application but I am still getting the error:
The project cannot be debugged because virtual directory "DevTes" is not configured with ASP.NET version 2.0 or 3.0 Use aspnet_regiis.exe to configure the local IIS web server.
I am not really sure where to go from here so need some help please:
Machine specs: Windows 7 64bit, IIS7, Using RAD Studio 2007.
EDIT: For more info, I have been able to start the website in Firefox and have been able to attach to process now, although the debugging is lacking a little, i.e I can't see values of sessions ect ...
Try using the Web Platform Installer to configure IIS for ASP.NET development. http://www.microsoft.com/web/Downloads/platform.aspx

InstallShield 2010 - 1603 Fatal Error [Windows Installer] (Windows 7 Only)

I created an MSI InstalScript Project where i deploy a web based (ASP.NET) precompiled project copying the files during installation in the \inetpub\wwwroot\projectnamefolder, creating an AppPool and the virtual dir of course in the IIS. The setup works great in windows
XP Pro (SP3 i used). But soon as i try in Windows 7 (tried Ultimate and Home Premium) i get
a -1603 Fatal Error during installation...Windows Installer Help (MSI.chm) or MSDN for more info....
Dying to fix this...
[Edit] I think error occurs when trying to create the Application in the IIS.
[FIXED] Enable 32 Bit Apllications needs to be true when creating Application Pools through InstallShield in a 64 bit OS!
No permission. See this MS support article
So you have write access to the directory but does the account have permissions to modify the IIS settings?

Resources