Hi again,
a little quick note to say it's an issue in the commercial dll components.
(it's a referenced bug on their web pages)
When compiling with VS.NET , the error is not throwed, and is just ignored.
And it was certainly the case with nant 0.84 or something like that.
Pierre.
----- Forwarded by Pierre THOREY/ress/fr/socgen on 08/10/04 11:40 -----
|---------+---------------------------->
| | Pierre THOREY |
| | |
| | 08/10/04 11:35 |
| | |
|---------+---------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc: [EMAIL PROTECTED]
|
| Subject: Re: [Nant-users] very odd issue on licence task(Document link:
Pierre THOREY) |
>------------------------------------------------------------------------------------------------------------------------------|
Hi Gert,
unfortunately I can't ... since these dll are commercial dll , I can't send
it :(
However, I tried to launch lc.exe in a .cmd command file, and it crashes
with the same error. I will ask my vendor about this issue.
Pierre.
|---------+---------------------------->
| | [EMAIL PROTECTED]|
| | ora.be |
| | |
| | 08/10/04 11:13 |
| | |
|---------+---------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED], Pierre THOREY/ress/fr/[EMAIL PROTECTED]
|
| cc:
|
| Subject: Re: [Nant-users] very odd issue on licence task
|
>------------------------------------------------------------------------------------------------------------------------------|
Pierre,
That is indeed a very strange error. Can you provide a small repro for this
?
Gert
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 08, 2004 10:47 AM
Subject: [Nant-users] very odd issue on licence task
>
> Hi ,
>
> I got a very odd problem when launching licence task on nant latest
build.
> (with a very old version, nant 0.84 there was no problem) .
>
> If I sum up, when lc.exe processes , it crashes with the message
> "System.InvalidOperationException: DragDrop registration failed. --->
> System.Threading.ThreadStateException: The current thread must set to
> Single Thread Apartment (STA) mode before OLE calls can be made. Ensure
> that your Main function has STAThreadAttribute marked on it. "
>
> Below are the complete trace of licence task in verbose mode and the
stack
> trace generated by lc.exe.
> I remarked that just one line in licx file seems to cause the crash. (by
> dropping it, there is no problem)
>
>
> Pierre.
>
>
>
>
>
>
> [license] Output file 'C:\main\EBTSNet\src\ebts.exe.licenses' does not
> exist, recompiling.
> [license] Compiling license file
'C:\main\EBTSNet\src\Ebts\licenses.licx'
> to 'C:\main\EBTSNet\src\ebts.exe.licenses' using target 'ebts.exe'.
> [copy] Copying 10 files to 'C:\TEMP\tmp1A49.tmp'.
> [copy] Copying 'C:
> \main\EBTSNet\src\references\gac\Syncfusion.Grouping.dll' to 'C:
> \TEMP\tmp1A49.tmp\Syncfusion.Grouping.dll'.
> [copy] Copying 'C:
> \main\EBTSNet\src\references\gac\Syncfusion.Chart.dll' to 'C:
> \TEMP\tmp1A49.tmp\Syncfusion.Chart.dll'.
> [copy] Copying 'C:
> \main\EBTSNet\src\references\gac\Syncfusion.Shared.dll' to 'C:
> \TEMP\tmp1A49.tmp\Syncfusion.Shared.dll'.
> [copy] Copying 'C:
> \main\EBTSNet\src\references\gac\Syncfusion.Grid.Grouping.dll' to 'C:
> \TEMP\tmp1A49.tmp\Syncfusion.Grid.Grouping.dll'.
> [copy] Copying 'C:
> \main\EBTSNet\src\references\gac\Syncfusion.ExcelRW.dll' to 'C:
> \TEMP\tmp1A49.tmp\Syncfusion.ExcelRW.dll'.
> [copy] Copying 'c:\Program Files\Microsoft Visual Studio
> .NET 2003\SDK\v1.1\bin\lc.exe' to 'C:\TEMP\tmp1A49.tmp\lc.exe'.
> [copy] Copying 'C:
> \main\EBTSNet\src\references\gac\Syncfusion.Diagram.dll' to 'C:
> \TEMP\tmp1A49.tmp\Syncfusion.Diagram.dll'.
> [copy] Copying 'C:
> \main\EBTSNet\src\references\gac\Syncfusion.Tools.dll' to 'C:
> \TEMP\tmp1A49.tmp\Syncfusion.Tools.dll'.
> [copy] Copying 'C:
> \main\EBTSNet\src\references\gac\Syncfusion.Edit.dll' to 'C:
> \TEMP\tmp1A49.tmp\Syncfusion.Edit.dll'.
> [copy] Copying 'C:
> \main\EBTSNet\src\references\gac\Syncfusion.Grid.dll' to 'C:
> \TEMP\tmp1A49.tmp\Syncfusion.Grid.dll'.
> [license] Starting 'C:\TEMP\tmp1A49.tmp\lc.exe ( /target:"ebts.exe"
> /complist:"C:\main\EBTSNet\src\Ebts\licenses.licx" /outdir:"C:
> \TEMP\tmp1A49.tmp" /nologo /v)' in 'C:\TEMP\tmp1A49.tmp'
> [license] Processing complist
'C:\main\EBTSNet\src\Ebts\licenses.licx'...
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(1) : info LC0001 :
> Processing component entry 'Syncfusion.Windows.Forms.Tools.StatusBarAdv,
> Syncfusion.Tools, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(1) : info LC0002 :
> Resolved entry to 'Syncfusion.Windows.Forms.Tools.StatusBarAdv,
> Syncfusion.Tools, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(2) : info LC0001 :
> Processing component entry 'Syncfusion.Windows.Forms.Tools.GroupBar,
> Syncfusion.Shared, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(2) : info LC0002 :
> Resolved entry to 'Syncfusion.Windows.Forms.Tools.GroupBar,
> Syncfusion.Shared, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(3) : info LC0001 :
> Processing component entry
'Syncfusion.Windows.Forms.Tools.DockingManager,
> Syncfusion.Tools, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(3) : info LC0002 :
> Resolved entry to 'Syncfusion.Windows.Forms.Tools.DockingManager,
> Syncfusion.Tools, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(4) : info LC0001 :
> Processing component entry 'Syncfusion.Windows.Forms.Tools.TabControlAdv,
> Syncfusion.Tools, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(4) : info LC0002 :
> Resolved entry to 'Syncfusion.Windows.Forms.Tools.TabControlAdv,
> Syncfusion.Tools, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(5) : info LC0001 :
> Processing component entry 'Syncfusion.Windows.Forms.ColorPickerButton,
> Syncfusion.Shared, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(5) : info LC0002 :
> Resolved entry to 'Syncfusion.Windows.Forms.ColorPickerButton,
> Syncfusion.Shared, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(6) : info LC0001 :
> Processing component entry
> 'Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager,
> Syncfusion.Tools, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(6) : info LC0002 :
> Resolved entry to
> 'Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager,
> Syncfusion.Tools, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(7) : info LC0001 :
> Processing component entry
> 'Syncfusion.Windows.Forms.Tools.XPMenus.XPToolBar, Syncfusion.Tools,
> Version=2.0.5.1, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(7) : info LC0002 :
> Resolved entry to 'Syncfusion.Windows.Forms.Tools.XPMenus.XPToolBar,
> Syncfusion.Tools, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(8) : info LC0001 :
> Processing component entry
'Syncfusion.Windows.Forms.Tools.ProgressBarAdv,
> Syncfusion.Shared, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(8) : info LC0002 :
> Resolved entry to 'Syncfusion.Windows.Forms.Tools.ProgressBarAdv,
> Syncfusion.Shared, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(9) : info LC0001 :
> Processing component entry 'Syncfusion.Windows.Forms.Grid.GridControl,
> Syncfusion.Grid, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(9) : info LC0002 :
> Resolved entry to 'Syncfusion.Windows.Forms.Grid.GridControl,
> Syncfusion.Grid, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(10) : info LC0001 :
> Processing component entry
> 'Syncfusion.Windows.Forms.Tools.CalculatorControl, Syncfusion.Tools,
> Version=2.0.5.1, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89'
> [license] C:\main\EBTSNet\src\Ebts\licenses.licx(10) : info LC0002 :
> Resolved entry to 'Syncfusion.Windows.Forms.Tools.CalculatorControl,
> Syncfusion.Tools, Version=2.0.5.1, Culture=neutral,
> PublicKeyToken=3d67ed1f87d44c89'
> [license] Creating Licenses file
C:\TEMP\tmp1A49.tmp\ebts.exe.licenses...
>
> BUILD SUCCEEDED - 0 non-fatal error(s), 2 warning(s)
>
>
>
> See the end of this message for details on invoking
> just-in-time (JIT) debugging instead of this dialog box.
>
> ************** Exception Text **************
> System.InvalidOperationException: DragDrop registration failed. --->
> System.Threading.ThreadStateException: The current thread must set to
> Single Thread Apartment (STA) mode before OLE calls can be made. Ensure
> that your Main function has STAThreadAttribute marked on it.
> at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
> --- End of inner exception stack trace ---
> at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
> at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
> at Syncfusion.Windows.Forms.ScrollControl.OnHandleCreated(EventArgs e)
> at System.Windows.Forms.Control.WmCreate(Message& m)
> at System.Windows.Forms.Control.WndProc(Message& m)
> at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)
> at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)
> at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.WndProc(Message& m)
> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
> at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
> IntPtr wparam, IntPtr lparam)
>
>
> ************** Loaded Assemblies **************
> mscorlib
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
> file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
> ----------------------------------------
> lc
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase: file:///C:/TEMP/tmp1A49.tmp/lc.exe
> ----------------------------------------
> System
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
> ----------------------------------------
> Syncfusion.Tools
> Assembly Version: 2.0.5.1
> Win32 Version: 2.0.5.1
> CodeBase:
>
file:///c:/windows/assembly/gac/syncfusion.tools/2.0.5.1__3d67ed1f87d44c89/syncfusion.tools.dll
> ----------------------------------------
> Syncfusion.Shared
> Assembly Version: 2.0.5.1
> Win32 Version: 2.0.5.1
> CodeBase:
>
file:///c:/windows/assembly/gac/syncfusion.shared/2.0.5.1__3d67ed1f87d44c89/syncfusion.shared.dll
> ----------------------------------------
> System.Windows.Forms
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
> ----------------------------------------
> System.Drawing
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
> ----------------------------------------
> System.Xml
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
> ----------------------------------------
> Lic
> Assembly Version: 1.0.0.0
> Win32 Version: 2.0.5.1
> CodeBase:
>
file:///c:/windows/assembly/gac/syncfusion.shared/2.0.5.1__3d67ed1f87d44c89/syncfusion.shared.dll
> ----------------------------------------
> Syncfusion.Grid
> Assembly Version: 2.0.5.1
> Win32 Version: 2.0.5.1
> CodeBase:
>
file:///c:/windows/assembly/gac/syncfusion.grid/2.0.5.1__3d67ed1f87d44c89/syncfusion.grid.dll
> ----------------------------------------
> Accessibility
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
> ----------------------------------------
>
> ************** JIT Debugging **************
> To enable just in time (JIT) debugging, the config file for this
> application or machine (machine.config) must have the
> jitDebugging value set in the system.windows.forms section.
> The application must also be compiled with debugging
> enabled.
>
> For example:
>
> <configuration>
> <system.windows.forms jitDebugging="true" />
> </configuration>
>
> When JIT debugging is enabled, any unhandled exception
> will be sent to the JIT debugger registered on the machine
> rather than being handled by this dialog.
>
>
>
>
******************************************************************
The sender's email address has changed to firstname.lastname@ sgcib.com. You may want
to update your personal address book. Please see http://www.sgcib.com for more
information. **
This message and any attachments (the "message") are confidential and intended solely
for the addressee(s). Any unauthorised use or dissemination is prohibited. E-mails are
susceptible to alteration.Neither SOCIETE GENERALE nor any of its subsidiaries or
affiliates shall be liable for the message if altered, changed or falsified.
***************
L'adresse mail de votre correspondant a change en prenom.nom@ sgcib.com.Il est
recommande de mettre a jour votre carnet d'adresses personnel.Pour plus
d'informations, aller sur http://www.sgcib.com
**
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et
etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion
non autorisee est interdite. Tout message electronique est susceptible d'alteration.La
SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message
s'il a ete altere, modifie ou falsifie.
******************************************************************
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users