Click here to Skip to main content
15,908,274 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Login form php,mysql,ajax Pin
W Balboos, GHB11-Oct-17 5:46
W Balboos, GHB11-Oct-17 5:46 
Questionhtml warning Pin
dcof30-Aug-17 12:10
dcof30-Aug-17 12:10 
AnswerRe: html warning Pin
W Balboos, GHB20-Sep-17 2:18
W Balboos, GHB20-Sep-17 2:18 
AnswerRe: html warning Pin
Member 1349103928-Oct-17 12:56
Member 1349103928-Oct-17 12:56 
QuestionScroll Bar in Popup Window Pin
shahbaz shaikh27-Aug-17 3:37
shahbaz shaikh27-Aug-17 3:37 
QuestionHow do I configure dropzone.js? Pin
Member 1307448726-Aug-17 13:39
Member 1307448726-Aug-17 13:39 
Rant[REPOST]: How do I configure dropzone.js? Pin
Richard Deeming29-Aug-17 2:43
mveRichard Deeming29-Aug-17 2:43 
SuggestionCrystal Reports XI v. IIS 10 Pin
Zimriel11-Aug-17 6:04
Zimriel11-Aug-17 6:04 
I was unable to find a comment on this topic anywhere on the entire Internet, so I shall write this up here, in the hope it helps someone else.

I inherited a web application that runs reports. The web application was composed back in 2004 and sporadically, not to say passive-aggressively, upgraded to .NET 3.5.

When I got it, it was using Crystal Reports (some of us here call it "Meth Reports", or less printable names). The DLLs tell us they are version 14; the file structure tells us they are "SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0". Crystal Reports 2011 is another term I've seen.

In production, on IIS 7.5 / Windows Server 2008R2 / 6.1, it worked about as well as Crystal always worked. Until I tried running it on my machine which is Windows 10.

The offending codeblock:
C#
using (var rasService = iStore.EnterpriseSession.GetService("RASReportFactory"))
            {
                var rtpAppFactory = (ReportAppFactory)rasService.Interface; //note: COM
                try
                {
                    ReportClientDoc = rtpAppFactory.OpenDocument(reportID, Convert.ToInt32(CdReportClientDocumentOpenOptionsEnum.cdReportClientDocumentRefreshRepositoryObjects));
                }
                catch (Exception ex)
                {
                    errorMessage = "ERROR: " + ex.Message.ToString();
                }
            }


.OpenDocument here just bombed without telling us why. I went into the Windows 10 eventvwr, and it told me that IIS 10 had crashed with an "access exception" - that is, 0xC0000005 segmentation-fault. The culprit was ATL80.dll. This is the Active Template Library: involved in interop, in its VS 2005 / C++ form. Which is, I take it, what Crystal Reports "2011" was compiled in.

I think what happened to us here is that IIS 10 no longer allows unmanaged code. ATL80 is of course the very definition of unmanaged.

Given that, if you have a Crystal Reports 2011 application running the .OpenDocument method on Report Application Server, you are locked into not upgrading your web server. You will have to set this up on a VM running legacy IIS or else you will have to, I dunno, not use Crystal.

Unless there are better ideas...
GeneralRe: Crystal Reports XI v. IIS 10 Pin
Nathan Minier14-Aug-17 2:03
professionalNathan Minier14-Aug-17 2:03 
QuestionHow do you code an application modal? Pin
charlieg4-Aug-17 12:08
charlieg4-Aug-17 12:08 
AnswerRe: How do you code an application modal? Pin
Kornfeld Eliyahu Peter5-Aug-17 10:02
professionalKornfeld Eliyahu Peter5-Aug-17 10:02 
GeneralRe: How do you code an application modal? Pin
charlieg6-Aug-17 4:15
charlieg6-Aug-17 4:15 
GeneralRe: How do you code an application modal? Pin
Kornfeld Eliyahu Peter6-Aug-17 7:40
professionalKornfeld Eliyahu Peter6-Aug-17 7:40 
AnswerRe: How do you code an application modal? Pin
Nathan Minier7-Aug-17 1:48
professionalNathan Minier7-Aug-17 1:48 
GeneralRe: How do you code an application modal? Pin
charlieg7-Aug-17 14:16
charlieg7-Aug-17 14:16 
AnswerRe: How do you code an application modal? Pin
Richard Deeming8-Aug-17 10:03
mveRichard Deeming8-Aug-17 10:03 
GeneralRe: How do you code an application modal? Pin
Nathan Minier10-Aug-17 1:23
professionalNathan Minier10-Aug-17 1:23 
QuestionWhat is the best way, the web application responsive? Pin
Geeth Lochana1-Aug-17 14:15
Geeth Lochana1-Aug-17 14:15 
AnswerRe: What is the best way, the web application responsive? Pin
Richard MacCutchan1-Aug-17 21:16
mveRichard MacCutchan1-Aug-17 21:16 
GeneralRe: What is the best way, the web application responsive? Pin
Trần Văn Khương19-Sep-17 17:17
professionalTrần Văn Khương19-Sep-17 17:17 
AnswerRe: What is the best way, the web application responsive? Pin
ZurdoDev7-Aug-17 3:23
professionalZurdoDev7-Aug-17 3:23 
QuestionHow to make pop-up dialog-box responsive ? Pin
Member 133393981-Aug-17 0:46
Member 133393981-Aug-17 0:46 
AnswerRe: How to make pop-up dialog-box responsive ? Pin
Jochen Arndt1-Aug-17 1:04
professionalJochen Arndt1-Aug-17 1:04 
QuestionMessage Removed Pin
29-Jul-17 13:48
EuroValdes29-Jul-17 13:48 
Generalapp development Pin
Brahm Pratap Rana28-Jul-17 22:12
Brahm Pratap Rana28-Jul-17 22:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.