Romcenter + Wine

Romcenter 4 support discussion. Please do not post roms requests or illegal links, posts will be deleted.

Moderators: Wanderer, Logiqx, Iron Man

Forum rules
No roms requests or illegal links
.e.m.a.m
PacMan
PacMan
Posts: 5
Joined: Fri Mar 16, 2018 12:48 pm

Romcenter + Wine

Post by .e.m.a.m » Fri Mar 16, 2018 12:53 pm

hi,

i registered only today so to ask for romcenter 4.0's prerequisits, in order to get it running under wine 3.3.

what i have tried so far, is dotnet40 and dotnet45, where as the latter not even shows the initial logo while loading.

the terminal output has no concrete error showing up, so i am a bit lost how to get it working.

any tips for me?

thank you in advance

User avatar
Wanderer
Board master
Board master
Posts: 664
Joined: Wed Oct 03, 2001 10:37 am
Location: Milky way, Sol, 3rd planet

Re: Romcenter + Wine

Post by Wanderer » Fri Mar 16, 2018 1:06 pm

Hi and welcome.

Interesting question. Eric will have to clarify whether this will work under Wine, because RC4 has been developed using WPF, a part of .NET that AFAIK has not been implemented in Mono. I'm not sure how Wine implements the .NET framework libraries (if it uses the original Microsoft libs or Mono). If it uses Mono, RC will probably not work under Linux.
- Wanderer -

For Romcenter bug reporting or enhancement requests, click here.

User avatar
RomCenter
Author
Author
Posts: 1329
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

Re: Romcenter + Wine

Post by RomCenter » Sat Mar 17, 2018 7:36 am

Romcenter is compiled in .net 4.0.
I can help yuou to make it work under wine.

I think the first point is to ensure the log system is working. This will be of great help when debugging.
Log settings are stored in the nlog.config file. Try to change the location to point to a custom linux folder with correct access rights.
Then run romcenter and see if a log file is created.
Eric - RomCenter developer
http://www.romcenter.com

.e.m.a.m
PacMan
PacMan
Posts: 5
Joined: Fri Mar 16, 2018 12:48 pm

Re: Romcenter + Wine

Post by .e.m.a.m » Sat Mar 31, 2018 10:38 am

sorry for the late reply.

here is the specs:

wine 3.4 64bit
dotnet40 64bit

unpacked romcenter (which contains a nlog.config file) to home folder. ran romcneter, logo appears for 1 sec.

no new log file has been created during that process. the nlog file has not changed after all.

User avatar
RomCenter
Author
Author
Posts: 1329
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

Re: Romcenter + Wine

Post by RomCenter » Tue Apr 03, 2018 5:56 pm

Hi

Edit nlog.config and change the log location:

<variable name="logFilename" value="c:\temp\romcenter" />

Replace path with a linux path and see if a log file is created.
Eric - RomCenter developer
http://www.romcenter.com

.e.m.a.m
PacMan
PacMan
Posts: 5
Joined: Fri Mar 16, 2018 12:48 pm

Re: Romcenter + Wine

Post by .e.m.a.m » Tue Apr 03, 2018 6:59 pm

i have tried with different locations that are valid within wine, but no log file is being generated?

bizarre.

User avatar
RomCenter
Author
Author
Posts: 1329
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

Re: Romcenter + Wine

Post by RomCenter » Wed Apr 04, 2018 7:56 pm

You can try one more thing: enable the internal logging.

internalLogLevel="On" internalLogFile="c:\temp\nlog-internal.log">
Eric - RomCenter developer
http://www.romcenter.com

.e.m.a.m
PacMan
PacMan
Posts: 5
Joined: Fri Mar 16, 2018 12:48 pm

Re: Romcenter + Wine

Post by .e.m.a.m » Thu Apr 05, 2018 8:02 am

this i have done already, forgot to tell you, sorry.

so dotnet40 is really the only precondition?

User avatar
RomCenter
Author
Author
Posts: 1329
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

Re: Romcenter + Wine

Post by RomCenter » Thu Apr 05, 2018 10:23 pm

There are many libraries used in romcenter. I don't know how it is supported in wine.
Romcenter actually run in 32b mode.
I have found this page: https://www.makeuseof.com/tag/wine-prog ... try-steps/
Maybe it can help.

If we can't go anywhere, I could build a test version with only some logs for example. This could help finding when it crashes.
Eric - RomCenter developer
http://www.romcenter.com

.e.m.a.m
PacMan
PacMan
Posts: 5
Joined: Fri Mar 16, 2018 12:48 pm

