Developing in Visual Studio 2005 for Windows Server 2012 - visual-studio

Is it possible to install an ASP.net website developed with Visual Studio 2005 in a server with Windows Server 2012? Our client is planning to upgrade the server from Windows Server 2003 to Windows Server 2012. Will the application (already developed with VS 2005) run in a 64 bits operating system?

It is possible. Two things to make sure you do is to have the correct .Net version installed on the windows server and when you setup the new site in IIS (assuming IIS) that the application pool is set to allow 32-bit applications.
This will take you through how to enable 32-bit app pools (it is for IIS7 but IIS 8 is the same)
https://help.webcontrolcenter.com/kb/a1114/how-to-enable-32-bit-application-pool-iis-7-dedicatedvps.aspx
Visual Studio is just a development environment and is intendant of the target server type/version. You can use Visual Studio to develop any .Net application/website no matter where you want to run it. It is all about the server being configured to run a 32-bit .Net application.

Related

Visual Studio Interdev 6.0 Installation

I have been tasked with putting together a development server and client (Windows 10), using Microsoft Visual Studio 6.0 with Visual Interdev, so that a team of developers can debug a very large ASP Classic website. I have studied up and found that Visual Studio 6.0 can be installed on Windows 10, so that takes care of the client side, but I am wondering what version of Windows Server I should use for the development server? I have access to 2003, 2012 R2, 2016, and 2019 versions. The original OS used back in the day appears to have been Windows Server NT.

IIS Express 8 vs. IIS

I downloaded Visual Studio 2013 Express. I have IIS Express 8 Installed.
Is it OK if I download IIS 7 or 8? Do I have to do anything to make Visual Studio 2013 work with IIS 7 or 8?
You can't download IIS7 or 8 since they are part of the Windows operating system. You have to enable them in Windows Features.
Visual Studio can work out-of-the-box with IIS proper. You just have to configure your site to use it. In your project properties for your web site, select Web and edit the Servers section.

Deploying to Windows Server 2003

Using visual studio 2013 on a windows 8 machine I created a F# console application. The app runs fine on the dev machine. But when I build a debug release and export it to a windows 2003 server and attempt to run, I continually get the error: not a valid win32 application even though the build configuration is set to "any cpu". Does anyone know how to solve this error? Thanks.
You are probably using .NET Framework 4.5 wich is not compatible with Windows Server 2003.
If you are not using anything from .NET 4.5 you can change on Visual Studio the framework targeted by the application to 4 and then run it on Windows Server 2003.
Also, here is the list of requirements for .NET Framework 4.5
https://msdn.microsoft.com/en-us/library/8z6watww%28v=vs.110%29.aspx

Visual Studio 2010 web deployment to IIS server

I need to be able to setup my IIS server to accept Web Application publishing via the web deployment tool in Visual Studio 2010. I have attempted to install web deploy, but still haven't had any success. I am not positive if this is the right tool or not.
I am running Server 2008 R2 Enterprise
version 6.1.7601 Service Pack 1 Build 7601
X64
IIS Version 7.5.7600.16385
SQL Databases will be accessed and are housed on this server as well.
SSRS is also running on this server.
Thank you,
Stephen Hathaway

Oracle Data Access components 64 bit not working in IIS express 7.5

I have installed ODAC (Oracle data Access Components 64 bit) odp.net 4. But unfortunately it does not work with IIs Express. IIS express documentation says it supports both 32bit and 64bit systems. Is it possible that it can work with odp.net 4 (64 bit), or must we work with odac 32 bit components in development machines.
thanks in advance!
Probably too late now, but IIS Express 7.5 is 32-bit and cannot host a 64-bit process. I'm assuming that's what your problem is/was because I had a similar issue with the Oracle.DataAccess.dll. However, IIS Express 8.0 Beta can host your 64-bit site.
Visual Studio will only start the 32-bit IIS Express 8 process when you use it to start the site (F5 or Ctrl-F5). However, you can start the 64-bit process from the command line and then attach to the IIS Express process from Visual Studio, if you want to debug. The command I use is:
c:\Program Files\IIS Express\iisexpress.exe /site:SiteName
The the default IIS Express config file is in your documents folder at IISExpress\config\applicationhost.config. That file contains the definitions for your sites and gives you the site name, which you can change.
Make sure you read the instructions for Upgrading from IIS Express 7.5.

Resources