Failure to launch VB.net application on distributed machines - vb.net

I'm not entirely sure what's going on with this. The application works absolutely fine on my machine, but when being launched on another machine, it crashes at launch. This is the error log of the .NET Runtime:
Log Name: Application
Source: .NET Runtime
Date: 2/5/2014 2:28:50 PM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: -
Description:
Application: (executable name)
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.
DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.
Run(System.String[])
at (executable name)
.My.MyApplication.Main(System.String[])
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-02-05T19:28:50.000000000Z" />
<EventRecordID>1557</EventRecordID>
<Channel>Application</Channel>
<Computer>-</Computer>
<Security />
</System>
<EventData>
<Data>Application: (executable name) Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.
DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.
Run(System.String[])
at (executable name)
.My.MyApplication.Main(System.String[])
</Data>
</EventData>
</Event>
Which then caused this:
Log Name: Application
Source: Application Error
Date: 2/5/2014 2:28:52 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: -
Description:
Faulting application name: (executable name), version: 1.0.0.0, time stamp: 0x52f17e27
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb10c6
Exception code: 0xe0434352
Fault offset: 0x0000812f
Faulting process id: 0x758
Faulting application start time: 0x01cf22a87f1bae09
Faulting application path: C:\Program Files\(application dir)\(application dir)\
(executable name)
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: be39c661-8e9b-11e3-bb31-0007e9a790e1
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-02-05T19:28:52.000000000Z" />
<EventRecordID>1558</EventRecordID>
<Channel>Application</Channel>
<Computer>-</Computer>
<Security />
</System>
<EventData>
<Data>(executable name)</Data>
<Data>1.0.0.0</Data>
<Data>52f17e27</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.1.7601.18229</Data>
<Data>51fb10c6</Data>
<Data>e0434352</Data>
<Data>0000812f</Data>
<Data>758</Data>
<Data>01cf22a87f1bae09</Data>
<Data>C:\Program Files\(application dir)\(application dir)\(executable name)</Data>
<Data>C:\Windows\system32\KERNELBASE.dll</Data>
<Data>be39c661-8e9b-11e3-bb31-0007e9a790e1</Data>
</EventData>
</Event>
This was all done with Visual Studio 2010. Any ideas? It's been an issue plaguing this project for a while.

Related

Ftp Application Chilkat Ftp2 Does Not Start ERR CLR20r3