Re: Romcenter + Wine

Post by .e.m.a.m » Fri Apr 06, 2018 7:48 am

it could be my x64 prefix after all, but to be fair, none of the tools (32/64 bit) i use gave me problems whatsoever.

sure, i'd be interrested in a test version, but please take your time.

lbschenkel

Re: Romcenter + Wine

Post by lbschenkel » Tue Aug 07, 2018 10:11 am

This is what I'm getting. To get to this point I had to install .NET 4.0, XNA 4 and DirectX (not sure if all are actually required, but it worked to go past the freezing-on-logo problem.).

Code: Select all

<log4j:event logger="Romcenter" level="DEBUG" timestamp="1533632554932" thread="1"><log4j:message>Create view models</log4j:message><log4j:NDC /><log4j:locationInfo class="RomCenter.Global.BaseLog" method="Void Debug(System.String, System.Exception)" file="C:\Projects\Romcenter\Global\RcLog.cs" line="239" /><nlog:eventSequenceNumber>6</nlog:eventSequenceNumber><nlog:locationInfo assembly="RomCenter.Global, Version=4.0.0.40140, Culture=neutral, PublicKeyToken=null" /><nlog:properties /><log4j:properties><log4j:data name="log4japp" value="true" /><log4j:data name="log4jmachinename" value="Desktop-PC" /></log4j:properties></log4j:event>
<log4j:event logger="Romcenter" level="TRACE" timestamp="1533632555074" thread="1"><log4j:message>Add 1 new items</log4j:message><log4j:NDC /><log4j:locationInfo class="RomCenter.Global.BaseLog" method="Void Trace(System.String, System.Exception)" file="C:\Projects\Romcenter\Global\RcLog.cs" line="245" /><nlog:eventSequenceNumber>7</nlog:eventSequenceNumber><nlog:locationInfo assembly="RomCenter.Global, Version=4.0.0.40140, Culture=neutral, PublicKeyToken=null" /><nlog:properties /><log4j:properties><log4j:data name="log4japp" value="true" /><log4j:data name="log4jmachinename" value="Desktop-PC" /></log4j:properties></log4j:event>
<log4j:event logger="Romcenter" level="DEBUG" timestamp="1533632555085" thread="1"><log4j:message>View models created</log4j:message><log4j:NDC /><log4j:locationInfo class="RomCenter.Global.BaseLog" method="Void Debug(System.String, System.Exception)" file="C:\Projects\Romcenter\Global\RcLog.cs" line="239" /><nlog:eventSequenceNumber>8</nlog:eventSequenceNumber><nlog:locationInfo assembly="RomCenter.Global, Version=4.0.0.40140, Culture=neutral, PublicKeyToken=null" /><nlog:properties /><log4j:properties><log4j:data name="log4japp" value="true" /><log4j:data name="log4jmachinename" value="Desktop-PC" /></log4j:properties></log4j:event>
<log4j:event logger="Romcenter" level="DEBUG" timestamp="1533632557872" thread="1"><log4j:message>Settings loaded from C:\users\crossover\Local Settings\Application Data\RomCenter\RomCenter.exe_Url_u11nvebtxwb4sonnr1tbkwpadanbtsgz\4.0.0.40140\user.config</log4j:message><log4j:NDC /><log4j:locationInfo class="RomCenter.Global.BaseLog" method="Void Debug(System.String, System.Exception)" file="C:\Projects\Romcenter\Global\RcLog.cs" line="239" /><nlog:eventSequenceNumber>9</nlog:eventSequenceNumber><nlog:locationInfo assembly="RomCenter.Global, Version=4.0.0.40140, Culture=neutral, PublicKeyToken=null" /><nlog:properties /><log4j:properties><log4j:data name="log4japp" value="true" /><log4j:data name="log4jmachinename" value="Desktop-PC" /></log4j:properties></log4j:event>
<log4j:event logger="Romcenter" level="DEBUG" timestamp="1533632557953" thread="1"><log4j:message>Y:\Downloads\rc_4_0_0_rc3\firebird32\fbclient.dll version 2.5.8.27089</log4j:message><log4j:NDC /><log4j:locationInfo class="RomCenter.Global.BaseLog" method="Void Debug(System.String, System.Exception)" file="C:\Projects\Romcenter\Global\RcLog.cs" line="239" /><nlog:eventSequenceNumber>10</nlog:eventSequenceNumber><nlog:locationInfo assembly="RomCenter.Global, Version=4.0.0.40140, Culture=neutral, PublicKeyToken=null" /><nlog:properties /><log4j:properties><log4j:data name="log4japp" value="true" /><log4j:data name="log4jmachinename" value="Desktop-PC" /></log4j:properties></log4j:event>
<log4j:event logger="Romcenter" level="DEBUG" timestamp="1533632557957" thread="1"><log4j:message>EntityFramework.Firebird.dll version 5.12.1.0</log4j:message><log4j:NDC /><log4j:locationInfo class="RomCenter.Global.BaseLog" method="Void Debug(System.String, System.Exception)" file="C:\Projects\Romcenter\Global\RcLog.cs" line="239" /><nlog:eventSequenceNumber>11</nlog:eventSequenceNumber><nlog:locationInfo assembly="RomCenter.Global, Version=4.0.0.40140, Culture=neutral, PublicKeyToken=null" /><nlog:properties /><log4j:properties><log4j:data name="log4japp" value="true" /><log4j:data name="log4jmachinename" value="Desktop-PC" /></log4j:properties></log4j:event>
<log4j:event logger="Romcenter" level="DEBUG" timestamp="1533632557958" thread="1"><log4j:message>FirebirdSql.Data.FirebirdClient.dll version 5.12.1.0</log4j:message><log4j:NDC /><log4j:locationInfo class="RomCenter.Global.BaseLog" method="Void Debug(System.String, System.Exception)" file="C:\Projects\Romcenter\Global\RcLog.cs" line="239" /><nlog:eventSequenceNumber>12</nlog:eventSequenceNumber><nlog:locationInfo assembly="RomCenter.Global, Version=4.0.0.40140, Culture=neutral, PublicKeyToken=null" /><nlog:properties /><log4j:properties><log4j:data name="log4japp" value="true" /><log4j:data name="log4jmachinename" value="Desktop-PC" /></log4j:properties></log4j:event>
<log4j:event logger="Romcenter" level="DEBUG" timestamp="1533632557959" thread="1"><log4j:message>7z.dll version 16.04 32b</log4j:message><log4j:NDC /><log4j:locationInfo class="RomCenter.Global.BaseLog" method="Void Debug(System.String, System.Exception)" file="C:\Projects\Romcenter\Global\RcLog.cs" line="239" /><nlog:eventSequenceNumber>13</nlog:eventSequenceNumber><nlog:locationInfo assembly="RomCenter.Global, Version=4.0.0.40140, Culture=neutral, PublicKeyToken=null" /><nlog:properties /><log4j:properties><log4j:data name="log4japp" value="true" /><log4j:data name="log4jmachinename" value="Desktop-PC" /></log4j:properties></log4j:event>
<log4j:event logger="Romcenter" level="ERROR" timestamp="1533632559691" thread="1"><log4j:message>RomCenter.Global.BaseLog/Error : The underlying provider failed on Open.</log4j:message><log4j:throwable>System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---&gt; System.TypeInitializationException: The type initializer for 'FirebirdSql.Data.Client.Native.FbClientFactory' threw an exception. ---&gt; System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at FirebirdSql.Data.Client.Native.FbClientFactory..cctor()
   --- End of inner exception stack trace ---
   at FirebirdSql.Data.Client.Native.FbClientFactory.GetFbClient(String dllName)
   at FirebirdSql.Data.Client.Native.FesDatabase..ctor(String dllName, Charset charset)
   at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase(FbConnectionString options)
   at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
   at FirebirdSql.Data.FirebirdClient.FbConnection.Open()
   at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.&lt;Open&gt;b__36(DbConnection t, DbConnectionInterceptionContext c)
   at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
   at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
   at System.Data.Entity.Core.EntityClient.EntityConnection.&lt;Open&gt;b__2()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute(Action operation)
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   --- End of inner exception stack trace ---
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.&lt;&gt;c__DisplayClass3.&lt;GetResults&gt;b__1()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.&lt;System.Collections.Generic.IEnumerable&lt;T&gt;.GetEnumerator&gt;b__0()
   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.&lt;GetElementFunction&gt;b__1[TResult](IEnumerable`1 sequence)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
   at System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
   at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
   at RomCenter.DataAccess.Firebird.EF5.Ef..ctor(String fileName, IProgressTracking progressPack, IPauseAndCancellationToken pauseAndCancellationToken, Boolean validatedb) in C:\Projects\Romcenter\DataAccess\Firebird\EF5\EF.cs:line 108</log4j:throwable><log4j:NDC /><log4j:throwable><![CDATA[System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.TypeInitializationException: The type initializer for 'FirebirdSql.Data.Client.Native.FbClientFactory' threw an exception. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at FirebirdSql.Data.Client.Native.FbClientFactory..cctor()
   --- End of inner exception stack trace ---
   at FirebirdSql.Data.Client.Native.FbClientFactory.GetFbClient(String dllName)
   at FirebirdSql.Data.Client.Native.FesDatabase..ctor(String dllName, Charset charset)
   at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase(FbConnectionString options)
   at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
   at FirebirdSql.Data.FirebirdClient.FbConnection.Open()
   at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<Open>b__36(DbConnection t, DbConnectionInterceptionContext c)
   at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
   at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
   at System.Data.Entity.Core.EntityClient.EntityConnection.<Open>b__2()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute(Action operation)
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   --- End of inner exception stack trace ---
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass3.<GetResults>b__1()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__1[TResult](IEnumerable`1 sequence)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
   at System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
   at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
   at RomCenter.DataAccess.Firebird.EF5.Ef..ctor(String fileName, IProgressTracking progressPack, IPauseAndCancellationToken pauseAndCancellationToken, Boolean validatedb) in C:\Projects\Romcenter\DataAccess\Firebird\EF5\EF.cs:line 108]]></log4j:throwable><log4j:locationInfo class="RomCenter.Global.BaseLog" method="Void Error(System.String, System.Exception)" file="C:\Projects\Romcenter\Global\RcLog.cs" line="233" /><nlog:eventSequenceNumber>14</nlog:eventSequenceNumber><nlog:locationInfo assembly="RomCenter.Global, Version=4.0.0.40140, Culture=neutral, PublicKeyToken=null" /><nlog:properties /><log4j:properties><log4j:data name="log4japp" value="true" /><log4j:data name="log4jmachinename" value="Desktop-PC" /></log4j:properties></log4j:event>
