Developer forum

Forum » Development » Nuget install : Unable to load one or more of the requested types.

Nuget install : Unable to load one or more of the requested types.

Gaëtan Di Caro
Reply

Hello,

I have tried to install a DW solution using nuget, but I'm having this error message when I run the website (see screenshot) :

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

 

I tried to run the command "Update-Package –reinstall", it executed fine but the problem doesn't go away. I've tried cleaning and rebuilding the solution, restarting IIS, tried the assembly redirects and bin folder from the release zip, etc, but I can't find out what's wrong. Any idea ?

2018-04-30_11_17_26-Unable_to_load_one_or_more_of_the_requested_types._Retrieve_the_LoaderExceptions.png

Replies

 
Nicolai Pedersen
Reply

No idea...

Which nuget package did you install? And which version?

And can you provide some dumps of your setup in IIS and VS?

NP

 
Gaëtan Di Caro
Reply

You can find my packages.config attached. The solution used to work, then I tried installing my own nuget packages (which depend on DW packages), I had some trouble with them so I uninstalled them, and I had some troubles after. I tried to update the DW packages to the latest version, re-install them, restore them, etc, but no luck. I don't seem to be missing any either.

 
Nicolai Pedersen
Reply

Sorry, I have no idea... Looks like dlls that should not be there somehow. Or missing.

Anyone?

 
Gaëtan Di Caro
Reply

FYI here is a dump of my bin folder :

