Knowledgebase: Miva Empresa VM
How to add Application Mapping for .mvc on Windows servers
Posted by - NA -, Last modified by Wayne Smith on 10 August 2012 07:01 AM
Adding Application Mapping for .mvc on Windows servers
.mvc scripts gives a prompt to download whenever executed in a browser. The application mappings settings for *.mvc files on the server need to be checked. Normally mappings are configured automatically, but a bug in Virtual Machine v4.02 may prevented that from happening to all sites on a server. ( This bug should be corrected in the v4.03 release. )
Some of the steps required to resolve this issue need a level of server access that will not be available to most end users. If you are a MIVA Merchant end user experiencing this problem, you may have to forward this information to your Host, ISP, or Systems Administrator
1. Open up IIS.
2. Right-click on the website with the problem and go to Properties.
3. In the window that comes up, click on the tab called Home Directory.
4. Down towards the bottom, click on the button Configuration.
5. In the screen that pops-up, scroll through the list and make sure .mvc is not listed. Usually, it would be at the bottom.
6. Click on the button Add.
7. In the pop-up window, there will be a field called Executable. Enter in the following path exactly as it appears, depending on situation:
If they only have Miva Empresa 4.x (Miva Virtual Machine) installed, use:
If they still have Miva Empresa 3.x installed, use:
8. In the field Extension, type in .mvc
9. Leave the rest of the defaults as is and click on OK on all screens to get back to the main IIS screen.
That's it. You're all done!
On some servers, the default install path to the MivaVM .dll file may need to be changed. Some servers do not like the fact that the default install path contains spaces. If you have trouble getting the Web Service Extension mapped properly, you may need to reinstall the VM using a path without spaces. Ex: C:\Miva\MivaVMIIS.dll