In some cases I've encoutered this problem on some machines; apllication doesn't start with no msg or sometimes with Windows crash errors. I think depends on some framework component, but really I don't know how to resolve. I've already verified Visual C++ Redist Presence (2017). Can you help me? I've just looked at Windows Registry Event and there are 2 error events; I've attached following.
Any ideas? I use ftp2 ChilkatDotNet4.dll version 9.5.0.68
=======================================
Eventi Errore FTP
Nome registro: Application
Origine: .NET Runtime
Data: 18/07/2018 16:46:51
ID evento: 1026
Categoria attività:Nessuna
Livello: Errore
Parole chiave: Classico
Utente: N/D
Computer: ETagliabue-PC
Descrizione:
Applicazione: PigrecoFTP.exe
Versione framework: v4.0.30319
Descrizione: il processo è stato terminato a causa di un'eccezione non gestita.
Informazioni sull'eccezione: System.BadImageFormatException
in PigrecoFTP.mFTP.Main()
in PigrecoFTP.fLogo..ctor()
Informazioni sull'eccezione: System.InvalidOperationException
in PigrecoFTP.My.MyProject+MyForms.Create__Instance__[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon)
in PigrecoFTP.My.MyApplication.OnCreateMainForm()
in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
in PigrecoFTP.My.MyApplication.Main(System.String[])
========================================================
Nome registro: Application
Origine: Application Error
Data: 18/07/2018 16:46:51
ID evento: 1000
Categoria attività:(100)
Livello: Errore
Parole chiave: Classico
Utente: N/D
Computer: ETagliabue-PC
Descrizione:
Nome dell'applicazione che ha generato l'errore: PigrecoFTP.exe, versione: 2.1.1.0, timestamp: 0x5b29fefa
Nome del modulo che ha generato l'errore: KERNELBASE.dll, versione: 10.0.17134.165, timestamp: 0xfa43f4b2
Codice eccezione: 0xe0434352
Offset errore 0x0010ddc2
ID processo che ha generato l'errore: 0x2514
Ora di avvio dell'applicazione che ha generato l'errore: 0x01d41ea629d4fcc3
Percorso dell'applicazione che ha generato l'errore: C:\Pigreco 2.1\PigrecoFTP.exe
Percorso del modulo che ha generato l'errore: C:\WINDOWS\System32\KERNELBASE.dll
ID segnalazione: 0ada4e60-4e0b-43fc-b86e-f13c3d332488
Nome completo pacchetto che ha generato l'errore:
ID applicazione relativo al pacchetto che ha generato l'errore:
XML evento:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-07-18T14:46:51.940619500Z" />
<EventRecordID>9008</EventRecordID>
<Channel>Application</Channel>
<Computer>ETagliabue-PC</Computer>
<Security />
</System>
<EventData>
<Data>PigrecoFTP.exe</Data>
<Data>2.1.1.0</Data>
<Data>5b29fefa</Data>
<Data>KERNELBASE.dll</Data>
<Data>10.0.17134.165</Data>
<Data>fa43f4b2</Data>
<Data>e0434352</Data>
<Data>0010ddc2</Data>
<Data>2514</Data>
<Data>01d41ea629d4fcc3</Data>
<Data>C:\Pigreco 2.1\PigrecoFTP.exe</Data>
<Data>C:\WINDOWS\System32\KERNELBASE.dll</Data>
<Data>0ada4e60-4e0b-43fc-b86e-f13c3d332488</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>
===================================================
Nome registro: Application
Origine: Windows Error Reporting
Data: 18/07/2018 16:47:04
ID evento: 1001
Categoria attività:Nessuna
Livello: Informazioni
Parole chiave: Classico
Utente: N/D
Computer: ETagliabue-PC
Descrizione:
Bucket errato 1422329624855657611, tipo 5
Nome evento: CLR20r3
Risposta: Non disponibile
ID CAB: 0
Firma problema:
P1: PigrecoFTP.exe
P2: 2.1.1.0
P3: 5b29fefa
P4: PigrecoFTP
P5: 2.1.1.0
P6: 5b29fefa
P7: c9
P8: c
P9: System.InvalidOperationException
P10:
File allegati:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF0A4.tmp.mdmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF289.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF2AA.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF2A8.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF2C8.tmp.txt
I file potrebbero essere disponibili qui:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_PigrecoFTP.exe_34f9c1645f3274f7fd82cee797602cbfb31baa9a_0989035a_3c1d22df
Simbolo analisi:
Nuova ricerca di soluzioni: 0
ID rapporto: 0ada4e60-4e0b-43fc-b86e-f13c3d332488
Stato rapporto: 2147487744
Bucket con hash: 0d7268abdbc332eec3bd21420b093c8b
GUID CAB: 0
XML evento:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-07-18T14:47:04.981973000Z" />
<EventRecordID>9011</EventRecordID>
<Channel>Application</Channel>
<Computer>ETagliabue-PC</Computer>
<Security />
</System>
<EventData>
<Data>1422329624855657611</Data>
<Data>5</Data>
<Data>CLR20r3</Data>
<Data>Non disponibile</Data>
<Data>0</Data>
<Data>PigrecoFTP.exe</Data>
<Data>2.1.1.0</Data>
<Data>5b29fefa</Data>
<Data>PigrecoFTP</Data>
<Data>2.1.1.0</Data>
<Data>5b29fefa</Data>
<Data>c9</Data>
<Data>c</Data>
<Data>System.InvalidOperationException</Data>
<Data>
</Data>
<Data>
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF0A4.tmp.mdmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF289.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF2AA.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF2A8.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF2C8.tmp.txt</Data>
<Data>C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_PigrecoFTP.exe_34f9c1645f3274f7fd82cee797602cbfb31baa9a_0989035a_3c1d22df</Data>
<Data>
</Data>
<Data>0</Data>
<Data>0ada4e60-4e0b-43fc-b86e-f13c3d332488</Data>
<Data>2147487744</Data>
<Data>0d7268abdbc332eec3bd21420b093c8b</Data>
<Data>0</Data>
</EventData>
</Event>
A System.BadImageFormatException is thrown when a process is trying to load a dependency that has a different bitness compared to the process itself. This could be a 32-bit process trying to load a 64-bit DLL, or a 64-bit process trying to load a 32-bit DLL.
Chilkat isn't compiled as AnyCPU, but instead contains two DLLs (one 32-bit and one 64-bit). This means that if you really want to compile your application as AnyCPU you have to ship it with both the 32-bit and 64-bit version of the ChilkatDotNet4.dll, and have the installer install both of them into the Global Assembly Cache (GAC).
If you cannot/don't want to do it this way, the alternatives are:
Compile your application as 32-bit only.
Do the same as Chilkat and release two versions of your application: one 32-bit and one 64-bit.
The BadImageFormatException is the "Common Error #1" described here: http://www.chilkatsoft.com/x64_Framework4.asp
Also, the ChilkatDotNet4.dll is the assembly one would use with the .NET 4.0 Framework. It would require the MSVC 2010 runtime redist to be installed on the system, which it probably already is.. See http://cknotes.com/chilkat-net-assemblies-matching-visual-studio-versions-to-net-framework-versions-to-vc-runtime-versions/