roslyn
ABCpdf.dll
AltaPayApi.dll
aspNetMX.DLL
aspNetMX.xml
Avalara.AvaTax.Adapter.dll
CookComputing.XmlRpcV2.dll
dotless.Core.dll
dotless.Core.pdb
Dynamicweb.Admin.dll
Dynamicweb.Admin.pdb
Dynamicweb.Analytics.dll
Dynamicweb.Analytics.xml
Dynamicweb.AspNet.dll
Dynamicweb.AspNet.xml
Dynamicweb.Caching.dll
Dynamicweb.Caching.xml
Dynamicweb.Configuration.dll
Dynamicweb.Configuration.xml
Dynamicweb.Content.DatabaseContentProviders.dll
Dynamicweb.Content.DatabaseContentProviders.xml
Dynamicweb.Content.Social.Adapters.ExternalAuthentication.dll
Dynamicweb.Content.Social.Adapters.ExternalAuthentication.Okta.dll
Dynamicweb.Content.Social.Adapters.ExternalAuthentication.xml
Dynamicweb.Content.Social.Adapters.FacebookAdapter.dll
Dynamicweb.Content.Social.Adapters.GooglePlusAdapter.dll
Dynamicweb.Content.Social.Adapters.LinkedInAdapter.dll
Dynamicweb.Content.Social.Adapters.OAuth.dll
Dynamicweb.Content.Social.Adapters.TwitterAdapter.dll
Dynamicweb.Controls.dll
Dynamicweb.Controls.xml
Dynamicweb.Core.dll
Dynamicweb.Core.UI.dll
Dynamicweb.Core.UI.xml
Dynamicweb.Core.xml
Dynamicweb.Dashboards.Content.dll
Dynamicweb.Dashboards.dll
Dynamicweb.Dashboards.Ecommerce.dll
Dynamicweb.Dashboards.Home.dll
Dynamicweb.Dashboards.Marketing.dll
Dynamicweb.Dashboards.Repository.dll
Dynamicweb.Dashboards.Users.dll
Dynamicweb.Dashboards.xml
Dynamicweb.Data.dll
Dynamicweb.Data.xml
Dynamicweb.DataIntegration.dll
Dynamicweb.DataIntegration.Providers.AreaSpecific.UserExportAddIn.dll
Dynamicweb.DataIntegration.Providers.AreaSpecific.UserImportAddIn.dll
Dynamicweb.DataIntegration.Providers.CRMProvider.dll
Dynamicweb.DataIntegration.Providers.CsvProvider.dll
Dynamicweb.DataIntegration.Providers.DynamicwebProvider.dll
Dynamicweb.DataIntegration.Providers.DynamicwebViewProvider.dll
Dynamicweb.DataIntegration.Providers.EcomProvider.dll
Dynamicweb.DataIntegration.Providers.ExcelProvider.dll
Dynamicweb.DataIntegration.Providers.ItemProvider.dll
Dynamicweb.DataIntegration.Providers.OrderProvider.dll
Dynamicweb.DataIntegration.Providers.SqlProvider.dll
Dynamicweb.DataIntegration.Providers.SqlViewProvider.dll
Dynamicweb.DataIntegration.Providers.UserProvider.dll
Dynamicweb.DataIntegration.Providers.XmlProvider.dll
Dynamicweb.DataIntegration.ScheduledTaskAddIns.ADImportDataAddIn.dll
Dynamicweb.DataIntegration.ScheduledTaskAddIns.ExportDataAddin.dll
Dynamicweb.DataIntegration.ScheduledTaskAddIns.ImportDataAddIn.dll
Dynamicweb.DataIntegration.ScheduledTaskAddIns.ImportDataCustomRequestAddIn.dll
Dynamicweb.DataIntegration.ScheduledTaskAddIns.ImportDataFromMultipleRequests.dll
Dynamicweb.DataIntegration.ScheduledTaskAddIns.ImportDataWithPaging.dll
Dynamicweb.DataIntegration.ScheduledTaskAddIns.ImportPerfionImagesAddIn.dll
Dynamicweb.DataIntegration.xml
Dynamicweb.DataManagement.dll
Dynamicweb.DataManagement.xml
Dynamicweb.DataProcessing.dll
Dynamicweb.Deployment.DataItemProviders.dll
Dynamicweb.Deployment.dll
Dynamicweb.Deployment.xml
Dynamicweb.Diagnostics.dll
Dynamicweb.Diagnostics.xml
Dynamicweb.dll
Dynamicweb.Ecommerce.CheckoutHandlers.AltaPay.dll
Dynamicweb.Ecommerce.CheckoutHandlers.AuthorizeNet.dll
Dynamicweb.Ecommerce.CheckoutHandlers.AuthorizeNetAIM.dll
Dynamicweb.Ecommerce.CheckoutHandlers.BBSPayment.dll
Dynamicweb.Ecommerce.CheckoutHandlers.BeanstreamHostedForm.dll
Dynamicweb.Ecommerce.CheckoutHandlers.ChargeLogicConnect.dll
Dynamicweb.Ecommerce.CheckoutHandlers.CyberSource.dll
Dynamicweb.Ecommerce.CheckoutHandlers.Dibs.dll
Dynamicweb.Ecommerce.CheckoutHandlers.EPayPaymentWindow.dll
Dynamicweb.Ecommerce.CheckoutHandlers.KlarnaCheckout.dll
Dynamicweb.Ecommerce.CheckoutHandlers.Ogone.dll
Dynamicweb.Ecommerce.CheckoutHandlers.PayPalExpressCheckout.dll
Dynamicweb.Ecommerce.CheckoutHandlers.QuickPay3.dll
Dynamicweb.Ecommerce.CheckoutHandlers.QuickPayPaymentWindow.dll
Dynamicweb.Ecommerce.CheckoutHandlers.StripeCheckout.dll
Dynamicweb.Ecommerce.dll
Dynamicweb.Ecommerce.Economic.dll
Dynamicweb.Ecommerce.Economic.xml
Dynamicweb.Ecommerce.RMAProviders.Refund.dll
Dynamicweb.Ecommerce.RMAProviders.ReplaceWithDifferentProduct.dll
Dynamicweb.Ecommerce.RMAProviders.ReplaceWithSameProduct.dll
Dynamicweb.Ecommerce.SalesDiscounts.OrderFieldDiscount.dll
Dynamicweb.Ecommerce.SalesDiscounts.OrderFieldDiscount.xml
Dynamicweb.Ecommerce.SalesDiscounts.PriceFieldPriceProvider.dll
Dynamicweb.Ecommerce.SalesDiscounts.PriceFieldPriceProvider.xml
Dynamicweb.Ecommerce.SalesDiscounts.ProductQuantityDiscount.dll
Dynamicweb.Ecommerce.SalesDiscounts.ProductQuantityDiscount.xml
Dynamicweb.Ecommerce.SalesDiscounts.ShippingDiscount.dll
Dynamicweb.Ecommerce.SalesDiscounts.ShippingDiscount.xml
Dynamicweb.Ecommerce.SalesDiscounts.ShippingPaymentDiscount.dll
Dynamicweb.Ecommerce.SalesDiscounts.ShippingPaymentDiscount.xml
Dynamicweb.Ecommerce.SalesDiscounts.SimpleVoucherDiscount.dll
Dynamicweb.Ecommerce.SalesDiscounts.SimpleVoucherDiscount.xml
Dynamicweb.Ecommerce.SalesDiscounts.TotalSalesPriceDiscount.dll
Dynamicweb.Ecommerce.SalesDiscounts.TotalSalesPriceDiscount.xml
Dynamicweb.Ecommerce.ShippingProviders.FedEx.dll
Dynamicweb.Ecommerce.ShippingProviders.GLS.dll
Dynamicweb.Ecommerce.ShippingProviders.PostDanmark.dll
Dynamicweb.Ecommerce.ShippingProviders.PostDanmarkServicePoint.dll
Dynamicweb.Ecommerce.ShippingProviders.Unifaun.dll
Dynamicweb.Ecommerce.ShippingProviders.UPS.dll
Dynamicweb.Ecommerce.ShippingProviders.USPS.dll
Dynamicweb.Ecommerce.Specialized.dll
Dynamicweb.Ecommerce.Specialized.xml
Dynamicweb.Ecommerce.TaxProviders.AvalaraTaxProvider.dll
Dynamicweb.Ecommerce.TaxProviders.EcomTaxProvider.dll
Dynamicweb.Ecommerce.xml
Dynamicweb.EmailMarketing.dll
Dynamicweb.EmailMarketing.RecipientProviders.AbandonedCartProvider.dll
Dynamicweb.EmailMarketing.RecipientProviders.AbandonedCartProvider.xml
Dynamicweb.EmailMarketing.RecipientProviders.BackInStockProvider.dll
Dynamicweb.EmailMarketing.RecipientProviders.BackInStockProvider.xml
Dynamicweb.EmailMarketing.RecipientProviders.UnresponsiveProvider.dll
Dynamicweb.EmailMarketing.RecipientProviders.UnresponsiveProvider.xml
Dynamicweb.EmailMarketing.ResendProviders.UnresponsiveResendProvider.dll
Dynamicweb.EmailMarketing.ResendProviders.UnresponsiveResendProvider.xml
Dynamicweb.EmailMarketing.xml
Dynamicweb.Environment.dll
Dynamicweb.Environment.Web.dll
Dynamicweb.Environment.xml
Dynamicweb.Extensibility.dll
Dynamicweb.Extensibility.xml
Dynamicweb.FilePublisher.dll
Dynamicweb.FilePublisher.xml
Dynamicweb.Forms.dll
Dynamicweb.Forms.xml
Dynamicweb.Forum.dll
Dynamicweb.Forum.xml
Dynamicweb.Gallery.dll
Dynamicweb.Gallery.xml
Dynamicweb.Hosting.dll
Dynamicweb.Hosting.xml
Dynamicweb.Imaging.dll
Dynamicweb.Imaging.xml
Dynamicweb.Indexing.dll
Dynamicweb.Indexing.Lucene.dll
Dynamicweb.Indexing.Lucene.xml
Dynamicweb.Indexing.xml
Dynamicweb.ItemCreator.dll
Dynamicweb.ItemCreator.xml
Dynamicweb.ItemPublisher.dll
Dynamicweb.ItemPublisher.xml
Dynamicweb.LessCompiler.dll
Dynamicweb.LoadBalancing.dll
Dynamicweb.Logging.dll
Dynamicweb.Logging.xml
Dynamicweb.LoyaltyPoints.dll
Dynamicweb.LoyaltyPoints.xml
Dynamicweb.Mailing.DeliveryProviders.MandrillProvider.dll
Dynamicweb.Mailing.DeliveryProviders.MandrillProvider.xml
Dynamicweb.Mailing.DeliveryProviders.SaveMessageProvider.dll
Dynamicweb.Mailing.DeliveryProviders.SaveMessageProvider.xml
Dynamicweb.Mailing.DeliveryProviders.SendGridProvider.dll
Dynamicweb.Mailing.DeliveryProviders.SendGridProvider.xml
Dynamicweb.Mailing.DeliveryProviders.SendMessageProvider.dll
Dynamicweb.Mailing.DeliveryProviders.SendMessageProvider.xml
Dynamicweb.Mailing.dll
Dynamicweb.Mailing.xml
Dynamicweb.Management.Content.dll
Dynamicweb.Management.Content.xml
Dynamicweb.Management.Dashboards.dll
Dynamicweb.Management.Demo.dll
Dynamicweb.Management.dll
Dynamicweb.Management.Ecommerce.dll
Dynamicweb.Management.Ecommerce.xml
Dynamicweb.Management.Files.dll
Dynamicweb.Management.Files.xml
Dynamicweb.Management.Home.dll
Dynamicweb.Management.Home.xml
Dynamicweb.Management.Marketing.dll
Dynamicweb.Management.Marketing.xml
Dynamicweb.Management.Modules.dll
Dynamicweb.Management.Modules.xml
Dynamicweb.Management.Settings.dll
Dynamicweb.Management.Settings.xml
Dynamicweb.Management.Users.dll
Dynamicweb.Management.Users.xml
Dynamicweb.Management.xml
Dynamicweb.Maps.dll
Dynamicweb.Maps.xml
Dynamicweb.News.dll
Dynamicweb.News.xml
Dynamicweb.Packaging.dll
Dynamicweb.Packaging.xml
Dynamicweb.QueryPublisher.dll
Dynamicweb.QueryPublisher.xml
Dynamicweb.RemoteHttp.dll
Dynamicweb.RemoteHttp.xml
Dynamicweb.Scheduling.dll
Dynamicweb.Scheduling.PIM.EmailNotificationsAddIn.dll
Dynamicweb.Scheduling.Providers.AssortmentItemBuilderScheduledTaskAddIn.dll
Dynamicweb.Scheduling.Providers.AssortmentItemBuilderScheduledTaskAddIn.xml
Dynamicweb.Scheduling.Providers.GroupsAsSmartSearchesScheduledTaskAddIn.dll
Dynamicweb.Scheduling.Providers.GroupsAsSmartSearchesScheduledTaskAddIn.xml
Dynamicweb.Scheduling.Providers.LogsCleanupTaskAddIn.dll
Dynamicweb.Scheduling.Providers.PointExpirationScheduledTaskAddIn.dll
Dynamicweb.Scheduling.Providers.PointExpirationScheduledTaskAddIn.xml
Dynamicweb.Scheduling.Providers.RecurringOrdersScheduledTaskAddIn.dll
Dynamicweb.Scheduling.Providers.RecurringOrdersScheduledTaskAddIn.xml
Dynamicweb.Scheduling.Providers.RunSqlAddIn.dll
Dynamicweb.Scheduling.xml
Dynamicweb.Security.dll
Dynamicweb.Security.xml
Dynamicweb.SmartSearch.dll
Dynamicweb.SmartSearch.Providers.Lucene.dll
Dynamicweb.SmartSearch.Providers.User.dll
Dynamicweb.SmartSearch.Providers.User.xml
Dynamicweb.SmartSearch.xml
Dynamicweb.Sms.dll
Dynamicweb.Sms.xml
Dynamicweb.TextEditorAddIns.CKEditor.dll
Dynamicweb.TextEditorAddIns.CKEditor.xml
Dynamicweb.UI.Controls.dll
Dynamicweb.UI.Controls.xml
Dynamicweb.UI.Elements.dll
Dynamicweb.UI.Elements.xml
Dynamicweb.UserManagement.dll
Dynamicweb.UserManagement.xml
Dynamicweb.WeightedSearch.dll
Dynamicweb.WeightedSearch.xml
Dynamicweb.xml
Economic.Api.dll
Economic.Api.XmlSerializers.dll
EPPlus.dll
Facebook.dll
Facebook.xml
HtmlAgilityPack.dll
HtmlAgilityPack.pdb
HtmlAgilityPack.xml
Hunspellx64.dll
Hunspellx86.dll
ICSharpCode.SharpZipLib.dll
ImageGlue.dll
Klarna.Checkout.dll
Klarna.Net.Api.dll
Lucene.Net.Contrib.Analyzers.dll
Lucene.Net.Contrib.Analyzers.pdb
Lucene.Net.Contrib.Analyzers.xml
Lucene.Net.Contrib.Core.dll
Lucene.Net.Contrib.Core.pdb
Lucene.Net.Contrib.Core.xml
Lucene.Net.Contrib.FastVectorHighlighter.dll
Lucene.Net.Contrib.FastVectorHighlighter.pdb
Lucene.Net.Contrib.FastVectorHighlighter.xml
Lucene.Net.Contrib.Highlighter.dll
Lucene.Net.Contrib.Highlighter.pdb
Lucene.Net.Contrib.Highlighter.xml
Lucene.Net.Contrib.Memory.dll
Lucene.Net.Contrib.Memory.pdb
Lucene.Net.Contrib.Memory.xml
Lucene.Net.Contrib.Queries.dll
Lucene.Net.Contrib.Queries.pdb
Lucene.Net.Contrib.Queries.xml
Lucene.Net.Contrib.Regex.dll
Lucene.Net.Contrib.Regex.pdb
Lucene.Net.Contrib.Regex.xml
Lucene.Net.Contrib.SimpleFacetedSearch.dll
Lucene.Net.Contrib.SimpleFacetedSearch.pdb
Lucene.Net.Contrib.SimpleFacetedSearch.xml
Lucene.Net.Contrib.Snowball.dll
Lucene.Net.Contrib.Snowball.pdb
Lucene.Net.Contrib.Snowball.xml
Lucene.Net.Contrib.SpellChecker.dll
Lucene.Net.Contrib.SpellChecker.pdb
Lucene.Net.Contrib.SpellChecker.xml
Lucene.Net.dll
Lucene.Net.pdb
Lucene.Net.xml
LumenWorks.Framework.IO.dll
LumenWorks.Framework.IO.xml
MetadataExtractor.dll
MetadataExtractor.xml
Microsoft.AspNet.Identity.Core.dll
Microsoft.AspNet.Identity.Core.xml
Microsoft.AspNet.Identity.Owin.dll
Microsoft.AspNet.Identity.Owin.xml
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml
Microsoft.IdentityModel.Protocol.Extensions.dll
Microsoft.IdentityModel.Protocol.Extensions.xml
Microsoft.Owin.dll
Microsoft.Owin.Host.SystemWeb.dll
Microsoft.Owin.Host.SystemWeb.xml
Microsoft.Owin.Security.Cookies.dll
Microsoft.Owin.Security.Cookies.xml
Microsoft.Owin.Security.dll
Microsoft.Owin.Security.Facebook.dll
Microsoft.Owin.Security.Facebook.xml
Microsoft.Owin.Security.Google.dll
Microsoft.Owin.Security.Google.xml
Microsoft.Owin.Security.OAuth.dll
Microsoft.Owin.Security.OAuth.xml
Microsoft.Owin.Security.OpenIdConnect.dll
Microsoft.Owin.Security.OpenIdConnect.xml
Microsoft.Owin.Security.Twitter.dll
Microsoft.Owin.Security.Twitter.xml
Microsoft.Owin.Security.xml
Microsoft.Owin.xml
Microsoft.Web.Administration.dll
Microsoft.Web.Infrastructure.dll
Microsoft.Web.XmlTransform.dll
Microsoft.Win32.TaskScheduler.dll
Newtonsoft.Json.dll
Newtonsoft.Json.xml
NHunspell.dll
NLog.dll
NLog.xml
NuGet.Client.dll
NuGet.Client.xml
NuGet.Commands.dll
NuGet.Commands.xml
NuGet.Configuration.dll
NuGet.Configuration.xml
NuGet.ContentModel.dll
NuGet.ContentModel.xml
NuGet.Core.dll
NuGet.DependencyResolver.Core.dll
NuGet.DependencyResolver.Core.xml
NuGet.DependencyResolver.dll
NuGet.DependencyResolver.xml
NuGet.Frameworks.dll
NuGet.Frameworks.xml
NuGet.LibraryModel.dll
NuGet.LibraryModel.xml
NuGet.Logging.dll
NuGet.Logging.xml
NuGet.PackageManagement.dll
NuGet.PackageManagement.xml
NuGet.Packaging.Core.dll
NuGet.Packaging.Core.Types.dll
NuGet.Packaging.Core.Types.xml
NuGet.Packaging.Core.xml
NuGet.Packaging.dll
NuGet.Packaging.xml
NuGet.ProjectManagement.dll
NuGet.ProjectManagement.xml
NuGet.ProjectModel.dll
NuGet.ProjectModel.xml
NuGet.Protocol.Core.Types.dll
NuGet.Protocol.Core.Types.xml
NuGet.Protocol.Core.v2.dll
NuGet.Protocol.Core.v2.xml
NuGet.Protocol.Core.v3.dll
NuGet.Protocol.Core.v3.xml
NuGet.Repositories.dll
NuGet.Repositories.xml
NuGet.Resolver.dll
NuGet.Resolver.xml
NuGet.RuntimeModel.dll
NuGet.RuntimeModel.xml
NuGet.Versioning.dll
NuGet.Versioning.xml
Owin.dll
MySolution.dll
MySolution.dll.config
MySolution.pdb
RazorEngine.dll
RazorEngine.pdb
RazorEngine.xml
System.IdentityModel.Tokens.Jwt.dll
System.IdentityModel.Tokens.Jwt.xml
System.Net.Http.Formatting.dll
System.Net.Http.Formatting.xml
System.Web.Helpers.dll
System.Web.Helpers.xml
System.Web.Http.dll
System.Web.Http.WebHost.dll
System.Web.Http.WebHost.xml
System.Web.Http.xml
System.Web.Mvc.dll
System.Web.Mvc.xml
System.Web.Razor.dll
System.Web.Razor.xml
System.Web.WebPages.Deployment.dll
System.Web.WebPages.Deployment.xml
System.Web.WebPages.dll
System.Web.WebPages.Razor.dll
System.Web.WebPages.Razor.xml
System.Web.WebPages.xml
XmpCore.dll
XmpCore.xml

 
Martin Vang
Martin Vang
Reply

