I have a previously created project written in VB.Net. I have a website that is written in C# referencing the VB project. The VB project is a class that accesses the database. It compiles and runs fine on my local machine. When I put it on the server, I get the following error
Cannot load type 'DLLOM.clsDB, DLLOM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
This is the code it is failing on
DLLOM.clsDB objDB = (DLLOM.clsDB)Activator.GetObject(typeof(DLLOM.clsDB), ConfigurationManager.AppSettings["RemotingPathDB." + System.Environment.MachineName.ToUpper()]);
DataSet ds = objDB.MembershipsGet();
Any idea on why it is correctly referenced on my machine, but not on the server? The website is compiled on 3.5 framework, while the VB class is 2.0. I tried switching them to no avail.