Mule "this transformer needs a valid endpoint" error only in runtime not in studio

I get a transformer exception running my project on Mule ESB 3.7.5 on Red Hat Enterprise Linux, but not when I run the same project in Anypoint Studio with Mule 3.7.5 on Windows. This exception occurs when I use this transformer:
<dw:transform-message doc:name="Transform Message to MoodleCourse" metadata:id="d3a95670-da14-4d1c-b4df-9eb559593dfb">
<dw:set-payload><![CDATA[%dw 1.0
%output application/java
---
{
academicYear: payload.collegejaar,
category: payload.organisatieonderdeel,
fullName: payload.lange_naam_nl,
idNumber: payload.cursus,
shortName: payload.cursus,
summary: payload.doel,
teachers: payload.docenten map ((docenten , indexOfDocenten) -> {
userName: docenten.medewerker
}),
teachingCycles: payload.aanvangsblok_onderwijsvormen map ((aanvangsblokonderwijsvorman , indexOfAanvangsblokonderwijsvorman) -> {
name: aanvangsblokonderwijsvorman.aanvangsblok
})
} as :object {
class : "zuyd.MoodleCourse"
}]]></dw:set-payload>
</dw:transform-message>
and then do an http request for the first time:
<http:request config-ref="Moodle_HTTP_Request_Configuration" path="${moodle.webservice.path}" method="POST" doc:name="HTTP get_users_by_field" metadata:id="d0589922-6eeb-4171-b4a8-a4a118a8cd78">
<http:request-builder>
<http:query-param paramName="wstoken" value="${moodle.webservice.wstoken}" />
<http:query-param paramName="wsfunction" value="core_user_get_users_by_field" />
<http:query-param paramName="field" value="username" />
<http:query-param paramName="values[0]" value="test" />
<http:query-param paramName="moodlewsrestformat" value="json" />
</http:request-builder>
</http:request>
The logger runs every time. On Linux the following exception occurs. The data from the payload is not used by the http-request.
2018-06-20 15:45:58,893 [[osiris-moodle-v0.0.17].httpListenerConfig.worker.01] INFO org.mule.api.processor.LoggerMessageProcessor - test1 testmule
2018-06-20 15:45:58,920 [[osiris-moodle-v0.0.17].httpListenerConfig.worker.01] ERROR org.mule.exception.DefaultMessagingExceptionStrategy -
********************************************************************************
Message : This transformer needs a valid endpoint (java.lang.IllegalStateException)
Code : MULE_ERROR-64999
--------------------------------------------------------------------------------
Exception stack is:
1. This transformer needs a valid endpoint (java.lang.IllegalStateException)
org.mule.transport.jms.transformers.AbstractJmsTransformer:203 (null)
2. This transformer needs a valid endpoint (java.lang.IllegalStateException) (org.mule.api.transformer.TransformerException)
org.mule.transport.jms.transformers.AbstractJmsTransformer:79 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerException.html)
--------------------------------------------------------------------------------
Root Exception stack trace:
java.lang.IllegalStateException: This transformer needs a valid endpoint
at org.mule.transport.jms.transformers.AbstractJmsTransformer.getSession(AbstractJmsTransformer.java:203)
at org.mule.transport.jms.transformers.AbstractJmsTransformer.transformToMessage(AbstractJmsTransformer.java:65)
at org.mule.transport.jms.transformers.ObjectToJMSMessage.transformMessage(ObjectToJMSMessage.java:54)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
2018-06-20 15:45:58,956 [[osiris-moodle-v0.0.17].httpListenerConfig.worker.01] DEBUG org.mule.module.http.internal.HttpMessageLogger - LISTENER
HTTP/1.1 500 This transformer needs a valid endpoint (java.lang.IllegalStateException) (org.mule.api.transformer.TransformerException) (org.mule.api.transformer.TransformerException) (org.mule.api.transformer.TransformerException). Message payload is of type: MoodleCourse
Content-Length: 259
MULE_ENCODING: UTF-8
Date: Wed, 20 Jun 2018 13:45:58 GMT
Connection: close
This transformer needs a valid endpoint (java.lang.IllegalStateException) (org.mule.api.transformer.TransformerException) (org.mule.api.transformer.TransformerException) (org.mule.api.transformer.TransformerException). Message payload is of type: MoodleCourse
Does anybody now what causes this exception and why I don't get it in Anypoint Studio?

