Persistent and Non-persistent cookies in ASP.NET
While working with a json file today I got the following error from server: HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the pag...
Guide to set up IIS on your system either through Web PI or manually.
Solve virtual directory problem in simple steps
I had to redirect one particular page to different destination for an application. I wanted to do this via web.config only. This is what I did: <location path="default.aspx"> &...
If you want to apply 301 (Redirect permanent) for all http requests to https you need to add the following section in your system.webserver section of your web.config file: <rewrite> &am...
If you are facing 404 error while accessing iso extension file this blog will help you. You need to add following code in your web.config: <remove fileExtension=".iso" /> &...
While using the File.Move method to move a file from one location to other: File.Move(oldPath, newPath); I was getting the following exception: Access to the path is denied. Exception Details: System....
This is an off-topic post. I had to blog about it because Activision deserves to be slammed for not providing the pause option when playing "extinction" or "squad" offline.
While working with ASP.NET multiline textbox I realized that MaxLength property was not working, it seems it was bypassed by ASP.NET engine. I decided to write a small JavaScript piece of code in orde...
If you have the image data in System.Drawing.Image and want to bind that to ASP.NET Image control following code will help you: System.Drawing.Image img = System.Drawing.Image.FromStream(xx); // Your ...
I was getting the following error on one of our page: The length of the URL for this request exceeds the configured maxUrlLength value. Fix : Fix was to Update MaxUrlLength of httpruntime section in w...
While working with web.config configuration on parent - child sites, both ASP.NET one I was getting the following error in the parent site: An ASP.NET setting has been detected that does not apply in ...
While deploying a new application for our our product Communifire as a child application of exisiting site we were getting: "Could not load file or assembly 'assembly name' or one of its ...
In our application we made custom Image modal for image upload for TinyMCE. When user clicks any the images inside that modal we are inserting that image inside the tinyMCE editor. The code was like t...
Fix: HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a M...
I was facing a weird issue today where I one of my css files were not opening and was thoughing a redirect loop: I was trying to access the following URL : "http://mydomain.com/Assets/FontAwesome...
To detect the http or https scheme in ASP.NET in server side code we can use Uri.Scheme property. Below is the sample code to do the same: string url = "https://www.yourwebsite.com/"; Uri ur...
If you are using Windows Authentication and want to avoid the login prompt which comes when you try to access the application this blog will help you. The solution I am writing below is only for IE. I...
I was working with File Download stuff in ASP.NET and started getting the following exception: Platf
While transmitting PDF files to Chrome I started getting the following error: Duplicate headers rece
While working with transmitting files via server side was not working when filename was having space
We are using Lucene.Net in Communifire, and we noticed that with a lot of data, the application does
Today on one of our new server we were facing a weird issue where FormAuthentcaition was not working
While working with IIS today I started getting the following error: HTTP Error 500.21 - Internal Ser