Compared to mine you're missing:

ABCpdf.xml
ABCpdf9-32.dll
ABCpdf9-64.dll

Dynamicweb.Scheduling.Providers.RepositoryAddIn.dll

ImageGlue7-32.dll
ImageGlue7-64.dll

PresentationCore.dll
PrintHook32.dll
PrintHook64.dll

And you still have your own code: "MySolution.dll"

So, to fix this, I believe you need to reinstall ABCPdf (Update-Package -MySolution ABCPdf -Reinstall)

Let me know how this works out. :)

 
Gaëtan Di Caro
Reply

Thanks Martin. I tried that, and now I get those dlls, but it didn't change anything. I compared the contents of my bin folder to the one from the release zip, and I don't miss any. Actually I have a couple more, but they don't seem to matter :

  • roslyn (folder)
  • ABCpdf.xml
  • dotless.Core.pdb
  • Dynamicweb.Admin.pdb
  • Dynamicweb.Management.Demo.dll
  • Dynamicweb.Scheduling.Providers.RepositoryAddIn.dll
  • HtmlAgilityPack.pdb
  • Various Lucene pdbs
  • Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
  • Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml
  • My solution's dll, pdb and config
  • RazorEngine.pdb
 
Gaëtan Di Caro
Reply

More info, when I run the solution in debug I get several of these errors from within Dynamicweb.dll, mscorlib.dll and Dynamicweb.Extensibility.dll :

