newbie deployment question

  • Thread starter Thread starter Roger R. Smith
  • Start date Start date
R

Roger R. Smith

Hello I am trying to deploy something similiar to the MS .NET PetShop
Application. I do the deployment however when within DALFactory.Quote I have
the following:

string path = "T1Solutions.SQLServerDAL";

string className = "T1Solutions.SQLServerDAL.Quote";

return
(T1Solutions.IDAL.IQuote)Assembly.Load(path).CreateInstance(className);



on the return I am getting a Class cast exception. Any ideas?

Rog
 
I think the path should be a path and file name, not just the assembly
name. You might also want to use Assembly.LoadFrom instead.
 
Back
Top