1. luis avilan
  2. PowerServer
  3. Wednesday, 5 July 2023 18:50 PM UTC

Hello

to see who can help me I am migrating 2017 to 2022 Build 1900

my application runs on windows 10 with powerserver with sqlserver 2019

Stored procedures: Says it cannot find the stored procedure, if it exists in the database, it exists in the definition in "AppModels –

Best regards

 

 

 

 

David Xiong @Appeon Accepted Answer Pending Moderation
  1. Monday, 10 July 2023 05:08 AM UTC
  2. PowerServer
  3. # 1

Hi Luis,

 

Please report a bug via our support ticketing system at https://www.appeon.com/standardsupport/newbug and include as much information as possible about the situation of your application, as well as all the technical specifications of your environment. Please add all relevant error messages, error logs, screenshots, and a replicable test case. Once the ticket has been opened, our support staff will take a look at your case and respond in the ticket thread.

 

Regards,

David

Comment
  1. Kevin Bell
  2. Wednesday, 16 August 2023 15:10 PM UTC
We are having a similar problem with procedures. In oracle, we set the role for a user to have access to a specific schema (each project has it's own schema), however, when running a procedure in that schema it appears that it tries to find the procedure everywhere but where it exists.



The following is the list and order of statement sent trying to find the procedure.



1. user_procedure

SELECT arg.overload AS object_uniqueidentifier, arg.argument_name AS parameter_name, arg.data_type AS parameter_datatype,

arg.in_out AS parameter_mode, arg.data_precision AS parameter_precision, arg.data_scale AS parameter_scale,

arg.DEFAULT_VALUE AS parameter_defaultvalue, arg.char_length AS parameter_size, arg.POSITION AS position

FROM user_procedures procs LEFT JOIN user_arguments arg ON procs.object_id = arg.object_id AND arg.data_level = 0

WHERE procs.object_type = 'PROCEDURE' AND UPPER (procs.object_name) = UPPER ('P_INSERT_U_LOG_USAGE')

ORDER BY arg.POSITION



2. user_synonyms

SELECT table_owner, table_name

FROM user_synonyms

WHERE synonym_name = UPPER ('P_INSERT_U_LOG_USAGE')



3. all_synonyms

SELECT table_owner, table_name

FROM all_synonyms

WHERE synonym_name = UPPER ('P_INSERT_U_LOG_USAGE')



It never looks in all_procedures.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 16 August 2023 15:48 PM UTC
Hi Kevin, Please open a support ticket so we can investigate if this is a bug or a config issue: https://www.appeon.com/standardsupport/newbug
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.