Related
I have all updates on my installation of Windows 2012 R2 but for some reason none of the solutions suggested work. I require api-ms-win-crt-runtime-l1-1-0.dll to run RStudio, unfortunately, I have no way to get it running & I tried every solution proposed.
The exact problem is described in Cannot install Visual C++ Redistributable for Visual Studio 2015 (64-bit)
The expected result is VC++ 2015 to be installed & RStudio to run.
Attempts to manually apply those solutions didn't avail:
Log file result from installation of VC++ 2015:
[10E4:11E4][2023-01-07T02:05:12]i001: Burn v3.10.4.4718, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Windows\Temp\{9F7F6448-26EA-488F-B797-D9C4ED9535A9}\.cr\VC_redist.x64.exe
[10E4:11E4][2023-01-07T02:05:12]i009: Command Line: '-burn.clean.room=C:\Users\Administrator\Desktop\VC_redist.x64.exe -burn.filehandle.attached=308 -burn.filehandle.self=316'
[10E4:11E4][2023-01-07T02:05:12]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Administrator\Desktop\VC_redist.x64.exe'
[10E4:11E4][2023-01-07T02:05:12]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Administrator\Desktop\'
[10E4:11E4][2023-01-07T02:05:12]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20230107020512.log'
[10E4:11E4][2023-01-07T02:05:12]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.34.31931'
[10E4:11E4][2023-01-07T02:05:12]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[10E4:12B4][2023-01-07T02:05:12]i000: Setting version variable 'WixBundleFileVersion' to value '14.34.31931.0'
[10E4:11E4][2023-01-07T02:05:12]i100: Detect begin, 11 packages
[10E4:11E4][2023-01-07T02:05:12]i000: Setting string variable 'Arm64_Check' to value 'AMD64'
[10E4:11E4][2023-01-07T02:05:12]i000: File search: windows_uCRT_DetectKey, did not find path: C:\Windows\system32\ucrtbase.dll
[10E4:11E4][2023-01-07T02:05:12]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\ucrtbase.dll
[10E4:11E4][2023-01-07T02:05:12]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
[10E4:11E4][2023-01-07T02:05:12]i102: Detected related bundle: {e46eca4f-393b-40df-9f49-076faf788d83}, type: Upgrade, scope: PerMachine, version: 14.0.23026.0, operation: MajorUpgrade
[10E4:11E4][2023-01-07T02:05:12]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[10E4:11E4][2023-01-07T02:05:12]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[10E4:11E4][2023-01-07T02:05:12]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[10E4:11E4][2023-01-07T02:05:12]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[10E4:11E4][2023-01-07T02:05:12]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[10E4:11E4][2023-01-07T02:05:12]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[10E4:11E4][2023-01-07T02:05:12]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[10E4:11E4][2023-01-07T02:05:12]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[10E4:11E4][2023-01-07T02:05:12]i103: Detected related package: {0D3E9E15-DE7A-300B-96F1-B4AF12B96488}, scope: PerMachine, version: 14.0.23026.0, language: 0 operation: MajorUpgrade
[10E4:11E4][2023-01-07T02:05:12]i103: Detected related package: {BC958BD2-5DAC-3862-BB1A-C1BE0790438D}, scope: PerMachine, version: 14.0.23026.0, language: 0 operation: MajorUpgrade
[10E4:11E4][2023-01-07T02:05:12]i103: Detected related package: {0D3E9E15-DE7A-300B-96F1-B4AF12B96488}, scope: PerMachine, version: 14.0.23026.0, language: 0 operation: MajorUpgrade
[10E4:11E4][2023-01-07T02:05:12]i103: Detected related package: {BC958BD2-5DAC-3862-BB1A-C1BE0790438D}, scope: PerMachine, version: 14.0.23026.0, language: 0 operation: MajorUpgrade
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: Windows81_x86, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: Windows81_x64, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: Windows8_x86, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: Windows8_x64, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i101: Detected package: vcRuntime_arm64, state: Absent, cached: None
[10E4:11E4][2023-01-07T02:05:12]i052: Condition 'VersionNT >= v6.1' evaluates to true.
[10E4:11E4][2023-01-07T02:05:12]i199: Detect complete, result: 0x0
[10E4:12B4][2023-01-07T02:05:17]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[10E4:11E4][2023-01-07T02:05:17]i200: Plan begin, 11 packages, action: Install
[10E4:11E4][2023-01-07T02:05:17]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[10E4:11E4][2023-01-07T02:05:17]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[10E4:11E4][2023-01-07T02:05:17]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to true.
[10E4:11E4][2023-01-07T02:05:17]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[10E4:11E4][2023-01-07T02:05:17]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[10E4:11E4][2023-01-07T02:05:17]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[10E4:11E4][2023-01-07T02:05:17]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[10E4:11E4][2023-01-07T02:05:17]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[10E4:11E4][2023-01-07T02:05:17]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[10E4:11E4][2023-01-07T02:05:17]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[10E4:11E4][2023-01-07T02:05:17]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.
[10E4:11E4][2023-01-07T02:05:17]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[10E4:11E4][2023-01-07T02:05:17]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[10E4:11E4][2023-01-07T02:05:17]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[10E4:11E4][2023-01-07T02:05:17]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[10E4:11E4][2023-01-07T02:05:17]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[10E4:11E4][2023-01-07T02:05:17]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.
[10E4:11E4][2023-01-07T02:05:17]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20230107020512_001_vcRuntimeMinimum_x64_rollback.log'
[10E4:11E4][2023-01-07T02:05:17]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20230107020512_001_vcRuntimeMinimum_x64.log'
[10E4:11E4][2023-01-07T02:05:17]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.
[10E4:11E4][2023-01-07T02:05:17]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20230107020512_002_vcRuntimeAdditional_x64_rollback.log'
[10E4:11E4][2023-01-07T02:05:17]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20230107020512_002_vcRuntimeAdditional_x64.log'
[10E4:11E4][2023-01-07T02:05:17]i052: Condition 'Arm64_Check = "ARM64"' evaluates to false.
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: Windows81_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[10E4:11E4][2023-01-07T02:05:17]i201: Planned package: vcRuntime_arm64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[10E4:11E4][2023-01-07T02:05:17]i207: Planned related bundle: {e46eca4f-393b-40df-9f49-076faf788d83}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[10E4:11E4][2023-01-07T02:05:17]i299: Plan complete, result: 0x0
[10E4:11E4][2023-01-07T02:05:17]i300: Apply begin
[10E4:11E4][2023-01-07T02:05:17]i010: Launching elevated engine process.
[10E4:11E4][2023-01-07T02:05:17]i011: Launched elevated engine process.
[10E4:11E4][2023-01-07T02:05:17]i012: Connected to elevated engine.
[0C20:0EE0][2023-01-07T02:05:17]i358: Pausing automatic updates.
[0C20:0EE0][2023-01-07T02:05:18]i359: Paused automatic updates.
[0C20:0EE0][2023-01-07T02:05:18]i360: Creating a system restore point.
[0C20:0EE0][2023-01-07T02:05:18]i362: System restore disabled, system restore point not created.
[0C20:0EE0][2023-01-07T02:05:18]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{d4cecf3b-b68f-4995-8840-52ea0fab646e}, options: 0x7, disable resume: No
[0C20:0EE0][2023-01-07T02:05:18]i000: Caching bundle from: 'C:\Windows\Temp\{24898943-C62B-411E-A84F-E9DEA6A59B2E}\.be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache\{d4cecf3b-b68f-4995-8840-52ea0fab646e}\VC_redist.x64.exe'
[0C20:0EE0][2023-01-07T02:05:18]i320: Registering bundle dependency provider: VC,redist.x64,amd64,14.34,bundle, version: 14.34.31931.0
[0C20:0EE0][2023-01-07T02:05:18]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{d4cecf3b-b68f-4995-8840-52ea0fab646e}, resume: Active, restart initiated: No, disable resume: No
[0C20:0A88][2023-01-07T02:05:18]i305: Verified acquired payload: Windows81_x64 at path: C:\ProgramData\Package Cache\.unverified\Windows81_x64, moving to: C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu.
[0C20:0A88][2023-01-07T02:05:18]i305: Verified acquired payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeMinimum_x64, moving to: C:\ProgramData\Package Cache\{CF4C347D-954E-4543-88D2-EC17F07F466F}v14.34.31931\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
[0C20:0A88][2023-01-07T02:05:18]i305: Verified acquired payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\.unverified\cab5046A8AB272BF37297BB7928664C9503, moving to: C:\ProgramData\Package Cache\{CF4C347D-954E-4543-88D2-EC17F07F466F}v14.34.31931\packages\vcRuntimeMinimum_amd64\cab1.cab.
[0C20:0A88][2023-01-07T02:05:18]i305: Verified acquired payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeAdditional_x64, moving to: C:\ProgramData\Package Cache\{EAE242B1-0A26-485A-BFEB-0292EE9F03CB}v14.34.31931\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
[0C20:0A88][2023-01-07T02:05:18]i305: Verified acquired payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\.unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92, moving to: C:\ProgramData\Package Cache\{EAE242B1-0A26-485A-BFEB-0292EE9F03CB}v14.34.31931\packages\vcRuntimeAdditional_amd64\cab1.cab.
[0C20:0EE0][2023-01-07T02:05:18]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
[0C20:0EE0][2023-01-07T02:07:40]e000: Error 0x80240017: Failed to execute MSU package.
[10E4:11E4][2023-01-07T02:07:40]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[10E4:11E4][2023-01-07T02:07:40]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None
[10E4:11E4][2023-01-07T02:07:40]e000: Error 0x80240017: Failed to execute MSU package.
[0C20:0EE0][2023-01-07T02:07:40]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{d4cecf3b-b68f-4995-8840-52ea0fab646e}, resume: None, restart: None, disable resume: No
[0C20:0EE0][2023-01-07T02:07:40]i330: Removed bundle dependency provider: VC,redist.x64,amd64,14.34,bundle
[0C20:0EE0][2023-01-07T02:07:40]i352: Removing cached bundle: {d4cecf3b-b68f-4995-8840-52ea0fab646e}, from path: C:\ProgramData\Package Cache\{d4cecf3b-b68f-4995-8840-52ea0fab646e}\
[0C20:0EE0][2023-01-07T02:07:40]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{d4cecf3b-b68f-4995-8840-52ea0fab646e}, resume: None, restart initiated: No, disable resume: No
[10E4:11E4][2023-01-07T02:07:41]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart: No
I'm setting up gitlab-ee with out a liscense. I want to to have https but its giving me this error
Recipe: letsencrypt::http_authorization
* letsencrypt_certificate[gitlab.example.com] action create
* acme_certificate[staging] action create
* file[gitlab.example.com SSL key] action create_if_missing (up to date)
================================================================================
Error executing action `create` on resource 'acme_certificate[staging]'
================================================================================
Acme::Client::Error::Malformed
------------------------------
Method not allowed
Cookbook Trace:
---------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb:77:in `block in class_from_file'
Resource Declaration:
---------------------
suppressed sensitive resource output
Compiled Resource:
------------------
suppressed sensitive resource output
System Info:
------------
chef_version=14.13.11
platform=ubuntu
platform_version=18.04
ruby=ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
program_name=/opt/gitlab/embedded/bin/chef-client
executable=/opt/gitlab/embedded/bin/chef-client
================================================================================
Error executing action `create` on resource 'letsencrypt_certificate[gitlab.example.com]'
================================================================================
Acme::Client::Error::Malformed
------------------------------
acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 25) had an error: Acme::Client::Error::Malformed: Method not allowed
Cookbook Trace:
---------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb:77:in `block in class_from_file'
Resource Declaration:
---------------------
# In /opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/recipes/http_authorization.rb
5: letsencrypt_certificate site do
6: crt node['gitlab']['nginx']['ssl_certificate']
7: key node['gitlab']['nginx']['ssl_certificate_key']
8: notifies :run, "execute[reload nginx]", :immediate
9: notifies :run, 'ruby_block[display_le_message]'
10: only_if { omnibus_helper.service_up?('nginx') }
11: end
Compiled Resource:
------------------
# Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/recipes/http_authorization.rb:5:in `from_file'
letsencrypt_certificate("gitlab.example.com") do
action [:create]
default_guard_interpreter :default
declared_type :letsencrypt_certificate
cookbook_name "letsencrypt"
recipe_name "http_authorization"
crt "/etc/gitlab/ssl/gitlab.example.com.crt"
key "/etc/gitlab/ssl/gitlab.example.com.key"
alt_names []
cn "gitlab.example.com"
only_if { #code block }
end
System Info:
------------
chef_version=14.13.11
platform=ubuntu
platform_version=18.04
ruby=ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
program_name=/opt/gitlab/embedded/bin/chef-client
executable=/opt/gitlab/embedded/bin/chef-client
Running handlers:
There was an error running gitlab-ctl reconfigure:
letsencrypt_certificate[gitlab.example.com] (letsencrypt::http_authorization line 5) had an error: Acme::Client::Error::Malformed: acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 25) had an error: Acme::Client::Error::Malformed: Method not allowed
I dont see why its making it fail the creation of certifications. Its creating them and storing them in /etc/gitlab/sslanyone able to help?
Just for posterity, to complete #Rafael Pardini's answer, the mentioned solution boils down to simply commenting the acme_certificate 'staging' block (from do to end) inside the /opt/gitlab/embedded/cookbooks/letsencrypt/resources/certificate.rb file.
I've written a test suite like so:
this.slow(1000)
this.timeout(6000)
var response, client
before(function(done) {
client = new UsergridClient()
client.GET(_collection, function(err, r) {
response = r
done()
})
})
it('should not fail when a callback function is not passed', function() {
// note: this test will NOT fail gracefully inside the Mocha event chain
client.GET(_collection)
})
it('should return a 200 ok', function() {
// ******** LOGGING ********* //
console.log(response)
// ******** LOGGING ********* //
response.statusCode.should.equal(200)
})
it('response.entities should be an array', function() {
response.entities.should.be.an.Array
})
it('response.first should exist and have a valid uuid', function() {
response.first.should.be.an.Object.with.property('uuid').with.a.lengthOf(36)
})
it('response.entity should exist and have a valid uuid', function() {
response.entity.should.be.an.Object.with.property('uuid').with.a.lengthOf(36)
})
it('response.last should exist and have a valid uuid', function() {
response.last.should.be.an.Object.with.property('uuid').with.a.lengthOf(36)
})
When running this test locally, all tests pass. When running on TravisCI though, the response variables are being reported as undefined even inside the tests. This suggests to me that there's some sort of asynchronous mixup, but using the done() callback on the before() should mitigate that, shouldn't it? I even tried adding done callbacks to every subsequent test, but that still isn't working.
The notable error here is:
TypeError: Cannot read property 'property' of undefined
and it looks like that's being thrown from:
response.first.should.be.an.Object.with.property('uuid').with.a.lengthOf(36)
which makes me think Travis' environment doesn't like Object.with or maybe even just .with?
Here's my .travis.yml file:
language: node_js
node_js:
- '5.1.0'
install:
- 'npm install'
- 'npm -g install mocha'
script:
- 'mocha tests'
And here's the run log:
Using worker: worker-linux-docker-7421b08d.prod.travis-ci.org:travis-linux-8
system_info
Build system information
Build language: node_js
Build group: stable
Build dist: precise
Build image provisioning date and time
Thu Feb 5 15:09:33 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
git.checkout
0.36s$ git clone... cloning
remote: Counting objects: 315, done.
remote: Compressing objects: 100% (153/153), done.
remote: Total 315 (delta 74), reused 0 (delta 0), pack-reused 161
Receiving objects: 100% (315/315), 48.32 KiB | 0 bytes/s, done.
Resolving deltas: 100% (156/156), done.
Checking connectivity... done.
$ cd path/to/proj
$ git checkout -qf <hash>
This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.
If you require sudo, add 'sudo: required' to your .travis.yml
See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.
3.13s$ nvm install 5.1.0
######################################################################## 100.0%
Checksums empty
Now using node v5.1.0
$ node --version
v5.1.0
$ npm --version
3.3.12
$ nvm --version
0.23.3
install.1
17.95s$ npm install
npm WARN engine underscore.inflection#1.3.0: wanted: {"node":">=0.10.0 <0.12"} (current: {"node":"5.1.0","npm":"3.3.12"})
npm WARN deprecated lodash#0.9.2: lodash#<3.0.0 is no longer maintained. Upgrade to lodash#^3.0.0.
npm WARN deprecated lodash#2.4.2: lodash#<3.0.0 is no longer maintained. Upgrade to lodash#^3.0.0.
app#2.0.0 /home/travis/build/path/to/app
... list of packages
npm WARN EPACKAGEJSON app#2.0.0 No repository field.
install.2
1.71s$ npm -g install mocha
/home/travis/.nvm/versions/node/v5.1.0/bin/mocha -> /home/travis/.nvm/versions/node/v5.1.0/lib/node_modules/mocha/bin/mocha
/home/travis/.nvm/versions/node/v5.1.0/bin/_mocha -> /home/travis/.nvm/versions/node/v5.1.0/lib/node_modules/mocha/bin/_mocha
/home/travis/.nvm/versions/node/v5.1.0/lib
... list of packages
1.50s$ mocha tests
init() / initSharedInstance()
✓ should be an instance of Client
Client
initialization
✓ should fail to initialize without an orgId and appId
✓ should initialize using properties defined in config.json
✓ should initialize when passing orgId and appId as arguments, taking precedence over config
✓ should initialize when passing an object containing orgId and appId, taking precedence over config
GET()
IncomingMessage {
_readableState:
... omitted
readable: false,
domain: null,
headers:
... omitted
client:
... omitted
req:
... omitted
request:
... omitted
toJSON: [Function: responseToJSON],
caseless:
Caseless {
dict:
{ 'access-control-allow-origin': '*',
'content-type': 'application/json',
date: 'Sun, 29 Nov 2015 22:44:54 GMT',
server: 'Apache-Coyote/1.1',
'set-cookie': [Object],
'transfer-encoding': 'chunked',
connection: 'Close' } },
read: [Function],
body:
{ action: 'get',
application: '19748000-24b6-11e3-9877-6d1a3f81ba2f',
params: {},
path: '/tests',
uri: 'https://api.mydomain.com/myorg/sandbox/tests',
entities:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ],
timestamp: 1448837094623,
duration: 65,
organization: 'myorg',
applicationName: 'sandbox',
cursor: 'LTU2ODc0MzQzOkdCcGJDbVpTRWVXVndibnE5RUdORGc',
count: 7 },
entities:
[ ],
first:
{ uuid: 'b3037a1a-4cd6-11e5-8aa2-0b8eb3ce43ee',
type: 'test',
name: '01',
created: 1440692071473,
modified: 1440692071473,
food: 'pizza',
metadata: { path: '/tests/b3037a1a-4cd6-11e5-8aa2-0b8eb3ce43ee' },
value: 1 },
entity:
{ uuid: 'b3037a1a-4cd6-11e5-8aa2-0b8eb3ce43ee',
type: 'test',
name: '01',
created: 1440692071473,
modified: 1440692071473,
food: 'pizza',
metadata: { path: '/tests/b3037a1a-4cd6-11e5-8aa2-0b8eb3ce43ee' },
value: 1 },
last:
{ uuid: '181a5b0a-6652-11e5-95c1-b9eaf4418d0e',
type: 'test',
created: 1443493848240,
modified: 1443493848240,
metadata: { path: '/tests/181a5b0a-6652-11e5-95c1-b9eaf4418d0e' },
title: 'Charlotte\'s Web' } }
✓ should not fail when a callback function is not passed
✓ should return a 200 ok
✓ response.entities should be an array
1) response.first should exist and have a valid uuid
2) response.entity should exist and have a valid uuid
3) response.last should exist and have a valid uuid
POST()
✓ should not fail when a callback function is not passed
✓ should return a 200 ok
4) response.entities should be an array
5) response.entity should exist and have a valid uuid
✓ response.entity.author should equal "Sir Arthur Conan Doyle"
PUT()
✓ should not fail when a callback function is not passed
✓ should return a 200 ok
6) response.entities should be an array
7) response.entity should exist and its uuid should the uuid from the previous POST requets
✓ response.entity.narrator should equal "Peter Doyle"
DELETE()
✓ should not fail when a callback function is not passed
✓ should return a 200 ok
✓ response.error.name should equal "service_resource_not_found"
authenticateApp()
✓ should return a 200 ok
✓ should have a valid token
✓ client.appAuth.token should be set to the token returned from
✓ client.appAuth.expiry should be set to a future date
appAuth / setAppAuth()
✓ should initialize by passing a list of arguments
✓ should initialize by passing an object
✓ should initialize by passing an instance of AppAuth
✓ should initialize by setting to an instance of AppAuth
Query
_type
✓ query._type should equal "cats" when passing "type" as a parameter to Query
✓ query._type should equal "cats" when calling .type() builder method
✓ query._type should equal "cats" when calling .collection() builder method
_limit
✓ query._limit should equal 10
_ql
✓ should support complex builder syntax (chained constructor methods)
✓ not operator should precede conditional statement
✓ string values should be contained in single quotes
✓ boolean values should not be contained in single quotes
✓ float values should not be contained in single quotes
✓ integer values should not be contained in single quotes
✓ uuid values should not be contained in single quotes
36 passing (696ms)
7 failing
1) Client GET() response.first should exist and have a valid uuid:
TypeError: Cannot read property 'property' of undefined
at Context.<anonymous> (tests/lib/client.test.js:69:48)
2) Client GET() response.entity should exist and have a valid uuid:
TypeError: Cannot read property 'property' of undefined
at Context.<anonymous> (tests/lib/client.test.js:73:49)
3) Client GET() response.last should exist and have a valid uuid:
TypeError: Cannot read property 'property' of undefined
at Context.<anonymous> (tests/lib/client.test.js:77:47)
4) Client POST() response.entities should be an array:
TypeError: Cannot read property 'a' of undefined
at Context.<anonymous> (tests/lib/client.test.js:108:50)
5) Client POST() response.entity should exist and have a valid uuid:
TypeError: Cannot read property 'property' of undefined
at Context.<anonymous> (tests/lib/client.test.js:112:49)
6) Client PUT() response.entities should be an array:
TypeError: Cannot read property 'a' of undefined
at Context.<anonymous> (tests/lib/client.test.js:146:50)
7) Client PUT() response.entity should exist and its uuid should the uuid from the previous POST requets:
TypeError: Cannot read property 'property' of undefined
at Context.<anonymous> (tests/lib/client.test.js:150:49)
The command "mocha tests" exited with 7.
Done. Your build exited with 1.
Somehow, I'm not entirely sure how, this syntax was working fine using whatever version of should.js I had installed locally. When deploying to TravisCI, it must have installed a newer version which caused any type-checking assertion to fail.
Where this previously worked (according to this):
response.first.should.be.an.Object.with.property('uuid').with.a.lengthOf(36)
It actually needed to be called with parentheses:
response.first.should.be.an.Object().with.property('uuid').with.a.lengthOf(36)
// ^^
... as indicated in the official docs.
I have Windows 8.1 64 bit, VS 2012 32 bit , IIS 8.5, IIS Express 32 bit.
WcfService project Target Framework: .NET 4.5 - ImageRuntimeVersion: v4.0.30319
Service .NET 4.5 hosted in IIS 8.5 -> References Oracle.DataAccess.dll ProcessorArchitecture: Amd64 Version: 4.121.1.0
ERROR executing OracleConnection.Open
Oracle.DataAccess.Client.OracleException at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck, Int32 isRecoverable)
at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
at Oracle.DataAccess.Client.OracleConnection.Open()
Error for WcfService project with AnyCpu and WcfService project with x64
I test too using DllPath in section oracle.dataaccess.client and I get the same error
The same service NET 4.5 hosted now in IISExpress (x86) -> References Oracle.DataAccess.dll ProcessorArchitecture: X86 Version: 4.121.1.0
OK executing OracleConnection.Open
Any suggestions, how can I debug it or get logs about ODP.NET, and get solution ? is it possible?
I test again using Target Framework: .NET 4.0, and I get the same error (CLR 4.0 - v4.0.30319 the same for .NET 4.0 and 4.5)
I test too using DllPath, but wrong.
<oracle.dataaccess.client>
<settings>
<!-- For X64 -->
<!--<add name="DllPath" value="C:\app\Company\product\12.1.0\client_1\bin" />-->
<!-- For X86 -->
<!--<add name="DllPath" value="C:\app\Company\product\12.1.0\client_2\bin" />-->
</settings>
</oracle.dataaccess.client>
Full logs
Test Name: Obtener_datos_de_OdpNet_con_servicio_AnyCPU_hosted_en_IIS
ERROR select sysdate from dual
Oracle.DataAccess.Client.OracleException at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck, Int32 isRecoverable)
at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
at Oracle.DataAccess.Client.OracleConnection.Open()
*** LOG ***
Environment Data:
ProcessName: w3wp
Is64BitOperatingSystem: True
Is64BitProcess: True
SystemConfigurationFile: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config
ConfigurationFile: C:\TFS\Main\MyCompany.Lite.Frk\Net4.0\Tests\Apps\WcfService\web.config
MainModule.FileName: c:\windows\system32\inetsrv\w3wp.exe
MainModule.ModuleName: w3wp.exe
BaseDirectory: C:\TFS\Main\MyCompany.Lite.Frk\Net4.0\Tests\Apps\WcfService\
ApplicationBase: C:\TFS\Main\MyCompany.Lite.Frk\Net4.0\Tests\Apps\WcfService\
FriendlyName: /LM/W3SVC/2/ROOT-2-130404614116233936
ApplicationName: c36153ea
Assembly Data:
Location: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\2090c609\c36153ea\assembly\dl3\92d3ec19\79a8efa4_4d4acf01\MyCompany.Lite.Frk.Data.Tests.WcfServiceLibrary.dll
ProcessorArchitecture: MSIL
Referenced Assemblies of MyCompany.Lite.Frk.Data.Tests.WcfServiceLibrary
mscorlib - None Location C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll - Amd64
System - None Location C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll - MSIL
System.Core - None Location C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll - MSIL
Oracle.DataAccess - None Location C:\Windows\Microsoft.Net\assembly\GAC_64\Oracle.DataAccess\v4.0_4.112.2.0__89b483f429c47342\Oracle.DataAccess.dll - Amd64
System.Data - None Location C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll - Amd64
System.ServiceModel - None Location C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll - MSIL
MyCompany.Lite.Data - None Location C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\2090c609\c36153ea\assembly\dl3\08991152\90904b1f_c349cf01\MyCompany.Lite.Data.dll - MSIL
Microsoft.Practices.EnterpriseLibrary.Data - None Location C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\2090c609\c36153ea\assembly\dl3\261813e9\c453c0e2_d648cf01\Microsoft.Practices.EnterpriseLibrary.Data.dll - MSIL
System.Runtime.Serialization - None Location C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll - MSIL
Oracle.DataAccess Data:
Assembly: Oracle.DataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
AssemblyQualifiedName: Oracle.DataAccess.Client.OracleConnection, Oracle.DataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
Module.FullyQualifiedName: C:\Windows\Microsoft.Net\assembly\GAC_64\Oracle.DataAccess\v4.0_4.121.1.0__89b483f429c47342\Oracle.DataAccess.dll
Location: C:\Windows\Microsoft.Net\assembly\GAC_64\Oracle.DataAccess\v4.0_4.121.1.0__89b483f429c47342\Oracle.DataAccess.dll
ProcessorArchitecture: Amd64
Version: 4.121.1.0
FullName: Oracle.DataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
GlobalAssemblyCache: True
PortableExecutableKinds: ILOnly, PE32Plus
ImageFileMachine: AMD64
Creating connnection using Oracle.DataAccess.Client.OracleConnection to MyCompany.ConnectionStrings.Oracle.MYSCHEMA
Connnection False
TestOdpNetConnection using Oracle.DataAccess. Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SERVERDB)(PORT=1523))(CONNECT_DATA=(SID=oas1d)));User Id=XXXXX;Password=XXXXX;
Oracle.DataAccess. Abriendo conexión a Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SERVERDB)(PORT=1523))(CONNECT_DATA=(SID=oas1d)));User Id=XXXXX;Password=XXXXX;
TestOdpNetConnection. Error en la conexión.
Msg: Oracle.DataAccess.Client.OracleException at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck, Int32 isRecoverable)
at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
at Oracle.DataAccess.Client.OracleConnection.Open()
at MyCompany.SourceRepository.OdpNetHelper.TestOdpNetConnection(String connectionString, String& trace) in c:\TFS\Main\MyCompany.Lite.Frk\Net4.0\Tests\Apps\WcfServiceLibrary\Common\OdpNetHelper.cs:line 60
Creating connnection using OdpNetDataContext to MyCompany.ConnectionStrings.Oracle.MYSCHEMA
ConnectionString: DATA SOURCE=MyDataSource;PASSWORD=XXXX;PERSIST SECURITY INFO=True;USER ID=MYSCHEMA
Database: data source=MyDataSource;persist security info=true;
DbProviderFactory: Oracle.DataAccess.Client.OracleClientFactory
Executing ExecuteNonQuery
Test Name: Obtener_datos_de_OdpNet_con_servicio_AnyCPU
Test Outcome: Passed
Result StandardOutput:
TestContext Messages:
Result:
OK
*** LOG ***
Environment Data:
ProcessName: iisexpress
Is64BitOperatingSystem: True
Is64BitProcess: False
SystemConfigurationFile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config
ConfigurationFile: C:\TFS\Main\MyCompany.Lite.Frk\Net4.0\Tests\Apps\WcfService\web.config
MainModule.FileName: C:\Program Files (x86)\IIS Express\iisexpress.exe
MainModule.ModuleName: iisexpress.exe
BaseDirectory: C:\TFS\Main\MyCompany.Lite.Frk\Net4.0\Tests\Apps\WcfService\
ApplicationBase: C:\TFS\Main\MyCompany.Lite.Frk\Net4.0\Tests\Apps\WcfService\
FriendlyName: /LM/W3SVC/3/ROOT-5-130404614413883655
ApplicationName: 6e9d8358
Assembly Data:
Location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9aada5e4\6e9d8358\assembly\dl3\12388fd2\79a8efa4_4d4acf01\MyCompany.Lite.Frk.Data.Tests.WcfServiceLibrary.dll
ProcessorArchitecture: MSIL
Referenced Assemblies of MyCompany.Lite.Frk.Data.Tests.WcfServiceLibrary
mscorlib - None Location C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll - X86
System - None Location C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll - MSIL
System.Core - None Location C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll - MSIL
Oracle.DataAccess - None Location C:\Windows\Microsoft.Net\assembly\GAC_32\Oracle.DataAccess\v4.0_4.112.2.0__89b483f429c47342\Oracle.DataAccess.dll - X86
System.Data - None Location C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll - X86
System.ServiceModel - None Location C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll - MSIL
MyCompany.Lite.Data - None Location C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9aada5e4\6e9d8358\assembly\dl3\7ec82898\90904b1f_c349cf01\MyCompany.Lite.Data.dll - MSIL
Microsoft.Practices.EnterpriseLibrary.Data - None Location C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9aada5e4\6e9d8358\assembly\dl3\f06f5054\c453c0e2_d648cf01\Microsoft.Practices.EnterpriseLibrary.Data.dll - MSIL
System.Runtime.Serialization - None Location C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll - MSIL
Oracle.DataAccess Data:
Assembly: Oracle.DataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
AssemblyQualifiedName: Oracle.DataAccess.Client.OracleConnection, Oracle.DataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
Module.FullyQualifiedName: C:\Windows\Microsoft.Net\assembly\GAC_32\Oracle.DataAccess\v4.0_4.121.1.0__89b483f429c47342\Oracle.DataAccess.dll
Location: C:\Windows\Microsoft.Net\assembly\GAC_32\Oracle.DataAccess\v4.0_4.121.1.0__89b483f429c47342\Oracle.DataAccess.dll
ProcessorArchitecture: X86
Version: 4.121.1.0
FullName: Oracle.DataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
GlobalAssemblyCache: True
PortableExecutableKinds: ILOnly, Required32Bit
ImageFileMachine: I386
Creating connnection using Oracle.DataAccess.Client.OracleConnection to MyCompany.ConnectionStrings.Oracle.MYSCHEMA
Connnection True
TestOdpNetConnection using Oracle.DataAccess. Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SERVERDB)(PORT=1523))(CONNECT_DATA=(SID=oas1d)));User Id=XXXXX;Password=XXXXX;
Oracle.DataAccess. Abriendo conexión a Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SERVERDB)(PORT=1523))(CONNECT_DATA=(SID=oas1d)));User Id=XXXXX;Password=XXXXX;
Oracle.DataAccess.OracleConnection State: Open
Oracle.DataAccess.OracleConnection ServerVersion: 11.2.0.3.0
Oracle.DataAccess.OracleConnection DataSource: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SERVERDB)(PORT=1523))(CONNECT_DATA=(SID=oas1d)))
Oracle.DataAccess.OracleConnection ServiceName: sys$users
Oracle.DataAccess.OracleConnection InstanceName: oas1d
Oracle.DataAccess.OracleConnection HostName: SERVERDB
Oracle.DataAccess.OracleConnection DatabaseName: oas1d
Oracle.DataAccess.OracleConnection DatabaseDomainName: null
Conectado True y cerrando conexión
Creating connnection using OdpNetDataContext to MyCompany.ConnectionStrings.Oracle.MYSCHEMA
ConnectionString: DATA SOURCE=MyDataSource;PASSWORD=xxxxxx;PERSIST SECURITY INFO=True;USER ID=MYSCHEMA
Database: data source=MyDataSource;persist security info=true;
DbProviderFactory: Oracle.DataAccess.Client.OracleClientFactory
Executing ExecuteNonQuery
Result: -1 para select sysdate from dual
My environment:
I use Windows 8.1 64 bits.
I use VS 2012 Ultimate 32bit
I have installed:
64-bit ODAC 11.2 Release 3 (11.2.0.2.1) Xcopy for Windows x64
Location: C:\app\Company\odp.net\bin\2.x\Oracle.DataAccess.dll - ProcessorArchitecture: Amd64
Location: C:\app\Company\odp.net\bin\4\Oracle.DataAccess.dll - ProcessorArchitecture: Amd64
ODAC 11.2 Release 3 (11.2.0.2.1)
Location: C:\app\Company\product\11.2.0\client_2\odp.net\bin\2.x\Oracle.DataAccess.dll - ProcessorArchitecture: X86
Location: C:\app\Company\product\11.2.0\client_2\odp.net\bin\4\Oracle.DataAccess.dll - ProcessorArchitecture: X86
64-bit ODAC 12c Release 2 (12.1.0.1.2) for Windows x64
Location: C:\app\Company\product\12.1.0\client_1\odp.net\bin\2.x\Oracle.DataAccess.dll - ProcessorArchitecture: Amd64
Location: C:\app\Company\product\12.1.0\client_1\odp.net\bin\4\Oracle.DataAccess.dll - ProcessorArchitecture: Amd64
ODAC 12c Release 2 (12.1.0.1.2) and Oracle Developer Tools for Visual Studio
Location: C:\app\Company\product\12.1.0\client_2\odp.net\bin\2.x\Oracle.DataAccess.dll - ProcessorArchitecture: X86
Location: C:\app\Company\product\12.1.0\client_2\odp.net\bin\4\Oracle.DataAccess.dll - ProcessorArchitecture: X86
TNSNames.ora in this paths:
C:\app\Company\Network\Admin
C:\app\Company\product\11.2.0\client_2\Network\Admin
C:\app\Company\product\12.1.0\client_1\Network\Admin
C:\app\Company\product\12.1.0\client_2\Network\Admin
In GAC, I have all these references:
Oracle.DataAccess 32bit - 2.112.2.0 - CLR 2.0
Oracle.DataAccess 32bit - 2.121.1.0 - CLR 2.0
Oracle.DataAccess 64bit - 2.112.2.0 - CLR 2.0
Oracle.DataAccess 64bit - 2.121.1.0 - CLR 2.0
Oracle.DataAccess 32bit - 4.112.2.0 - CLR 4.0
Oracle.DataAccess 32bit - 4.121.1.0 - CLR 4.0
Oracle.DataAccess 64bit - 4.112.2.0 - CLR 4.0
Oracle.DataAccess 64bit - 4.121.1.0 - CLR 4.0
Oracle.ManagedDataAccess MSIL - 4.212.1.0 - CLR 4.0
Oracle.ManagedDataAccessDTC 32bit - 4.212.1.0 - CLR 4.0
Oracle.ManagedDataAccessDTC 64bit - 4.212.1.0 - CLR 4.0
Added:
For Tests.WcfServiceLibrary.csproj I add reference to Oracle.DataAccess x86.
Tests.WcfServiceLibrary.csproj is shared, it used for IIS sites x64 and for IISExpress sites x86.
Anyways, in executime time, it’s x64 loaded from GAC. View log:
*** LOG ***
ProcessName: w3wp
Is64BitOperatingSystem: True
Is64BitProcess: True
Assembly Data:
Location: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\2090c609\c36153ea\assembly\dl3\92d3ec19\fd0dc189_ea4ccf01\Tests.WcfServiceLibrary.dll
ProcessorArchitecture: MSIL
TargetFramework: .NET Framework 4.5
FullName: Tests.WcfServiceLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Referenced Assemblies of Tests.WcfServiceLibrary
Oracle.DataAccess - None Location C:\Windows\Microsoft.Net\assembly\GAC_64\Oracle.DataAccess\v4.0_4.112.2.0__89b483f429c47342\Oracle.DataAccess.dll - Amd64
I get this in the code:
var t = typeof(Oracle.DataAccess.Client.OracleConnection);
var assembly = t.Assembly;
var asmName = AssemblyName.GetAssemblyName(assembly.Location);
and the log for Oracle.DataAccess Data:
Assembly: Oracle.DataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
AssemblyQualifiedName: Oracle.DataAccess.Client.OracleConnection, Oracle.DataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
Module.FullyQualifiedName: C:\Windows\Microsoft.Net\assembly\GAC_64\Oracle.DataAccess\v4.0_4.121.1.0__89b483f429c47342\Oracle.DataAccess.dll
Location: C:\Windows\Microsoft.Net\assembly\GAC_64\Oracle.DataAccess\v4.0_4.121.1.0__89b483f429c47342\Oracle.DataAccess.dll
ProcessorArchitecture: Amd64
Version: 4.121.1.0
FullName: Oracle.DataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
GlobalAssemblyCache: True
OracleException.get_Number gives me error:
System.NullReferenceException: Object reference not set to an instance of an object.
at Oracle.DataAccess.Client.OracleException.get_Number()
at SourceRepository.OdpNetHelper.TestOdpNetConnection(String connectionString, String& trace) in c:\TFS\0.SourceRepository\OdpNet\OdpNetHelper.cs:line 108
Anyways, I get the error:
Msg: Oracle.DataAccess.Client.OracleException at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck, Int32 isRecoverable)
at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
at Oracle.DataAccess.Client.OracleConnection.Open()
at SourceRepository.OdpNetHelper.TestOdpNetConnection(String connectionString, String& trace) in c:\TFS\0.SourceRepository\OdpNet\OdpNetHelper.cs:line 61
OracleException.
Message:
Error Code: -2147467259
HResult: -2147467259
Errors: 0
But no error code
I created a WIX-Setup for my webservices with the help of this tutorial:
http://blogs.planetsoftware.com.au/paul/archive/2011/02/20/creating-a-web-application-installer-with-wix-3.5-and-visual.aspx
I used Visual Studio 2012 and Wix 3.8. The msi is started by a Wix Bootstrapper.
The Installation works perfectly, all default-propertys are set right and on update they are read from the registry.
My problem is that the installation is aborted when I use the "/passive" parameter. The dialogs can't be loaded and the propertys aren't set anymore. Here are the logs:
Error using the /passive parameter:
MSI (c) (D4:FC) [12:08:11:108]: Doing action: WelcomeDlg
Aktion 12:08:11: WelcomeDlg.
Aktion gestartet um 12:08:11: WelcomeDlg.
DEBUG: Error 2726: Action not found: WelcomeDlg
Bei der Installation dieses Pakets ist ein unerwarteter Fehler aufgetreten. Es liegt eventuell ein das Paket betreffendes Problem vor. Der Fehlercode ist 2726. Argumente: WelcomeDlg, ,
Aktion beendet um 12:08:11: WelcomeDlg. Rückgabewert 0.
MSI (c) (D4:FC) [12:08:11:108]: Doing action: ProgressDlg
Aktion 12:08:11: ProgressDlg.
Aktion gestartet um 12:08:11: ProgressDlg.
Log without any parameters:
MSI (c) (60:F8) [12:15:51:852]: Doing action: WelcomeDlg
Aktion 12:15:51: WelcomeDlg.
Aktion gestartet um 12:15:51: WelcomeDlg.
Aktion 12:15:51: WelcomeDlg. Dialog created
MSI (c) (60:FC) [12:15:51:914]: Note: 1: 2205 2: 3: _RemoveFilePath
MSI (c) (60:FC) [12:15:52:008]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'.
MSI (c) (60:FC) [12:15:52:024]: Note: 1: 2205 2: 3: BindImage
MSI (c) (60:FC) [12:15:52:024]: Note: 1: 2205 2: 3: ProgId
MSI (c) (60:FC) [12:15:52:024]: Note: 1: 2205 2: 3: PublishComponent
MSI (c) (60:FC) [12:15:52:024]: Note: 1: 2205 2: 3: SelfReg
MSI (c) (60:FC) [12:15:52:024]: Note: 1: 2205 2: 3: Extension
MSI (c) (60:FC) [12:15:52:024]: Note: 1: 2205 2: 3: Font
MSI (c) (60:FC) [12:15:52:024]: Note: 1: 2205 2: 3: Shortcut
MSI (c) (60:FC) [12:15:52:024]: Note: 1: 2205 2: 3: Class
MSI (c) (60:FC) [12:15:52:024]: Note: 1: 2205 2: 3: TypeLib
MSI (c) (60:FC) [12:15:52:074]: Note: 1: 2727 2:
Information 2898.For WixUI_Font_Title textstyle, the system created a 'Tahoma' font, in 0 character set, of 14 pixels height.
Aktion 12:15:55: LicenseAgreementDlg. Dialog created
MSI (c) (60:0C) [12:15:56:228]: PROPERTY CHANGE: Adding LicenseAccepted property. Its value is '1'.
Aktion 12:15:56: InstallationAddress. Dialog created
MSI (c) (60:0C) [12:15:57:808]: Doing action: UpdatePropsWithSelectedWebSite
Aktion 12:15:57: UpdatePropsWithSelectedWebSite.
Aktion gestartet um 12:15:57: UpdatePropsWithSelectedWebSite.
MSI (c) (60:8C) [12:15:57:808]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI4304.tmp, Entrypoint: UpdatePropsWithSelectedWebSite
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Adding WEBSITE_ID property. Its value is '1'.
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Adding WEBSITE_DESCRIPTION property. Its value is 'Default Web Site'.
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Adding WEBSITE_PATH property. Its value is 'C:\inetpub\wwwroot'.
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Adding DIRECTORY property. Its value is 'C:\inetpub\wwwroot\LANDWEHR Webservices'.
MSI (c) (60!90) [12:15:58:239]: Doing action: SetApplicationRootDirectory
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Modifying INSTALLLOCATION property. Its current value is 'C:\LANDWEHR Webservices\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\'.
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Tools property. Its current value is 'C:\LANDWEHR Webservices\Tools\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Tools\'.
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Modifying INSTALLLOCATION.InstallationsTest property. Its current value is 'C:\LANDWEHR Webservices\Tools\InstallationsTest\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Tools\InstallationsTest\'.
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Tools.DatenbankAdministrator property. Its current value is 'C:\LANDWEHR Webservices\Tools\DatenbankAdministrator\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Tools\DatenbankAdministrator\'.
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Aliase property. Its current value is 'C:\LANDWEHR Webservices\Aliase\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Aliase\'.
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Databases property. Its current value is 'C:\LANDWEHR Webservices\Databases\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Databases\'.
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Modifying INSTALLLOCATION.L2App property. Its current value is 'C:\LANDWEHR Webservices\Service.L2App\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.L2App\'.
MSI (c) (60!90) [12:15:58:239]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Zeiterfassung property. Its current value is 'C:\LANDWEHR Webservices\Service.Zeiterfassung\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Zeiterfassung\'.
MSI (c) (60!90) [12:15:58:255]: PROPERTY CHANGE: Modifying dir428A913842499AD95CE10212AF166D62 property. Its current value is 'C:\LANDWEHR Webservices\Service.Zeiterfassung\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Zeiterfassung\bin\'.
MSI (c) (60!90) [12:15:58:255]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Vorgang property. Its current value is 'C:\LANDWEHR Webservices\Service.Vorgang\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Vorgang\'.
MSI (c) (60!90) [12:15:58:255]: PROPERTY CHANGE: Modifying dir04CC18032BDD597CD8DB5D70CBEE3B01 property. Its current value is 'C:\LANDWEHR Webservices\Service.Vorgang\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Vorgang\bin\'.
MSI (c) (60!90) [12:15:58:255]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Verbindungstest property. Its current value is 'C:\LANDWEHR Webservices\Service.Verbindungstest\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Verbindungstest\'.
MSI (c) (60!90) [12:15:58:255]: PROPERTY CHANGE: Modifying dirF491182A3D558B5FCB7BF48A7A3F8205 property. Its current value is 'C:\LANDWEHR Webservices\Service.Verbindungstest\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Verbindungstest\bin\'.
MSI (c) (60!90) [12:15:58:255]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Stammdaten property. Its current value is 'C:\LANDWEHR Webservices\Service.Stammdaten\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Stammdaten\'.
MSI (c) (60!90) [12:15:58:271]: PROPERTY CHANGE: Modifying dirA0DC6D6D78D458400161FCD675D25D28 property. Its current value is 'C:\LANDWEHR Webservices\Service.Stammdaten\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Stammdaten\bin\'.
MSI (c) (60!90) [12:15:58:271]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Postbox property. Its current value is 'C:\LANDWEHR Webservices\Service.Postbox\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Postbox\'.
MSI (c) (60!90) [12:15:58:271]: PROPERTY CHANGE: Modifying dir8FAA84BBF5D5B62387EBC3141A61BBCF property. Its current value is 'C:\LANDWEHR Webservices\Service.Postbox\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Postbox\bin\'.
MSI (c) (60!90) [12:15:58:271]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Personal property. Its current value is 'C:\LANDWEHR Webservices\Service.Personal\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Personal\'.
MSI (c) (60!90) [12:15:58:271]: PROPERTY CHANGE: Modifying dir8E07B3994D9E0D999F64CD4ECD3A55F8 property. Its current value is 'C:\LANDWEHR Webservices\Service.Personal\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Personal\bin\'.
MSI (c) (60!90) [12:15:58:271]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Option property. Its current value is 'C:\LANDWEHR Webservices\Service.Option\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Option\'.
MSI (c) (60!90) [12:15:58:286]: PROPERTY CHANGE: Modifying dir0D8C2FB3A95E261B35BFB41C70E74571 property. Its current value is 'C:\LANDWEHR Webservices\Service.Option\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Option\bin\'.
MSI (c) (60!90) [12:15:58:286]: PROPERTY CHANGE: Modifying INSTALLLOCATION.NotizWrite property. Its current value is 'C:\LANDWEHR Webservices\Service.NotizWrite\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.NotizWrite\'.
MSI (c) (60!90) [12:15:58:286]: PROPERTY CHANGE: Modifying dir638AAEAD4EF5FE7BB3E4F25BC1F427D0 property. Its current value is 'C:\LANDWEHR Webservices\Service.NotizWrite\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.NotizWrite\bin\'.
MSI (c) (60!90) [12:15:58:286]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Notiz property. Its current value is 'C:\LANDWEHR Webservices\Service.Notiz\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Notiz\'.
MSI (c) (60!90) [12:15:58:286]: PROPERTY CHANGE: Modifying dirEFB6E749A7C3768756B7617BC441F8EE property. Its current value is 'C:\LANDWEHR Webservices\Service.Notiz\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Notiz\bin\'.
MSI (c) (60!90) [12:15:58:286]: PROPERTY CHANGE: Modifying INSTALLLOCATION.NotificationCount property. Its current value is 'C:\LANDWEHR Webservices\Service.NotificationCount\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.NotificationCount\'.
MSI (c) (60!90) [12:15:58:302]: PROPERTY CHANGE: Modifying dirF09B09AAFF8C1607C1778881AB2B4A71 property. Its current value is 'C:\LANDWEHR Webservices\Service.NotificationCount\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.NotificationCount\bin\'.
MSI (c) (60!90) [12:15:58:302]: PROPERTY CHANGE: Modifying INSTALLLOCATION.MobileSystem property. Its current value is 'C:\LANDWEHR Webservices\Service.MobileSystem\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.MobileSystem\'.
MSI (c) (60!90) [12:15:58:302]: PROPERTY CHANGE: Modifying dirBC2B48C2883BEA3904DBDFDF4C1878B0 property. Its current value is 'C:\LANDWEHR Webservices\Service.MobileSystem\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.MobileSystem\bin\'.
MSI (c) (60!90) [12:15:58:302]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Kunde property. Its current value is 'C:\LANDWEHR Webservices\Service.Kunde\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Kunde\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying dir5A042499AC06A7AF2FCDCD04E0B57ED5 property. Its current value is 'C:\LANDWEHR Webservices\Service.Kunde\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Kunde\bin\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Kontakt property. Its current value is 'C:\LANDWEHR Webservices\Service.Kontakt\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Kontakt\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying dirF74EF7A621979E27894A991152AB1D85 property. Its current value is 'C:\LANDWEHR Webservices\Service.Kontakt\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Kontakt\bin\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying INSTALLLOCATION.DateiUpload property. Its current value is 'C:\LANDWEHR Webservices\Service.DateiUpload\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.DateiUpload\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying dirF57F8AD38681C93BC178CD0840168033 property. Its current value is 'C:\LANDWEHR Webservices\Service.DateiUpload\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.DateiUpload\bin\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Datei property. Its current value is 'C:\LANDWEHR Webservices\Service.Datei\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Datei\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying dirE11550ADA7189003514FBBE63B5AF165 property. Its current value is 'C:\LANDWEHR Webservices\Service.Datei\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Datei\bin\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Versionswechsel property. Its current value is 'C:\LANDWEHR Webservices\Service.Versionswechsel\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Versionswechsel\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying dir1B45886473DF7AC164930CFEEE0DB3F8 property. Its current value is 'C:\LANDWEHR Webservices\Service.Versionswechsel\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Versionswechsel\bin\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying INSTALLLOCATION.DataStorage property. Its current value is 'C:\LANDWEHR Webservices\Service.DataStorage\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.DataStorage\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying dir3ACFA82854F640A923237DE5B29C5CA3 property. Its current value is 'C:\LANDWEHR Webservices\Service.DataStorage\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.DataStorage\bin\'.
MSI (c) (60!90) [12:15:58:317]: PROPERTY CHANGE: Modifying INSTALLLOCATION.CommandStorage property. Its current value is 'C:\LANDWEHR Webservices\Service.CommandStorage\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.CommandStorage\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying dir19D89E1E9D25C3035155C7C8E522E594 property. Its current value is 'C:\LANDWEHR Webservices\Service.CommandStorage\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.CommandStorage\bin\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Berechtigung property. Its current value is 'C:\LANDWEHR Webservices\Service.Berechtigung\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Berechtigung\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying dir8041ECB23E27C1BFE77DBF9D5F3643AF property. Its current value is 'C:\LANDWEHR Webservices\Service.Berechtigung\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Berechtigung\bin\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Auswertung property. Its current value is 'C:\LANDWEHR Webservices\Service.Auswertung\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Auswertung\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying dirB59D26B9AF347FE298EC58C9BE47C5D0 property. Its current value is 'C:\LANDWEHR Webservices\Service.Auswertung\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Auswertung\bin\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying INSTALLLOCATION.AuthMapper property. Its current value is 'C:\LANDWEHR Webservices\Service.AuthMapper\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.AuthMapper\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying dirFBFBC9EE83DD1D072E9D09468C2DD799 property. Its current value is 'C:\LANDWEHR Webservices\Service.AuthMapper\Service References\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.AuthMapper\Service References\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying dir8FBB835386D5528023541630DC87C12C property. Its current value is 'C:\LANDWEHR Webservices\Service.AuthMapper\Service References\RefAuthService\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.AuthMapper\Service References\RefAuthService\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying dir08C7BD36AE973D83AD5A42B74C66E348 property. Its current value is 'C:\LANDWEHR Webservices\Service.AuthMapper\Properties\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.AuthMapper\Properties\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying dir5BE1C953B92E4166540EEC5335EB1D8B property. Its current value is 'C:\LANDWEHR Webservices\Service.AuthMapper\Properties\DataSources\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.AuthMapper\Properties\DataSources\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying dir3324CF78F6B5411435451B5E8AE3FA9E property. Its current value is 'C:\LANDWEHR Webservices\Service.AuthMapper\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.AuthMapper\bin\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying INSTALLLOCATION.Auth property. Its current value is 'C:\LANDWEHR Webservices\Service.Auth\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Auth\'.
MSI (c) (60!90) [12:15:58:333]: PROPERTY CHANGE: Modifying dirAAC07DD7E91AFCCD2AADA8D9C224FAEC property. Its current value is 'C:\LANDWEHR Webservices\Service.Auth\bin\'. Its new value: 'C:\inetpub\wwwroot\LANDWEHR Webservices\Service.Auth\bin\'.
MSI (c) (60!90) [12:15:58:333]: Note: 1: 2727 2:
Aktion beendet um 12:15:58: UpdatePropsWithSelectedWebSite. Rückgabewert 1.
Aktion 12:15:58: InstallDirDlg. Dialog created
MSI (c) (60:0C) [12:15:59:568]: Doing action: WixUIValidatePath
Aktion 12:15:59: WixUIValidatePath.
Aktion gestartet um 12:15:59: WixUIValidatePath.
MSI (c) (60:54) [12:15:59:568]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI49DB.tmp, Entrypoint: ValidatePath
MSI (c) (60!F0) [12:15:59:568]: PROPERTY CHANGE: Adding WIXUI_INSTALLDIR_VALID property. Its value is '1'.
Aktion beendet um 12:15:59: WixUIValidatePath. Rückgabewert 1.
Aktion 12:15:59: VerifyReadyDlg. Dialog created
MSI (c) (60:0C) [12:16:00:099]: Note: 1: 2727 2:
Aktion beendet um 12:16:00: WelcomeDlg. Rückgabewert 1.
MSI (c) (60:F8) [12:16:00:383]: Doing action: ProgressDlg
Aktion 12:16:00: ProgressDlg.
I thought the "/passive" parameter would just click "next" in every dialog... Did I miss anything?
Here is the source of the UI with the "WelcomeDlg":
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<WixVariable Id="WixUIBannerBmp" Value="banner.jpg" />
<WixVariable Id="WixUIDialogBmp" Value="dialog.jpg" />
<WixVariable Id="WixUILicenseRtf" Value="End User License Agreement.rtf" />
<UI Id="WixUI_WebUI">
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
<Property Id="WixUI_Mode" Value="InstallDir" />
<DialogRef Id="BrowseDlg" />
<DialogRef Id="DiskCostDlg" />
<DialogRef Id="ErrorDlg" />
<DialogRef Id="FatalError" />
<DialogRef Id="FilesInUse" />
<DialogRef Id="MsiRMFilesInUse" />
<DialogRef Id="PrepareDlg" />
<DialogRef Id="ProgressDlg" />
<DialogRef Id="ResumeDlg" />
<DialogRef Id="UserExit" />
<Publish Dialog="BrowseDlg" Control="OK" Event="DoAction"
Value="WixUIValidatePath" Order="3">1</Publish>
<Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog"
Value="InvalidDirDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog"
Value="Return" Order="999">1</Publish>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
Value="LicenseAgreementDlg">NOT Installed</Publish>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg">Installed AND PATCH</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog"
Value="WelcomeDlg">1</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog"
Value="InstallationAddress">LicenseAccepted = "1"</Publish>
<!-- Custom: Select existing web site, and specify VD name -->
<Publish Dialog="InstallationAddress" Control="Back" Event="NewDialog"
Value="LicenseAgreementDlg" Order="1">1</Publish>
<Publish Dialog="InstallationAddress" Control="Next" Event="DoAction"
Value="UpdatePropsWithSelectedWebSite" Order="1">1</Publish>
<Publish Dialog="InstallationAddress" Control="Next" Event="NewDialog"
Value="InstallDirDlg" Order="2">1</Publish>
<!-- Changed InstallDirDlg back button to navigate to InstallationAddress -->
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog"
Value="InstallationAddress">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath"
Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction"
Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog"
Value="InvalidDirDlg" Order="3"
><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="4"
>WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish>
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty"
Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog"
Value="BrowseDlg" Order="2">1</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="InstallDirDlg" Order="1">NOT Installed</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="MaintenanceTypeDlg" Order="2">Installed AND NOT PATCH</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="WelcomeDlg" Order="2">Installed AND PATCH</Publish>
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog"
Value="MaintenanceTypeDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog"
Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog"
Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog"
Value="MaintenanceWelcomeDlg">1</Publish>
<Property Id="ARPNOMODIFY" Value="1" />
</UI>
<UIRef Id="WixUI_Common" />
</Fragment>
</Wix>
Here is a Link to the full log:
https://drive.google.com/file/d/0BzpZiQoqaVUicHBabjdRNGRhWm8/edit?usp=sharing
And the (working) log without the "/passive" parameter:
https://drive.google.com/file/d/0BzpZiQoqaVUiVU5JUC1xYkwzc2M/edit?usp=sharing
The log you supplied didn't appear to have any issues with a welcomne dialog, it's just a failed install because of the stuff below, and it rolled back.
MSI (s) (BC:F8) [11:59:59:959]: Executing op: CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=******,CustomActionData=******)
MSI (s) (BC:78) [11:59:59:990]: Invoking remote custom action. DLL: C:\Windows\Installer\MSICABD.tmp, Entrypoint: WriteIIS7ConfigChanges
WriteIIS7ConfigChanges: Error 0x80070002: Site not found for create application
WriteIIS7ConfigChanges: Error 0x80070002: Failed to configure IIS application.
WriteIIS7ConfigChanges: Error 0x80070002: WriteIIS7ConfigChanges Failed.
CustomAction WriteIIS7ConfigChanges returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Aktion beendet um 12:00:10: InstallFinalize. Rückgabewert 3.
MSI (s) (BC:F8) [12:00:10:600]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (BC:F8) [12:00:10:600]: User policy value 'DisableRollback' is 0