Method 'LogMinimal' in type 'NuGet.PackageManagement.ProjectContextLogger' from assembly 'NuGet.PackageManagement, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.

 
Martin Vang
Martin Vang
Reply

Try "Update-Package -MySolution -Reinstall" - should force the packages from the packages.config to be reinstalled with correct dependencies.

Also take a look at "NuGet.PackageManagement" (and all the other NuGet packages). Is it version 3.3.0? Only NuGet.Core should have a different version...

 

It's really hard to give good support for this, as missing dependencies are tough to fix. If the above does not work, try with a clean project with your custom code and the dw.admin you want, and let me know how that works out (this is probably going to be easier then continuing to debug what went wrong in the nuget-install/uninstall/install process).

Hope the first tip helps!

 
Gaëtan Di Caro
Reply

I've tried a fresh solution and I have the exact same problem (on top of some struggles with the web.config).

All the NuGet.* packages are version 3.3.0, except NuGet.Core (2.12.0) and NuGet.Logging (3.4.3)

 
Martin Vang
Martin Vang
Reply

I found a bug with the way we deliver the web.config-file... That will be fixed asap (and I will try to find out why the web.config is messed up again... sigh). For now, the following workarround got me up and running.

I've atatched a web.config that has been fixed (New VS Solution -> new web project -> NuGet package manager -> install Dynamicweb.Admin 9.4.11 (overwrite on conflict + lowest dependency) -> wait 7 min for install to finish -> fix problems in web.config).

