TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ravinder mulukuntla
NA
92
2.7k
connection string to connect detached database.
Oct 30 2014 12:00 PM
How to write connection string to connect detached database in Domain path C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA.Test.mdf file for windows application(Database not attached)?
Am using Connection string as this but it raise an error like
"Cannot open database "Test" requested by the login. The login failed.
Login failed for user 'sa'."
string connectionString = @"Data Source=192.168.123.123,1433;Initial Catalog=Test;Network Library=DBMSSOCN; User ID=sa;Password=Test@2014";
after restoring my bakup file, i detatch that Database then i want to access that database.
That .mdf and .ldf files are in Domain. i want to acces from my client PC.
Reply
Answers (
2
)
Declaring variable inside If
How to restricts Sunday using jQuery Datepicker