Using mdf file in website

5 pts.
Tags:
.MDF files
ASP.NET
Microsoft Visual Studio
SQL Server
SQL Server 2005
When you've developed e website with vis stud, including an aspnetdb.mdf file and a database file for the webcontent, how can you use these mdf files on the isp server where sqlserver 2005 is running? A normal connectionstring in the web,sonfig file gives an error about the attachdbfilename being a wrong parameter.

Answer Wiki

Thanks. We'll let you know when a new response is added.

You’ll need to have the hosting company attach the database to the SQL Server instance then have them give you the connection string with the server name, username, password and database name.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • The Most-Watched IT Questions: September 7, 2010 - ITKE Community Blog
    [...] Makoe was wondering about using MDF files in his website, and Mr. Denny gave his two [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: