Migrate a ASP.Net application from one server to another server

alextc

I have developed a ASP.Net MVC 4 application with Visual Web Developer Express 2010. It was successfully published/deployed to a remote server A (development server) using the Web Developer's built-in publishing tool and it works perfectly on it IIS 7.0 with the web deployment component.

Now I want to deploy it to another remote server B (production server). This one sits in an isolated environment and does not have Internet access! Even if server B is a replica of server A, its IIS 7.0 does not have the web deployment tool component installed. So the built-in publishing tool does not work for the web deployment option.

I then tried to publish it using the File System option. I copied the exported files to a new folder on IIS on server B. The folder was configured the same way as its counterpart on server A. I tried the URL on server B and it just gave me directory/files listing on the browser instead of the welcome page of the application.

Has anybody got the experience or tips to solve the issue? Thanks.

Cheers, Alex

Raja Nadar

edit:

because it a MVC site, the default document doesn't apply. check the following steps:

  1. IIS Extension Less URLs are enabled and allowed.
  2. ASP.NET 4.0 is installed and registered. C:\Windows\Microsoft.NET\Framework\<version> and then aspnet_regiis -i (this will typically force IIS to use the MVC infrastructure instead of using the default document methodology)
  3. Ensure App Pool is in 4.0 Integrated mode.
  4. Ensue that the IIS Advanced Settings for the website are showing the right root folder path.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Move ASP.net membership database from one server to another

From Dev

How to migrate from one chef-server to another chef-server

From Dev

Migrate single repository from one Atlassian stash server to another server and maintain all data

From Dev

Migrate single repository from one Atlassian stash server to another server and maintain all data

From Dev

Web Application Server migrate from 7.0 to 8.5.5.4

From Dev

Using SignalR as a standalone server application, and not an Asp.Net one

From Dev

SFTP from one server to another in PHP application spitting out error

From Dev

Upload files from another server in ASP.NET

From Java

Remove "Server" header from ASP.NET Core 2.1 application

From Dev

How To Call Servicestack service deployed on remote server from MVC4.net application deployed on another server?

From Dev

ASP.NET : Error - Server Error in '/' Application

From Dev

Migrated ASP.NET application to new server

From Dev

ASP.net server error in '/' Application Inherits

From Dev

How do I diagnose why an asp.net MVC site works on one server but not another?

From Dev

Posting to an Application from a PHP script on another server

From Dev

Use one elasticsearch server of rails application in another rails application

From Dev

Migrate from Oracle to SQL Server

From Dev

Select into from one sql server into another?

From Dev

Copying a postgres database from one server to another

From Dev

Transferring millions of files from one server to another

From Dev

Data Insertion from one sql server to another

From Dev

How to transfer files from one server to another?

From Dev

How to transfer files from one server to another?

From Dev

transfer php variables from one server to another

From Dev

SCP from one external server to another

From Dev

Select into from one sql server into another?

From Dev

Streaming video from one server thru another

From Dev

migrating silvertripe site from one server to another

From Dev

Transferring millions of files from one server to another

Related Related

  1. 1

    Move ASP.net membership database from one server to another

  2. 2

    How to migrate from one chef-server to another chef-server

  3. 3

    Migrate single repository from one Atlassian stash server to another server and maintain all data

  4. 4

    Migrate single repository from one Atlassian stash server to another server and maintain all data

  5. 5

    Web Application Server migrate from 7.0 to 8.5.5.4

  6. 6

    Using SignalR as a standalone server application, and not an Asp.Net one

  7. 7

    SFTP from one server to another in PHP application spitting out error

  8. 8

    Upload files from another server in ASP.NET

  9. 9

    Remove "Server" header from ASP.NET Core 2.1 application

  10. 10

    How To Call Servicestack service deployed on remote server from MVC4.net application deployed on another server?

  11. 11

    ASP.NET : Error - Server Error in '/' Application

  12. 12

    Migrated ASP.NET application to new server

  13. 13

    ASP.net server error in '/' Application Inherits

  14. 14

    How do I diagnose why an asp.net MVC site works on one server but not another?

  15. 15

    Posting to an Application from a PHP script on another server

  16. 16

    Use one elasticsearch server of rails application in another rails application

  17. 17

    Migrate from Oracle to SQL Server

  18. 18

    Select into from one sql server into another?

  19. 19

    Copying a postgres database from one server to another

  20. 20

    Transferring millions of files from one server to another

  21. 21

    Data Insertion from one sql server to another

  22. 22

    How to transfer files from one server to another?

  23. 23

    How to transfer files from one server to another?

  24. 24

    transfer php variables from one server to another

  25. 25

    SCP from one external server to another

  26. 26

    Select into from one sql server into another?

  27. 27

    Streaming video from one server thru another

  28. 28

    migrating silvertripe site from one server to another

  29. 29

    Transferring millions of files from one server to another

HotTag

Archive