Data Tool bug "Layout Renderer cannot be found: 'longdate'

Posted By UKcentric Wed 25 May 2011
Rated stars based on 1 vote.
Add to Favorites1
Author Message
UKcentric
 Posted Wed 25 May 2011
Supreme Being

Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)

Group: Forum Members
Last Active: Mon 13 Apr 2015
Posts: 43, Visits: 2,159
Hi. I just downloaded the data tool, as I am trying to upgrade our Kartris to 1.3 (as advised by yourselves, for increased customization options).

Got source and destination database connected fine, hit the upgrade button and got this error dialog:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: LayoutRenderer cannot be found: 'longdate'
   at NLog.Config.Factory`2.CreateInstance(String name)
   at NLog.Layouts.LayoutParser.ParseLayoutRenderer(ConfigurationItemFactory configurationItemFactory, Tokenizer sr)
   at NLog.Layouts.LayoutParser.CompileLayout(ConfigurationItemFactory configurationItemFactory, Tokenizer sr, Boolean isNested, String& text)
   at NLog.Layouts.SimpleLayout..ctor(String txt, ConfigurationItemFactory configurationItemFactory)
   at NLog.Layouts.Layout.op_Implicit(String text)
   at KartrisDataTool.General.InitializeNewLog(String strName)
   at KartrisDataTool.frmKartrisUpgrade.btnUpgrade_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
   at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4959 (win7RTMGDR.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
KartrisDataTool
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/gordonsmith/Downloads/KartrisDataTool/KartrisDataTool.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_64/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_64/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
NLog
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Users/gordonsmith/Downloads/KartrisDataTool/NLog.DLL
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.
Mart
 Posted Fri 27 May 2011
Top Banana

Top Banana - (84,763 reputation)Top Banana - (84,763 reputation)Top Banana - (84,763 reputation)Top Banana - (84,763 reputation)Top Banana - (84,763 reputation)Top Banana - (84,763 reputation)Top Banana - (84,763 reputation)Top Banana - (84,763 reputation)Top Banana - (84,763 reputation)

Group: Administrators
Last Active: Wed 18 Nov 2020
Posts: 148, Visits: 3,450
Hi,

I replied to this issue in your other thread.

It seems to be an error caused by NLog, which Kartris contains... I found someone else having the same error...

http://nlog-project.org/forum#nabble-td5542525

The suggestion in that thread is that it is fixed by installed .net2 SP1 or SP2 - do you have these installed already? If not, it would probably be good to install them in any case

Mart
UKcentric
 Posted Mon 30 May 2011
Supreme Being

Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)Supreme Being - (25,805 reputation)

Group: Forum Members
Last Active: Mon 13 Apr 2015
Posts: 43, Visits: 2,159
I can confirm that ASP.NET Framework 2 with SP2 is installed on the server.

In the end we decided to run the tool on another server, where it worked OK.
Paul
 Posted Tue 31 May 2011
große Käse

große Käse - (449,544 reputation)große Käse - (449,544 reputation)große Käse - (449,544 reputation)große Käse - (449,544 reputation)große Käse - (449,544 reputation)große Käse - (449,544 reputation)große Käse - (449,544 reputation)große Käse - (449,544 reputation)große Käse - (449,544 reputation)

Group: Administrators
Last Active: Fri 15 Sep 2023
Posts: 806, Visits: 2,737
Glad it got sorted - we've release a minor update to the data tool today which includes a fix for this issue (well, it uses the newest Nlog build).

Would be great if you could test the new 1.3004 data tool just to confirm you don't get this Nlog issue. We didn't get the issue on our 2008 servers, so weren't able to verify it ourselves.


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top