IIS issue - Advanced Installer Community
sjhillman
Posts: 1
Joined: Tue Mar 08, 2016 2:58 pm

IIS issue

I have a few installers written with Advanced Installer 10.9. They install web sites and worked fine. I recently upgraded to advanced Installer 12.8 and now when I try to use an installer built with the newer version, it hangs while configuring IIS. When if finally completes and I try to access the web site, I get the following error:

[UnauthorizedAccessException: Access to the path 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f1dcb96f\8e624818\hash' is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10760710
System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) +10552910
System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) +136
System.IO.Directory.CreateDirectory(String path) +33
System.Web.Compilation.StandardDiskBuildResultCache.SavePreservedSpecialFilesCombinedHash(String hashFilePath, Tuple`2 hash) +55
System.Web.Compilation.BuildManager.AfterPreAppStartExecute(Tuple`2 currentHash, Tuple`2 cachedTopLevelFilesHash) +294
System.Web.Compilation.BuildManager.ExecutePreAppStart() +178
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +516

[HttpException (0x80004005): Access to the path 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f1dcb96f\8e624818\hash' is denied.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9873912
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: IIS issue

Hello Seth and welcome to our forums,

I'm not sure why this happens. Can you please try to add in your setup project (if you didn't have one already) an IIS Windows Feature Bundle which will install the ASP.NET 4.5 and see if this helps? If not, then please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

Here are the steps to follow:
1. go to "Prerequisites" page and add a new Windows Feature bundle
2. check the "Internet Information Services -> World Wide Web Services -> Application Development Features -> ASP.NET 4.5" feature
3. rebuild the setup project and test again

Let us know if this helps.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”