Error executing template "Designs/Swift/eCom/ProductCatalog/ProductViewDetail.cshtml"
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.Open()
   at Dynamicweb.Data.DatabaseConnectionProvider.CreateConnection(Boolean open)
   at Dynamicweb.Data.Database.CreateConnection()
   at Dynamicweb.Data.Database.CreateDataReader(CommandBuilder commandBuilder, IDbConnection connection, IDbTransaction transaction, Int32 commandTimeout)
   at Dynamicweb.Ecommerce.Products.DetailRepository.GetInheritedDetailsBulk(List`1 productIds, String detailType, Boolean onlyDefault)
   at Dynamicweb.Ecommerce.Products.DetailService.GetPrimaryDetailsBulk(IEnumerable`1 productKeys, String detailType)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at Dynamicweb.Ecommerce.ProductCatalog.ViewEngine.GetDefaultImage(MediaViewModelSettings settings, String productId, String languageId, String variantId, Lazy`1 productImages, Lazy`1 details)
   at Dynamicweb.Ecommerce.ProductCatalog.ViewEngine.GetDefaultImage(MediaViewModelSettings settings, Product product, Lazy`1 productImages, Lazy`1 details)
   at Dynamicweb.Ecommerce.ProductCatalog.ViewEngine.<>c__DisplayClass3_2.<BulkCreateView>b__62()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at CompiledRazorTemplates.Dynamic.RazorEngine_d8048c8ac4d34f32babf3c9fdea51b15.Execute() in E:\Dynamicweb.Net\Solutions\Dynamicweb\dansukker.prod\Swift-Files\Templates\Designs\Swift\eCom\ProductCatalog\ProductViewDetail.cshtml:line 6
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.<RunCompile>b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
   at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:2,State:0,Class:20

1 @inherits ViewModelTemplate<ProductViewModel> 2 @using Dynamicweb.Rendering 3 @using Dynamicweb.Ecommerce.ProductCatalog 4 5 @{ 6 Dynamicweb.Frontend.PageView.Current().Meta.AddTag("og:image", Model.DefaultImage.Value); 7 Dynamicweb.Frontend.PageView.Current().Meta.AddTag("og:image:alt", Model.Name); 8 Dynamicweb.Frontend.PageView.Current().Meta.AddTag("og:description", string.IsNullOrEmpty(Model.MetaDescription) ? Model.Name : Model.MetaDescription); 9 10 Dynamicweb.Frontend.PageView.Current().Meta.AddTag("twitter:image", Model.DefaultImage.Value); 11 Dynamicweb.Frontend.PageView.Current().Meta.AddTag("twitter:image:alt", Model.Name); 12 Dynamicweb.Frontend.PageView.Current().Meta.AddTag("twitter:description", string.IsNullOrEmpty(Model.MetaDescription) ? Model.Name : Model.MetaDescription); 13 } 14 15 @{ 16 if (Dynamicweb.Context.Current.Items.Contains("ProductDetails")) 17 { 18 Dynamicweb.Context.Current.Items["ProductDetails"] = Model; 19 } 20 else 21 { 22 Dynamicweb.Context.Current.Items.Add("ProductDetails", Model); 23 } 24 } 25 26 <script type="module" src="~/Files/Templates/Designs/Swift/Assets/js/tiny-slider.js"></script> 27 <script type="module"> 28 swift.AssetLoader.Load('Files/Templates/Designs/Swift/Assets/css/tiny-slider.css', 'css'); 29 </script> 30 <script> 31 //Initialize the sliders 32 window.addEventListener('load', function (event) { 33 swift.Sliders.init(); 34 swift.Video.init(); 35 }); 36 </script> 37

Tervetuloa kysymään Dansukker-tuotteista ja niiden käytöstä.

Mökkiläisen mustikkapiiras

Leivotaan mustikasta

Mustikka on oiva piirakkamarja. Katso parhaat herkkureseptit!

Houkutteleva marjamisu

Helpot ja herkulliset jälkiruoat

Arki tai loma – kruunaa jälkiruoka kesän marjoilla ja nauti elämästä!

Tee itse hilloa ja mehua

Tee itse hilloa ja mehua

Hillojen keittäminen on helppoa. Kasviperäisten Dansukker Hillosokereiden avulla työ on jo puoliksi tehty! Hyvän mehun saat höyryttämällä marjat mehustimessa tai keittämällä ne kattilassa. Katso parhaat vinkit ja ohjeet säilöntään.

Mustaherukka-kermajäätelö

Tee itse jäätelöä ja mehujäitä

Kesään kuuluu ehdottomasti samettinen jäätelö, jota on helppo tehdä myös itse. Raikkaat mehujäät maistuvat hellepäivänä.

Raikas sitrusjäätee

Raikkaat kesäjuomat

Tarjoile kesäkuumalla itse tehtyä vilvoittavaa juotavaa. Muista myös mocktailit!

Jerk-marinadi broilerille

Mainiot grillimarinadit ja mausteseokset

Herkullisilla marinadeilla syvennät tai korostat lihan ja kalan makua nopeasti ja helposti. Grillimarinadeissa sokeri ja siirappi pyöristävät vahvoja mausteita ja antavat karamellisoituessaan herkullista makua ja paistoväriä.