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 115721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:03:52+00:00 2026-05-11T03:03:52+00:00

I created a protected folder on my ASP.NET site with the ASP.NET Configuration tool.

  • 0
  • I created a protected folder on my ASP.NET site with the ‘ASP.NET Configuration’ tool.
  • It made a database called App_Data/ASPNETDB.MDF where it stores one (1) user.
  • While uploading I noticed now that the database has grown to 10 MB and the .ldf file is 5 MB. (!)
  • I tried to look at it with SQL Server 2008 Management Studio but when attaching it said ‘Failed to retrieve data for this request.’

Has this ASPNETDB.MDF bloat every happened to anyone else?

  • 1 1 Answer
  • 2 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. 2026-05-11T03:03:53+00:00Added an answer on May 11, 2026 at 3:03 am

    The size of the database is really irrelevant. There may only be 1-2KB worth of data in the file, but when SQL Server creates the database files, it doesn’t know how much data you intent to put in them, so it adds some extra space. This way, when you do add more data (as most users do), it will all be contiguous, and the SQL Server won’t have to delay application execution while it continually expands the file. When you create the database, you can specify a smaller size – perhaps you should drop and recreate it as a 1MB DB instead.

    If you’d like to check for sure, this article has a script for getting the size of every object in a database, and you can see if there’s a particular offending object, but my guess is that they’ll all be small and the rest will be empty space.

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

Sidebar

Ask A Question

Stats

  • Questions 123k
  • Answers 123k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I know that DevExpress XtraGrid supports, in theory, Int32.MaxValue rows… May 12, 2026 at 1:00 am
  • Editorial Team
    Editorial Team added an answer I don't usually just link answers to questions here, but… May 12, 2026 at 1:00 am
  • Editorial Team
    Editorial Team added an answer I often use Notepad++'s macro function for things like this.… May 12, 2026 at 1:00 am

Related Questions

The background is I have a custom control that is a asp:Menu that is
I'm working on a Spring MVC project, and I have unit tests for all
I am relatively new to game development so I decided I wanted to create
I'm getting ready to implement a source control system (subversion) but I'm facing some

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.