I accidently converted my 4.5 .NET framework applciation to 4.0 and then back again without manually editing any code. I now have an error when trying to load up a database using a Oledb connection.
Import and declarations:
	
	
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Connectionstring and open:
	
	
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
The messsage box does not display and none of my controls have information filled in from the database.
What could cause this? Was something changed automatically when converting that I didn't notice?
	
		
			
		
		
	
				
			Import and declarations:
			
				VB.NET:
			
		
		
		Imports System.Data.OleDb
Public Class frmAutoReport
    Dim conn As New OleDb.OleDbConnection
    Dim ds As New DataSet
    Dim daReports As New OleDbDataAdapter
    Dim Sql As StringConnectionstring and open:
			
				VB.NET:
			
		
		
		conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\reports.accdb"
        conn.Open()
        MsgBox("test")The messsage box does not display and none of my controls have information filled in from the database.
What could cause this? Was something changed automatically when converting that I didn't notice?
 
	 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		