16,004,686 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 7513082 (Top 19 by date)
Member 7513082
27-Jun-24 10:45am
View
If i upgrade the .net framework of the application from 3.5 to higher version will the mail communication to the server work. Mail sending was working earlier. We set the enable ssl true as the initial fix but now getting the above exception.
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)
Member 7513082
19-Jan-23 1:00am
View
In this i have updated the code more clearly. I am not getting a response for this issue. Request invoked through postman but the httpcontext null issue remains
Member 7513082
19-Jan-23 0:59am
View
I am using 4.6.1 framework. But i am getting null for httpcontext
Member 7513082
18-Jan-23 4:17am
View
I tried fetching the username and password from postman app as below:
HttpContext httpContext = HttpContext.Current;
string authHeader = httpContext.Request.Headers["Authorization"];
if (authHeader != null && authHeader.StartsWith("Basic"))
{
Common.WriteDDSLog("UserAuthentication()-Basic Authentication Started");
string encodedUsernamePassword = authHeader.Substring("Basic ".Length).Trim();
Encoding encoding = Encoding.GetEncoding("iso-8859-1");
string usernamePassword = encoding.GetString(Convert.FromBase64String(encodedUsernamePassword));
int seperatorIndex = usernamePassword.IndexOf(':');
var username = usernamePassword.Substring(0, seperatorIndex);
var password = usernamePassword.Substring(seperatorIndex + 1);
}
But getting object reference exception on debugging on reaching this code while invoking request
from postman
HttpContext httpContext = HttpContext.Current;
string authHeader = httpContext.Request.Headers["Authorization"];
Member 7513082
30-Nov-22 22:20pm
View
I have given the option to call below security protocols and now the issue is that we are getting the exception of request was not aborted. could not create ssl or tls channel. Response is coming via Postman app though.
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls
| SecurityProtocolType.Tls11
| SecurityProtocolType.Tls12
| SecurityProtocolType.Tls13
| SecurityProtocolType.Ssl3;
Member 7513082
30-Nov-22 11:10am
View
I upgraded the application to higher framework and set TLS 1.3 also as below . Both TLS 1.2 & 1.3 are enabled in server. Also a certificate file is added with the request. With and without the certificate getting same above exception.
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls
| SecurityProtocolType.Tls11
| SecurityProtocolType.Tls12
| SecurityProtocolType.Tls13
| SecurityProtocolType.Ssl3;
If i try via TLS 1.3 alone I am getting exception
underlying connection was closed an unexpected error occurred on a receive
I am getting the response via Postman though .
Member 7513082
7-Oct-22 10:32am
View
Tried as below but didn't work
Error objResponseError = new Error();
ResponseErrorCode = objResponseError.ErrorDetails[0].Code;
ResponseErrorCodeDescription = objResponseError.ErrorDetails[0].Message;
Getting object refernece issue
json string getting as response is as below:
{
"Header": {
"Audit": {
"T24_time": 285,
"ResponseParse_time": 0,
"RequestParse_time": 167
},
"Id": "PI2206601ZB01YQ8",
"Status": "failed",
"UniqueIdentifier": "IRFX221580544240744.00"
},
"Error": {
"Type": "BUSINESS",
"ErrorDetails": [
{
"FieldName": "debitAccountId",
"Code": "E-117691",
"Message": "ACCOUNT RECORD MISSING"
}
]
},
"Override": {},
"TraceId": "1de9e971-8f5f-47d4-e2c3-0a45c9aa1dd8"
}
Member 7513082
7-Oct-22 9:15am
View
How to fetch the value of Code coming under Error Detail in the response
Member 7513082
26-Sep-22 12:04pm
View
Content moved to the original question.
Member 7513082
25-Jul-22 23:17pm
View
I need to prevent the data access done after navigating to log out page by changing the http response status code from 302 to 200 OK
In the log out button click i am doing as below: session is cleared before redirecting: but still data accessed
string ReturnPage = "Login.aspx";
string PostBackUrl = FTS_Common.GetMessage("CONSOLE_PAYMENTHUBURL");
PostBackUrl = PostBackUrl + ReturnPage;
Session.Abandon();
Response.Redirect(PostBackUrl);
Member 7513082
16-May-22 10:19am
View
Below is the Exception details I am getting while deploying the build
Request for the permission of type 'System.web.AspNethostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed
Member 7513082
18-Apr-22 7:36am
View
I am able to remove the namespace with below code but the data with in the node are lost, I need to keep the node data as such even after removal of the namespace
var soapBody = doc.GetElementsByTagName("soapenv:Body")[0];
string innerObject = soapBody.InnerXml;
if (innerObject.Contains("T24EnquiryResponse"))
{
XElement xElement = new XElement(XElement.Parse(innerObject).Name.LocalName);
string test = xElement.Name.ToString();
string test1= xElement.Name.LocalName;
xElement.Name = xElement.Name.LocalName.ToString();
xElement = new XElement(xElement.Name.LocalName, XElement.Parse(innerObject).Elements().Select(el => RemoveAllNamespaces(el)));
//xmlDocumentWithoutNs = xElement;
txtRequest.Text = xElement.ToString();
}
Member 7513082
13-Apr-22 6:23am
View
namespace prefix may com as ns3: or as ser-root etc for the node T24EnquiryResponse. I need to remove the namespace prefix whichever it may be for this node name alone.
Member 7513082
7-Apr-22 6:55am
View
to get a response i just reposted the need much more precisely and shortly. please respond to the same if any one is clear on this
Show More