Method Community

 

Import Error with Runtime Error "Server Error in '/MethodImpex' Application."

Last post 02-17-2015 4:07 PM by alexhuang. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-17-2015 3:07 PM

    Import Error with Runtime Error "Server Error in '/MethodImpex' Application."

    Hi,

    I have a table with single integer field (RandomSeqNo), and tried to import a csv file to it. This file container two column, RecordID and RandomSeqNo.

    It is around 1000000 records. 

    While import via method import UI, it keeps giving me this error message (followed), how can I reolve this? Seems that if I reduce data to be smaller, I can make it. 

    Is there anything wrong with my csv file? or some limitation to import size? Thanks.


    ---

    Server Error in '/MethodImpex' Application.


    Runtime Error

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>
    Chief Architect
    Yi Systems, Inc.
    alexhuang@yisystems.com
    www.yisystems.com blogs.yisystems.com
    Software.Web.Cloud.IT
  • 02-17-2015 3:36 PM In reply to

    Re: Import Error with Runtime Error "Server Error in '/MethodImpex' Application."

    Hi Alex,

    Importing a large quantity of records at one time can cause errors. Try splitting your CSV file into smaller CSV files and importing them like that.

    - Justin

    Justin Henderiks
    Technical Sales Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.henderiks@method.me
  • 02-17-2015 3:57 PM In reply to

    Re: Import Error with Runtime Error "Server Error in '/MethodImpex' Application."

    Hi Justin,

    Thanks. what is the limitation of record number for one import? 1000000 records is what I need for my client's program, if this limitation is small, that could mean a lots of import. any other way to work around it?

    --

    Alex

    Chief Architect
    Yi Systems, Inc.
    alexhuang@yisystems.com
    www.yisystems.com blogs.yisystems.com
    Software.Web.Cloud.IT
  • 02-17-2015 4:04 PM In reply to

    Re: Import Error with Runtime Error "Server Error in '/MethodImpex' Application."

    Answer

    Alex,

    There's no official limit. The more records you're importing, the greater chance there will be an issue. If you have 1000000 records, I'd say start with 50000.

    - Justin

    Justin Henderiks
    Technical Sales Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.henderiks@method.me
  • 02-17-2015 4:07 PM In reply to

    Re: Import Error with Runtime Error "Server Error in '/MethodImpex' Application."

    Hi Justin,

    Thanks. It works. 

    --

    Alex

    Chief Architect
    Yi Systems, Inc.
    alexhuang@yisystems.com
    www.yisystems.com blogs.yisystems.com
    Software.Web.Cloud.IT
Page 1 of 1 (5 items)