Archive: Read-Only


Read-Only
Hi,
I try to Attach a database to sql server (express 2005),
in pc with windows server 2003.

I used AccessControl::GrantOnFile "$INSTDIR\Data}" "(BU)" "FullAccess" to give full access to all users to the folder where i put the base, but when i check it, i see that users have just read right.

what I'm doing wrong???

Is there a way to put the attached file in the default data folder of sql server???


The problem might be the "}" character after $INSTDIR\Data on your line


Haha, nicely spotted, Wizou. :)


Originally posted by Wizou
The problem might be the "}" character after $INSTDIR\Data on your line
:rolleyes:
I did some change to the code and i forget to delete }, Merci


:up:

Do you know how to attach the base to default sql server data folder???

you might have more luck asking the same question on a Sql server related forum