I'm looking at the simple push of documents from SharePoint to EPiServer but encounter the following error.
Resending Policies to channel Policies
Error sending Policies to channel Policies : System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> ElektroPost.Licensing.LicenseException: Cannot find LicenseSettingsAttribute in assembly
at ElektroPost.Licensing.LicenseRuntime.GetSettings(Assembly caller)
at ElektroPost.Licensing.LicenseRuntime.LoadLicense(Assembly assembly)
at EPiServer.WebServices.ContentChannelService.ValidateWebServiceAccess()
at EPiServer.WebServices.ContentChannelService.ImportFile(String channelId, Byte[] data, Boolean expectMoreData, Guid fileId, String channelRelativeFilePath, String[] metadataKeys, String[] metadataValues)
--- End of inner exception stack trace ---
When testing the connection through the SharePoint EPiServer connection settings I get confirmation that connection is fine but the license file can not be found.
The SharePoiintConnector license in the application forlder on the server.
private static LicenseSettingsAttribute GetSettings(Assembly caller)
{
if (caller == null)
{
return null;
}
object customAttributes = caller.GetCustomAttributes(typeof(LicenseSettingsAttribute), false);
if (customAttributes == null)
{
throw new LicenseException("Cannot find LicenseSettingsAttribute in assembly");
}
LicenseSettingsAttribute[] attributeArray = (LicenseSettingsAttribute[]) customAttributes;
if (attributeArray.Length == 0)
{
throw new LicenseException("Cannot find LicenseSettingsAttribute in assembly");
}
if (attributeArray.Length > 1)
{
throw new LicenseException("A assembly can only defined one instance of LicenseSettingsAttribute");
}
return attributeArray[0];
}
Any ideas why this LicenseSettingsAttribute would not get be found as it is an attribute of the assembly.
Has anyone managed to get this working.
I'm looking at the simple push of documents from SharePoint to EPiServer but encounter the following error.
When testing the connection through the SharePoint EPiServer connection settings I get confirmation that connection is fine but the license file can not be found.
The SharePoiintConnector license in the application forlder on the server.
When I dissasemble the EPiServer libraries the EPiServer.VirtualPathWssProvider assembly is referenced
and it's attribute extracted