Run-time error '62': Input past end of file error when trying to email from Application using SQL. 500 points!

Posted on 2007-10-11
Last Modified: 2010-04-21
We are running a SQL base application for our warehouse.  Its been running fine for years... The database is SQL 7.0  

Yesterday we started getting a Run-time '62': Input past end of file error.   This error only pops up when the application tries to email data.   We are able to add new data and run reports just fine.  

The server is located on a separate server in a different domain inside the same LAN.
Our mail server is Exchange 2007.

I'm not a database or programmer.. so please forgive me...  

From what I know... it seems to be a database issue and not a application issue.  I'm guessing this based on a old terminal server that is in the same domain as the SQL, I tried to run the application and I get the same results..  It connects to the DB just fine.. allows me to search and look around but crashes when I click on "Email"...

The way the email would work before is..  We put a order in..  click on Bill or Lading or Pick Sheet... it would genrate the form and then use the local email client.. (we run Outlook 2007) to email the reports.

I'm out of ideas on my end..   One would ask "why don't you call the developer?"  well they left us high and dry on this project about 3 years ago...  its about 80% complete and does what we need for the time being...

Thanks for your help.. hope I have given enough to start...  if not just let me know what you need...


Question by:rreddell
    LVL 7

    Accepted Solution


    The error message you are describing is probably not coming from SQL 7.0, but some helper application the is being used to send mail. The error text you mention, would be more a VB error.

    If nothing has changed in the environment, could the error be in the data you are trying to email? A invalid eof character in the middle of a text field somewhere?  

    There are many ways that email could have been configured. I hate to say it but this type of problem is probably going to take some experience on site to look at configurations to resolve. Even though your developer is not available, you may want to locate someone local to you with Sql 7.0 experience. You may want to contact your local MS office for a list of local resources.

    Sorry not to give you a solution.

    Good Luck.

    Author Closing Comment

    Was quick in responding...  Send me in the right direction...  

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    Via a live example, show how to shrink a transaction log file down to a reasonable size.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now