Skip to content

The Dummy Programmer

Stories of daily programming

  • Home
  • My other dummy projects
  • Games
    • Space Y: An Asteroids clone
  • Services
    • What’s my user agent
    • What’s my IP address
  • About
  • Toggle search form

Category: ASP.NET

HTTP 500 – Internal server error in an ASP.NET application

HTTP 500: every web developer has faced this error at least once in his life, and today I want to tell my story… A few days ago I was working on an ASP.NET WebForm application, which consistently showed the error HTTP 500 – Internal server error. Since IIS was configured not to show detailed errors,…

Read More “HTTP 500 – Internal server error in an ASP.NET application” »

ASP.NET

WebResource.axd (404) not found

Good morning guys! A few days ago I was working on an ASP.NET web form application which uses the control library Telerik ASP.NET AJAX. The application worked without problems until it was moved in a new server running Windows Server 2019. Running in the new environment it stopped working and in the browser’s development console…

Read More “WebResource.axd (404) not found” »

ASP.NET

Telerik RadGrid’s pagination hangs

Today I want to talk you about a problem I faced in these last days working on a ASP.NET web form project. In this project I used the library “UI for ASP.NET AJAX” from Telerik, and in particular the problem occurred using the RadGrid control. What was the problem? In a nutshell, without an explanation,…

Read More “Telerik RadGrid’s pagination hangs” »

ASP.NET

Put an ASP.NET website under maintenance

Good morning folks! It’s been a few days since the last post, but here I am… Sometimes happen that you have to put a website in maintenance mode. Maybe you are doing some upgrades to your website and you don’t want that users access it while you are working. In this cases, you simply want…

Read More “Put an ASP.NET website under maintenance” »

ASP.NET

System.Net.Sockets.SocketException (0x80004005): No such host is known

I was working on an old ASP.NET application written in C#, which uses the following method to code to get the IP address of the server it runs on: Apart from the doubt about the correctness of the code to obtain the IP address of the machine, at the line with the call to “Dns.GetHostEntry”,…

Read More “System.Net.Sockets.SocketException (0x80004005): No such host is known” »

ASP.NET

Telerik RadGrid rendering problems with IE11 in compatibility mode

In some of my old projects, I use the Telerik ASP.NET AJAX control library, . Unfortunately, some customers still use Internet Explorer 11 in compatibility mode… and here the problems begins… To be correct the problem begins when we try to force IE11 working from compatibility mode to standard mode using the header: X-UA-Compatible: IE=Edge…

Read More “Telerik RadGrid rendering problems with IE11 in compatibility mode” »

ASP.NET

Configure access permission to a folder for an IIS Application pool

Suppose you are developing an ASP.NET application and you have to configure write permissions to a certain folder, maybe because you use it as temporary folder to write some data. You don’t want to assign “Everyone – Full control” to the folder because you want to be the most restrictive possibile. Following I’m explaining to…

Read More “Configure access permission to a folder for an IIS Application pool” »

ASP.NET

Failed to decode downloaded font: (your web application address)

Suppose your web application gives this error message in you web browser console: “Failed to decode downloaded font”, followed by the address of the font with the problem. This is something similar to error messages you see in the image below. What you can do?Searching the internet about this problem you can find several solutions,…

Read More “Failed to decode downloaded font: (your web application address)” »

ASP.NET

NPOI and Excel found unreadable content in ‘[filename].xls’

In one of my ASP.NET applications, I was developing a page to extract some data to an xlsx file, and for this purpose I was using the library NPOI. Using Excel to open the xlsx file created by the application, I obtained different results depending on the server where the application was deployed: using some servers…

Read More “NPOI and Excel found unreadable content in ‘[filename].xls’” »

ASP.NET

Copyright © 2024 The Dummy Programmer | Privacy Policy | Terms of use |

Powered by PressBook Masonry Dark

Manage Cookie Consent
This site doesn’t collect user personal data and doesn’t install profiling or analytical cookies, either its own or from third parties. Read our privacy policy for more info.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}