Click here to Skip to main content
16,007,885 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello All of u..
I wants to know how to run mvc application online...

Basically I develop little MVC Application in visual studio 2008..
Its running properly...

But when I publish it and upload it gives error "Internal server Error"..Resource not founded.

please tell me what would be problem. ...
Please I dont know .I haven't work on MVC.

whether....
In local host its run by: htttp://localhost
no path are showing...
but online may be file path not getting..what will be problem i dont know please tell me.
Posted
Updated 9-Apr-17 18:27pm

1 solution

How to run MVC application online
It is hosted in the same way as other ASP.NET web application are. Have a look at these links:
MSDN: How to: Deploy an ASP.NET MVC Application[^]
Deploying ASP.NET MVC to IIS 6[^]



If you are facing an error: Description of HRESULT There is a problem with the resource you are looking for, so it cannot be displayed.
This problem occurs because the handler mapping for the requested resource points to a .dll file that cannot process the request.

To resolve this problem, Edit the handler mapping for the requested resource to point to the .dll file that can process the request. To do this, follow these steps:

1. Click Start, click Run, type inetmgr.exe, and then click OK.
2. In IIS Manager, expand server name, expand Web sites, and then click the Web site that you want to modify.
3. In Features view, double-click Handler Mappings.
4. Right-click the script mapping that you want to edit, and then click Edit.
5. In the Edit Script Map dialog box, type the appropriate executable file in the Executable box, and then click OK.

For example, .asp files should map to the %windir%\system32\inetsrv\asp.dll file.

See details here: Microsoft Support: Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.0 – Internal Server Error"[^]
 
Share this answer
 
Comments
shishir26 25-May-12 2:14am    
Thanks for reply but When I publish MVA app. only addition.dll and addition.pdb are created where addtion is my project name.
Whether must Server have mvc suppotable.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900