Pankaj Upadhyay
Pankaj Upadhyay

Reputation: 13594

Unable to deploy ASP.NET MVC website

In order to check whether my ASP.NET MVC application will run on my host. I tried deploying an ASP.NET MVC application with just one controller and one view. I have copied all the necessary files in the bin directory which are as following:

Other than above files, following files are included

enter image description here However, I still get an 404 error. This is the URL http://jan-lokpal.rdinvent.com/Home/Index

What else do I need to copy or am I missing something? This is a windows hosting account only.

I tried contacting the support but they are not available.

Upvotes: 1

Views: 216

Answers (1)

Aliostad
Aliostad

Reputation: 81700

Checkpoints:

1) Make sure application pool runs ASP .NET 4.0

2) Make sure web.config has this line:

<system.webServer>
        <modules runAllManagedModulesForAllRequests="true">
        ....

Upvotes: 1

Related Questions