SharePoint Connector & EPiserver 5 R2 SP2 (.236)

Vote:
 

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.

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.

When I dissasemble the EPiServer libraries the EPiServer.VirtualPathWssProvider assembly is referenced

LicenseRuntime.LoadLicense(Assembly.Load(new AssemblyName("EPiServer.VirtualPathWssProvider"))).Validate();

and it's attribute extracted

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.

[assembly: AssemblyVersion("2.1.0.0")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCompany("EPiServer AB")]
[assembly: AssemblyProduct("EPiServer.VirtualPathWssProvider")]
[assembly: AssemblyTitle("EPiServer.VirtualPathWSSProvider")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCopyright("Copyright \x00a9 EPiServer AB 2008")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("70dd6ef9-d0e5-4f48-8256-07aa58e21b6c")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: LicenseSettings(FileName="ConnectForSharePointLicense.config", LicenseName="ConnectForSharePoint", PublicKeyResource="EPiServer.VirtualPathWssProvider.LicensePublicKey.xml")]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows=true)]

 


 

 

 


 

 


#35091
Nov 27, 2009 14:02
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.