Net 2.0 Framework Service Pack 2 Issue

I’m trying to install .Net 2.0 Framework Service Pack 2 on a Win 2k8 server which currently has .Net Framework 2.0 SP1, .Net Framework 3.0 SP 2 and .Net Framework 3.5 SP1 installed. The reason for installing SP2 is that I need to install a hotfix for this issue (hanselman.com/blog/…). When I attempt to install … Read more

What are .ashx files in an ASP.NET application?

In short, a file ASHX is an ASPX file, minus all plumbing ASP.NET webform. I am using ASHX to generate PDF files on the fly, and download them. Similarly, I use them to generate thumbnails on the fly and download them. This could work very well with a blank ASPX, but ASHX files are much … Read more

“Exception has been thrown by the target of an invocation” error (mscorlib)

I’d suggest checking for an inner exception. If there isn’t one, check your logs for the exception that occurred immediately prior to this one. This isn’t a web-specific exception, I’ve also encountered it in desktop-app development. In short, what’s happening is that the thread receiving this exception is running some asynchronous code (via Invoke(), e.g.) … Read more

What does ‘IISReset’ do?

IISReset stops and restarts the entire web server (including non-ASP.NET apps)Recycling an app pool will only affect applications running in that app pool.Editing the web.config in a web application only affects that web application (recycles just that app).Editing the machine.config on the machine will recycle all app pools running. IIS will monitor the /bin directory … Read more

What does ‘IISReset’ do?

IISReset stops and restarts the entire web server (including non-ASP.NET apps)Recycling an app pool will only affect applications running in that app pool.Editing the web.config in a web application only affects that web application (recycles just that app).Editing the machine.config on the machine will recycle all app pools running. IIS will monitor the /bin directory … Read more

Chrome returns “Bad Request – Request Too Long” when navigating to local IIS Express

I get this all the time ONLY in Chrome and I have to clear browsing data to fix it. Wrench > Tools > Clear Browsing Data Check the following: Clear browsing history Clear download history Empty the cache Delete cookies and other site data Then click “Clear Browsing Data” button and refresh your page. UPDATE:I … Read more