Click here to Skip to main content
15,886,806 members

Comments by Member 7513082 (Top 18 by date)

Member 7513082 13-Feb-24 8:33am View    
if I fetch control id value using document.getElementById('<%=ddlBankType.ClientID %>').value in aspx content page it works . but if i try to access the same control same way in JS file it gives null exception. if i hardcode the control id value as below in external js it works
document.getElementById('ctl00_cphDDS_ddlBankType').value;
How can get the control id value in external js file without hardcoding via javascript
Member 7513082 13-Feb-24 8:03am View    
Issue is client side itself
with below
document.getElementById('ctl00_cphDDS_ddlBankType').value; it works in JS file
but with this document.getElementById('<%=ddlBankType.ClientID %>').value i get null exception in JS file
Member 7513082 10-Feb-23 8:58am View    
I am showing the exception from the log itself. In my code already i have set the option to read the inner exception and exception with stack trace. Exception that I got is posted also.
Member 7513082 10-Feb-23 5:56am View    
I have updated the code and while deploying to 2019 server i am getting above error. Core Code also is shared. Cannot check via debugger in the server.
Member 7513082 24-Jan-23 10:20am View    
Same exception coming for all reports which worked in another server before.
Timestamp: 18/01/2023 13:39:59 Message: HandlingInstanceID: 95ef3293-2198-402b-9f55-7fa86e93a8c8
An exception of type 'CrystalDecisions.CrystalReports.Engine.InternalException' occurred and was caught.
--------------------------------------------------------------------------------------------------------
01/18/2023 13:39:59
Type : CrystalDecisions.CrystalReports.Engine.InternalException, CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
Message : 
Error in File C:\Windows\TEMP\Charge_DDALodgement {D5AF8070-2EA7-44D4-9D5A-DBFD7060F5EF}.rpt:
The request could not be submitted for background processing.
Source : CrystalDecisions.ReportAppServer.DataSetConversion
Help link : 
ErrorID : -256
Data : System.Collections.ListDictionaryInternal
TargetSite : Boolean ThrowDotNetException(System.Exception)
HResult : -2147221760
Stack Trace :    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataTable dataTable)
   at Reports_Charge_DDALodgement.ViewReport() Additional Info: MachineName : AHB01DDDSAPV02
TimeStamp : 18/01/2023 09:39:59
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : /LM/W3SVC/1/ROOT/DDS_LIVE_TRANSACT-1-133185083422805480
ThreadIdentity : 
WindowsIdentity : IIS APPPOOL\DefaultAppPool
    Inner Exception
    ---------------
    Type : System.Runtime.InteropServices.COMException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : 
Error in File C:\Windows\TEMP\Charge_DDALodgement {D5AF8070-2EA7-44D4-9D5A-DBFD7060F5EF}.rpt:
The request could not be submitted for background processing.
    Source : Analysis Server
    Help link : 
    ErrorCode : -2147482963
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void ReplaceConnection(System.Object, System.Object, System.Object, System.Object)
    HResult : -2147482963
    Stack Trace :    at CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault)
       at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val, Type type)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)