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!

joehoper
Posts: 7
Joined: Tue Sep 30, 2014 10:10 pm

Debug iis.dll for 11.4.1 build 58484

Hi,

I'm stuck debugging a failing IIS installation, please could I have the debug iis.dll for version 11.4.1, build 58484.

Thanks,

Joe Hoper
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Debug iis.dll for 11.4.1 build 58484

Hi Joe and welcome to Advanced Installer forums.

In order to get more details about what happens can you download the attached debug DLL, replace the original one from the install folder of Advanced Installer 11.4.1 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 11.4.1\custact\x86) on your machine and rebuild the package?

Just replace the original "iis.dll" from the install folder of Advanced Installer with this one, then restart the application and rebuild the package. This DLL should create a debug log (at install time) on the root of the OS partition (e.g. C:\AI_IIS.log), which can give us more details about the problem.

Best regards,
Eusebiu
Attachments
IIS Debug 11.4.1.zip
(1.09 MiB) Downloaded 191 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
joehoper
Posts: 7
Joined: Tue Sep 30, 2014 10:10 pm

Re: Debug iis.dll for 11.4.1 build 58484

Thanks for the quick reply, Eusebiu.

I've just updated to 11.5 build 59981, please could you post the iis.dll for that?

Thanks,

Joe Hoper
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Debug iis.dll for 11.4.1 build 58484

Hi Joe,

I've attached the debug DLL for 11.5 version.

Best regards,
Eusebiu
Attachments
IIS Debug 11.5.zip
(1.06 MiB) Downloaded 173 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
joehoper
Posts: 7
Joined: Tue Sep 30, 2014 10:10 pm

Re: Debug iis.dll for 11.4.1 build 58484

Thanks,

My AI_IIS.log is full of

Code: Select all

MsiUtil::MsiTableReader::ExecuteQuery() | Error opening View ! 1615
errors; every query, i.e.,

Code: Select all

MsiTableReader::ExecuteQuery [SELECT * FROM `AI_IIsWebDeploy`]
seems to fail.
Attachments
AI_IIS.log
IIS debug log
(21.36 KiB) Downloaded 171 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Debug iis.dll for 11.4.1 build 58484

Hi Joe,

Can you please try to recreate a log file using the attached debug DLL? It seems that I posted the wrong DLL file earlier.

Best regards,
Eusebiu
Attachments
IIS Debug 11.5.zip
(1.1 MiB) Downloaded 168 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
joehoper
Posts: 7
Joined: Tue Sep 30, 2014 10:10 pm

Re: Debug iis.dll for 11.4.1 build 58484

Hi Eusebiu,

I've rebuilt with the new DLL and the AI_IIS.log still looks the same, lots of 'Error
opening view' errors.

Thanks,

Joe Hoper
Attachments
AI_IIS.log
Log with new iis.dll
(21.36 KiB) Downloaded 175 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Debug iis.dll for 11.4.1 build 58484

Hi Joe,

I looked over the log file that you sent, but I am still not sure why the problem appear. Can you please send us the AIP file so we can take a look of it? Also, can you please go in the "Windows Event Viewer" and see if there are any IIS errors?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
joehoper
Posts: 7
Joined: Tue Sep 30, 2014 10:10 pm

Re: Debug iis.dll for 11.4.1 build 58484

Hi,

All I have in the Application log is 'Error 2762. Cannot write script record. Transaction not started.' which also comes up as an error
dialog during install.

The install completes successfully if I remove all of the IIS config from my project and even just adding a single empty web site back into
my project gives me the error.

I'm installing on Windows Server 2012 R2 Standard/IIS 8.5 and authoring with AI 11.5 Enterprise edition.

I'll email my .aip file.

Thanks,

Joe Hoper
joehoper
Posts: 7
Joined: Tue Sep 30, 2014 10:10 pm

Re: Debug iis.dll for 11.4.1 build 58484

Eusebiu,

Did you receive my email?

Thanks,

Joe Hoper
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Debug iis.dll for 11.4.1 build 58484

Hi Joe,

Yes, I received your email with the attachments. Please give us some time to investigate this and we'll get back to you as soon as we have a conclusive answer.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Debug iis.dll for 11.4.1 build 58484

Hi Joe,

After investigating your project, we found that the "Sequence" value of the "InstallFinalize" action found in the "InstallExecuteSequence" table from the "Table Editor" page decreased somehow and it got smaller than the "Sequence" value of the "AI_IIsInstall" action.

It seems that this causes your problem. Can you please set the sequence value of the "InstallFinalize" action to "6600" and see if it works?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
joehoper
Posts: 7
Joined: Tue Sep 30, 2014 10:10 pm

Re: Debug iis.dll for 11.4.1 build 58484

Hi Eusebiu,

That's solved the problem and the install works perfectly now :D

I greatly appreciate your help in fixing this!

Thanks,

Joe Hoper
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Debug iis.dll for 11.4.1 build 58484

You're welcome Joe. I'm glad it works.

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”