Kinook Software Forum

Go Back   Kinook Software Forum > Search Forums
Register FAQ Community Calendar Today's Posts Search

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: mseminatore
Forum: [VBP] General Discussion 09-15-2005, 01:40 PM
Replies: 8
Views: 9,963
Posted By mseminatore
Excellent! That did it. For reference here is...

Excellent! That did it. For reference here is what I wound up with:

SELECT build_seterrortext('%BUILD_KEY%', %CURRENT_STEP%, '[Replace(Replace(vbld_AllMacros().Item("FAILSTEP_OUTPUT").Value,...
Forum: [VBP] General Discussion 09-15-2005, 11:33 AM
Replies: 8
Views: 9,963
Posted By mseminatore
It is an error from a build step before the...

It is an error from a build step before the database. What I am trying to do is, in an error step, log that error text into a database.

So the database doesn't really play into this issue...
Forum: [VBP] General Discussion 09-14-2005, 06:05 PM
Replies: 8
Views: 9,963
Posted By mseminatore
I should add that there are definitlely newlines...

I should add that there are definitlely newlines in the FAILSTEP_OUTPUT. The text is:

"Error message from the server: 'an item with that name already exists'

Process completed with exit code...
Forum: [VBP] General Discussion 09-14-2005, 06:01 PM
Replies: 8
Views: 9,963
Posted By mseminatore
Ok, I tried that. My exact SQL step looks like...

Ok, I tried that. My exact SQL step looks like this

SELECT build_seterrortext('%BUILD_KEY%', %CURRENT_STEP%, '[Escape(vbld_AllMacros().Item("FAILSTEP_OUTPUT").Value)]');

and now I get the...
Forum: [VBP] General Discussion 09-14-2005, 01:57 PM
Replies: 8
Views: 9,963
Posted By mseminatore
I even tried a script step to filter out the...

I even tried a script step to filter out the quotes:

Set failText = Application.Macros(vbldProject).Item("FAILURE_TEXT")

Dim failOutput
failOutput = "%FAILSTEP_OUTPUT%"
Escape(failOutput)
...
Forum: [VBP] General Discussion 09-14-2005, 01:45 PM
Replies: 8
Views: 9,963
Posted By mseminatore
Macros containing single quotes

I am trying to create a failure step which logs the text of a failed step to a database via SQL. The text of the failed step is as follows:

Error message from the server: 'an item with that name...
Showing results 1 to 6 of 6

 

All times are GMT -5. The time now is 04:53 PM.


Copyright © 1999-2023 Kinook Software, Inc.