Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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 July 12th, 2010, 10:30 AM
Registered User
 
Join Date: Dec 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default Booking System - Connection string

Hi,

I keep getting the following error...

Unable to open the physical file "C:\Inetpub\wwwroot\AppointmentBooking\App_Data\as pnetdb.mdf". Operating system error 32: "32(failed to retrieve text for this error. Reason: 1815)".
An attempt to attach an auto-named database for file C:\Inetpub\wwwroot\AppointmentBooking\App_Data\asp netdb.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

I have imported the .MDF file into SQL, my installation doesn't use an instance name, but Im accessing through the sa user.

Code:
<connectionStrings>
		<add name="AppointmentBooking" connectionString="server=PCNAME;Initial Catalogue=ASPNETDB;User Id=sa;Password=password;User Instance=true"/>
	</connectionStrings>
Doesn't need a SQL instance name does it?

thanks,

Dave.
 
Old July 13th, 2010, 04:33 AM
Registered User
 
Join Date: Dec 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi think i've got past this now, just need to set permissions on my ASPNET login. thanks.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Booking System database foz604020 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 July 9th, 2010 11:04 AM
Need Help on Booking System-TimeSheet c# ysfkay ASP.NET 3.5 Professionals 1 December 4th, 2009 08:25 AM
Appointment booking system ericma BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 December 23rd, 2008 06:35 AM
booking system newbie07 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 July 19th, 2007 04:17 PM
Appointment Booking System newbie07 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 July 18th, 2007 08:32 AM





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