Regarding your first issue:
1. There must be some C1 dll's version conflict. You are suggested to remove all the C1 dlls references from your project. Now follow the below steps:
a. Add a new WebForm
b. Drag and Drop a C1ReportViewer control into the designer window
c. This will create a licenses.licx file with correct entries (if it is not exists) or make the correct license entry into it.
d. Now, you can remove this newly added WebForm and run your project.
Regarding your second issue:
2. Thank you for providing the sample code snippet. From the provided code snippet, I could observed that you have called CreateC1PrintDocument() and CreateC1Report() methods on C1ReportViewer's object, which is not recommended.
Since, both of these methods are the static member of C1ReportViewer class therefore, you are suggested to call these methods directly by accessing the C1ReportViewer class.
Here is the suggested code:
Protected Function MakeDoc() As C1PrintDocument
Dim doc As C1PrintDocument = C1ReportViewer.CreateC1PrintDocument()
Dim report As C1Report = C1ReportViewer.CreateC1Report()
report.DataSource.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + dbpath + ";Persist Security Info=False"
report.DataSource.RecordSource = query
I have also attached a sample demonstration for you. Please have a look.