vb.net - Weird System.Runtime.InteropServices.COMException -


visual studio 2017 community, vb.net, windows7

this get:

system.runtime.interopservices.comexception: '[firedac][dats]-32. variable length column [version] overflow. value length - [71], column maximum length - [10]' 

details:

system.runtime.interopservices.comexception occurred   hresult=0x80020009   message=[firedac][dats]-32. variable length column [version] overflow. value length - [71], column maximum length - [10]   source=allskyplatesolver.platesolver   stacktrace: @ allskyplatesolver.iplatesolver.platesolve(string filename, int32 focallength, double pixelsize, double currentra, double currentdec, double nearradius) @ windowsapp1.ascom_test3.solve(string spar) in c:\programming\vb\patsastroutility\windowsapp1\ascom_test3.vb:line 233 @ windowsapp1.ascom_test3.btnsolve_click(object sender, eventargs e) in c:\programming\vb\patsastroutility\windowsapp1\ascom_test3.vb:line 208 @ system.windows.forms.control.onclick(eventargs e) @ system.windows.forms.button.onclick(eventargs e) @ system.windows.forms.button.onmouseup(mouseeventargs mevent) @ system.windows.forms.control.wmmouseup(message& m, mousebuttons button, int32 clicks) @ system.windows.forms.control.wndproc(message& m) @ system.windows.forms.buttonbase.wndproc(message& m) @ system.windows.forms.button.wndproc(message& m) @ system.windows.forms.control.controlnativewindow.onmessage(message& m) @ system.windows.forms.control.controlnativewindow.wndproc(message& m) @ system.windows.forms.nativewindow.debuggablecallback(intptr hwnd, int32 msg, intptr wparam, intptr lparam) @ system.windows.forms.unsafenativemethods.dispatchmessagew(msg& msg) @ system.windows.forms.application.componentmanager.system.windows.forms.unsafenativemethods.imsocomponentmanager.fpushmessageloop(intptr dwcomponentid, int32 reason, int32 pvloopdata) @ system.windows.forms.application.threadcontext.runmessageloopinner(int32 reason, applicationcontext context) @ system.windows.forms.application.threadcontext.runmessageloop(int32 reason, applicationcontext context) @ microsoft.visualbasic.applicationservices.windowsformsapplicationbase.onrun() @ microsoft.visualbasic.applicationservices.windowsformsapplicationbase.doapplicationmodel() @ microsoft.visualbasic.applicationservices.windowsformsapplicationbase.run(string[] commandline) @ windowsapp1.my.myapplication.main(string[] args) in :line 81 

the weird thing: did complete re-installation of allskyplatesolver. after that, able call 1 single time , did expected (plate solving of image). time after that, error. weirder: after got error in visual basic, cannot start original allskyplatesolver desktop anymore without getting same error. advice appreciated.

the relevant code:

private myasps allskyplatesolver.platesolver private focallength integer = 570 private pixelsize double = 5.4 private currentra double = tra private currentdec double = tde private nearradius double = 15  private sub solve()     imagefile = openfiledialog1.filename     myasps = new allskyplatesolver.platesolver()     myasps.platesolve(imagefile, focallength, pixelsize, currentra, currentdec, nearradius) end sub 


Comments