Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've come into a company that has been using for some web applications stored on our local servers. There's no current programmer, so I've used what knowledge I have to build a new feature using MebMatrix Razor VB.NET pages and our current SQL Server database. I have to migrate the project over to a local server running IIS to deploy it.

I don't want to use the WebMatrix Web Deploy feature or anything, I'd rather just move the files over manually and have them run. I assume that IIS just needs to be configured to process .vbhtml file extensions. My understanding is that you don't have to build your solution with this method, as you do with ASP. Does anybody know how to do this, or where I might find a good tutorial?

share|improve this question

I use the Publish solution, File Copy option and push to a shared drive for deployment. I find it works quite well in most small development servers. You could also publish locally and then move those files across manually.

Which version of IIS are you using? With version 6.0 there are some special configurations needed. Does the IIS handler mapppings have an entry for .vbhtml?

share|improve this answer
Yes, we're using IIS v6.0. There are no current entries for .vbhtml. My current thought is that I will create a new web page in IIS (which currently serves our intranet, etc.), create a handler for the file extensions, publish locally and manually move the pages in. Will that work fine? Anything I'm missing? – Marc Ripley Jan 23 '13 at 17:35
The deploy scenario sounds good. I would suggest researching using Razor on IIS 6.0 a little more. There are some tricks to use extensionless URLs and it will take a little more configuration than II 7.0, which knows a lot more about MVC / Razor than 6.0. – robrtc Jan 23 '13 at 18:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.