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
Shahid Khan
NA
1
0
SQLDMO AttachDB
Feb 27 2007 6:43 AM
Hi... I'm trying to attach a database programmatically, but I keep getting the error: "Device activation error. The physical filename
may be incorrect". I've read other posts regarding this error and they all have to do with using multistrings. The path to the filename that I'm using does not contain any spaces and I've even enclosed it in square brackets "[]" as suggested, but I still get this error. It works perfectly if I attach the db in EM. The mdf file is not ReadOnly. AttachDBWithSingleFile doesn't give me any errors but fails to attach the db. I'm using SQLServer 2000 and VS.net 2003 Any help will be really appreciated.
Reply
Answers (
0
)
error for sending(saving) data to database
inserting images in varbinary datatype