Quantcast
Viewing all articles
Browse latest Browse all 5661

Link from ASP.NET Crystal Report loses GET variables. 3-year old documented bug--any fix?

I have a report that I migrated from Crystal Server 2008 to 2011. One part of the report generates a link to an external ASP.NET application, passing along the appropriate variables to that application via GET. On both servers in the appropriate Crystal Report application (2008 or 2011) the report works and generates a link correctly. Accessing the report from through the ASP.NET application is a different story, however.

 

Here are the links created by the report in each version, which I'm getting by right-clicking and choosing "copy link" in Chrome:

 

2008: http://www.host.com/intranet/API_PriceInc_Ltr/Start.aspx?slmno=1001&cusno=18301&venno=15&cutoff=08/01/2013&increase=1&shipaddr=77486&effective=08/30/2013&slmname=XXX

 

2011: parent.bobj.event.publish('hyperlinkClicked','CrystalReportViewer1__UI','target=_self&url=%2fintranet%2fAPI_PriceInc_Ltr%2fStart.aspx%3fslmno%3d1001%26cusno%3d1830 1%26venno%3d15%26cutoff%3d08%2f01%2f2013%26increase%3d1%26shipaddr%3d77486%26effective%3d08%2f30%2f2013%26slmname%3dXXX')

 

Now, if I feed the URL from the 2011 version into a URL decoder, I get this: target=_self&url=/intranet/API_PriceInc_Ltr/Start.aspx?slmno=1001&cusno=18301&venno=15&cutoff=08/01/2013&increase=1&shipaddr=77486&effective=08/30/2013&slmname=xxx

 

The above URL string is correct and does work when I go to the address. Unfortunately when I click on the link, what I get instead is this:

 

/intranet/API_PriceInc_Ltr/Start.aspx?slmno

 

As you can see, all the variables are simply missing.

 

This isn't a problem caused by the new server as far as I can tell. It seems instead to be an issue with the way bobj is processing the link in the 2011 version. Since the get parameters are simply not appearing after the link is clicked, I'm not sure how to resolve this.

Any suggestions?

 

Edit: I found documentation that this is a bug, though no actual fix was posted. Here is an earlier thread discussing this issue: http://scn.sap.com/message/9553393


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>