Hi,
I am migrating my .net app to new machine.
Old conf.: .net 4.0 iis 7.0 and castle ?? dont know which version,but its
older using since 2010.
New Versions:Only changing iis 7.0 to 7.5.
But when I deployed app on new machine its not working.I am getting
following error.
Error Message :The type name Platform.Data.VisualDao, Platform.Data could
not be located
Stack Trace : at
Castle.Windsor.Installer.DefaultComponentInstaller.ObtainType(String
typeName)
at
Castle.Windsor.Installer.DefaultComponentInstaller.SetUpComponents(IConfiguration[]
configurations, IWindsorContainer container)
at
Castle.Windsor.Installer.DefaultComponentInstaller.SetUp(IWindsorContainer
container, IConfigurationStore store)
at Castle.Windsor.WindsorContainer.RunInstaller()
at Castle.Windsor.WindsorContainer..ctor(IConfigurationInterpreter
interpreter)
at Platform.Data.DaoFactory..cctor() in
D:\PubmaticCode\Pubmatic\branches\PubMatic_PB_AdFlex-branch_AfterAdj\Platform\Platform.Data\DaoFactory.cs:line
21 Base Exception : System.Configuration.ConfigurationErrorsException: The
type name Platform.Data.VisualDao, Platform.Data could not be located
at Castle.Windsor.Installer.DefaultComponentInstaller.ObtainType(String
typeName)
at
Castle.Windsor.Installer.DefaultComponentInstaller.SetUpComponents(IConfiguration[]
configurations, IWindsorContainer container)
at
Castle.Windsor.Installer.DefaultComponentInstaller.SetUp(IWindsorContainer
container, IConfigurationStore store)
at Castle.Windsor.WindsorContainer.RunInstaller()
at Castle.Windsor.WindsorContainer..ctor(IConfigurationInterpreter
interpreter)
at Platform.Data.DaoFactory..cctor() in
D:\PubmaticCode\Pubmatic\branches\PubMatic_PB_AdFlex-branch_AfterAdj\Platform\Platform.Data\DaoFactory.cs:line
21
Code in file DaoFactory.cs:
private readonly static Dictionary<Type, object> _daoRegistry;
static DaoFactory()
{
try
{
// TODO Implement this Dynamically
string daoConfigFile =
ConfigurationManager.AppSettings["daoComponents"];
IWindsorContainer container = new WindsorContainer(new
XmlInterpreter(daoConfigFile));
_daoRegistry = new Dictionary<Type, object>();
_daoRegistry[typeof(IPMUserDao)] =
container.Resolve("pmUserDao");
_daoRegistry[typeof(IPMRoleDao)] =
container.Resolve("pmRoleDao");
_daoRegistry[typeof(IPMClientDao)] =
container.Resolve("pmClientDao");
_daoRegistry[typeof(IPMUserRoleDao)] =
container.Resolve("pmUserRoleDao");
_daoRegistry[typeof(IVisualDao)] =
container.Resolve("visualDao");.......
.......................
I am getting error at line : IWindsorContainer container = new
WindsorContainer(new XmlInterpreter(daoConfigFile));
The assembly platform.data is available in bin folder.
Please help me...
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/castle-project-users/-/4l_h0r7SpaMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.