×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Error 36 - Invalid Data File.

Error 36 - Invalid Data File.

Error 36 - Invalid Data File.

(OP)
Hi,

I try to alter the length of a field in a data file using the dictionary in V5.5. When I try to convert the file to reflect the change I get the message "Error (36) - invalid data file"

Can anyone advise me where I may be going wrong?

RE: Error 36 - Invalid Data File.

Hi!

Which Database?

The file could be corrupted.

Regards
 

RE: Error 36 - Invalid Data File.

(OP)
The database is TPS. If I change the length back to the original the file is OK.

There are two relationships to other files as well many to one, and one to many.

 

RE: Error 36 - Invalid Data File.

Hi!

After changing the file layout in the DCT, are you CONVERTING the file to the new format? After converting, have you opened the converted file with TOPScan.exe to check if the data is OK. You could create an empty file with the new layout, rename <FileName>.TPS as <FileName>.TPE and then run TPSFix.exe to rebuild the file using the example TPE file.

Have you check the generated <APPName>.CLW of your application to see if the new layout is being reflected for the file?

Regards


 

RE: Error 36 - Invalid Data File.

(OP)
It is when I try to convert the file I get the error message. I will try your suggestion though.

RE: Error 36 - Invalid Data File.

(OP)
I tried your tip but it didn't work, I got an answer "There were no errors detected".

Every time I try to convert the file I get the error message. I can't understand why I cannot change the length of one field, from S15 to S30, without getting an error message.

RE: Error 36 - Invalid Data File.

Hi!

I asked in a previous post ::

Quote:


Have you check the generated <APPName>.CLW of your application to see if the new layout is being reflected for the file?

Also, is this column related to another table and has that table also been changed to the new size?

The reason for your error is most likely that the source has not been generated correctly. Have you tried to "Re-Generate All" before compiling?

Regards
 

RE: Error 36 - Invalid Data File.

(OP)
Thanks for your help Shankar, but I still haven't resolved my problem. I am trying to change the field length in the dictionary which is OK. When I try to convert my existing file to show the new field length in the dictionary I get the error message.

I have done everthing you suggested but nothing has worked.

RE: Error 36 - Invalid Data File.

Hi!

That sound more like the Conversion utility failing. Have you tried creating a conversion program instead of using the in-built conversion utility of the DCT editor?

Can you send me the file i.e. if it has no proprietary information and you trust me. smile

My e-mail is j s h a n k a r (AT) e i m (DOT) a e (Replace the (AT) with @ and (DOT) with .).

Regards
 

RE: Error 36 - Invalid Data File.

Hi Brian,

Replied to your e-mail with an attachment.

Posting here in case my e-mail has got caught in your SPAM box.

Regards
 

RE: Error 36 - Invalid Data File.

(OP)
Many thanks for all your help, it now works thankfully.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close