×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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!
  • Students Click Here

*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

Jobs

Strange Error. Please help. Powerbuilder with SQL Server

Strange Error. Please help. Powerbuilder with SQL Server

Strange Error. Please help. Powerbuilder with SQL Server

(OP)
Hi,

I wrote a system in Powerbulder 6.0 a while back (mid 2000's) and it was working with MSSQL Server 2008 on a Windows Server 2008R2 up to now (and is still working). It was connecting via ODBC. The system logged into a DB via a DB user name, then that user name was looked up in custom tables and read permissions for the application (all permissions were defined in custom tables and have nothing to do with DB permissions). Again, these permissions are read by code.
I needed to move to a different server.

New Server:
Microsoft Server 2016R3
MSSql Server 2017

The same application logs into the old DB and is able to have the right custom (code defined) permissions.
However, when logging into the new DB (exactly replicated from the old) - the same application does not read the custom permissions for the user (though it does log into the DB successfully).

This is really puzzling. I dont have source code :(.
Any ideas?

Thank you,
Michael Feldman

RE: Strange Error. Please help. Powerbuilder with SQL Server

Have you run a trace against the database to see what SQL your application is sending for the select?

Matt

"Nature forges everything on the anvil of time"
www.anvil-of-time.com

RE: Strange Error. Please help. Powerbuilder with SQL Server

(OP)
Its using outer join that is obsolete. *=. I don't know what to do because I no longer have the source code to change the SQL. Do you know of a decompiler.

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