473,385 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Error: 'ASPNETDB.MDF' cannot be upgraded

I have made an ASP.NET 2.0 WebSite using the 'Personal WEB site' starter
kit. It runs fine on my XP machine where I have the VStudio.NET 2005 Beta
installed.

But if I try to run it from our Win 2003 Server I get the following error:

"Database 'D:\WEBSITES\BENDIK\APP_DATA\ASPNETDB.MDF' cannot be upgraded
because it is read-only or has read-only files. Make the database or files
writeable, and rerun recovery.
An attempt to attach an auto-named database for file
d:\customers\bendik\App_Data\aspnetdb.mdf failed. A database with the same
name exists, or specified file cannot be opened, or it is located on UNC
share."

I get this error only when running the site in IE on the server. If I try to
browse it from an other machine, I get a general errror saying that the
detailed error message is only showed when running on the server.

I have installed the .NET 2.0 framework and the SQLServer Express 2005 on
the server. I have specified ASP.NET 2.0 for the site on the server, and I
have given 'Read' and 'Write' access on the virtual directory.

Any hints for an ASP beginner ?
Bendik
Nov 19 '05 #1
0 1604

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Arne | last post by:
How do I create aspnet.mdf on a production machine? How do I administer users on a production machine?
2
by: keithb | last post by:
This is on a remote server. Everything works in the development envirmonment. Any ideas? Thanks, Keith Failed to update database "C:\BTM_ROOT\APP_DATA\ASPNETDB.MDF" because the database is...
0
by: Keith | last post by:
Using the vs built-in web server, when I run my application in debug mode one time and try to run in debug mode a second time, I get the following error message: "The process cannot access the...
2
by: R.A.M. | last post by:
Hello, I am learning .NET 2.0. I have a question concerning ASPNETDB SQL database which contains information about users. I have created ASP.NET application but I don't see...
1
by: 3Dfelix | last post by:
Problems when uploading ASPNETDB.MDF to production server Hi all, I'm a little web with a login page and aspnetdb.mdf file as data base for users. I've done it on local server, with VS2005 and...
1
by: CFTK | last post by:
This is the error I get when I try to login in my application from another machine: An attempt to attach an auto-named database for file C:\Documents and Settings\....\App_Data\aspnetdb.mdf...
1
by: John Kotuby | last post by:
Hello all.. TIA for any help. I was told that if I'm not using the built in Membership/Forms Authentication feature in ASP.NET 2.0 that I can delete ASPNETDB.MDF. I guess it appeared when I...
3
by: GaryDean | last post by:
I noticed that my asp.net project contains a 10 meg ASPNETDB.MDF database in the App_data folder. I never intentionally put it there, have never ran regsql.exe. Reading back on my logs it got...
13
by: AAaron123 | last post by:
I downloaded the personal website starter kit and when I run it I get the error shown below. I found a way of using Launch Surface Area Configuration that is supposed to fix the remote setting...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.