[ce v4.0] HowTo run it in Asp.Net v2.0?

  •  11-24-2004, 8:28 AM

    [ce v4.0] HowTo run it in Asp.Net v2.0?

    Hi. I´m trying to run it in asp.net v2.0 but with no success!
    I added a bin dir in my project and put the dlls.
    I added CuteEditor in my Toolbox
    I dragged it to my webform
    When I run it, I get the following msg:

    Server Error in '/Ce40_Ka' Application.

    !"ValueType mismatch"

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.BadImageFormatException: !"ValueType mismatch"

    Source Error:

    Line 9:        <form id="form1" runat="server">
    Line 10:             <div>
    Line 11:                   <ce:editor id="ce1" runat="server"></ce:editor>
    Line 12:             </div>
    Line 13:       </form>

    Source File: c:\Documents and Settings\Ken\My Documents\Visual Studio\Projects\Ce40_Ka\Default.aspx    Line: 11

    Stack Trace:

    [BadImageFormatException: !"ValueType mismatch"]
       d..cctor() +0
    
    [TypeInitializationException: The type initializer for 'd' threw an exception.]
       d..ctor() +0
       CuteEditor.EditorLicenceProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) +30
       System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) +347
       System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license) +51
       System.ComponentModel.LicenseManager.Validate(Type type) +36
       CuteEditor.Editor..ctor() +62
       Default_aspx.__BuildControl__control4() in c:\Documents and Settings\Ken\My Documents\Visual Studio\Projects\Ce40_Ka\Default.aspx:11
       Default_aspx.__BuildControlform1() in c:\Documents and Settings\Ken\My Documents\Visual Studio\Projects\Ce40_Ka\Default.aspx:9
       Default_aspx.__BuildControlTree(Default_aspx __ctrl) in c:\Documents and Settings\Ken\My Documents\Visual Studio\Projects\Ce40_Ka\Default.aspx:1
       Default_aspx.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\ce40_ka\7fd4f4b8\54e60f8f\0qbgiw6e.0.cs:0
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +101
       System.Web.UI.Page.ProcessRequest(HttpContext context) +34
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +305
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
    


    Version Information: Microsoft .NET Framework Version:2.0.40607.42; ASP.NET Version:2.0.40607.42

    Regards,
    »»» KenA
View Complete Thread