Trying to deploy asp.net web application on Windows Server 2012 R2

I have our one very old asp.net 1.1 application that we have migrated to 4.5.1. one or 2  of the assemblies are still pointing to 2.0 due to some issues, rest of them are pointing to 4.5.1 . I have build the web application/web services on my local machine with visual studio 2013 and deployed on local iis 7.5 on win 7 machine.  Now we are planning to deploy the application on  Windows Server 2012 R2.

Which all framework will support on Windows Server 2012 R2?
Will it support dot net framework 2.0 OR 3.5?
What all things we have to take care on windows server 2012 R2?
Any deployment steps/guide for the same?
yabhijitAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MlandaTCommented:
I think you might be doing 'analysis paralysis'. Is the Windows Server a production environment? If not, setup the app on the Windows Server and test things there. If there are issues due to the assemblies in question and their versions, you will quickly pick this up (with failures of your tests etc). If you don't have a test Windows 2012 server... just create an instance on Amazon Web Services for a couple of hours as you run your tests (wont' cost must or you might even qualify for the less-perfomant but free tier servers).

.NET 3.5 and .NET 2.0
.NET Framework 3.5 also installs .NET Framework 2.0 SP1 and 3.0 SP1 (with the later 3.5 SP1 instead installing 2.0 SP2 and 3.0 SP2). So if you install that on the Windows 2012 Server R2, you will inadvertently

Enable .NET Framework 3.5 by using the Add Roles and Features Wizard
How to install .NET Framework 3.5 on Windows Server 2012 and Windows Server 2012 R2
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kamal KhaleefaInformation Security SpecialistCommented:
you need to make sure iis is installed as well asp.net/.net framework ...etc

the deploy your site and from the iis set the settings
0
Dan McFaddenSystems EngineerCommented:
The headache with Server 2012 R2 is that the .NET framework is not included in the installation and must be installed manually.  The complication is that you need the install media (DVD) or a copy of the DVD local on the server.

** You can do this across the network but permissions are an incredible pain for this to work properly.  I've just threw my hands up and bring wither the ISO over to the server, or drop the contents on the installation media on a local partition **

When you add the .NET 1/2 features to the server (thru Server Manager or DISM or PowerShell) you will need to specify an alternate installation location, telling the installer where the required files are.  .NET 1/2 are not automatically stored in the WinSxS directory after the initial install like many other not installed features.

I suggest a server reboot after the installation, just to get the server on a clean slate.

After getting the required .NET assemblies successfully installed, create a new AppPool in IIS Manager and select .NET CLR version 2.0... during the creation process.

The assign the website to use this AppPool.

If everything else with your IIS configure is up to par, the site should run.

Dan
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.