Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8864055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:08:30+00:00 2026-06-14T16:08:30+00:00

I have a SQL 2008 R2 Express database that Im running an ASP.NET MVC

  • 0

I have a SQL 2008 R2 Express database that Im running an ASP.NET MVC 2 application on.

It always seems to be first thing in the morning when this problem arises – application login will fail. So I run a query against the database like SELECT * FROM tblUser and it returns only 1 result (always some random user and none of the others), making me think the records have been truncated.

So I try to recreate the admin user for example, which fails, and suddenly all users are back in the database (as reflected by a SELECT * FROM tblUser query)

Restarting the database service resolves the issue, but I need to find out why its happening. Does anyone have an idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T16:08:31+00:00Added an answer on June 14, 2026 at 4:08 pm

    SOLVED

    I have a bad habit of simply copying my user instance databases and using them again in other projects that require a similar schema.

    Knowing that, a friend of mine suggested scripting my entire database (including data, using SQL Management Studio) and recreating it from that.

    Another friend suggested attaching the database to SQL Server 2008 full version, not Express, so I thought I’d combine the two ideas and script the database and data onto the SQL Server 2008 – which has worked 🙂

    N.B. It also reminded me of how blisteringly fast SQL Server full version is!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to connect to a SQL Server Express 2008 database in ASP.NET
I have a application that uses LocalDataCache to synchronise a SQL Server 2008 Express
First a little introduction. We have an SQL Server Express 2008 database, which schema
I have a web application that uses a local SQL Server Express database (a.k.a.
I have an ASP.NET MVC application that I'm working on. I've been developing it
I have a SQL Server 2008 Database running on Express. I want to copy
I have a Sql Server 2008 Express database file that's currently being used by
I have SQL Server 2008 Express Edition installed and is my first time running
Ok, I'm using SQL Server Express 2008 and .Net 3.5 (c#) I have a
I have a sample ASP.NET application that I will use in classroom setting. Each

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.