StrataFrame Forum

Method Not Found Error

http://forum.strataframe.net/Topic31559.aspx

By lastcanary - 11/13/2012

I have tried to install ES using the zip file.

I extracted the zip file into C:\inetpub\wwwroot\CSBINS_ES

I added an application with the alias CSBINS_ES in my IIS7. The site is on port 8088. I used the extracted folder as the path.

When I try to get the status.aspx I am receiving the following error:

http://192.168.2.239:8088/CSBINS_ES/status.aspx (My IP address is 192.168.2.239)

Server Error in '/CSBINS_ES' Application.

Method not found: 'Void MicroFour.StrataFrame.Data.Enterprise.RequestProcessor.SetSerializationType(System.String, MicroFour.StrataFrame.Data.Enterprise.SerializationType)'.

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.MissingMethodException: Method not found: 'Void MicroFour.StrataFrame.Data.Enterprise.RequestProcessor.SetSerializationType(System.String, MicroFour.StrataFrame.Data.Enterprise.SerializationType)'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[MissingMethodException: Method not found: 'Void MicroFour.StrataFrame.Data.Enterprise.RequestProcessor.SetSerializationType(System.String, MicroFour.StrataFrame.Data.Enterprise.SerializationType)'.]   MicroFour.StrataFrame.Enterprise.Server.RemoteDataSource..cctor() +0[TypeInitializationException: The type initializer for 'MicroFour.StrataFrame.Enterprise.Server.RemoteDataSource' threw an exception.]   MicroFour.StrataFrame.Enterprise.Server.Status.Status_PreInit(Object sender, EventArgs e) +51   System.Web.UI.Page.OnPreInit(EventArgs e) +8713038   System.Web.UI.Page.PerformPreInit() +31   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282


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

Could you please help?
By lastcanary - 11/13/2012

Here is my datasources.config

<?xml version="1.0" encoding="utf-8" ?>

<DataSources>
   <DataSource DataSourceKey="MySecurityKey">
      <ConnectionString>Database=LIMANLAR_COMMONDATA;Data Source=192.168.2.241;uid=sa;pwd=PassW0rd;Integrated Security=false;</ConnectionString>
      <TypeFullName>MicroFour.StrataFrame.Data.SqlDataSourceItem</TypeFullName>
      <TypeAssemblyName>MicroFour StrataFrame Base</TypeAssemblyName>
      <TypeAssemblyVersion>1.7.0.0</TypeAssemblyVersion>
      <TypeAssemblyCulture>neutral</TypeAssemblyCulture>
      <TypeAssemblyPublicToken>99fe9917f71608a7</TypeAssemblyPublicToken>
      <IsEncrypted>True</IsEncrypted>
      <IsCompressed>True</IsCompressed>
      <EncryptionKey>1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4</EncryptionKey>
      <EncryptionVector>1,2,3,4,5,6,7,8</EncryptionVector>
      <TransactionTimeout>3600</TransactionTimeout>
   </DataSource>
</DataSources>

And here is my Web.Config

<?xml version="1.0"?>

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
  <appSettings>
    <add key="StatusIpAddresses" value="127.0.0.1" />
    <add key="OtherEsServers" value="" />
    <add key="SmtpFromAddress" value="es@domain.com" />
    <add key="SmtpToAddresses" value="admin@mydomain.com;admin2@mydomain.com" />
    <add key="SmtpServer" value="127.0.0.1" />
    <add key="SmtpPort" value="25" />
    <add key="SmtpAuth" value="False" />
    <add key="SmtpUsername" value="user" />
    <add key="SmtpPassword" value="password" />
    <add key="UseCustomDataSerializer" value="False" />
  </appSettings>
  <system.web>
    <!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.

            Visual Basic options:
            Set strict="true" to disallow all data type conversions 
            where data loss can occur. 
            Set explicit="true" to force declaration of all variables.
        -->
    <compilation debug="true" strict="false" explicit="true" />
    <pages>
      <namespaces>
        <clear />
        <add namespace="System" />
        <add namespace="System.Collections" />
        <add namespace="System.Collections.Specialized" />
        <add namespace="System.Configuration" />
        <add namespace="System.Text" />
        <add namespace="System.Text.RegularExpressions" />
        <add namespace="System.Web" />
        <add namespace="System.Web.Caching" />
        <add namespace="System.Web.SessionState" />
        <add namespace="System.Web.Security" />
        <add namespace="System.Web.Profile" />
        <add namespace="System.Web.UI" />
        <add namespace="System.Web.UI.WebControls" />
        <add namespace="System.Web.UI.WebControls.WebParts" />
        <add namespace="System.Web.UI.HtmlControls" />
      </namespaces>
    </pages>
    <!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
    <authentication mode="Windows" />
    <!--
            The <customErrors> section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.
        -->

    <customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
      <error statusCode="403" redirect="NoAccess.htm" />
      <error statusCode="404" redirect="FileNotFound.htm" />
    </customErrors>
  </system.web>
</configuration>

Could you please help me?
By lastcanary - 11/14/2012

Could you please help me to fix this error?
By lastcanary - 11/15/2012

Is there anybody out there?

Please at least reset my license so that I can try on a different server.
By Trent L. Taylor - 11/15/2012

Hasan:

I responded to your PM.  Sorry for the long response here.  It was missed and I am sorry about that.