Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 19th, 2006, 07:12 PM
Authorized User
Join Date: Aug 2006
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to KamalRaturi Send a message via Yahoo to KamalRaturi
Default Cannot open user default database

hi ,

case 1:
I get error page when i run my web application on client side.
I have done registration task also (regiis.exe),But
the error still occurs showing message:

"Cannot open user default database. Login failed.
Login failed for user 'ServerName\ASPNET'."

however I am Using my own database 'abc.mdf'
I dont know how to set Default Databse to 'abc.mdf'

Case 2:
One more Prob is that, once I got my application run
but it was showing Exception handling message somthing like
"Database is Readonly".
How to set Databse Attributes so that it can be Editable.

Please if u kno how to do these problems solved, Reply me soon.

Old October 20th, 2006, 07:41 AM
Registered User
Join Date: Oct 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

I am having the same problem. I believe it started when I detached my SQL Express database ... and then reattached it. I believe the mistake was detaching it in the first place because you can copy it without going thru that step.
I'm at a total loss on how to fix this ... appreciate some guidance
Old October 25th, 2006, 10:43 AM
Registered User
Join Date: Oct 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

I had to go back to an older version of my database and then update it with changes to make it current. I also recieved the "read only error" and found the fix at: http://forums.microsoft.com/MSDN/Sho...1&PostID=68698
I hope this helps!

Similar Threads
Thread Thread Starter Forum Replies Last Post
open/ save default.aspx mosad2 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 January 18th, 2005 08:23 AM
ODBC Default Database peace Access VBA 0 September 25th, 2004 04:45 PM
ODBC Default Database peace Access 0 September 25th, 2004 04:32 PM
nearsighted user cannot default pages to 640x480 HowardNYC Forum and Wrox.com Feedback 9 September 24th, 2004 01:36 PM
Attempted to open a database that is already open person747 Access 10 September 3rd, 2004 04:31 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.