System instability using reports that raise an exceptions
I am having a problem with some reports when I use the type "PL/SQL function body returning SQL query".
If the Function raise an exception, the apex's engine will call again the function and it raise again the exception. These will make a loop that doesn't end until you close the session. The problem is that this page consume all the recourse of the CPU and/or fill the partition where the logs are saved. All these generate Instability on the server and also could bring down the server.
To reproduce this error you have to follow this steps:
1) First create a simple function to return a raise.
FUNCTION DORTEGA_TEST_RAISE RETURN VARCHAR2 IS
BEGIN
DECLARE
A NUMBER;
BEGIN
A := 12/0; --This operation generate an exception.
END;
RETURN 'SELECT 1 FROM DUAL';
EXCEPTION
WHEN OTHERS THEN
RAISE;
END;
2) Create a empty page with one report region.
3) Edit the report region and set these values:
a. Type = SQL Query (PL/SQL function body returning SQL query)
b. Display Point = Page Template Region Position 2
c. Source = BEGIN RETURN DORTEGA_TEST_RAISE; END;
Use Generic Column Names (parse query at runtime only)
4) When we run the application the page never load, and if you look the data base, you can view that the session it’s growing and it’s begins to consume all the memory and the processor of the server.
I am using APEX 3.1.0.00.32. And the DB is 11g.
Someone know why is this happening? Are there any fix for this bug?
Hi:
I was able to reproduce this in APEX 3.1.2 installed in an Oracle XE instance.
The APEX engine does seem to go into an endless loop and the server Oracle process handling this request eventually does with an out-of-memory error.
However, if instead of raising an exception in the exception handler of the function I have a statement like 'Return Null;' then the APEX engine comes back with an expected response of
failed to parse SQL query:
ORA-00900: invalid SQL statement
Varad
Similar Messages
-
JHS 10.1.3 Internal Server Error - Page when a view raises an exception
I have a view with some logic (based on a table function) and created: entity object, view object and (jhs) an advanced search page. When the view raises an exception an "500 Internal Server Error"-page is showed, but I expected the error would be showed in de messages-component.
I created a test case: a view on employees-table with in the select a function that raises an exception when last_name starts with "L". On this view an entity obejct, a view object and application module.
I generated with JHS a page : layout: table and only advanced search.
The first time the page is loaded (with auto query) some records are showed and the exception is showed as expected in the message-component. When I do a search (without criteria) the "500 Internal Server Error" pages is showed.
When I create manual a search page, the behavior is as expected.
(see below for error stack)
Greetings, Frank
"500 Internal Server Error"-page :
javax.faces.FacesException: #{searchVEmps.advancedSearch}: javax.faces.el.EvaluationException: oracle.jbo.RowNotFoundException: JBO-25060: Er is een onverwachte fout opgetreden bij het ophalen van de volgende rij uit JDBC ResultSet voor verzameling VEmps.
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)
at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.faces.el.EvaluationException: oracle.jbo.RowNotFoundException: JBO-25060: Er is een onverwachte fout opgetreden bij het ophalen van de volgende rij uit JDBC ResultSet voor verzameling VEmps.
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
... 27 more
Caused by: oracle.jbo.RowNotFoundException: JBO-25060: Er is een onverwachte fout opgetreden bij het ophalen van de volgende rij uit JDBC ResultSet voor verzameling VEmps.
at oracle.jbo.server.QueryCollection.hasNextInResultSet(QueryCollection.java:3103)
at oracle.jbo.server.ViewObjectImpl.hasNextForCollection(ViewObjectImpl.java:3650)
at oracle.jbo.server.QueryCollection.hasNext(QueryCollection.java:2992)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2207)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2088)
at oracle.jbo.server.QueryCollection.getRowCount(QueryCollection.java:1821)
at oracle.jbo.server.ViewRowSetImpl.getRowCount(ViewRowSetImpl.java:1933)
at oracle.jbo.server.ViewObjectImpl.getRowCount(ViewObjectImpl.java:5918)
at oracle.jheadstart.controller.jsf.bean.JhsSearchBean.executeAdvancedSearchBinding(JhsSearchBean.java:326)
at oracle.jheadstart.controller.jsf.bean.JhsSearchBean.advancedSearch(JhsSearchBean.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
... 28 moreCould you send your testcase to [email protected]? Rename extension .zip to something else (.zipped for example)
Thanks,
Steven Davelaar,
JHeadstart Team -
Hi Gurus,
Can you please share some useful reports that should be run on a daily/weekly/monthly or as-and-when-required basis to eliminate issue that may cause problems during the normal course of maintenance of the SCM 4.0 ?
It will be great to have some or a one line backgorund of what each report does? or is there any document, otherthan best practices, that contains useful reports to run.depends on what process you are running
here are a few form general DP/SNP
/SAPAPO/TS_LCM_PLOB_DELTA_SYNC - creates LC anchors and new Time series
/SAPAPO/TS_LCM_CONS_CHECK_ALL - detects inconsistencies in all PA and repairs it
/SAPAPO/TS_LCM_CONS_CHECK - for just one PA
/SAPAPO/TS_LCM_REORG - deletes superflous Ts and time bucket profiles - has a repair option on it
/SAPAPO/OM17 for livecache inconsistencies in order series data
/SAPAPO/CONSCHECK- inconsistency in masterdata -
Use of raise in exception handling block
what is the use of raise in exception handling block for eg.
declare
a number;
b emp.empno%type;
begin
begin
SELECT empno INTO a FROM emp where 1=2;
exception
when others then
dbms_output.put_line('inner');
raise;
end;
exception
when no_data_found then
dbms_output.put_line('outer');
end;
output will be like below ..
inner
outer
PL/SQL procedure successfully completed.
my question is wht is the use of using raise in exception handing part, is there any specific reason we use in the development ????
Regards,
AAK.In the first block, you do not raise you user-defined exception WHEN_NO_DATA_FOUND, but the predefined one, which is raised to the WHEN OTHERS exception handler.
Consider:
SQL> declare
2 a number;
3 my_err exception;
4 no_data_found exception;
5 begin
6 begin
7 select 1 into a from dual where 1=2;
8 exception
9 when no_data_found then
10 dbms_output.put_line(' In system defined');
11 raise my_err;
12 end;
13 exception
14 when my_err then
15 dbms_output.put_line('In User Defined');
16 when others then
17 declare
18 v_sqlerrm varchar2(100);
19 begin
20 v_sqlerrm := sqlerrm;
21 dbms_output.put_line(' In when others '||sqlerrm);
22 end;
23 end;
24 /
In when others ORA-01403: no data found
PL/SQL procedure successfully completed.
SQL> ed
Wrote file afiedt.buf
1 declare
2 a number;
3 my_err exception;
4 --no_data_found exception;
5 begin
6 begin
7 select 1 into a from dual where 1=2;
8 exception
9 when no_data_found then
10 dbms_output.put_line(' In system defined');
11 raise my_err;
12 end;
13 exception
14 when my_err then
15 dbms_output.put_line('In User Defined');
16 when others then
17 declare
18 v_sqlerrm varchar2(100);
19 begin
20 v_sqlerrm := sqlerrm;
21 dbms_output.put_line(' In when others '||sqlerrm);
22 end;
23* end;
SQL> /
In system defined
In User Defined
PL/SQL procedure successfully completed.
SQL>Note that in the second block, I deleted the declaration of the user defined exception NO_DATA_FOUND.
This is taken from the documentation:
Redeclaring Predefined Exceptions
Remember, PL/SQL declares predefined exceptions globally in package STANDARD, so you need not declare them yourself. Redeclaring predefined exceptions is error prone because your local declaration overrides the global declaration. For example, if you declare an exception named invalid_number and then PL/SQL raises the predefined exception INVALID_NUMBER internally, a handler written for INVALID_NUMBER will not catch the internal exception. In such cases, you must use dot notation to specify the predefined exception, as follows:
EXCEPTION
WHEN invalid_number OR STANDARD.INVALID_NUMBER THEN
-- handle the error
END;You can read yourself :
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/errors.htm
Regards,
Gerd -
Environment:
OS: Windows 7 32/64 bit, Windows 2008 Server 64
bit/ Windows 2012 Server 64 bit
Priority:
- Critical
Requirement: - Since
the Windows Service is running under the Local System Account, we would like to emulate this same behaviour.
Basically, we would like to run CMD.EXE under the Local System Account. So that we can map a network drive to be used by a service using following
command
net use z: \\servername\sharedfolder /persistent:yes.
Already Attempt:
We tried to launch the CMD.exe using the DOS Task Scheduler AT command. Here’s a sample command:
AT 10:36 /interactive cmd.exe
But I received a warning that “due
to security enhancements, this task will run at the time excepted but not interactively.”
It turns out that this approach will work for XP, 2000 and Server 2003 but due to session isolation
Interactive services no longer work on Windows 7, Windows Server 2008 and above.
2. We
tried to create a secondary Windows Service via the Service Control (sc.exe) which merely launches CMD.exe.
<Drive>:\sc create RunCMDAsLSA binpath= "cmd" type=own type=interact <Drive>:\sc
start RunCMDAsLSA
In this case the service fails to start and results it the following error message:
FAILED 1053: The service did not respond to the start or control request in a timely fashion.
3. One
suggestion, we found to launch CMD.exe via a Scheduled Task, but
it is not giving any option to launch CMD.exe in interactive mode; so that I can map network drive using net command.
4. I read an article, which
demonstrates the use of PSTools from SysInternals. I launched the command line and executed following command
psexec -i -s cmd.exe
PSTools worked fine, but It seems that in scope of Sysinternals Software License
Terms. You may not "use the software for commercial software hosting services."
Application will deploy on client, which will be like commercial,
so we are not able to use PSTools.
Kindly assist us for achieving the requirement. We have tried all the ways, but nothing is working for us. Kindly suggest.
I will be really thankful.Hi Sir,
Nothing worked from above for us. You can see our remarks on posted query.
That’s why, we posted on forum.
And there will not be any vulnerability, because, if we will use "net
use ..."
in network domain; definitely,
we will provide username and password of mapped drive system.
And, that system, itself is given by client; so that, there must not be any vulnerability; they are ready to provide user name and password.
We need a way; by which we can complete the requirement. Kindly assist.
Regards,
S. P. Singh -
Hello,
I am creating an app using NAPA tool in Office 365. I am trying to "Add an attachment" to a custom list item using SPServices. When I am using my code (jquery code) in content editor web part on a page, its working fine, but when I am adding
the same code in an app, its giving me error : "The system cannot find the file specified. (Exception from HRESULT:
0x80070002)" - 500 Internal Server error.
(function () {
// This code runs when the DOM is ready and creates a context object which is
// needed to use the SharePoint object model
$(document).ready(function () {
//alert('In doc ready');
$('.attachmentButton').change(function(event){
var listName = 'UploadTest',
itemId = 2;
handleFileChange(listName,itemId,event.target.files);
function handleFileChange(listName,itemId,files){
alert('In handleFileChange :=' + listName + "" + itemId + "" + files[0]);
alert('files.length :=' + files.length);
var filereader = {},
file = {},
i=0;
//loop over each file selected
for(i = 0; i < files.length; i++) {
alert('In for loop');
file = files[i];
filereader = new FileReader();
filereader.filename = file.name;
alert('filereader.filename :=' + filereader.filename);
filereader.onload = function() {
var data = this.result;
var n=data.indexOf(";base64,") + 8;
//alert('n :=' + n);
//removing the first part of the dataurl give us the base64 bytes we need to feed to sharepoint
data= data.substring(n);
//alert('data :=' + data);
alert('Above SPServices this.filename :=' + this.filename);
$().SPServices({
operation: "AddAttachment",
listName: listName,
asynch: false,
listItemID:itemId,
fileName: this.filename,
attachment: data,
completefunc: function (xData, Status) {
console.log('attachment upload complete',xData,status);
alert('Status :=' + Status);
if (Status.toLowerCase() == "error"){
alert(xData.responseText);
alert(xData.status);
alert(xData.statusText);
filereader.onabort = function() {
alert("The upload was aborted.");
filereader.onerror = function() {
alert("An error occured while reading the file.");
//fire the onload function giving it the dataurl
filereader.readAsDataURL(file);
alert(xData.responseText); - gives error - " "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)""
alert(xData.status); - gives error - "500"
alert(xData.statusText); - gives error - "Internal server error"
Server Publishing infrastructure and Server publishing features are activated on site collection and site respectively.
Any suggestions, why I am getting this error in NAPA ?Hi,
According to your post, my understanding is that you have an issue about adding attachments to list items in app.
To add attachment to list item in the host web, we should first get the list and the list items from the host web, then add the attachments to the list items.
There are two articles about retrieve the list and list items in the host web, you can refer to them.
http://www.dotnetcurry.com/showarticle.aspx?ID=1028
http://www.c-sharpcorner.com/UploadFile/93cb27/retrieve-sharepoint-app-host-web-list-items-in-sharepoint-ho/
What’s more, we can also use the REST API to achieve the same scenario.
http://www.c-sharpcorner.com/UploadFile/472cc1/add-attachments-to-list-items-in-sharepoint-2013-using-rest/
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Error while subscription on SSRS report that uses custom assembly
I am new to SSRS. i have created a report that uses custom assembly that runs an oracle procedure and bring back result to report. this works fine on sharepoint mode interactive report. while i subscribe the same report, i am getting below error
Request for the permission of type 'System.Data.OracleClient.OraclePermission,System.Data.OracleClient,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089'failed. < ==>
at System.Security.CodeAccessSecurityEngine.Check(Objectdemand,StackCrawlMark&stackMark, BooleanisPermSet)
at System.Security.PermissionSet.Demand()
at System.Data.Common.DbConnectionOptions.DemandPermission()
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnectionouterConnection,DbConnectionFactoryconnectionFactory)
at System.Data.OracleClient.OracleConnection.Open()
i am breaking my head to find the root cause and fix for this.
i tried adding below permission on server machine.config file,
<SecurityClass Name="OraclePermission" Description="System.Data.OracleClient.OraclePermission, System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<PermissionSet class="NamedPermissionSet" version="1" Unrestricted="true" Name="FullTrust" Description="Allows full access to all resources for custom assembly">
<IPermission class="OraclePermission" version="1" Unrestricted="true" Level="High" Flags="FullTrust"/>
</PermissionSet>
it doesnot work and i am getting the same error on subscription.
can anyone help me to solve this issue. this is very urgent. thanksCan you see data for Custom object @ BEx level??
YES, then just try to re-create the same variable and Save the BW query.
Now do View - refresh Strusture @ Universe. And you can see Filter for the same, just Parse it, just whether it is OK or not.
OK -- then Export the Universe and create WebI reports, this will come as Prompt.
Hope it will helps you.
Thank You!!
Sent from iPhone -
Report that can take the system: (users, utilization, T-CODE)
I need a report that can take the system:
How many times a user logged into the system in the last month
Most used transactions
Changes passwords.
Etc., all you have to do with a user-level tuning.
thanks,
VLopesHi
If you Activate the audit log you can keep track all information,
have a look at -successful and unsuccessful dialog and RFC logon attempts
--successful and unsuccessful transaction and report stats ...
how many times a user logged -in and all .yah you need to count
the number of times a user logged based on the report.
Once you activate....every day transaction details are recorded for every user
who tries to log in.keep an eye on the below parameters
In RZ10
rsau/enable :set to 1 to activate audit logging
rsau/local/file :to specify name and location of audit log file
rsau/max_diskspace/local :To specify maximum space for audit file say if
max.size is reached auditing stops
Hope that helps.
regards
Manjula .U -
Hidden Report Viewer Confiugration Error on aspx pages that use report viewer web control
I try to fix the problem. The error below is embedded on aspx pages that use report viewer web control. Please note that the div element is hidden, and the reportviewer is displaying correct contents.
Div element hidden on aspx page
<div id="ReportViewer1_HttpHandlerMissingErrorMessage" style="border-color:Red;border-width:2px;border-style:Solid;padding:10px;display:none;font-size:.85em;">
<h2>
Report Viewer Configuration Error
</h2><p>The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.webServer/handlers section for Internet Information Services 7 or later.</p>
</div>
I tried adding the two elements to web.config, but to no avail.
Add below to system.web/httpHandlers
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
or add below to system.webServer/handlers for Internet Information Services 7 or later.
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
The required assemblies below are installed under C:\Windows\assembly folder. I have installed both Microsoft ReportViewer 2010 Redistributable, and 2008 SP1.
Microsoft.ReportViewer.WebForms, version 10
Microsoft.ReportViewer.Common, version 10
Below is the whole web.config:
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="car" value="myCar" />
<!--<add key="ReportViewerServerConnection" value="WebForm.Lab.ReportConnection, WebForm" />-->
</appSettings>
<system.web>
<httpHandlers>
<add verb = "*" path = "Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<!--<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />-->
</httpHandlers>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
</compilation>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880" />
</authentication>
<membership>
<providers>
<clear />
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
</providers>
</membership>
<profile>
<providers>
<clear />
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
</providers>
</profile>
<roleManager enabled="false">
<providers>
<clear />
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
</providers>
</roleManager>
<pages>
<controls>
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
</pages>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
</customHeaders>
</httpProtocol>
</system.webServer>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="WebService1Soap" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:58269/WebService1.asmx" binding="basicHttpBinding"
bindingConfiguration="WebService1Soap" contract="ServiceReference1.WebService1Soap"
name="WebService1Soap" />
</client>
</system.serviceModel>
</configuration>
Any idea?
Update:
IIS is7.5, AppPool is Integrated.
I have tried below, none of them works:
1) Add it only to system.web\httpHanders. Changed AppPool to classic, still got hidden error.
2) Add it only to system.webServer\handlers. Integrated mode,still got hidden error.
3) Add both to both element. Integrated mode, still got hidden error.Hi Kingofwebguru,
According to your description, when you use reportviewer control, you got the error message: The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file.
To troubleshoot the problem, please refer to the following steps:
Click Start, click Run, then type InetMgr.exe and click OK.
Click plus sign next to server name to expand it.
Click Application Pools in left pane.
In Application Pools list, click DefaultAppPool.
In the Actions pane, in Edit Application Pool section, click Edit Settings to check the Pipeline mode.
Configuration settings for the HTTP handlers are specified in the system.web/httpHandlers element and the system.webServer/handlers element. of your application Web.config file. The handler specified in system.web/httpHandler is used by Internet Information
Services (IIS) 6.0 or IIS 7.0 in Classic mode, whereas the handler specified in system.webServer/handlers is used by IIS 7.0 in Integrated mode. To use IIS 7.0 in Integrated mode, you must remove the HTTP handler in system.web/httpHandlers. Otherwise, IIS
will not run the application, but will display an error message instead.
For more information about Web.config Settings for ReportViewer, please refer to the following document:
http://msdn.microsoft.com/en-us/library/ms251661.aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.
Wendy Fu
TechNet Community Support -
Hi
I am looking for a solution to the consumption
of the VM systems in Azure Portal that reports and notified me by mail.
Please suggest.
Thanks, KkHi Kk,
what notifications are you expecting? like Machine down etc.?
you can make use of monitoring alerts and notifications in Azure, this will allow you to configure different
metric related to your virtual machines and other azure service you use.
Specifically for VMs you can configure different metric for the VM host OS and you can also configure web end point status metric (will monitor situation like machine down or offline)
here are two good reads
Understanding Monitoring Alerts and Notifications in Azure
Khalid's blog on
Microsoft Azure Virtual Machine Monitoring with Azure Diagnostics Extension
Hope this helps,
Please mark as answered if it helped
Vishal Narayan Saxena, MVP
http://twitter.com/vishalishere
http://www.ogleogle.com/vishal/ -
Error while creating a report that uses Oracle OCI JDBC connectivity
Please let me know why my CR and LF characters are removed from my forum posting *****
Hi,
I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip". I have successfully created a JDBC OCI connection.
The connection parameters are given below:
URL: jdbc:oracle:oci8:@xe
Database: xe
username: <userName>
password: <password>
I have tested the above connection in Data source Explorer and it works fine!!!
But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here? Any help is highly appreciated.
com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks
Karthik
Edited by: KARTHIK1 on Oct 14, 2009 9:38 PMHi Ted,
Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI. It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
1) Can you please let me know if there is a way to do this?
2) Will it allow data sources using native database driver?
3) If so, can I use JRC to create these reports from a desktop java program?
Thanks & Regards
Karthik
Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM -
When I try to open a recent document I get the following message "You need a newer version of Pages to open this document." I have downloaded version Pages version 5.2.2 and the app store confirms this (and won't let me download it again), but my Pages About reports that I am using 4.3
Here is the solution that I received from the chat line.
When you update applications like Pages it usually keeps both versions on the computer. So what most likely happened is it didn’t put the new version on your dock. So to fix this, open a finder window. And go into applications which should be listed on the left. Scroll down and you will see Pages listed in here. And the icon should look different. You can drag that icon down onto your dock.Open that and you then can access your documents -
On my Macbook pro 15, 2011, System Profiler is suggesting that it uses SATA III for the hard drive and SATA II for the Optical Drive. Is that true?
That is correct. The tech specs indicate:
Hard Drive Interface
6.0 Gbps Serial ATA (SATA)
Optical Drive Interface
3.0 or 6.0 Gbps Serial ATA (SATA) -
Hello! I lost my iphone like a month ago, well I reported that phone as lost with my icloud account, now I got a new iphone and I would like to know if I can use that same icloud account with this new phone? The old one will stay reported?
Thank you. The old one will stay reported?
-
iCal reports that it can't find server, and lots of data from several years ago is trying to get attention. Cannot bring up calendar in any view to use. also keeps loading unused calendar websites from long ago. I can' remove them. what to do?
UPDATE: I had 36 Safari windows open and minimized on the dock from my last session; 20 of those windows failed to open b/c Safari "couldn't find the server"; I just went to the URL bar of all 20 pages and clicked return, and all 20 pages loaded perfectly, without dropping any images or losing formatting. This is a puzzle!!!
Maybe you are looking for
-
Autodetection not properly setting up wacom tablet
I have a tablet PC, and recently upgraded to xserver 1.6. X would freeze on startup roughly 50% of the time until (based on this thread) I removed xorg.conf (except for DontZap). Now X doesn't freeze on start, but the tablet is only being partially
-
No Longer Possible to Access iCloud Mail on Third Party Mac
Something has changed recently. It is no longer possible to access iCloud mail on a third party mac via web browser This afternoon, I tried to do so on my daughter's iMac - and the system wanted me to set up iCloud rather than letting me access Mail
-
File Character Limit with Acrobat 9 Pro File Naming
I'm experienceing an issue that I'm sure was not there with previous versions of Acrobat. When printing a Word file with a long name to Acrobat (File->Print -> Adobe PDF) the original file name is being shortened and the end replaces by a series of "
-
Issue while integrating OID and BPEL.
Issue while integrating OID and BPEL. We followed steps mentioned in for integration. WE have two SoA instances, home, oc4j_soa. http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#BABIBGFF Before running configur
-
Hi to @ll!!! someone knows why is due this error? Thanks in advance.