Hi!
I want to Upload and Attach my SQL server 2005 database and my
Asp .net site to server please help me.
and my connectionstring setting is in web.config

tank you.

Recommended Answers

All 2 Replies

tnx for your help but I see this error:

Database 'C:\MywebSite\Datas\Myarchive.mdf' already exists. Choose a different database name. Cannot attach the file 'Myarchive' as database 'Myarchive'.

my Connection String is:
.\SQLEXPRESS;AttachDbFilename=myarchive;Database=myarchive;Trusted_Connection=Yes;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.