All Questions

251
votes
13answers
74164 views

Dots in URL causes 404 with ASP.NET mvc and IIS

I have a project that requires my URLs have dots in the path. For example I may have a URL such as www.example.com/people/michael.phelps URLs with the dot generate a 404. My routing is fine. If I pas...
789
votes
14answers
506303 views

Maximum request length exceeded.

I am getting the error Maximum request length exceeded when I am trying to upload a video in my site. How do I fix this?
138
votes
20answers
308330 views

Deploying website: 500 - Internal server error

I am trying to deploy an ASP.NET application. I have deployed the site to IIS, but when visiting it with the browser, it shows me this: Server Error 500 - Internal server error. There is...
206
votes
16answers
167608 views

Best way to run scheduled tasks

Today we have built a console application for running the scheduled tasks for our ASP.NET website. But I think this approach is a bit error prone and difficult to maintain. How do you execute your sch...
110
votes
17answers
133880 views

ASP.NET Web API - PUT & DELETE Verbs Not Allowed - IIS 8

I recently upgraded from Visual Studio 2010 to the Visual Studio 2012 RC. The installer also installs IIS 8 Express which Visual Studio now uses as the default web server. IIS 8 is blocking my WEB AP...
6
votes
1answers
19985 views

Why the Ajax script is not running on IIS 7.5 Win 2008 R2 server?

I have a web app that works fine on VS 2013 on my development server, but once I published it on the IIS 7.5 2008 R2 server the Ajax scripts, located on my custom script file, don't work anymore, alth...
229
votes
8answers
90936 views

I just discovered why all ASP.Net websites are slow, and I am trying to work out what to do about it

I just discovered that every request in an ASP.Net web application gets a Session lock at the beginning of a request, and then releases it at the end of the request! In case the implications of this ...
2
votes
2answers
1305 views

How do I make JS know about the application root?

I have some javascript that's referencing /jobs/GetIndex in an MVC project. This works great when I run it locally because I have a Controller called JobsController. When I deploy it, I deploy the a...
258
votes
12answers
123288 views

Using Custom Domains With IIS Express

Traditionally I use custom domains with my localhost development server. Something along the lines of: dev.example.com dev.api.example.com This has provided me a ton of flexibility when working wit...
140
votes
12answers
232691 views

How to check if mod_rewrite is enabled in php?

I was wondering if it is possible to check if mod_rewrite is enabled on Apache AND IIS in PHP. ModRewrite for IIS exists. Check it here. So, I'm looking for a PHP script that checks for mod_rewrite ...

Previous Next