We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

weberse
Posts: 7
Joined: Tue Mar 31, 2015 2:39 pm

Web Deployment fails due to inaccessible folder

Hello support team,

We have a problem deploying a Web Deployment Package to IIS.

We ask the user to select an existing web site as target for the deployment (using Web Site Browse). This deployment will fail with an error that is caused by an inaccessible folder “C:\Windows\SysWow64\0”. This folder seems to be implicitly created during the installation process.

This is the relevant excerpt from the verbose log

MSI (s) (BC:C4) [14:21:30:297]: Invoking remote custom action. DLL: C:\Windows\Installer\MSID613.tmp, Entrypoint: OnIIsConfig
AI_IIsConfig: Installing "RADEnvironment"
IIS Web Deploy Publish execution log:
IIS Web Deploy publish Error log:
Access to the path 'C:\Windows\SysWOW64\0' is denied.

Error 4033. An error has occurred during the IIS Web Deploy configuration process for package "RADEnvironment".

Do you want to skip this package and continue the installation ?
MSI (s) (BC!B4) [14:21:38:791]: Product: R2C_IKS -- Error 4033. An error has occurred during the IIS Web Deploy configuration process for package "RADEnvironment".


The setup is created using Advanced Installer 11.8 and installed on

• Hyper-V virtual machines with Windows 2008R2 x64 Server (SP1)
• and our development machines with Windows 7 x64 Enterprise (SP1)
• with IIS 7.5.7600.16385
• and Microsoft Web Deploy 3.5 (v3.1237.1764)

The error is reproducible on all machines.

Deleting the folder before an installation does not solve the problem. Changing the permissions on the folder doesn't either. The folder is recreated every time I run the installer.

I found this post here in the forum. But as the name of my deployment package does not start with a digit the problem seems unrelated. I will send the *.aip and verbose log via mail as I am not at liberty to post them here.

Thanks for your help!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Web Deployment fails due to inaccessible folder

Hello,

I'm not sure why this happens. Can you also send us a download link for the setup package built with the already sent AIP so we can test and investigate on our side? Please send the download link for the setup to the same support at advancedinstaller dot com email address.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
weberse
Posts: 7
Joined: Tue Mar 31, 2015 2:39 pm

Re: Web Deployment fails due to inaccessible folder

Hello Daniel,

thanks for your reply. You should have received an email with the download link by now. There is a holiday on Friday and Monday and the colleagues from internal IT are already gone for the weekend so I had to use an upload tool I'm not really familiar with. Hopefully it worked...

Best Regards

Sebastian
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Web Deployment fails due to inaccessible folder

Hello Sebastian,

I'm afraid we didn't received your email, I'm not sure why. However, can you please send us a plain email to support at advancedinstaller dot com regarding this thread? We will forward you a FTP location where you could upload your files.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Web Deployment fails due to inaccessible folder

Hello Sebastian,

I've tested your sent setup on multiple machines, but I wasn't able to replicate the issue. Then, just for testing purposes, I've created a test web site (from IIS Manager) having the physical path set to the mentioned path in your log file, i.e. "C:\Windows\SysWOW64\0". This time when I've tried to install the web deployment package under the above web site the deployment failed with the same error.

So, can you please check (using IIS Manager) the physical path of the web site your are choosing on your browse web site dialog and see if it really using the "C:\Windows\SysWOW64\0" path? Is your web site installed under the related path?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
weberse
Posts: 7
Joined: Tue Mar 31, 2015 2:39 pm

Re: Web Deployment fails due to inaccessible folder

Hello Daniel,

all of our websites are located in subfolders of "C:\inetpub\wwwroot\". But the variable that contains the physical path to the selected website (WS_PHYSICAL_PATH, see "Install Parameters" --> "Properties") is intialized as "{}" (curly brackets). I think that came from one of the video tutorials.

Does that resolve to the character "0" (zero) at runtime? When and how does the "Web Site Browse" populate that variable? Maybe there is some kind of timing issue?

Best regards

Sebastian
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Web Deployment fails due to inaccessible folder

Hello Sebastian,

I've checked in the log the value of your "WS_PHYSICAL_PATH" and indeed it seems that the selected web site, under which you choose to deploy your web deployment package, has the physical path pointing to "C:\inetpub\wwwroot\". The "WS_PHYSICAL_PATH" property is set during installer dialogs stage, more exactly on your browse for web site dialog.

To try investigate this error further, would it be possible for you to share with us a virtual machine on which you replicate the error?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
weberse
Posts: 7
Joined: Tue Mar 31, 2015 2:39 pm

Re: Web Deployment fails due to inaccessible folder

Hello Daniel,

the problem is not specific to any virtual or physical machine. We have half a dozen VMs (created from at least two different templates) plus all of our development machines (bare metal, no VMs) and the problem occurs on each of them.

Best regards

Sebastian
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Web Deployment fails due to inaccessible folder

Hello Sebastian,

Since we cannot replicate the behavior on our test machines (even when using your setup package), I'm afraid this is quite difficult to investigate. If you cannot share/ or send us a download link for a problematic machine, then I'll ask our development team if they can help you with a debug module of our IIS feature which you can use to log more details about this error.

I'll get back to you as soon as we'll have an update. Thank you for your patience.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Web Deployment fails due to inaccessible folder

Hello Sebastian,

I've talked with our development team, but unfortunately the only way to further investigate this issue will be to replicate and troubleshoot it on a test machine from our side. Also, we have further tested your setup package on another several test machines (Windows 7, Windows Server 2008 R2 and Windows 8.1) by installing the web deploy under "Default Web Site" and under custom web sites, but the installation always succeeded. It would be extremely useful if you could identify any pattern or specific characteristic (maybe of the web site under which you are try to deploy the web package) which could help us to replicate the issue.

Also, as a side note, can you try to manually import within IIS Manager the web deployment package and let us know if the import succeeds?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
weberse
Posts: 7
Joined: Tue Mar 31, 2015 2:39 pm

Re: Web Deployment fails due to inaccessible folder

Hello Daniel,

manually importing the Deployment Package in IIS Manager works flawlessly. That's the way we currently work around the issue with the failing installation. I'll go check if I can find something that distinguishes our website from anybody elses :(

Best Regards

Sebastian

Return to “Building Installers”