Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Database error on startup

Featured Replies

Hi,

I'm am getting a database error on startup as shown. spacer.png

 

While the program loads, it takes about 5 minutes before I can use P2A. I had another version of P2A installed but have tried to upgrade to the latest version. Help is appreciated.

-- Frank
AKA, Virtual Aviator | Virtual Aviation Aviator
Founder,
FlightSimSupport.com

It's the Journey; the destination ain't moving

  • Commercial Member

That’s a Microsoft SQL Database Engine error.  Shut down P2A and  try the following:
⦁    Open a Windows command prompt as administrator.
⦁    Type the following command:  SQLLocalDB stop "MSSQLLocalDB"
⦁    Type the following command:  SQLLocalDB delete "MSSQLLocalDB"
⦁    Type the following command:  SQLLocalDB create "MSSQLLocalDB"
⦁    Type the following command:  SQLLocalDB start "MSSQLLocalDB"
⦁    Try starting P2A again

If you recently updated to Windows 11 from Windows 10, there are some Microsoft issues with running SQLLocalDB on Windows 11.  Other users seem to have found a solution to this problem: (Scroll down to the post by “tylenolwithwings”)

https://www.avsim.com/forums/topic/625660-sql-server-2014-and-windows-11/

Follow his steps and then repeat the above commands.

Dave

  • Author

Diregard... Let me try again using an administrator prompt. Apologies.

Thanks for taking a look at this issue. I wasn't able to create the MSSQLLocalDB. I suppose I will have to take this up with Microsoft or can you provide more direction?

Thanks

spacer.png

Frank

Edited by virtualgaa
I didn't follow instructions.

-- Frank
AKA, Virtual Aviator | Virtual Aviation Aviator
Founder,
FlightSimSupport.com

It's the Journey; the destination ain't moving

  • Author

Interesting.... I got the same error running under administrator. This was a Windows 11 fresh install. I don't have Win 10 to roll back to. I'll try poking around Microsoft's site to see if someone there can help with the database isssue.

 

-- Frank
AKA, Virtual Aviator | Virtual Aviation Aviator
Founder,
FlightSimSupport.com

It's the Journey; the destination ain't moving

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.