Error when using .LoadFromDisk() Method

Automate and integrate using the SQL comparison API

Moderator: Chris Auckland

Error when using .LoadFromDisk() Method

Postby NathanBell » Mon May 09, 2011 5:06 pm

I came a across a particular database that causes this method to error out. I am not sure if it is addressed with a patch or not. The error that I am getting when passing in a string to this method is:

input string was not in a correct format.

Can anyone shed some light on why this is happening?
NathanBell
 
Posts: 3
Joined: Mon Aug 30, 2010 7:47 pm
Location: Fort Worth, TX

Postby james.billings » Tue May 10, 2011 6:38 pm

Thanks for your post.

I'm not initially sure if this is a bug that's been patched or not - the first thing to check would be to ensure you're definitely passing a valid path however. Can you let me know what's being passed to the method? (Not sure if it's hard coded or dynamically created, if the latter, you might need to put a breakpoint in and see what it is set to).

If you'd rather contact us directly, please mail support@red-gate.com quoting F0047687 in the subject line.
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.


Return to SQL Comparison SDK Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest