B
Brett
I had a developer send me a VB.NET class library that was developed in
Visual Studio .NET v1.0. I loaded the VB project and Visual Studio
..Net v1.1 and I converted the project to v1.1. I recombiled the class
library to create a dll. I then created a C# web application that
references the dll. I am able to read the object in design time and
do all of my work. When I run the application the web page works fine
b/c I am not doing any thing within the Page_OnLoad(). When I press a
command button, I get the following error:
Could not load type EDPM.BO.clsPIO from assembly EDPM,
Version=1.0.1363.24143, Culture=neutral, PublicKeyToken=null.
Description: An unhandled exception occurred during the execution of
the current web request.
Exception Details: System.TypeLoadException: Could not load type
EDPM.BO.clsPIO from assembly EDPM, Version=1.0.1363.24143,
Culture=neutral, PublicKeyToken=null.
I also created a WinForms application in v1.1 and referenced the
object. Again, in design time, I can communicate with the object, but
at runtime, I get an error.
Can any one give me some ideas of where to look for the problem.
Visual Studio .NET v1.0. I loaded the VB project and Visual Studio
..Net v1.1 and I converted the project to v1.1. I recombiled the class
library to create a dll. I then created a C# web application that
references the dll. I am able to read the object in design time and
do all of my work. When I run the application the web page works fine
b/c I am not doing any thing within the Page_OnLoad(). When I press a
command button, I get the following error:
Could not load type EDPM.BO.clsPIO from assembly EDPM,
Version=1.0.1363.24143, Culture=neutral, PublicKeyToken=null.
Description: An unhandled exception occurred during the execution of
the current web request.
Exception Details: System.TypeLoadException: Could not load type
EDPM.BO.clsPIO from assembly EDPM, Version=1.0.1363.24143,
Culture=neutral, PublicKeyToken=null.
I also created a WinForms application in v1.1 and referenced the
object. Again, in design time, I can communicate with the object, but
at runtime, I get an error.
Can any one give me some ideas of where to look for the problem.