muck Posted April 7, 2015 Share Posted April 7, 2015 I am using C sharp. Import excel file into MS DataGrid with AutoCAD debug I get the following Error Messages. MS Jet OLEDB.4 provider in not register on local machine Application does not support JIT debugging. I have a program using the following statements private string Excel03ConString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties='Excel 8.0;HDR={1}'"; private string Excel07ConString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties='Excel 8.0;HDR={1}'"; The program is used to import an excel file to a data grid. The program works as an independent program but when I copy and paste my code into a program that uses AutoCAD debug I get the following messages. MS Jet OLEDB.4 provider in not register on local machine Application does not support JIT debugging. Why is this happing when I use AutoCAD debug? Thank you, Quote Link to comment Share on other sites More sharing options...
CADbloke Posted April 7, 2015 Share Posted April 7, 2015 if AutoCAD is running as 64-bit then you need a 64 bit Jet Engine. Oh, the bad news - I don't think there is one. You could try http://epplus.codeplex.com/ for working with Excel. Quote Link to comment Share on other sites More sharing options...
muck Posted April 8, 2015 Author Share Posted April 8, 2015 Is there another way to import an excel file to a C# data grid not using Microsoft.Jet.OLEDB.4.0 Or Microsoft.ACE.OLEDB.12.0? Thank you, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.