Unhandled Exeption pGina.Core.PluginLoader.cs ResolvePluginDependencies(..)

10 views
Skip to first unread message

mdghost

unread,
May 21, 2012, 8:58:08 AM5/21/12
to pgina-devel
When I'm using webservices this line throw an exeption:

DirectoryInfo dir =
Directory.GetParent(args.RequestingAssembly.Location);

Because args.RequestingAssembly.Location == string.empty.

Resolve is add before:
// Required for webservices
if (args.RequestingAssembly.Location == string.Empty)
{
m_logger.ErrorFormat("Unable to resolve dependency for {0}",
args.Name);
return null;
}

Nate Yocom

unread,
May 21, 2012, 3:26:11 PM5/21/12
to pgina...@googlegroups.com
Interesting. What exactly do you mean by webservices?

Is args.RequestingAssembly.CodeBase set?

mdghost

unread,
May 22, 2012, 3:14:52 AM5/22/12
to pgina...@googlegroups.com

I have added Web Reference to soap web service. And at runtime PluginLoader try to load a file, but it has no location. It is tmp dll or 'something'.
Reply all
Reply to author
Forward
0 new messages