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

Related Questions

I created a script in ASP.NET which list the files from specified folder. protected
I configured ASP.NET membership and created some users as well as a protected folder.
I am completely new to ASP.Net MVC. I just created an MVC3 project in
I'm trying to build a global menu into my ASP.NET MVC site.master, and I
I have created an ASP.NET MVC application and am trying to use Castle Windsor
I'm working on an asp.net file browser that recursively goes through folder and lists
I am trying to implement Url routing in asp.net 4.0. I just a created
I have created password protected zip file which has xls file with the help
In C++ I've created a class with a protected (data type) member and with
Created .NET WCF service, tested it - works. Generated schemas from Data and service

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.