After I fixed the bugs with double elements and move an element to the correct location in the web.config file, things worked as they should on my machine. Please let me know if you have problems with this approach.

 

 
Gaëtan Di Caro
Reply

Hi Martin,

Unfortunately the link to the attached file returns a 404. I also corrected an issue with a double element in the web.config and had to move the configsections to the top of the file, so it may be the same thing. I attached my web.vonfig (if it works).

 
Gaëtan Di Caro
Reply

Unfortunately I have to say I throw in the towel on managing whole DW solutions using the Nuget packages. The concept is great and I was really looking forward to it but I have already spent too much time trying to get things to simply work (which I haven't succeeded for long), and the hypothetical benefits from using it are outweighted by the detrimental actual performances. As it is right now it's just simpler and less time-consuming for me to manage solutions the traditional way. I will for sure come back to installing DW with Nuget when it is more ironed out, but for now I can't justify it.

 

That said, thanks for your help !

 
Lars Larsen
Lars Larsen
Reply

Hi Gaëtan

Sadly enough I have commed to the same conclusion! crying

 
Harald Brouwers
Reply

Hello,

I ran into the same problem as mentioned above. After a long time of searching I found the problem.

The downloadable version of DW 9.4.18 contains NuGet.Logging.dll version 3.3.0.212, while the version of this dll you get with Nuget is 3.4.3-rtm-0855.

When I copy the dll from the downloadable Dw version into my bin folder the solution will run again.

There seens something wrong with the initial delivery of this NuGet package. For a more permanent solution in ran the following command in the Package Manger Console:

 Update-Package NuGet.Logging -Reinstall

Greetings Harald

 

You must be logged in to post in the forum