Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored Procedure failing on Local Declaration
Message
De
09/10/2001 15:56:46
 
 
À
09/10/2001 14:04:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00566059
Message ID:
00566165
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
>>>We have a cold fusion front end to one of our apps. It will work fine for months on end. Then suddenly it will begin to fail. We have tracked this failure down to one line of code in a Stored Procedure.
>>>
>>>
>>>Local < variable >
>>>
>>>
>>>It almost seems as if the variable has been cached as public. If you declare a variable public and then try to re-declare it as local it will error out.
>>>
>>
>>What is the error # and message?
>
>The problem with the cold fusion front end, there really isn't a meaningful error. It just says that there is a violation with the Record Validation. You can't even put a step on to see where the error is occuring. The web front end is talking to the foxpro database through the ODBC connection. We are using a dummy table and insering a record in that table to call a stored procedure.
>

It sounds like the stored procedure is an insert trigger. Does your ON ERROR routine log errors into a table? By doing this, you can find out the program, line number, and error number, which can help you diagnose these kinds of problems.
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform