Sql database creating but some error will come
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sandeep Singh ShekhawatRank #147 · 15.6K reputationPosted Oct 24, 2012, 11:17 PM EDT
1. Go to Server Explorer in VS
2. Right-click Data Connections and select Add Connection
3. Change Data Source to be Microsoft SQL Server Database File (so we can use SQLX)
4. Enter the full path to the database file you want to create
5. Leave Windows authentication checked.
6. Click the Advanced button and make sure Integrated Security and User Instance are both true
7. Finish out the dialog to create the DB file
8. Right-click the new connection in Server Explorer and delete it
9. Go to Solution Explorer
10. Right-click Add\Existing Item and select the database file
11. You should get to the DS Configuration Wizard at this point
OR
Check this thread
http://social.msdn.microsoft.com/Forums/en/csharpide/thread/f3dffc61-2acb-4111-a8b9-743230af8a37
Neha SharmaRank #569 · 4.3K reputationPosted Oct 25, 2012, 1:44 AM EDT