<log4j:event logger="Romcenter" level="FATAL" timestamp="1533632559707" thread="1"><log4j:message>The underlying provider failed on Open.
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.&lt;&gt;c__DisplayClass3.&lt;GetResults&gt;b__1()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.&lt;System.Collections.Generic.IEnumerable&lt;T&gt;.GetEnumerator&gt;b__0()
   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.&lt;GetElementFunction&gt;b__1[TResult](IEnumerable`1 sequence)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
   at System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
   at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
   at RomCenter.DataAccess.Firebird.EF5.Ef..ctor(String fileName, IProgressTracking progressPack, IPauseAndCancellationToken pauseAndCancellationToken, Boolean validatedb) in C:\Projects\Romcenter\DataAccess\Firebird\EF5\EF.cs:line 127
   at RomCenter.DataAccess.DbFactory.GetDatabase(String dbName, IPauseAndCancellationToken pauseAndCancellationToken, Boolean validateDb) in C:\Projects\Romcenter\DataAccess\DbFactory.cs:line 143
   at RomCenter.Logic.Model.Configuration.LoadDefaultValues() in C:\Projects\Romcenter\Logic\Model\Configuration.cs:line 119
   at RomCenter.Logic.Model.Configuration..ctor() in C:\Projects\Romcenter\Logic\Model\Configuration.cs:line 48
   at RomCenter.Logic.Model.Configuration.Init() in C:\Projects\Romcenter\Logic\Model\Configuration.cs:line 25
   at RomCenterWpf.App.ApplicationStartup(Object sender, StartupEventArgs e) in C:\Projects\Romcenter\RomCenterWpf\App.xaml.cs:line 53
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at System.Windows.Application.&lt;.ctor&gt;b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)</log4j:message><log4j:throwable>System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---&gt; System.TypeInitializationException: The type initializer for 'FirebirdSql.Data.Client.Native.FbClientFactory' threw an exception. ---&gt; System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at FirebirdSql.Data.Client.Native.FbClientFactory..cctor()
   --- End of inner exception stack trace ---
   at FirebirdSql.Data.Client.Native.FbClientFactory.GetFbClient(String dllName)
   at FirebirdSql.Data.Client.Native.FesDatabase..ctor(String dllName, Charset charset)
   at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase(FbConnectionString options)
   at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
   at FirebirdSql.Data.FirebirdClient.FbConnection.Open()
   at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.&lt;Open&gt;b__36(DbConnection t, DbConnectionInterceptionContext c)
   at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
   at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
   at System.Data.Entity.Core.EntityClient.EntityConnection.&lt;Open&gt;b__2()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute(Action operation)
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   --- End of inner exception stack trace ---
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.&lt;&gt;c__DisplayClass3.&lt;GetResults&gt;b__1()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.&lt;System.Collections.Generic.IEnumerable&lt;T&gt;.GetEnumerator&gt;b__0()
   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.&lt;GetElementFunction&gt;b__1[TResult](IEnumerable`1 sequence)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
   at System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
   at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
   at RomCenter.DataAccess.Firebird.EF5.Ef..ctor(String fileName, IProgressTracking progressPack, IPauseAndCancellationToken pauseAndCancellationToken, Boolean validatedb) in C:\Projects\Romcenter\DataAccess\Firebird\EF5\EF.cs:line 127
   at RomCenter.DataAccess.DbFactory.GetDatabase(String dbName, IPauseAndCancellationToken pauseAndCancellationToken, Boolean validateDb) in C:\Projects\Romcenter\DataAccess\DbFactory.cs:line 143
   at RomCenter.Logic.Model.Configuration.LoadDefaultValues() in C:\Projects\Romcenter\Logic\Model\Configuration.cs:line 119
   at RomCenter.Logic.Model.Configuration..ctor() in C:\Projects\Romcenter\Logic\Model\Configuration.cs:line 48
   at RomCenter.Logic.Model.Configuration.Init() in C:\Projects\Romcenter\Logic\Model\Configuration.cs:line 25
   at RomCenterWpf.App.ApplicationStartup(Object sender, StartupEventArgs e) in C:\Projects\Romcenter\RomCenterWpf\App.xaml.cs:line 53
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at System.Windows.Application.&lt;.ctor&gt;b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)</log4j:throwable><log4j:NDC /><log4j:throwable><![CDATA[System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.TypeInitializationException: The type initializer for 'FirebirdSql.Data.Client.Native.FbClientFactory' threw an exception. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at FirebirdSql.Data.Client.Native.FbClientFactory..cctor()
   --- End of inner exception stack trace ---
   at FirebirdSql.Data.Client.Native.FbClientFactory.GetFbClient(String dllName)
   at FirebirdSql.Data.Client.Native.FesDatabase..ctor(String dllName, Charset charset)
   at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase(FbConnectionString options)
   at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
   at FirebirdSql.Data.FirebirdClient.FbConnection.Open()
   at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<Open>b__36(DbConnection t, DbConnectionInterceptionContext c)
   at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
   at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
   at System.Data.Entity.Core.EntityClient.EntityConnection.<Open>b__2()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute(Action operation)
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   --- End of inner exception stack trace ---
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass3.<GetResults>b__1()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__1[TResult](IEnumerable`1 sequence)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
   at System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
   at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
   at RomCenter.DataAccess.Firebird.EF5.Ef..ctor(String fileName, IProgressTracking progressPack, IPauseAndCancellationToken pauseAndCancellationToken, Boolean validatedb) in C:\Projects\Romcenter\DataAccess\Firebird\EF5\EF.cs:line 127
   at RomCenter.DataAccess.DbFactory.GetDatabase(String dbName, IPauseAndCancellationToken pauseAndCancellationToken, Boolean validateDb) in C:\Projects\Romcenter\DataAccess\DbFactory.cs:line 143
   at RomCenter.Logic.Model.Configuration.LoadDefaultValues() in C:\Projects\Romcenter\Logic\Model\Configuration.cs:line 119
   at RomCenter.Logic.Model.Configuration..ctor() in C:\Projects\Romcenter\Logic\Model\Configuration.cs:line 48
   at RomCenter.Logic.Model.Configuration.Init() in C:\Projects\Romcenter\Logic\Model\Configuration.cs:line 25
   at RomCenterWpf.App.ApplicationStartup(Object sender, StartupEventArgs e) in C:\Projects\Romcenter\RomCenterWpf\App.xaml.cs:line 53
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)]]></log4j:throwable><log4j:locationInfo class="RomCenter.Global.BaseLog" method="Void Fatal(System.String, System.Exception)" file="C:\Projects\Romcenter\Global\RcLog.cs" line="222" /><nlog:eventSequenceNumber>15</nlog:eventSequenceNumber><nlog:locationInfo assembly="RomCenter.Global, Version=4.0.0.40140, Culture=neutral, PublicKeyToken=null" /><nlog:properties /><log4j:properties><log4j:data name="log4japp" value="true" /><log4j:data name="log4jmachinename" value="Desktop-PC" /></log4j:properties></log4j:event>

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests