| Author |
Message |
kzakoski
Joined: 17 May 2006 Posts: 6
|
Posted: Fri Nov 10, 2006 9:19 pm Post subject: Script modification |
|
|
Can the script that is generated by SQL Packager be modified prior to making the .net executable?
We currently use AppRole security and I would like to replace the default 'p@ssw0rd' with the correct password so when the DB is created, we don't need to drop and recreate the AppRole account and permissions.
Thanks,
Kevin Z. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6346 Location: Red Gate Software
|
Posted: Sat Nov 11, 2006 5:27 pm Post subject: |
|
|
Hi Kevin,
Thanks for asking. Packager doesn't have an option to set the default new login passwords; they are always set to P@ssw0rd.
One possibility may be to save the package as a Visual Studio Project, then try editing the script resource directly inside the project, replacing P@ssw0rd with the password. Another option would be to excluse the users from the package, then create them outside of Packager with a SQL script and run the script using the package's /presql command when you deploy the package. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
kzakoski
Joined: 17 May 2006 Posts: 6
|
Posted: Sat Nov 11, 2006 9:33 pm Post subject: |
|
|
Thanks, I also tried to exclude the approle, but Packager continues to add it to the script. Either way, it looks like we will need to perform some type of clean-up because there is no way to change the PW for AppRoles within SQL.
Is there any future app enhancement that may allow the modification of user passwords in the scripts? This isn't only a SQL Packager request, the same is needed for SQL Compare, although in Compare I can copy the script and manually run it in a query window.
Kevin Z. |
|
| Back to top |
|
 |
cynicszm
Joined: 04 Jul 2007 Posts: 5
|
Posted: Wed Jul 04, 2007 4:30 pm Post subject: |
|
|
We have the same issue using Packager 5.4. and found this topic - with 5000+ views it seems pretty popular but doesn't have a reply from Red Gate.
Is there an enhancement planned to fix this? |
|
| Back to top |
|
 |
cynicszm
Joined: 04 Jul 2007 Posts: 5
|
Posted: Fri Jul 27, 2007 8:08 am Post subject: |
|
|
| Hello? - does anyone from Red Gate monitor these forums?? |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group