none
Error while deploying

    Dotaz

  • Hi,

    I have added and event receiver to the feature. and this code will and tags to the webconfig.

    the feature scope is webapplication.  it worked good initially while i deployed from VS to Sharepoint 2010.

    I tried deploying the .wsp file using poweshell, the system started trowing below error .

    after which whatever i do, deploy from VS, change the directory path, name sapce, restart the system, IIS... I keep getting this error

    ----------------------------------------------------------------------------------------------------------------------------

     Error occurred in deployment step 'Add Solution': Failed to load receiver assembly "Change, Version=1.0.0.0, Culture=neutral, PublicKeyToken=56ca7ec4a454e425" for feature "Change_Change" (ID: c66a802e-39da-4e72-a555-b28d1a09542c).: System.IO.FileNotFoundException: Could not load file or assembly 'Change, Version=1.0.0.0, Culture=neutral, PublicKeyToken=56ca7ec4a454e425' or one of its dependencies. The system cannot find the file specified.
    File name: 'Change, Version=1.0.0.0, Culture=neutral, PublicKeyToken=56ca7ec4a454e425'
       at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
       at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

            0    0    Change
    -------------------------------------------------------------------------------------------

    Any advice or help is needed.

    Thanks




    13. června 2012 9:55

Všechny reakce