Getting 404.0 error for ASP.NET MVC 3 app on IIS 7.0 / Windows Server 2008

You actually just reminded me that I needed to fix this issue in an enviroment here. If your situation is the same as mine then it’s a simple fix. Just add the following to your web config: <system.webServer> <modules runAllManagedModulesForAllRequests=”true” /> Edit: To provide further explanation on the issue at hand. In my case what … Read more

Powershell New-WebApplication

I had the exact same problem because I was calling the wrong version of PowerShell from my program. I’m not sure about this but I think when you have a x86 program it calls the x86 version of PowerShell, which fails. To specifically use the 32-bit version, call this one from your program: C:\Windows\SysWoW64\WindowsPowerShell\v1.0\powershell.exe To … Read more

Renaming applications in IIS 7.0

I recently had to do this and I think you are better off using appcmd because ,as you said, we don’t know what other changes may occur behind the scenes Example, appcmd list app APP “Default Web Site/” (applicationPool:DefaultAppPool) APP “Default Web Site/develop” (applicationPool:mypool) APP “Default Web Site/develop/xyz” (applicationPool:mypool) In my case, I did have … Read more

IIS7 Accessing Network Share

For IIS 7 running on Windows Server 2008 R2 … In the IIS Manager, select the Application Pool under which your Web Site is running. Click “Advanced Settings”. There will be an entry for Identity (it is under the Process Model section). Click it, provide credentials for your account that has permission to access the … Read more

Rotativa PDF generation working locally but not on IIS 7

This error is a missing C++ redistributable Package for Visual Studio 2013 file called (MSVCP120.dll). To solve the issue: Open the C++ redistributable Package for Visual Studio 2013 downloadable link below: download Visual C++ Redistributable Packages for Visual Studio 2013 Click Download and choose the file (vcredist_x86.exe) even if you are running X64 bit server … Read more

tech