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.


Error migrating Powerbuilder 12.6 classic to .NET

Error migrating Powerbuilder 12.6 classic to .NET


I am attempting to migrate a PB 12.6 classic application to .NET. I am now down to 3 errors:
“Invalid filename specified for preprocessor directive. Filename is too long or not a valid filename”.
How can I find out which file name is in error? All I am shown is a line number and column. I don't know where to look.

Any help would be appreciated,

RE: Error migrating Powerbuilder 12.6 classic to .NET

Can you 'cut and paste' the error message to a post and maybe I can help?


"Nature forges everything on the anvil of time"

RE: Error migrating Powerbuilder 12.6 classic to .NET


Hi Matt, thanks for replying.

This is all the information I have. BTW this is the evaluation version.

RE: Error migrating Powerbuilder 12.6 classic to .NET

My assumption is that the path to the Microsoft reference assemblies is too long but I am not really sure. I don't know if there is some way to install them with a shorter path.


"Nature forges everything on the anvil of time"

RE: Error migrating Powerbuilder 12.6 classic to .NET

This is my first incursion into the wonderful world of PB.NET and I am not overly impressed. As I installed PB in the default locations I would have assumed that PB/M$ would assign all the correct paths, or at least provide a way to change them. Getting stuck this early on is not a good sign. Guess I will stick to 10.5 as 12.6 classic just doesn't offer enough extra to justify the upgrade. Maybe when 12.7 comes out I try again. Anyway Matt thanks for the effort.


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!


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