Hi,
I am using IA7 to create an installer that needs to attach sql database to sql express. The installer works well in Windows 2003 and XP Prof but the database fails to attach in Windows Vista.
Below is the sql script that i use:
USE [master]
GO
CREATE DATABASE [TEST] ON
( FILENAME = N'$TARGETDIR$\\DataFiles\\EEMS2007.mdf' ),
( FILENAME = N'$TARGETDIR$\\DataFiles\\EEMS2007_Log.ldf' )
FOR ATTACH
GO
Is there any advise from the IA team?
Attach database in Windows Vista
The data files are created on the $TARGETDIR$\\DataFiles\\ and not the default locations (which i am not sure how can it be done). I have assigned Everyone to Read and Write permission to this folder $TARGETDIR$\\DataFiles.
I can manually attached the files using SQL studio management express. Is there anything else that i miss out?
I can manually attached the files using SQL studio management express. Is there anything else that i miss out?
Who is online
Users browsing this forum: No registered users and 76 guests