Reports 6.0 CGI error on NT4.0
I am having trouble running a Reports 6.0 report via my web
browser. I have a simple report that runs fine on my desktop.
I have RWMTS60 (multi-tier server) running as an NT service. I
have RWCGI60 in my web server's /cgi-bin directory. I have
environment variables REPORTS60_WEBLOC,
REPORTS60_WEBLOC_TRANSLATED, and REPORTS60_PATH set.
The HTTP command string that I am using is as follows:
http://myhost.com/cgi-
bin/rwcgi60.exe?server=repserver+report=reports+userid=website/su
pport@odbc:LocalServer:software_web_site+destype=cache+desformat=
HTML+paramform=YES
I keep getting the following CGI error:
"The specified CGI application misbehaved by not returning a
complete set of HTTP headers. The headers it did return are:".
I think I probably didn't prepare my report correctly to output
HTML files... but I can't find any help on how to deploy forms
over the web.... Can anyone help me?
Thanks in advance,
Keith
null
Hi,
I hit the same problem today before submitting my problem I did a search, then I found the above.
Since it is very old problem and no body responded for the above I request Oracle Reports Group for a solution.
Thanks in advance,
NVS
Similar Messages
-
Hi All,
Can any one tell me What is these CGI Errors means
1. cgi_init reports: HTTP4047: could not initialize CGI subsystem (Cgistub path ../private/Cgistub), err Cgistub is marked as set user ID on execute and its directory is accessible by other user for host 129.146.11.110 trying to GET /ula/ula.cgi,
2. cgi_start_exec reports: HTTP4066: cannot initialize CGI exec subsystemvr229233 wrote:
Hi All,
Can any one tell me What is these CGI Errors means
1. cgi_init reports: HTTP4047: could not initialize CGI subsystem (Cgistub path ../private/Cgistub), err Cgistub is marked as set user ID on execute and its directory is accessible by other user for host 129.146.11.110 trying to GET /ula/ula.cgi,
Check the doc - [Developer's Guide|http://docs.sun.com/app/docs/doc/820-6602/abwbw?l=en&a=view] . The permissions of private directory should be set to 500. -
Wierd cgi error when using WebServer 6.0
I just installed Webserver 6.0 and migrated a server instance from 4.1 to 6.0. Everything worked fine..the server starts correctly. But the images do not display and I get the following error in the logs
[19/Jul/2005:11:32:11] warning (18534): for host 151.193.213.24 trying to GET /images/globalnav/rt_grey_bar.gif, cgi_start_exec reports: cannot find CGI program
/opt/netscape/server6/docs/images/global
nav/rt_grey_bar.gif (File not found).
the file is there..but why the cgi error?..anyone had this issue before?
Thanks for any pointers.We do not offer a JDBC driver for Linux in version 5.1. In version 6.0,we
do offer a type 4 driver for Linux.
In version 5.1, I suggest trying the platform independent type 4 JDBC driver
available for free from Oracle. It is supported (as is any JDBC driver)
with WebLogic Server. To download it:
Go to http://www.oracle.com and select the "Download" option.
From the resulting page, use the "Select Utility or Driver" dropdown to
select Oracle JDBC drivers
From the resulting page, scroll down a little (since SQLJ stuff appears at
the top).
Or, to go directly there:
http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
Thanks,
Michael
Michael Girdley, BEA Systems Inc
Learning WebLogic? Buy the book.
http://www.learnweblogic.com/
"Michael W. Warren, Sr." <[email protected]> wrote in message
news:[email protected]..
I have installed WebLogic 6.0 on Solaris platform and verified that the
server comes up
and that I can connect to it via Netscape. Next step was to verify
installation of WebLogic
jDriver for Oracle. When I run the following:
java utils.dbping ORACLE scott tiger
I get the following error:
Starting Loading jDriver/Oracle .....
Error encountered:
java.sql.SQLException: System.loadLibrary threw
java.lang.UnsatisfiedLinkError
with the message
'/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
fatal: libgen.so.1: open failed: No such file or directory'.
at
weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:182)
Anyone seen this? Help!!!
Thanks in advance
Mike Warren, Sr.
[email protected] -
CGI error(HTTP4044) occurred on SJS WS 6.1 sp4
Hi,
An error continuely occurred when a CGI page is requested. But other CGI pages work well.
There is no problem until yesterday. I didn't modify the program source.
Look at this error log.
[10/Nov/2005:14:55:57] failure (332158): for host 134.75.191.65 trying to GET /cgi-bin/ikimm_mis/Intra/mis.cgi, cgi_scan_headers reports: HTTP4044: the CGI program /app/cgi-bin/ikimm_mis/Intra/mis.cgi did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
[10/Nov/2005:14:56:44] failure (332158): for host 134.75.191.65 trying to GET /cgi-bin/ikimm_mis/Intra/mis.cgi, cgi_scan_headers reports: HTTP4044: the CGI program /app/cgi-bin/ikimm_mis/Intra/mis.cgi did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
My Web Server is SJS WS 6.1 sp4 and OS is AIX.
Is there anybody who knows this problem?The error says that something went wrong while running that CGI. As the error states, "Check for core dump or other abnormal termination".
If that particular CGI was working fine yesterday then something must have changed in the system or dependencies that makes it fail today, even if the CGI source itself wasn't altered. Step through the CGI code to see where it is failing and why and go from there. -
I'm using iPlanet 6 on Solaris 5.8. I''ve been unsuccessful at trying to get iPlanet configured to work with CGI. Here's the error I'm getting:
failue (26505) for host xx.xx.xx.xx rying to GET /mine/hello.cgi, cgi_start_output reports: cannot execute CGI script for /blah/blah/docs/mine/hello.cgi. (exec() failure [No such file or directory]), chroot=<none>, dir=<none>, user=<none>, group=<none>
The hello.cgi script does exist in /blah/blah/docs/mine.
I activated CGI as a file type and did not configure a CGI directory.
Can anyone point out to me what I don't have set correctly?
Thanks in advance.
RandyCheck that the interpeter specified by the #! line in hello.cgi exists.
-
Performance issue in Report (getting time out error)
Hi experts,
I am doing Performance for a Report (getting time out error)
Please see the code below and .
while looping internal table IVBAP after 25 minutes its showing time out error at this poit ->
SELECT MAX( ERDAT ) .
please send alternate code for this .
Advance thanks
from
Nagendra
Get Sales Order Details
CLEAR IVBAP.
REFRESH IVBAP.
SELECT VBELN POSNR MATNR NETWR KWMENG WERKS FROM VBAP
INTO CORRESPONDING FIELDS OF TABLE IVBAP
FOR ALL ENTRIES IN IVBAK
WHERE VBELN = IVBAK-VBELN
AND MATNR IN Z_MATNR
AND WERKS IN Z_WERKS
AND ABGRU = ' '.
Check for Obsolete Materials - Get Product Hierarhy/Mat'l Description
SORT IVBAP BY MATNR WERKS.
CLEAR: WK_MATNR, WK_WERKS, WK_PRDHA, WK_MAKTX,
WK_BLOCK, WK_MMSTA, WK_MSTAE.
LOOP AT IVBAP.
CLEAR WK_INVDATE. "I6677.sn
SELECT MAX( ERDAT ) FROM VBRP INTO WK_INVDATE WHERE
AUBEL EQ IVBAP-VBELN AND
AUPOS EQ IVBAP-POSNR.
IF SY-SUBRC = 0.
MOVE WK_INVDATE TO IVBAP-INVDT.
MODIFY IVBAP.
ENDIF. "I6677.e n
SELECT SINGLE * FROM MBEW WHERE "I6759.sn
MATNR EQ IVBAP-MATNR AND
BWKEY EQ IVBAP-WERKS AND
BWTAR EQ SPACE.
IF SY-SUBRC = 0.
MOVE MBEW-STPRS TO IVBAP-STPRS.
IVBAP-TOT = MBEW-STPRS * IVBAP-KWMENG.
MODIFY IVBAP.
ENDIF. "I6759.en
IF IVBAP-MATNR NE WK_MATNR OR IVBAP-WERKS NE WK_WERKS.
CLEAR: WK_BLOCK, WK_MMSTA, WK_MSTAE, WK_PRDHA, WK_MAKTX.
MOVE IVBAP-MATNR TO WK_MATNR.
MOVE IVBAP-WERKS TO WK_WERKS.
SELECT SINGLE MMSTA FROM MARC INTO MARC-MMSTA
WHERE MATNR = WK_MATNR
AND WERKS = WK_WERKS.
IF NOT MARC-MMSTA IS INITIAL.
MOVE '*' TO WK_MMSTA.
ENDIF.
SELECT SINGLE LVORM PRDHA MSTAE MSTAV FROM MARA
INTO (MARA-LVORM, MARA-PRDHA, MARA-MSTAE, MARA-MSTAV)
WHERE MATNR = WK_MATNR.
IF ( NOT MARA-MSTAE IS INITIAL ) OR
( NOT MARA-MSTAV IS INITIAL ) OR
( NOT MARA-LVORM IS INITIAL ).
MOVE '*' TO WK_MSTAE.
ENDIF.
MOVE MARA-PRDHA TO WK_PRDHA.
SELECT SINGLE MAKTX FROM MAKT INTO WK_MAKTX
WHERE MATNR = WK_MATNR
AND SPRAS = SY-LANGU.
ENDIF.
IF Z_BLOCK EQ 'B'.
IF WK_MMSTA EQ ' ' AND WK_MSTAE EQ ' '.
DELETE IVBAP.
CONTINUE.
ENDIF.
ELSEIF Z_BLOCK EQ 'U'.
IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
DELETE IVBAP.
CONTINUE.
ENDIF.
ELSE.
IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
MOVE '*' TO WK_BLOCK.
ENDIF.
ENDIF.
IF WK_PRDHA IN Z_PRDHA. "I4792
MOVE WK_BLOCK TO IVBAP-BLOCK.
MOVE WK_PRDHA TO IVBAP-PRDHA.
MOVE WK_MAKTX TO IVBAP-MAKTX.
MODIFY IVBAP.
ELSE. "I4792
DELETE IVBAP. "I4792
ENDIF. "I4792
IF NOT Z_ALNUM[] IS INITIAL. "I9076
SELECT SINGLE * FROM MAEX "I9076
WHERE MATNR = IVBAP-MATNR "I9076
AND ALNUM IN Z_ALNUM. "I9076
IF SY-SUBRC <> 0. "I9076
DELETE IVBAP. "I9076
ENDIF. "I9076
ENDIF. "I9076
ENDLOOP.Hi Nagendra!
Get Sales Order Details
CLEAR IVBAP.
REFRESH IVBAP.
check ivbak is not initial
SELECT VBELN POSNR MATNR NETWR KWMENG WERKS FROM VBAP
INTO CORRESPONDING FIELDS OF TABLE IVBAP
FOR ALL ENTRIES IN IVBAK
WHERE VBELN = IVBAK-VBELN
AND MATNR IN Z_MATNR
AND WERKS IN Z_WERKS
AND ABGRU = ' '.
Check for Obsolete Materials - Get Product Hierarhy/Mat'l Description
SORT IVBAP BY MATNR WERKS.
CLEAR: WK_MATNR, WK_WERKS, WK_PRDHA, WK_MAKTX,
WK_BLOCK, WK_MMSTA, WK_MSTAE.
avoid select widin loop. instead do selection outside loop.u can use read statement......and then loop if required.
LOOP AT IVBAP.
CLEAR WK_INVDATE. "I6677.sn
SELECT MAX( ERDAT ) FROM VBRP INTO WK_INVDATE WHERE
AUBEL EQ IVBAP-VBELN AND
AUPOS EQ IVBAP-POSNR.
IF SY-SUBRC = 0.
MOVE WK_INVDATE TO IVBAP-INVDT.
MODIFY IVBAP.
ENDIF. "I6677.e n
SELECT SINGLE * FROM MBEW WHERE "I6759.sn
MATNR EQ IVBAP-MATNR AND
BWKEY EQ IVBAP-WERKS AND
BWTAR EQ SPACE.
IF SY-SUBRC = 0.
MOVE MBEW-STPRS TO IVBAP-STPRS.
IVBAP-TOT = MBEW-STPRS * IVBAP-KWMENG.
MODIFY IVBAP.
ENDIF. "I6759.en
IF IVBAP-MATNR NE WK_MATNR OR IVBAP-WERKS NE WK_WERKS.
CLEAR: WK_BLOCK, WK_MMSTA, WK_MSTAE, WK_PRDHA, WK_MAKTX.
MOVE IVBAP-MATNR TO WK_MATNR.
MOVE IVBAP-WERKS TO WK_WERKS.
SELECT SINGLE MMSTA FROM MARC INTO MARC-MMSTA
WHERE MATNR = WK_MATNR
AND WERKS = WK_WERKS.
IF NOT MARC-MMSTA IS INITIAL.
MOVE '*' TO WK_MMSTA.
ENDIF.
SELECT SINGLE LVORM PRDHA MSTAE MSTAV FROM MARA
INTO (MARA-LVORM, MARA-PRDHA, MARA-MSTAE, MARA-MSTAV)
WHERE MATNR = WK_MATNR.
IF ( NOT MARA-MSTAE IS INITIAL ) OR
( NOT MARA-MSTAV IS INITIAL ) OR
( NOT MARA-LVORM IS INITIAL ).
MOVE '*' TO WK_MSTAE.
ENDIF.
MOVE MARA-PRDHA TO WK_PRDHA.
SELECT SINGLE MAKTX FROM MAKT INTO WK_MAKTX
WHERE MATNR = WK_MATNR
AND SPRAS = SY-LANGU.
ENDIF.
IF Z_BLOCK EQ 'B'.
IF WK_MMSTA EQ ' ' AND WK_MSTAE EQ ' '.
DELETE IVBAP.
CONTINUE.
ENDIF.
ELSEIF Z_BLOCK EQ 'U'.
IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
DELETE IVBAP.
CONTINUE.
ENDIF.
ELSE.
IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
MOVE '*' TO WK_BLOCK.
ENDIF.
ENDIF.
IF WK_PRDHA IN Z_PRDHA. "I4792
MOVE WK_BLOCK TO IVBAP-BLOCK.
MOVE WK_PRDHA TO IVBAP-PRDHA.
MOVE WK_MAKTX TO IVBAP-MAKTX.
MODIFY IVBAP.
ELSE. "I4792
DELETE IVBAP. "I4792
ENDIF. "I4792
IF NOT Z_ALNUM[] IS INITIAL. "I9076
SELECT SINGLE * FROM MAEX "I9076
WHERE MATNR = IVBAP-MATNR "I9076
AND ALNUM IN Z_ALNUM. "I9076
IF SY-SUBRC 0. "I9076
DELETE IVBAP. "I9076
ENDIF. "I9076
ENDIF. "I9076
endloop.
U have used many select queries widin loop-endloop which is a big hindrance as far as performance is concerned.Avoid such practice.
Thanks
Deepika -
Crystal Report Windows Forms Viewer Error in 1 Workstation after upgrade of PL
Hi all,
We just upgraded SAP from 8.82 PL02 to 8.82 PL15.
Afterwards, in just 1 workstation, Crystal Reports layouts have Crystal Report Windows Forms Viewer error I attach.
Before the upgrade this error did not happen.
No permissions or authorizations were changed in the workstation.
The Crystal Reports layouts remain working fine in server and in the other workstations.
In the workstation following are installed:
- Operating System Windows 7;
- Microsoft .NET Framework 4.5;
- SAP Crystal Reports runtime engine for. NET Framework;
- Crystal Report 2008 Runtime SP6;
- Microsoft SQL Server 2008 R2 Native Client.
All, but the operating system, are equal to the other workstations.
User has edit access to SAP folders, temp and access to the attach path.
We already uninstalled SAP client and client agent and re-installed it but with no avail.
Can anyone help me?
Thanks in advance.
Best regards,
Pedro MarianoHi San Xu,
Thank you for your input.
However I'm facing problem with each software is suitable.
I installed SAP Crystal Reports for SAP Business One (CR 2011 V14.0.4.738), but with no avail.
Thanks in advance.
Best regards,
Pedro Mariano -
Hi all,
I am on a field campaign with my Labview-controlled instrument. I wanted to make a small change to the code and build it again for uploading to a cFP-2020 Fieldpoint but the application builder stopped with the following error message:
Error 7 occurred at ABAPI Dist Report Read Link Info Error.vi -> ABAPI Dist Cmp Settings to Disk Hier.vi -> ABAPI Get Settings From File2.vi -> ABAPI Get Settings From File.vi -> RTBEP_Invoke_Build_Engine.vi -> RTBUIP_Build_Invoke.vi -> RTBUIP_Build_Invoke.vi.ProxyCaller
This is another computer than the one I used in the lab previously so might have forgotten to install something. I just copied the whole application folder with project file and subfolders
to the Laptop I am using now. Labview version should be the same though (8.20).
Any suggestions?
OlafHello Olaf,
This error is usually found when a subVI or a support file (DLL, custom control, etc)
isn't able to be found by the application builder. Possible reasons
for this could include subVIs no longer located in their original
paths and in need to be relinked, a DLL that isn't included in the build,
and many other possibilities.
You wrote that you copied the project from another PC, so it is very possible that some file went missing. Are all VIs in your project executable?
You could try to mass compile all the VIs in your project and see if that helps.
Regards,
Johannes
AE, NI Germany -
XML Report Publisher program is erroring out
Hi All,
I've customized the AR Customer Statements.
I've created a data definition as "ARXSGP" and uploded the sample_output.xml of Statement Generation Program to it. Also I've created a Data template as "ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded the customized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output type to PDF.
As I donot wish to call the XML Report Publisher program manually every time when I Print the Statements through Print Documents-->Statements.
So I've done the below customization in ARXSGP.rdf file ie; Print Statements Report which is an Oracle Report.
I've added the below code in After Report trigger.
=======================================
FUNCTION AfterReport
RETURN BOOLEAN
IS
BEGIN
Below code added for Customer Statement Case Study
DECLARE
l_req_id NUMBER := 0;
L_XML_LAYOUT BOOLEAN := TRUE;
BEGIN
L_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => 'AR', TEMPLATE_CODE => 'ARXSGP', TEMPLATE_LANGUAGE => 'en', TEMPLATE_TERRITORY => 'US', OUTPUT_FORMAT => 'PDF');
IF L_XML_LAYOUT THEN
srw.message(20001, 'Template is picked ');
srw.message(20002,'Concurrent request Id : '||:p_conc_request_id);
l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
'XDOREPPB',
NULL,
NULL,
FALSE,
:p_conc_request_id,
222, -- Receivables
'ARXSGPO', -- Statement Generate
'en-US', -- English
'N',
'RTF',
'PDF');
IF l_req_id > 0 THEN
COMMIT;
ELSE
srw.message(20004, 'Failed to submit request');
END IF;
ELSE -- Not L_XML_LAYOUT
srw.message(20005, 'Template is not picked ');
END IF;
END;
--------------------Code Ends----------------------------
SRW.USER_EXIT('FND SRWEXIT');
RETURN (TRUE);
END;
==============================================
After Printing the Statements through Print Documents-->Statements
Statement Generation Program is being called and later XML Report Publisher program is also being invoked.
But the XML Report Publisher Program is erroring out with below error.
XML Publisher: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XDOREPPB module: XML Report Publisher
Current system time is 03-SEP-2012 17:42:18
Oracle XML Publisher 5.6.3
java.lang.NumberFormatException: For input string: "ARXSGPO"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
0
------------- 1) PUBLISH -------------
Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
Finished executing request completion options.
Concurrent request completed
Current system time is 03-SEP-2012 17:42:22
Please help out with a solution.
Thanks,
Tech Dfor r12 add one row for parameter "Dummy for Data Security" from desc of XDOREPPB
follow works for me
SQL> set serveroutput on
SQL>
SQL> declare
2 v_request_id number;
3 begin
4
5 begin fnd_global.apps_initialize(0, 20419, 0); end;
6 v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
7 'XDOREPPB',
8 NULL,
9 NULL,
10 FALSE,
11 'N', -- Dummy for Data Security
12 9888637, -- Request
13 0, -- Template Application
14 'XXAND10_1', -- Template
15 'en-US', -- Template Locale
16 'N', -- Debug Flag
17 'RTF', -- Template Type
18 'RTF' -- Output Format
19 );
20
21 dbms_output.put_line(v_request_id);
22 if v_request_id > 0 then
23 dbms_output.put_line('successfully submitted.');
24 commit;
25 else
26 dbms_output.put_line('not submitted.');
27 rollback;
28 end if;
29
30 end;
31 /
9888651
successfully submitted.
PL/SQL procedure successfully completed
SQL> 'Y' for "Dummy for Data Security" also works for me
SQL> declare
2 v_request_id number;
3 begin
4
5 begin fnd_global.apps_initialize(0, 20419, 0); end;
6 v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
7 'XDOREPPB',
8 NULL,
9 NULL,
10 FALSE,
11 'Y', -- Dummy for Data Security
12 9888637, -- Request
13 0, -- Template Application
14 'XXAND10_1', -- Template
15 'en-US', -- Template Locale
16 'N', -- Debug Flag
17 'RTF', -- Template Type
18 'RTF' -- Output Format
19 );
20
21 dbms_output.put_line(v_request_id);
22 if v_request_id > 0 then
23 dbms_output.put_line('successfully submitted.');
24 commit;
25 else
26 dbms_output.put_line('not submitted.');
27 rollback;
28 end if;
29
30 end;
31 /
9888652
successfully submitted.
PL/SQL procedure successfully completed
SQL> -
Crystal report add on installation error
Hi ,
While starting the crystal report addon following the error is coming--> retrieving the COM class factory component with CLSID{3EBB7859-E4 E3-4D77-B ,our operting system -- windows 2003 server-- 64 bit ,
Regards
Naresh KHi Naresh,
You can find more information on the thread:
SAP Business One and Crystal Reports
There are quite few threads in 10 pages for Crystal Reports. You may post it there too.
Thanks,
Gordon -
I have taken on an existing vb.net project done in Visual Studio 2008 with crystal reports version Crystal Report XI.
The reports on their own work very well. Problem is I need to add information to my report which is a 'many-to-one' situation where for each Project Id that I am displaying I need to display several attached documents and the report I am working on is for several Project Id's.
I figured this would be a perfect situation for a SubReport. I created a separate report which calls a stored procedure to get all of the Attached Documents for a specific Project Id. I thought if I were to add this new SubReport to the Original Report and link the Project Id's, easy-peazy, I would be done.
This is not the case. I have vb code that loads the Original Report with a stored procedure and when this code runs with the setup I described above it fails when it is creating the final report with the following error:
Logon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\~\ProjectDescriptionReport {6BA19F79-2A12-4826-B1F6-456EF799963B}.rpt: Unable to connect: incorrect log on parameters.
I have no specific connections in my vb code for the reports. If I do not add the subreport to the main report, it loads correctly, so I know the error is caused by the subreport.
This is the code that creates the original report (sorry for dumping the code here, i just thought it would be easier to see all the code) :
Public Function LoadReport(ByVal inProjectNum As Integer, ByVal strProjectName As String) As DataTable ', ByVal inFiscalYear As Integer, ByVal inCompany As String) As DataTable
Dim cnn As SqlConnection = Nothing
Dim cmd As Data.SqlClient.SqlCommand
Dim obj As New clsDataClass
Dim dataAdapter As SqlClient.SqlDataAdapter
Try
LoadReport = New DataTable("DescriptionReport")
cmd = New SqlCommand()
cnn = obj.Create_Connection()
With cmd
.CommandType = Data.CommandType.StoredProcedure
.Connection = cnn
.CommandTimeout = "60"
.CommandText = "usp_GetProjectGroupSpecsCR"
.Parameters.AddWithValue("@ProjectNumber", inProjectNum)
.Parameters.AddWithValue("@ProjectName", strProjectName)
End With
dataAdapter = New System.Data.SqlClient.SqlDataAdapter
dataAdapter.SelectCommand = cmd
dataAdapter.Fill(LoadReport)
Dim oRpt As New ReportDocument()
oRpt.Load(Server.MapPath("ProjectDescriptionReport.rpt"))
oRpt.Refresh()
oRpt.SetDataSource(LoadReport)
'oRpt.OpenSubreport("AttachmentsReport").SetDataSource(LAR)
oRpt.SetParameterValue("inProjectNum", inProjectNum)
oRpt.SetParameterValue("strProjectName", strProjectName)
oRpt.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, True, "Projects_DescriptionReport") 'inCompany & "ProjectsReport_Description" & inFiscalYear) <-- Line where the error occures.
What I need to know is what is the proper way to add a subreport to a vb.net application?
From the ways I have tried it is clearly not working and I am out of ideas. I am fairly new to Crystal Reports and this way of coding it.
Any help for this would be greatly appreciated, I've been stuck on this for a while and am finally reaching out to the Crystal Report Specialists.
Thank you in advance,
BryanHi Bryan,
You may want to check the Connection properties also. I think the MS Data.SqlClient.SqlCommand is using the MDAC driver, or could be modified.
If you are connecting to SQL Server 2008 or above you should be using the SQL Native 10 or 11 Client.
As Dell suggests have a look at the samples and if you can use a DSN ( 32 bit or 64 bit ODBC Admin )
Also search for "CRlogger", you'll find how to enable CR's database logging component and may help show you what part is failing.
Don -
Function MakeList(ByVal items As Object()) As String
If items Is Nothing Then
Return Nothing
END if
Dim builder As System.Text.StringBuilder =
New System.Text.StringBuilder()
builder.Append("<div>")
For Each item As Object In items
builder.Append("<div <ul>")
builder.Append(item)
builder.Append("</ul>")
Next
builder.Append("</div>")
Return builder.ToString()
End Function
Function Length(ByVal items as Object()) as Integer
If items is Nothing Then
Return 0
End If
Return items.Length
End FunctionHi Wintersbay,
According to your description, when you use the custom code in SSRS report, you got the error message.
To solve the problem, please refer to the custom code below:
Function MakeList(ByVal items As Object) As String
If items Is Nothing Then
Return Nothing
END if
Dim builder As System.Text.StringBuilder =
New System.Text.StringBuilder()
builder.Append("<div>")
For Each item As Object In items
builder.Append("<div <ul>")
builder.Append(item)
builder.Append("</ul>")
Next
builder.Append("</div>")
Return builder.ToString()
End Function
Function Length(ByVal items as Object) as Integer
If items is Nothing Then
Return 0
End If
Return items.Length
End Function
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
Report Server WMI Provider Error: Invalid namespace
Domain Server, Sql2012 server and SP2013 Server (3 vm servers)
the sql server reporting services service application and applications Proxy are installed and started (SP2013 Sever)
the sql server PowerPivot system Service and SQL server Reporting Services Service are Started (in Services on Server)
in sql server 2012 sp1 reporting service configured (web service URL and Report Manager URL are configured and tested, the database report server mode is native) (SQl 2012 Server)
under general Application Settings .. trying to setup the "Reporting Service Integration" give us the above error message (Report Server WMI Provider Error: Invalid namespace)
I was looking for all blogs and TechNet material but without success.Follow these steps:
1) Uninstall SSRS from the Database Engine server (MSSQLSERVER instance).
2) Install SSRS on the SharePoint server using the "Reporting Services - SharePoint" install option during SQL Feature selection, no other services are required (e.g. you do not need to install Database Engine services).
3) You should then see SSRS as a Service Instance in Central Admin -> Manage Services on Server, at which point you can also create an SSRS Service Application.
While this guide (http://msdn.microsoft.com/en-us/library/jj219068.aspx#bkmk_install_SSRS) walks you through it, this is for a single server install where the Database Engine is also installed on SharePoint, not something you want to do.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Financial Reporting Studio has overflow error when opening any report
Hello everyone!
I faced with problem in FR Studio. When I try open any report is appears an error "Overflow". In others machines this error is not appears.
Version of FR Studio: 11.1.2.757
Many thanks for your advices!Uninstall CRVS2010 that you currently have installed.
To remove the assemblies from the GAC use gacutil. Google will get you a number of links on how to. Also, see the KB [1535325 - How to remove CRVS2010 Beta 2|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333335333333323335%7D.do].
Reinstall CRVS2010 SP1 from here:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
- Ludek -
How to resolve "Internal error: ABAP Report cannot be loaded" error
Hi All,
I am new to SAP.Please help me out from this problem.
When I am trying to debug BSP page, in debugging mode it shows "Internal error: ABAP Report cannot be loaded" error and then dumps.
In transaction ST22 it shows this dump something like this
Runtime Errors MESSAGE_TYPE_X
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
1 FUNCTION AC_SYSTEM_FLUSH .
2 *"----
3 ""Lokale Schnittstelle:
4 *" IMPORTING
5 *" VALUE(CALLED_BY_SYSTEM) TYPE C OPTIONAL
6 *" EXCEPTIONS
7 *" CNTL_SYSTEM_ERROR
8 *" CNTL_ERROR
9 *"----
10 data: sysubrc like sy-subrc.
11
12 CALL FUNCTION 'AC_FLUSH_CALL'
13 EXPORTING
14 SYSTEM_FLUSH = 'X'
15 CALLED_BY_SYSTEM = CALLED_BY_SYSTEM
16 IMPORTING
17 MESSAGE_NR = sysubrc
18 MESSAGE_TEXT = SY-MSGLI.
19
20 sy-subrc = sysubrc.
21
22 CASE SY-SUBRC.
23 WHEN 0.
24 WHEN 1.
25 * system_error
26 MESSAGE ID 'CNDP' TYPE 'X' NUMBER 007 RAISING CNTL_SYSTEM_ERROR.
27 WHEN 2.
28 * method_call_error
>>>>> MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
30 WHEN 3.
31 * property_set_error
32 MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
33 WHEN 4.
34 * property_get_error
35 MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
36 WHEN OTHERS.
37 RAISE CNTL_ERROR.
38 ENDCASE.
39
40 ENDFUNCTION.
Thanks in advance
Sunil ChoudhuryHi Sunil,
The reason for this could be anything, anyways look up for an OSS note with the error message first.
As a workaround, you can try to use the classic debugger instead of the new ABAP debugger and see if it works.
You should be logged into SAP via SAP GUI when you are debugging BSP.
Regards
Chen
Maybe you are looking for
-
How do I use the brush to paint in latest version of Photoshop CC ? I have a MAC with OS 10.10.2. I clicked the brush tool, then clicked on color swatch that brought me to the colors and clicked OL... but not able to get the color I need.
-
Idoc is recieved as xml format instead of text format
hi i am new to XI , I am right now i am trying with Idoc to file scenario i am sending idoc from an R/3 system and i am receiving it as file in another R/3 system. In accordance to that i have designed & configured all settings, But when i am sending
-
I was messing with my keyboard languages and i put it on a different language then i got distracted then my iphones autolock locked my phone and now when i try to unlock my phone it doesnt have the correct letters that i have in my password so now it
-
Updated iphone4 software on a different computer, now my apps close immediately
I recently plugged my iphone into my mothers computer just to update my software. I didn't sync anything. Now once I open any app on my iphone they close immediately. What do I do?
-
Audio has ecko from sound system how do I lesson to make sound more clear
Hi, Video at an event where person was using a sound system. The venue was an indoor riding ring. There is ecko from the sound system. How do I lessen this using the audio effects? tks sarah