deploy mvc .net framework 4.5 - iis

I have got MVC website. based on .NET Framework 4.5.
I am trying to deploy the website on IIS 6.0
Here are the steps I have taken
Application Pool:
I have created application pool: Company.Attendance.
NOTE: Nowhere it asked me which .NET Version I am using?
Website
a. Create new website.
b. Description: company.attendance
c. IpAddress: Server Ip Address
d. Port: 80
e. Host Header for the website: [I left blank]
f. Path: ../../Views/Home/ [All views are defined here]
g. Permissions: Read, Run, Execute, Write
h. In the website properties, under tab Home Directory I have selected the application pool created above
i. In Home Directory TAB, under Configuration.
j. I inserted aspnet_iapi.dll
When I try to browse the application. I get the following error: Page cannot be found.
Can one tell me detailed steps to deploy mvc application [.Net Framework 4.5] on IIS 6.0 [Windows Server 2003].
Regards

I am trying to deploy the website on IIS 6.0
You can't. .NET Framework 4.5 requires Windows Server 2008 at least as can be seen in the System Requirements page:
System requirements
Supported Operating System
Windows 7 Service Pack 1
Windows Server 2008 R2 SP1
Windows Server 2008 Service Pack 2
Windows Vista Service Pack 2
Windows Vista SP2 (x86 and x64)
Windows 7 SP1 (x86 and x64)
Windows Server 2008 R2 SP1 (x64)
Windows Server 2008 SP2 (x86 and x64)
Hardware Requirements:
1 GHz or faster processor
512 MB of RAM
850 MB of available hard disk space (x86)
2 GB hard drive (x64)
The latest .NET framework version you could install on Windows Server 2003 is .NET 4.0.

You need at least IIS 7.0.
Here are the requirements for .NET 4.5 framework:
http://msdn.microsoft.com/en-us/library/8z6watww%28v=vs.110%29.aspx
You're going to have to use .NET 4.0, which porting your project over shouldn't be too painstaking.
Take your project and change compatibility to 4.0 for framework.
Fix some of the errors, and EF errors you may get, and repush to the IIS 6.0 server.
You need to ensure all the runtimes are installed, and the app is running on the
.NET 4.0 pool.

IIS 6 is part of Windows Server 2003 (and technically XP 64-bit).
.Net 4.5 cannot be installed on Windows Server 2003, thus IIS is not supported.

Related

Asp.net core web api slow in IIS

projects: .net core 2.0
server: windows server 2012 r2, IIS 8.5
.net core web API is slow on each request, Similar issue :
https://github.com/aspnet/AspNetCoreModule/issues/87
But it is fast when running visual studio debug mode.
Update:
it looks like a bug on IIS 8.5 with .net core, but there is no production version of IIS 10.
So I deploy my .net core to Ubuntu 16.04, and it run well.

VBC.exe compilation error in IIS 7

We have got below error when we are accessing our ASP.NEt WebForms applications which is hosted in IIS 7 but the MVC Application is working though:
c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
we already tried restarting our server and changing app pool current user but still no good result.
Ok what we did is below from Microsoft:
Known issue for security updates 3098779 and 3097997 for the .NET Framework 4.5.1 and 4.5.2 after you install the .NET Framework 4.6 on Windows 8.1, Windows RT 8.1, and Windows Server 2012 R2
What we did is the solution 2 which is to remove KB3098779 and KB3097997 in the windows update in our windows 2012 server and everything's back to normal.

What will be the minimum iis version required to run asp.net 5 applications?

I'm considering using ASP.Net 5 for a new project, but I need to know what the minimum IIS version will be to host and run this application.
According to ASP.Net 5 Home on Github you need at least Windows 7 or Server 2008 R2 and .NET 4.5.1 for hosting in IIS.
Windows 7 and Server 2008 comes with IIS 7.5.
Also, refer to .NET Framework System Requirements

Version of Windows Imaging Component

How can I check what version of Windows Imaging Component is installed on a Windows machine? I suspect the Windows 2008 Servers used in Azure do not have the same version that I have on my Windows 7 development machine. I just want to verify that as I need the latest TIFF codec.
Will not make a definite statement, but I think that the WIC on the Windows Azure is the same what you have on your Windows 7. Just be aware that there are 2 OS families in Windows Azure. OS Family 1.x is using Windows Server 2008 SP1 as base, while OS Family 2 is using Windows Server 2008 R2 as base.
From what I read about WIC, I see it is part of Windows 7 / Windows Server 2008 R2, so, if you target your application for OS Family 2, you shall nothave issues. Unless there is some update, or more recent version which has installer. If there is an installer, you can simply use a startup task to install the exact version you need.
UPDATE
Refering this post confirms that Windows 7 / Windows Server 2008 R2 come with WIC. While a platform update is required for Windows Vist / Windows Server 2008 (you must install Server 2008 SP2 before the update is available). So, if you target OS Family 2.x (recommended anyway) you get the same WIC you get in your Windows 7 machine.

Updating IIS 5.0 to IIS 6.0

I want to update the IIS server from 5.0 to 6.0 or higher.
The condition is that I cant upgrade the server. My machine is Windows XP SP3
Is there any way I can only update the IIS.
You can install IIS Express 7.5 on Windows XP. Note that the Express version is a lightweight (yet fully featured) version of IIS meant for development purposes, not production hosting. You shouldn't use Windows XP as a production server anyway.
You can run it on XP Pro 32bit
Check the link here - http://learn.iis.net/page.aspx/868/iis-express-overview/
I have installed IIS 6.0 Manager for my Windows XP SP3 32-bit from this link:
http://www.microsoft.com/en-us/download/details.aspx?id=15662
In Control Panel->Administration Tool (I guess its name translated from italian :) now I have two items:
Internet Information Services - the 5.1 version bundled with the OS
Internet Information Services (IIS6) Manager - the installed version from the link above

Resources