Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgment

In this article, I will explain How to trace and solve the below error

Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgment.
This could be because the pre-login handshake failed or the server was unable to respond back in time.

connection-timeout-expired.png


Scenario

Continue reading “Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgment”

Advertisements

Add a scrollbar for ASP.NET AJAX Modal popup extender inside SharePoint Visual WebPart

I am using the ModalPopUpExtender in Visual WebPart, I need to allow vertical scroll therefore, I set the Panel Property  ScrollBars=”Vertical” as shown:

scrollbars

But unfortunately, the scroll still not working !! as shown below:

ScrollIssue

Solution: Continue reading “Add a scrollbar for ASP.NET AJAX Modal popup extender inside SharePoint Visual WebPart”

No http handler was found for request type ‘GET’ in SharePoint Visual WebPart

I tried to use Asp.Net Chart control within SharePoint Visual WebPart, After I deployed the SharePoint Solution, I tried to add Chart visual webpart to SharePoint page, I got the following server error.

No http handler was found for request type 'GET'

Chart Configuration

Cause: Continue reading “No http handler was found for request type ‘GET’ in SharePoint Visual WebPart”

Show Modal Popup Per Session In SharePoint

In this article, I will elaborate How to

Display A Modal Popup Per Session in SharePoint.

show a fancy box as a Popup Modal Per Session in SharePoint


Scenario

I need to show a Modal popup window in SharePoint site. This is modal popup should be only shown when opening the SharePoint site one time for each user based on his session.

In this article, I will use the FancyBox as an amazing modal popup window.


Steps
Continue reading “Show Modal Popup Per Session In SharePoint”

Changing NLS_LANGUAGE Oracle Parameter via C# in ASP.NET

In this article, I will explain

How to change “NLS_LANGUAGE” Oracle Parameter via C# in ASP.NET

Changing NLS_LANGUAGE Oracle Parameter via C# in ASP.NET


Scenario

I am working on ASP.NET web application to retrieve a data from oracle database via C# that has been retrieved successfully, Suddenly, I found out the format of the retrieving data has been changed, and the web application raises unexpected behavior although I didn’t change anything in my code. Continue reading “Changing NLS_LANGUAGE Oracle Parameter via C# in ASP.NET”

Replace a broken image with a default image via JavaScript In ASP.NET

In this hint, I will show How to

Replace broken image with a default image Using JavaScript


Scenario

At previous Article, I have explained How to retrieve BLOB Field from Oracle DB via ASP.Net but I found out when an employee does not have an image in the database the output look like as Replace a broken image with a default image using JavaScript In ASP.NET


Replace the broken image with a default image In ASP.NET Continue reading “Replace a broken image with a default image via JavaScript In ASP.NET”

Retrieve BLOB Field from Oracle DB Using ASP.NET

At this article, I will demonstrate How to

Read BLOB  field from Oracle using Generic Handler in ASP.NET.


What’s the Generic Handler in ASP.NET?

Some ASP.NET files are dynamic. They are generated with C# code or disk resources. These files do not require web forms. Instead, an ASHX generic handler is ideal.

It can return an image from a query string, write XML, or any other data.to know more about Generic Handler check this.


Generic Handler (ASHX) VS Web Forms (ASPX)

The WebForms (ASPX) can be used in

  • Simple Html Pages.
  • ASP.Net Custom Controls.
  • Simple Dynamic Pages.

The Handlers(ASHX) can be used with

  • Binary files.
  • Dynamic Image Views.
  • Performance critical web pages.
  • XML files.
  • Minimal Web Pages.

Steps: Continue reading “Retrieve BLOB Field from Oracle DB Using ASP.NET”