Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7444393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:30:08+00:00 2026-05-29T11:30:08+00:00

I don’t know what file and folder structure is needed for deploying a MVC

  • 0

I don’t know what file and folder structure is needed for deploying a MVC 3 application to a web server. I’m unable to use Visual Studio to do deployment, so I’m trying to create the structure somewhat manually. What is the folder structure of a deployed MVC 3 application?

I began with:

.../appname/
            *.dll
            Web.Config
            App_Data/ # nothing in this directory

Which didn’t work. The Exception being:

System.IO.FileNotFoundException: Could not load file or assembly ‘System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35’ or one of its dependencies. The system cannot find the file specified.
File name: ‘System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35’
at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00047] in /root/iws-snippets/mono-install-scripts/fedora/build/mono-2.10.8/mcs/class/corlib/System/AppDomain.cs:785
at System.AppDomain.Load (System.String assemblyString) [0x00000] in /root/iws-snippets/mono-install-scripts/fedora/build/mono-2.10.8/mcs/class/corlib/System/AppDomain.cs:762
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /root/iws-snippets/mono-install-scripts/fedora/build/mono-2.10.8/mcs/class/corlib/System.Reflection/Assembly.cs:540
at System.Web.Compilation.BuildManager.LoadAssembly (System.Web.Configuration.AssemblyInfo info, System.Collections.Generic.List`1 al) [0x00000] in /root/iws-snippets/mono-install-scripts/fedora/build/mono-2.10.8/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:1294
at System.Web.Compilation.BuildManager.GetReferencedAssemblies () [0x000b4] in /root/iws-snippets/mono-install-scripts/fedora/build/mono-2.10.8/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:1123
at System.Web.Compilation.BuildManager.CallPreStartMethods () [0x00013] in /root/iws-snippets/mono-install-scripts/fedora/build/mono-2.10.8/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:555

Now I’ve moved to:

.../appname/bin/
               *.dll
               Web.Config
               App_Data/

But this fails with the Exception:

System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetExportedTypes () [0x00000] in /root/iws-snippets/mono-install-scripts/fedora/build/mono-2.10.8/mcs/class/corlib/System.Reflection/Assembly.cs:356
at System.Web.WebPages.ApplicationParts.ResourceAssembly.GetTypes () [0x00000] in :0
at System.Web.WebPages.ApplicationParts.ApplicationPartRegistry.Register (System.Web.WebPages.ApplicationPart applicationPart, System.Func`1 registerPageAction) [0x00000] in :0
at System.Web.WebPages.ApplicationParts.ApplicationPartRegistry.Register (System.Web.WebPages.ApplicationPart applicationPart) [0x00000] in :0
at System.Web.WebPages.ApplicationPart.Register (System.Web.WebPages.ApplicationPart applicationPart) [0x00000] in :0
at System.Web.WebPages.Administration.SiteAdmin.RegisterAdminModule () [0x00000] in :0
at System.Web.WebPages.Administration.PreApplicationStartCode.Start () [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /root/iws-snippets/mono-install-scripts/fedora/build/mono-2.10.8/mcs/class/corlib/System.Reflection/MonoMethod.cs:226

I should mention that I’m attempting to deploy to mod_mono (Mono running on Apache – Cent OS 5). However, all documentation tells me that to deploy is exactly like deploying a standard MVC application to IIS. I’m hoping that the folder structure is the cause of my current errors. I do have Web.Helpers as a .dll in the deployment target.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:30:09+00:00Added an answer on May 29, 2026 at 11:30 am

    What is the folder structure of a deployed MVC 3 application?

    Root -
         App_Data - if you are using this folder to store files or db it must be present
         |
         bin - all required assemblies
         |
         web.config
         |
         global.asax
         |
         Views -
               |
               Home
               |
               Shared
               |
               web.config
               |
               _ViewStart.cshtml
    

    The System.Web.Helpers assembly is part of Razor. Make sure that you have installed ASP.NET MVC 3 on your server or if you are doing bin deploying that this assembly and all its dependencies are present in the bin folder of your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Don't know what's wrong here, when I run the application it says Specified method
Don't know why, but sometimes LocationManager is still working also after closing application. I
I don't know Perl. I don't even love it, but i'm obliged to use
Don't really know how to formulate the title, but it should be pretty obvious
Don't know how to google for such, but is there a way to query
I don't know when to add to a dataset a tableadapter or a query
Don't know the difference between the System.Window.Controls.TextBox and System.Windows.Forms.TextBox . Noticed that the System.Windows.Forms.TextBox
Don't know what I did wrong. I have two indices with identical documents in
Don't know if I worded the question right, but basically what I want to
(Don't know if this is strictly on-topic, but I don't see any better Stack

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.