Sitefinity Backend not working - 404 Page not found

I am using Sitefinity CMS for my project. I am developing project on localhost. Uptill now all were going well. but, before 2 days when I try to open Sitefinity backend by entering http://localhost:60879/sitefinity, I am getting 404 Page not found error and redirect me to http://localhost:60879/404?aspxerrorpath=/Sitefinity/Authenticate/SWT
moreover, when I host this website on IIS with same physical path, it starts working. What I have tried so far
clear browsing history and restart
restart visual studio and run the code
check App_Data/Error.log
Error.log
Timestamp: 1/18/2017 7:04:00 AM
Message: HandlingInstanceID: 350f050d-ae62-4d9e-b491-d43e0cfa2c5f
An exception of type 'System.InvalidOperationException' occurred and was caught.
01/18/2017 12:34:00
Type : System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Stack empty.
Source : System
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ThrowInvalidOperationException(System.ExceptionResource)
HResult : -2146233079
Stack Trace : at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Stack`1.Pop()
at Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.SelectionMappingRenderTraceListener.EndRendering(TextWriter writer, Object renderedObject)
at System.Web.UI.RenderTraceListener.RenderTraceListenerList.EndRendering(TextWriter writer, Object renderedObject)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Additional Info:
MachineName : BRVM120
TimeStamp : 1/18/2017 7:04:00 AM
FullName : Telerik.Sitefinity.Utilities, Version=8.2.5900.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
AppDomainName : /LM/W3SVC/17/ROOT-1-131291960014867668
ThreadIdentity :
WindowsIdentity : BRSOBO\hardik.gondalia
Requested URL : http://localhost:60879/Sitefinity/Authenticate/SWT?realm=http://localhost:60879/&redirect_uri=/sitefinity&deflate=true
Category: ErrorLog
Priority: 0
EventId: 90000
Severity: Error
Title:Enterprise Library Exception Handling
Machine: BRVM120
App Domain: /LM/W3SVC/17/ROOT-1-131291960014867668
ProcessId: 10520
Process Name: C:\Program Files (x86)\IIS Express\iisexpress.exe
Thread Name:
Win32 ThreadId:12936
Extended Properties:
I don't know how to make it work as it is the sitefinity in-box functionality.
Have a look at this blog post: http://www.sitefinitytipsandtricks.net/2016/08/18/fix-for-sitefinity-backend-issue-iis-detailed-error-404-0-not-found/
It suggests to follow all steps from the Sitefinity Documentation portal for configuring IIS to host your site:
http://docs.sitefinity.com/configure-the-iis-to-host-sitefinity-projects#windows-server-2012-r2-and-windows-8-1-with-iis-8-5
and if that does not help to check this article as well:
http://therobgregory.com/sitefinity-backend-issue-iis-detailed-error-404-0-not-found/

Wix Managed host could not be loaded

I've made a super simple wix bootstrapper and install project in Visual Studio 2015 (and tried this in 2013 with the same result). The bootstrapper will post a message box and quit, but I'm getting an error "Loading prerequisite bootstrapper application because managed host could not be loaded, error: 0x80070490." and I have no idea what that error code means.
It is going straight to trying to install .Net 4.5 which already exists, and then it exits.
I do have the BootstrapperApplicationAttribute for the assembly which is pointed to the proper class. The bootstrapper app is a .Net 4.5 WPF user control library.
Here's the full log
Edit: latest log with the recent changes
[3AB8:2C8C][2015-09-10T14:44:59]i001: Burn v3.10.0.2026, Windows v6.3 (Build 9600: Service Pack 0), path: E:\Projects\WpfApplication1\Bootstrapper1\bin\Release\Bootstrapper1.exe
[3AB8:2C8C][2015-09-10T14:44:59]i009: Command Line: '/log log.txt'
[3AB8:2C8C][2015-09-10T14:44:59]i000: Setting string variable 'WixBundleLog' to value 'E:\Projects\WpfApplication1\Bootstrapper1\bin\Release\log.txt'
[3AB8:2C8C][2015-09-10T14:44:59]i000: Setting string variable 'WixBundleOriginalSource' to value 'E:\Projects\WpfApplication1\Bootstrapper1\bin\Release\Bootstrapper1.exe'
[3AB8:2C8C][2015-09-10T14:44:59]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'E:\Projects\WpfApplication1\Bootstrapper1\bin\Release\'
[3AB8:2C8C][2015-09-10T14:44:59]i000: Setting string variable 'WixBundleName' to value 'Bootstrapper1'
[3AB8:2C8C][2015-09-10T14:44:59]i000: Setting string variable 'WixBundleManufacturer' to value 'Myself'
[3AB8:2C8C][2015-09-10T14:44:59]i000: Loading prerequisite bootstrapper application because managed host could not be loaded, error: 0x80070490.
[3AB8:3C74][2015-09-10T14:44:59]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[3AB8:3C74][2015-09-10T14:44:59]i000: Setting version variable 'WixBundleFileVersion' to value '1.0.0.0'
[3AB8:2C8C][2015-09-10T14:44:59]i100: Detect begin, 2 packages
[3AB8:2C8C][2015-09-10T14:44:59]i000: Setting string variable 'NETFRAMEWORK45' to value '393297'
[3AB8:2C8C][2015-09-10T14:44:59]i102: Detected related bundle: {14998a68-ae2d-4209-b77e-a3f04dd57a37}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None
[3AB8:2C8C][2015-09-10T14:44:59]i102: Detected related bundle: {1e5997c3-1ce9-4ba9-b0dd-8b23dbc2ae5b}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None
[3AB8:2C8C][2015-09-10T14:44:59]i102: Detected related bundle: {464b46a0-9c95-4a9a-a09c-cc05eabded4e}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None
[3AB8:2C8C][2015-09-10T14:44:59]i102: Detected related bundle: {5b9e54c5-39fe-4438-9d7a-5d97ace1a57f}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None
[3AB8:2C8C][2015-09-10T14:44:59]i102: Detected related bundle: {5e80916f-30ff-4791-97df-a503198504c5}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None
[3AB8:2C8C][2015-09-10T14:44:59]i102: Detected related bundle: {6c9fdff8-7e6b-4365-8509-18fc5394599e}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None
[3AB8:2C8C][2015-09-10T14:44:59]i102: Detected related bundle: {97cba9a5-0ec5-40cc-ac89-30e790e81755}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None
[3AB8:2C8C][2015-09-10T14:44:59]i102: Detected related bundle: {b4cc8c31-ee10-4566-a13d-7a8ab7c77ea9}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None
[3AB8:2C8C][2015-09-10T14:44:59]i102: Detected related bundle: {d51bb1d2-e28b-467d-ac56-7dcf93a9b838}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None
[3AB8:2C8C][2015-09-10T14:44:59]i102: Detected related bundle: {fc6f26ca-2fa0-426d-acdb-bb350bc7a3db}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None
[3AB8:2C8C][2015-09-10T14:44:59]i052: Condition 'NETFRAMEWORK45 >= 378389' evaluates to true.
[3AB8:2C8C][2015-09-10T14:44:59]i101: Detected package: NetFx45Redist, state: Present, cached: None
[3AB8:2C8C][2015-09-10T14:44:59]i101: Detected package: SetupProject1.msi, state: Absent, cached: None
[3AB8:2C8C][2015-09-10T14:44:59]i199: Detect complete, result: 0x0
[3AB8:2C8C][2015-09-10T14:45:03]i500: Shutting down, exit code: 0x642
[3AB8:2C8C][2015-09-10T14:45:03]i000: The prerequisites were already installed. The bootstrapper application will not be reloaded to prevent an infinite loop.
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: NETFRAMEWORK45 = 393297
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleAction = 5
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleElevated = 0
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleFileVersion = 1.0.0.0
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleInstalled = 0
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleLog = E:\Projects\WpfApplication1\Bootstrapper1\bin\Release\log.txt
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleManufacturer = Myself
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleName = Bootstrapper1
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleOriginalSource = E:\Projects\WpfApplication1\Bootstrapper1\bin\Release\Bootstrapper1.exe
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleOriginalSourceFolder = E:\Projects\WpfApplication1\Bootstrapper1\bin\Release\
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleProviderKey = {0112e2c7-f979-4afe-a3fd-6be0231f6727}
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleTag =
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixBundleVersion = 1.0.0.0
[3AB8:2C8C][2015-09-10T14:45:03]i410: Variable: WixStdBALanguageId = 1033
[3AB8:2C8C][2015-09-10T14:45:03]i007: Exit code: 0x642, restarting: No
Edit: Here's the BootstrapperApplicationRef section. I've tried it with and without the BootstrapperCore.dll and the Microsoft.Deployment.WindowsInstaller.dll. There are no other dependencies for the bootstrapper app beyond the standard .Net libraries
<BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
<Payload Name='BootstrapperCore.config' SourceFile="..\VerySimpleBurnApp\VerySimpleBurnApp.BootstrapperCore.config"/>
<Payload SourceFile="..\VerySimpleBurnApp\bin\Release\VerySimpleBurnApp.dll"/>
<Payload SourceFile="..\VerySimpleBurnApp\bin\Release\BootstrapperCore.dll"/>
<Payload SourceFile="..\VerySimpleBurnApp\bin\Release\Microsoft.Deployment.WindowsInstaller.dll"/>
</BootstrapperApplicationRef>
And the VerySimpleBurnApp.BootstrapperCore.config
Edit: updated to current
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="wix.bootstrapper" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperSectionGroup, BootstrapperCore">
<section name="host" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.HostSection, BootstrapperCore" />
</sectionGroup>
</configSections>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<wix.bootstrapper>
<host assemblyName="VerySimpleBurnApp">
<supportedFramework version="v4.5" />
</host>
</wix.bootstrapper>
</configuration>
For .NET 4.5, the supportedRuntime element needs to look like this:
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
Also, it seems that supportedFramework elements aren't supported for .NET 4.5, they need to be removed.

Issue with FunctionalTestComponent (Mule 3.2.1)

I would expect a <test:component /> to be equivalent to
<component>
<spring-object bean="FTC" />
<component>
where the FTC bean uses the FunctionalTestComponent class. That is, I would expect the two configurations below to pass the functional test shown further below.
config with <test:component />
<mule ...>
<vm:endpoint name="EntryPoint.Name" path="EntryPoint.Path" />
<simple-service name="service" endpoint-ref="EntryPoint.Name" >
<test:component />
</simple-service>
</mule>
config with spring bean using FunctionalTestComponent
<mule ...>
<vm:endpoint name="EntryPoint.Name" path="EntryPoint.Path" />
<spring:bean id="FTC" class="org.mule.tck.functional.FunctionalTestComponent" />
<simple-service name="service" endpoint-ref="EntryPoint.Name" >
<component>
<spring-object bean="FTC" />
</component>
</simple-service>
</mule>
test
#Test
public void aTest() throws Exception {
final MuleClient client = muleContext.getClient();
client.send("vm://EntryPoint.Path", "1", null);
assertEquals("1", getFunctionalTestComponent("service").getLastReceivedMessage());
}
The config with <test:component /> passes the test. However, the one with the FTC bean does not. In fact, the run with the FTC bean shows an exception in the logs:
********************************************************************************
Message : Component that caused exception is: DefaultJavaComponent{service.commponent}. Message payload is of type: String
Code : MULE_ERROR--2
--------------------------------------------------------------------------------
Exception stack is:
1. null (java.lang.NullPointerException)
org.mule.tck.functional.FunctionalTestComponent:215 (null)
2. Component that caused exception is: DefaultJavaComponent{service.commponent}. Message payload is of type: String (org.mule.component.ComponentException)
org.mule.component.DefaultComponentLifecycleAdapter:359 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/component/ComponentException.html)
--------------------------------------------------------------------------------
Root Exception stack trace:
java.lang.NullPointerException
at org.mule.tck.functional.FunctionalTestComponent.process(FunctionalTestComponent.java:215)
at org.mule.tck.functional.FunctionalTestComponent.onCall(FunctionalTestComponent.java:108)
at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:50)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
Any idea what I could be doing wrong? I am using Mule 3.2.1
Thanks
I think I figured it out. The definition of the bean is missing one attribute init-method=
"initialise". This detail seems to be missing from the documentation. Hence, the definition of the bean should be:
<spring:bean id="FTC"
class="org.mule.tck.functional.FunctionalTestComponent" init-method="initialise" />