HTTP OBJECT RESPONSE INCOMPLETE OR INVALID.0, #R".

1,343 views
Skip to first unread message

Rich Brim

unread,
Nov 8, 2011, 4:16:30 PM11/8/11
to InterSystems: Zen Community
I am getting this error message on a report that I had working. I have
seen some similar post, but no one posted resolution. It appears to
have something to do with the SQL statement in report. Any ideas?

I tracked it down to this line. If I change the RevBatch to any other
property, it works.


<report xmlns="http://www.intersystems.com/zen/report/definition"
name="REV" sql="SELECT AGENCY,ID,IRRESULTMAILDATE,BALANCEAMT,
VIOLATIONBALANCETOTAMT,VIOLATIONTOTAMT,
IRNAME,IRADDRESS,IRCITY,IRSTATE,IRPOSTALCODE,
IRRESULTDISPOCODE,IRRESULTREASONCODE,VIOLATIONDESC
FROM MVFILE.CIT WHERE IRRESULTMAILBATCH = ? ORDER BY AGENCY">
<parameter expression='..RevBatch'/>

Roberto

unread,
Nov 8, 2011, 4:24:05 PM11/8/11
to InterSystems: Zen Community
How do you have the property RevBatch defined?

You said this was working before? What change did you make?

-Roberto

Rich Brim

unread,
Nov 8, 2011, 4:48:44 PM11/8/11
to InterSystems: Zen Community

This is the calling routine.

rpt ="CZ.Rev"->%New()
rpt->RevBatch=b
rpt->RevMailDate=d
rpt-
>AsynchGenerateReport(57777,xmlfile,xslfile,pdffile,lckfile)


in report, it's just a property.

Property RevBatch As %String;

I am not sure what I could have changed to break this. Also, I have
similar routines for other reports that still work fine. It's driving
me mad...






Roberto

unread,
Nov 8, 2011, 5:01:52 PM11/8/11
to InterSystems: Zen Community
We had something similar before with a Zen Report. Do you have 2
browsers open with the same credentials?

We found out that there was an issue with this with Zen Report.

-Roberto

Rich Brim

unread,
Nov 8, 2011, 5:43:43 PM11/8/11
to InterSystems: Zen Community
I'll check that, but it gets stranger.

This works if I put it before the report creation

b='cor':FIELD(O.REVIEW.DATE,'-',1):FIELD(O.REVIEW.DATE,'-',
2):FIELD(O.REVIEW.DATE,'-',3):'_':Review.Obj->NOTICEBATCHCNT

but this doesn't

b='COR':FIELD(O.REVIEW.DATE,'-',1):FIELD(O.REVIEW.DATE,'-',
2):FIELD(O.REVIEW.DATE,'-',3):'_':Review.Obj->NOTICEBATCHCNT

Roberto

unread,
Nov 8, 2011, 10:49:17 PM11/8/11
to InterSystems: Zen Community
I'm not familiar with this syntax. I think this is MVBasic? I don't
know...

-Roberto

Rich Brim

unread,
Nov 8, 2011, 11:36:42 PM11/8/11
to InterSystems: Zen Community
Yep, MVBasic, it concat's string text with date with a counter. b =
'cor' + Month + Day + Year + counter.

Anyway, It doesn't really seem to matter. Sometimes it works,
sometimes it doesn't.

I will have to contact WRC.

thanks,

Rich

Dawn Wolthuis

unread,
Nov 9, 2011, 9:59:53 AM11/9/11
to intersys...@googlegroups.com
Yes, I made this little cross-reference, going the other direction (translating COS into MVBASIC)


--dawn

--
You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
To post to this group, send email to InterSys...@googlegroups.com
To unsubscribe from this group, send email to InterSystems-Z...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions



--
Dawn M. Wolthuis

Take and give some delight today

ut.wo...@gmail.com

unread,
Sep 2, 2015, 3:35:42 PM9/2/15
to InterSystems: Zen Community
I had almost the same error: Http object response incomplete or invalid.0,#V.
Although I didn't use ZEN.

My problem was in reaching the maximum local variable storage space.
I had
GETS^DIQ(FILE,IENS,FIELD,FLAGS,TARGET_ROOT)
in a loop and was killing TARGET_ROOT outside of this loop.
Killing TARGET_ROOT right before calling GETS solved the problem.

From InterSystems documentation:
Using KILL to delete variables frees up local variable storage space. To determine or set the
maximum storage space (in kilobytes) for the current process, use the $ZSTORAGE special
variable. To determine the available storage space (in bytes) for the current
process, use the $STORAGE special variable.

I hope that will help if not the author of the original post but at least somebody who gets here by search.
Reply all
Reply to author
Forward
0 new messages