What are the challenges you face when working across database platforms? Take the survey

Error when using .LoadFromDisk() Method

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?


  • Options
    James BJames B Posts: 1,124 Silver 4
    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.
    Systems Software Engineer

    Redgate Software

Sign In or Register to comment.