Deploying Hybrid ASP.NET webform and MVC project on iis7 - MVC Routing does not work - asp.net-mvc-2

Hi Stackoverflow,
Im trying to deploy a hybrid ASP.Net Webform/mvc-project onto iis7 but the mvc routing does not work.
This is what i have done so far:
Added all required mvc-related dlls.(i have double checked bin-catalog to make sure that everythings there on the deployed installation)
Added MVC wildcard by adding the IsapiModule handler to iis handler mappings.
The Server has .Net-Framework 3.5 SP1 installed.
The web site Managed pipeline mode set to classic
Our project requires the app pool to be running in none-integrated pipeline, but im not sure what MVC requires of the app pool, may i run ASP.NET MVC(2) in a none-integrated managed pipeline?
The web application loads and i want to use the MVC-routing to load javascript but the mvc routing does not responde to the request and instead Webforms gives us a 404-response,
this only happens when the project has been deployed onto the server.
Does anyone has a idea of why the ASP.Net MVC routing does not fire?
Thanks and Best regards,
Mikael

I found the error, the installer did not update production web.config,
so there was some missing mvc-required references,
i used this article to find out what was missing, it describes how to setup a hybrid WebForm/Mvc project in a simple way.
And now im able to run a hybrid webform/mvc-project on iis7 classic without any problem.

Related

What's the best way to redeploy asp.net core web api on IIS without stopping the application?

For now I've to (re)deploy asp.net core web api on Windows server with IIS. I know how to deploy and its working currently in production. The issue is every time I make a change I have to stop the website/recycle the apppool to be able to copy the application dlls. This is a pain as I'm looking to ultimately setup CI/CD using some provider however without this knowledge I'm unable to move forward.

How to make ASP.NET Core RC1 work with the GA SDK?

The previous non-GA versions of Service Fabric came with support (and template) for ASP.NET Core RC1. GA removed this support.
I have a project that depends on ASP.NET Core RC1. I would also like to update to the new SDK now.
I can get the asp.net service to run with the latest SDK without any significant changes to code. However creating a ActorProxy or ServiceProxy in the asp.net project fails with exception "The config package was not found". So my asp.net service is unable to communicate with the rest of the services in the application.
How can i fix the issue with ActorProxy and ServiceProxy on ASP.NET Core RC1 service?
Someone else discussed the same problem in the comments of Service Fabric documentation. Vaclav came up with workaround to the bug. Basically the client project requires ConfigurationPackage named "Config". Projects based on the old ASP.NET Core template didn't have the ConfigurationPackage.
For details of implementing the workaround, see:
https://azure.microsoft.com/en-us/documentation/articles/service-fabric-get-started/#comment-2601127160

ASP.net MVC configuration issue without mod_mono

We're developping an MVC .Net website supposed to run on linux.
It worked fine with mod_mono but we're forbidden to actually use mod_mono on the production server for performance matters. Also, we use mono-fastcgi-server2 and mod_fcgid.
So when disabling mod_mono, the home page still works fine but any request like /controller/action ends up with a 404 error.
I wonder if we can even run our MVC .Net website without the mod_mono ?
This is my first question on this website and I am not very familiar with apache and the modules. Thanks for any help.
Probably not.
mod-mono is the Mono project's ASP.NET module for Apache. Without it, there's nothing in Apache to interpret any ASP.NET content. So, by extension, if you're not allowed to run mod-mono on your Apache server then you're not allowed to run ASP.NET on your Apache server.

Deploy MVC 4 application 4.5 Framework 1and1 hosting

I'm trying to deploy an mvc 4 project in vs2012 via FTP on 1and1.com
This is what I'm getting.
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
Are there settings on 1and1 I need to set somewhere because it's an MVC proj or changes in webconfig?
#dright, Are you still encountering the problem? It appears 1and1.com has updated their hosting package to support 4/4.5 Framework with their Basic Windows hosting plans (https://www.1and1.com/windows-hosting?linkId=hd.subnav.windowshosting). I purchased a plan as a sandbox for deploying little apps that I develop.
I have successfully deployed a Asp.Net application using the WebMatrix IDE. But I have struggled using VS2013 template/default applications' Web.Config. I was curious if you have had any luck.
Thanks!
1and1 windows package doesn't support MVC. You would need to update to their server package. ~59/month

Deploy the asp.net MVC 2 web application to the IIS 7.5 getting issues

I have developed the asp.net mvc web application. whereas my macine is configured with IIS 7.5. I want to deploy my web application with source code to the IIS so that i can attache the process and debug it run time. I choose this way because few functionality , like file copy and file create not performing after simple publish.
I tried by ,
Create the web application in IIS 7.5 manager. installed ASP.NET utility. As i browsed , I got asked by to enable directory browsing.
Which i enabled. where as in IE I found file structure which definitely did not want. I expected direct my LogOn page which is configured in globle.asax after deployment.
What else i need to check. or is any step i have missing?
I am using Visul web developer 2010 express edition to develop the application.
Please guide me.