Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking 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 Basics 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 February 12th, 2007, 09:23 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default sql 2000 under app_data directory

Hello!

I'm runing visualstudio 2005 and i want to know if i can attach a sql 2000 database under my app_data directory from vs20005.

It's possible ? Or I must have and express sql database to do this?

Thanks,
Max

 
Old February 12th, 2007, 11:07 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i think i found it...

The app_data is just a place to store mdf files and *.sql script files.

Since I'm connecting to a remote database i don't nedd that!

 
Old February 13th, 2007, 12:32 AM
Authorized User
 
Join Date: Apr 2006
Posts: 79
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via AIM to anujrathi Send a message via MSN to anujrathi Send a message via Yahoo to anujrathi
Default

Hi,
U can'nt use sql server 2000 data files in App_Data folder. In App_Data folder, u can place only sql express files(.mdf). Ext. is same as access files. But these are different..

 
Old February 14th, 2007, 06:33 PM
Authorized User
 
Join Date: Jan 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If your SQL server is remote then you do not need sql express in app_data.
It is better to remove from project as it will require extra space (@8-10 MB) when you deploy or publish your site.

 
Old February 14th, 2007, 08:21 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thank you!

I already had written I had understand that app_data was not for sql2000






Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL 2005 Express DBs in MSE or App_Data/db Explore cJeffreywang SQL Server ASP 0 February 13th, 2008 10:32 PM
Visual Studio 2005 App_Data DB to SQL Chuck_aa ASP.NET 2.0 Basics 5 August 30th, 2006 07:10 PM
looking for access 2000 to sql server 2000 sql/que method SQL Server 2000 0 July 7th, 2005 12:46 PM
SQL SERVER 2000 AND ACCESS 2000 ckentebe SQL Server 2000 3 June 17th, 2004 08:50 PM
Windows 2000 and SQL 2000 in Korean Language mipo SQL Server 2000 0 February 19th, 2004 12:50 PM





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