Jump to content
Sign in to follow this  
pinsel

Database rebuild impossible after latest update

Recommended Posts

Hi Maarten,

 

after updating to version 3.0.5750.42265 everything has been fine. Then i made changes to my sceneries and performed a "Rebuild All". It ended with an error-msg. After restarting SLX it tells me it could not find any airport and close.

 

So i reinstalled an older SLX version and made a rebuild. Everything O.K. again. Then i did the update to the latest SLX. Everything was alright. I monitored the documents\SimlauncherX folder and did a rebuild again. The file SimLauncherX.Prepar3D.sdf has been deleted and not created new. The rebuild again stopped with an error.

 

In the logfile i saw the following lines:

 

20150930154151 Unable to create or access Prepar3D database. "System.ObjectDisposedException: The context has already been disposed and it's managed persistent objects can no longer be accessed. The context should be disposed at the end of the life cycle of your business logic instance. This can also be done in the Dispose of your ASP page or MVC controller.
Object name: 'Telerik.OpenAccess.OpenaccessContextBase'.
   at OpenAccessRuntime.ObjectScope.CheckNotDisposed()
   at OpenAccessRuntime.ObjectScope.Add(Object pc)
   at Telerik.OpenAccess.OpenAccessContextBase.Add(Object entity)
   at MaartenBoelens.SimLauncherX.Model.Services.DatabaseService.CreateDatabaseAsync(DatabaseRebuild recreate)
   at MaartenBoelens.SimLauncherX.Model.Services.DatabaseService.<>c__DisplayClass39_0.<<LoadDatabaseAsync>b__0>d.MoveNext()"
20150930154151 Prepar3D database loaded or created in 260 seconds
20150930154151 "Error creating database: The context has already been disposed and it's managed persistent objects can no longer be accessed. The context should be disposed at the end of the life cycle of your business logic instance. This can also be done in the Dispose of your ASP page or MVC controller.
Object name: 'Telerik.OpenAccess.OpenaccessContextBase'."
20150930154155 Saving settings
 
Cheers, Walter

Share this post


Link to post
Share on other sites

Hi Walter,

 

I can confirm that it's a bug. I'm testing the fix now and will release an update shortly.

 

thanks, Maarten


Maarten Boelens ([m][a:][R][t][ʏ][n])
Developer of SimLauncherX

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...