| Author |
Message |
jeffreydp
Joined: 11 Mar 2008 Posts: 5
|
Posted: Thu Mar 20, 2008 12:16 pm Post subject: Bug in Database.SaveToDisk |
|
|
There's a small bug in the SaveToDisk function.
If the password on the ConnectionProperties of the Database object is set to null, the SaveToDisk method fails with the following exception:
String reference not set to an instance of a String.
Parameter name: s |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6345 Location: Red Gate Software
|
Posted: Fri Mar 21, 2008 8:00 pm Post subject: |
|
|
Hi Jeffrey,
Thanks for pointing this out. As a workaround, have you tried setting the password to String.Empty? That normally stops null-reference exceptions on strings that you don't want to specify a value for, in my experience. _________________ 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 |
|
 |
jeffreydp
Joined: 11 Mar 2008 Posts: 5
|
Posted: Tue Mar 25, 2008 9:52 am Post subject: |
|
|
Hi Brian,
Thanks for mentioning the workaround, I should have done so in my initial post. |
|
| 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