in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Could not load file or assembly 'C1.Web.Editor.2'

Last post 01-25-2008 10:00 AM by DavidSt. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-23-2008 2:37 PM

    Could not load file or assembly 'C1.Web.Editor.2'

    I have an ASP.Net web app with a number of C1Web Controls (grid, input, menus).  I simply add a C1WebEditor to a panel on my page and ran the app and got the following error :

     Could not load file or assembly 'C1.Web.Editor.2' or one of its dependencies. The system cannot find the file specified.

    === Pre-bind state information ===
    LOG: User = CLNLAB\dastache
    LOG: DisplayName = C1.Web.Editor.2
     (Partial)
    LOG: Appbase = file:///E:/Informatics/Net_Development/ASP.NET 2.0 Web Sites/CTSampleTransfer2/
    LOG: Initial PrivatePath = E:\Informatics\Net_Development\ASP.NET 2.0 Web Sites\CTSampleTransfer2\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: E:\Informatics\Net_Development\ASP.NET 2.0 Web Sites\CTSampleTransfer2\web.config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: The same bind was seen before, and was failed with hr = 0x80070002.
    

    Stack Trace:

    [FileNotFoundException: Could not load file or assembly 'C1.Web.Editor.2' or one of its dependencies. The system cannot find the file specified.]
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
       System.Reflection.Assembly.Load(String assemblyString) +25
       System.Web.UI.AssemblyCache.Load(String assemblyName) +73
       System.Web.UI.ScriptManager.RemoveDuplicates(List`1 scripts) +652
       System.Web.UI.ScriptManager.RegisterScripts() +388
       System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +111
       System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2012708
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1566
    

    I've never encountered this with a C1Web Control before???

    Filed under:
  • 01-24-2008 11:53 AM In reply to

    Re: Could not load file or assembly 'C1.Web.Editor.2'

    You need to make sure that this dll is there in the bin directory of the application. Remove the C1WebControl dlls from the GAC,
     
    Regards,
    Patrick.
     
     
    <DavidSt> wrote in message news:201289@10.0.1.98...

    I have an ASP.Net web app with a number of C1Web Controls (grid, input, menus).  I simply add a C1WebEditor to a panel on my page and ran the app and got the following error :

     Could not load file or assembly 'C1.Web.Editor.2' or one of its dependencies. The system cannot find the file specified.

    === Pre-bind state information ===
    LOG: User = CLNLAB\dastache
    LOG: DisplayName = C1.Web.Editor.2
     (Partial)
    LOG: Appbase = file:///E:/Informatics/Net_Development/ASP.NET 2.0 Web Sites/CTSampleTransfer2/
    LOG: Initial PrivatePath = E:\Informatics\Net_Development\ASP.NET 2.0 Web Sites\CTSampleTransfer2\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: E:\Informatics\Net_Development\ASP.NET 2.0 Web Sites\CTSampleTransfer2\web.config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: The same bind was seen before, and was failed with hr = 0x80070002.
    

    Stack Trace:

    [FileNotFoundException: Could not load file or assembly 'C1.Web.Editor.2' or one of its dependencies. The system cannot find the file specified.]
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
       System.Reflection.Assembly.Load(String assemblyString) +25
       System.Web.UI.AssemblyCache.Load(String assemblyName) +73
       System.Web.UI.ScriptManager.RemoveDuplicates(List`1 scripts) +652
       System.Web.UI.ScriptManager.RegisterScripts() +388
       System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +111
       System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2012708
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1566
    

    I've never encountered this with a C1Web Control before???



    http://helpcentral.componentone.com/cs/forums/p/74096/201289.aspx#201289

  • 01-25-2008 10:00 AM In reply to

    Re: Could not load file or assembly 'C1.Web.Editor.2'

    Thanks.  I finally realized this after my post.

Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.