473,795 Members | 3,157 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I copy App_Data info to production server?

I have been following a few walkthroughs that came with VS 2005, and they
work fine (I had to change the machine.config files to work with my SQL 2005
Pro version, instead of the SQL 2005 Express). Pages dealing with logins,
New users, etc... locally work fine, I am able to add users, log in or off,
etc...

Now, I would like to see how to do that when I copy the pages to the remote
production server of my ISP. Right now, it is running SQL 2000, in a week
it will be running 2005.

Just trying to copy everything does not work. How can I get to use the
pages that (seem to) depend on the App_Data file in the solution explorer to
work on the remote computer? The rest of the site written using VS2005 that
uses the remote sql 2000 server work fine.

TIA, and Happy New Year!
Dec 30 '05 #1
1 1762
If you are using membership, you are forced to either set up an Access or SQL
database (or write a custom provider). SQL Server 2005 can be set up to work
off of an MDB file without much work; SQL Server 2000 forces you to attach
the MDB as a database (no automagic stuff). Bearing this in mind, you cannot
simply copy app_data for SQL 2000.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** ************
Think Outside the Box!
*************** ************
"Paolo" wrote:
I have been following a few walkthroughs that came with VS 2005, and they
work fine (I had to change the machine.config files to work with my SQL 2005
Pro version, instead of the SQL 2005 Express). Pages dealing with logins,
New users, etc... locally work fine, I am able to add users, log in or off,
etc...

Now, I would like to see how to do that when I copy the pages to the remote
production server of my ISP. Right now, it is running SQL 2000, in a week
it will be running 2005.

Just trying to copy everything does not work. How can I get to use the
pages that (seem to) depend on the App_Data file in the solution explorer to
work on the remote computer? The rest of the site written using VS2005 that
uses the remote sql 2000 server work fine.

TIA, and Happy New Year!

Dec 30 '05 #2

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

Similar topics

1
3476
by: Khue Pham | last post by:
Does anyone knows how to copy database from one server to another. By copying I mean literally everything, not just the database. I know we can dump the database from one server then reload it to another one. However, I have a specific need for this and here is my problem: I have my development server as of RedHat 9.0 and I install the combination of LAMPS (Linux+Apache+MySQL+PHP+SSL). I configure it works perfectly on my development...
4
2423
by: Hugo Flores | last post by:
I created a Web Application Project in VS 2005. The site is working fine in the development computer. Then I transfer all my files and dll to the production computer. I have a login form. If I try to log in, the production computer automatically generates an App_Data folder (the development computer doesn't have this folder at all) and it also generates an error saying that I don't have SQL Server 2005, which of course I don't, I'm not...
5
14361
by: CharlesA | last post by:
hi folks I'm working on reverse engineering TheBeerHouse by Marco Bellinaso which appears to have 100% unanimous approval on Amazon. I got the book and downloaded the code and I opened the solution. in his readme.txt he recommends that you move the database files he gives you in the App_data folder (called oddly aspnet.mdf and aspnet_log.mdf) and then attach them using sp_attach and rename them I renamed these TheBeerHouse (mdf and ldf)...
0
1635
by: PinkBishop | last post by:
Question regarding the ASP.NET 2.O Membership / Role component The following works fine on local machine and networked dev box. ASP.NET Membership protecting files and folders. I am trying to run the Membership component. I have loaded to production where host is running Win2k Server, IIS 5, ASP.NET 2.0, SQL Express
2
1889
by: itfetish | last post by:
I've just upgraded our WIndows 2003 (with SBS server) web server to .Net framework 2.0 (it had 1.1 before) As I have been working on a web parts page on my laptop, hosting it there, working perfectly. I want to transfer it now, so I upgraded it. Created a new application pool for .net2.0 stuff, then used Visual Studio 2005 from my laptop to connect to Http://Bw-online/ProjectPoint and make a new website. Bw-online is our intranet at...
3
1939
by: Ilyas | last post by:
Hi I f I place an .mdf file inside the App_data to deploy a web app - can I deply my site so that the database at runtime is picked up in the App_data directory? Would my server need to have sql server installed for this to work or just the .net framework? Is the above possible - if not what is the purpose of App_data?
0
1378
by: aboutjav.com | last post by:
Hi, How do I attach the .mdf and .ldf with the SQL Server Management Studio Express? Do I attached all 4 files? MyWebSiteName_log.LDF MyWebSiteName.mdf ASPNETDB.MDF aspnetdb_log.ldf
7
2627
by: Arthur | last post by:
hi, this might be a simple one to them who know: i'm developing an asp.net project and use the debug mode. i have a xml file which contains data, that shall be read, if a specific page is run. when i build the project the file is correctly copied to the build location (i selected "build action: none" and "copy if newer"). but when the project is run, the xml file is missing at the directory from which the site is executed. it does not...
0
961
by: =?Utf-8?B?YW5raXQuc3Jp?= | last post by:
Hi, I have a issue deploying a MCMS based webapplication which is developed in Asp.net 2.0 on the Production box, the issue is :There is a customized configuration XML which is residing under the app_data of the application and I have written a code for Write certain root names of that custom XML on the Application start up on Global.asax.cs file to override certain Root Names when the application starts up it works fine on the...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10437
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10214
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10164
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9042
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.