iis - While user oledb open excel file ,throw an SEHException -
i write code open excel file , read info , insert sql db
it's normal few days ago.
today when use function via internet, throw error.
didn't modify code.
, debug @ server localhost, it's normal,
iis server's error? or must correct code?
please me thanks!!
following error message , code
system.data.oledb.oledbconnection connection = new system.data.oledb.oledbconnection("provider=microsoft.ace.oledb.12.0;" + "data source=" + filename + ";extended properties='excel 12.0; hdr=yes; imex=1'"); connection.open();
the error 0x80004005 "unspecified error" screenshot of error
Comments
Post a Comment