Deploy error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
I have been working on the local machine for a while, yesterday i tried to upload nop 2.0 to the server.
I have followed the instructions, however i get an error.

tried everything it does not work

anyone?



"Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."

[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
   System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
   System.Reflection.RuntimeModule.GetTypes() +4
   System.Reflection.Assembly.GetTypes() +78
   Nop.Core.Plugins.PluginManager.Initialize() in C:\Web Sites\NopCommerce_2\Libraries\Nop.Core\Plugins\PluginManager.cs:120

[Exception: Could not initialise plugin folder]
   Nop.Core.Plugins.PluginManager.Initialize() in C:\Web Sites\NopCommerce_2\Libraries\Nop.Core\Plugins\PluginManager.cs:136

[Exception: Could not initialise plugin folder]
   Nop.Core.Plugins.PluginManager.Initialize() in C:\Web Sites\NopCommerce_2\Libraries\Nop.Core\Plugins\PluginManager.cs:144

[InvalidOperationException: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not initialise plugin folder.]
   System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +423
   System.Web.Compilation.BuildManager.CallPreStartInitMethods() +306
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +591

[HttpException (0x80004005): The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not initialise plugin folder.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8950644
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258
12 years ago
i have tried every thing
deploy with the bat files and web matrix.
publish each of the projects separately and add the plugins folder.

it works fine on the local machine

anyone?
12 years ago
I wish you the best of luck sir, I wish I could help.  Your work is so great.
Tom
12 years ago
hezyz wrote:
i have tried every thing
deploy with the bat files and web matrix.
publish each of the projects separately and add the plugins folder.

it works fine on the local machine

anyone?

at \Nop.Web\App_Data\ folder check if you have InstalledPlugins.txt file, and check if it has the pluggin reference on it.
12 years ago
tried that, does not work. it should work with out the plugins folder.
i cant get to the install page.
i'm looking for solution at the iis level, but so far no luck
12 years ago
hezyz wrote:
tried that, does not work. it should work with out the plugins folder.
i cant get to the install page.
i'm looking for solution at the iis level, but so far no luck


It does work without the plugins folder and you should be able to get to the install page even if that folder is empty. I just installed and it went pretty well, but had a problem with the plugins so I had to delete the folder and re-compile/re-upload. Everything worked out fine.

I wish I could help, but I don't have any idea what that error means. I'm new to the 2.0 too. I'm sure it is something simple though. Maybe try re-compiling and re-uploading? That always seems to work for me.
12 years ago
By the way... the only thing I re-uploaded was the plugins.
12 years ago
ty for the reply, i have uploaded and deleted more than 30 times with all the options. for some reason in the error description i see a reference to my local c drive which should not be there.

at some point i red that i need to delete all debug files in bin and obj folders and i did that as well with no luck.
12 years ago
Who are you hosting with? I just put up an installation with [url] http://www.arvixe.com/2789.html[/url] and it works just fine. Are you sure your host supports MVC3?
12 years ago
this one i try to host with brinkster.com they support mvc on .net 4.0. i have 2 mvc applications hosted with them
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.