Error executing template "Designs/Swift/Paragraph/Swift_ProductComponentParagraph.cshtml"
System.ArgumentException: Could not write parsed file: C:\inetpub\solutions\Goecker-2022-Prod\Files\Templates\Designs\Swift\_parsed\Swift_ProductComponentEdit.parsed.cshtml System.IO.IOException: The process cannot access the file 'C:\inetpub\solutions\Goecker-2022-Prod\Files\Templates\Designs\Swift\_parsed\Swift_ProductComponentEdit.parsed.cshtml' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at Dynamicweb.Core.Helpers.TextFileHelper.WriteTextFile(String value, String path, Boolean appendToFile, Encoding encoding)
   at Dynamicweb.Rendering.Designer.Parser.Parse(Layout l)
   at Dynamicweb.Rendering.Designer.Parser.Parse(Layout l)
   at Dynamicweb.Rendering.Designer.Layout.CheckParsed()
   at Dynamicweb.Rendering.Designer.Layout..ctor(FileInfo f, Design design)
   at Dynamicweb.Rendering.Designer.Layout.GetLayoutByLocation(String path)
   at Dynamicweb.Content.Layouts.LayoutLocator.FindLayout(Page page, String layoutName)
   at Dynamicweb.Frontend.Content.GetLayoutForDevice(Page page, DeviceType device)
   at Dynamicweb.Frontend.Content.CreateGridContent(Int32 contentId, Boolean ignoreVisualEdit)
   at Dynamicweb.Frontend.Content.RenderExternalGrid(Int32 pageId, String container)
   at CompiledRazorTemplates.Dynamic.RazorEngine_81f6c8a5a4954961b351a0e112a27be2.Execute() in C:\inetpub\solutions\Goecker-2022-Prod\Files\Templates\Designs\Swift\Paragraph\Swift_ProductComponentParagraph.cshtml:line 39
   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()

1 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 2 3 @{ 4 int itemSourcePageId = Convert.ToInt32(Model.Item.GetRawValueString("ComponentSource", "0")); 5 6 var pageService = new Dynamicweb.Content.PageService(); 7 itemSourcePageId = itemSourcePageId > 0 && pageService.GetPageOrLanguage(itemSourcePageId, Pageview.AreaID) != null ? pageService.GetPageOrLanguage(itemSourcePageId, Pageview.AreaID).ID : itemSourcePageId; 8 } 9 10 @if (itemSourcePageId != 0) { 11 var page = Dynamicweb.Content.Services.Pages.GetPage(itemSourcePageId); 12 13 if (page != null) { 14 var pageViewModel = Dynamicweb.Frontend.ContentViewModelFactory.CreatePageInfoViewModel(page); 15 string itemTheme = !string.IsNullOrWhiteSpace(pageViewModel.Item.GetRawValueString("Theme")) ? " theme " + pageViewModel.Item.GetRawValueString("Theme").Replace(" ", "").Trim().ToLower() : string.Empty; 16 17 string contentPadding = pageViewModel.Item.GetRawValueString("ContentPadding", ""); 18 contentPadding = contentPadding == "none" ? "p-0" : contentPadding; 19 contentPadding = contentPadding == "small" ? "p-2 p-md-3" : contentPadding; 20 contentPadding = contentPadding == "large" ? "p-4 p-md-5" : contentPadding; 21 contentPadding = contentPadding == "small-x" ? "px-2 px-md-3" : contentPadding; 22 contentPadding = contentPadding == "large-x" ? "px-4 px-md-5" : contentPadding; 23 24 string layout = Model.Item.GetRawValueString("Layout", "top"); 25 switch (layout) 26 { 27 case "top": 28 case "alignLeftMiddle": 29 layout = ""; 30 break; 31 case "center": 32 case "alignLeft": 33 layout = "d-flex align-items-center text-start"; 34 break; 35 } 36 37 <div class="@contentPadding @itemTheme @(layout) h-100 item_@Model.Item.SystemName.ToLower()"> 38 <div class="w-100"> 39 @RenderGrid(itemSourcePageId) 40 </div> 41 </div> 42 } else if (Pageview.IsVisualEditorMode) { 43 <div class="alert alert-dark m-0" role="alert"> 44 <span>@Translate("The selected component does not exist anymore")</span> 45 </div> 46 } 47 } else if (Pageview.IsVisualEditorMode) { 48 <div class="alert alert-dark m-0" role="alert"> 49 <span>@Translate("Product component: The component will be shown here, if any")</span> 50 </div> 51 } 52

Beskrivning

Nanlite FC-120C RGB LED Spotlight

  • Full-color compact LED spotlight
  • CRI 95, TLCI 94
  • Wide CCT range 2700K-7500K (GM±150)
  • 12850 lux, 1193 fc @1M 5600K with reflector
  • Onboard, Bluetooth app control, 2.4G and DMX/RDM
  • Native FM mount and Bowens adapter is included

The Nanlite FC-120C is a surprisingly compact and lightweight LED spotlight that provides full RGB color and a wide CCT range of 2700K–7500K, and even though it's small and light, it cranks out 12850 lux, 1193 fc @1M 5600K with included reflector. FC-120C runs on batteries, powerbanks, or AC and delivers highly accurate light and a versatile array of control methods: onboard, Bluetooth, 2.4G, and DMX/RDM. Creators always want their lights to be as bright as possible while still being small and easy to hide behind in-frame objects, and also be affordable. The FC-120C fills this role perfectly. It's easy to use for complete beginners and also provides advanced features.

Value, Color, And Power

The FC-120C provides the same high-quality light, control options, and advanced functions as our top-of-the-line Forza series. The FC-Series are more affordable because they're constructed with rugged composite plastics, where Forza is made with metal and carbon fiber. The FC-120C is a top-tier light at an entry-level price that delivers versatile colors and lots of output for its compact size.

Create Anywhere

An AC adapter is included to run the FC-120C continuously, and a V-Mount Battery Handgrip is sold separately that lets you operate in the field. Space is provided in the included hard-foam case for this handgrip, which can be handheld, rested upright on surfaces, and mounted on stands. A USB-C port allows you to run on powerbanks and chargers that support PD 3.0 and 2.0 (30W or higher). When it comes to power, FC-120C is all about versatility and convenience.

Bi-Color Accuracy

Quickly adjust the color temperature from 2700K-7500K with a dedicated knob and blend with other light sources with a G/M adjustment of +/- 150. Like all Nanlite fixtures, the FC-120C delivers flicker-free performance and high color accuracy with an SSI of 82 (3200K) and 70 (5600K), CRI of average 95 and TLCI of average 94. FC-120C features a glass-protected COB light source to ensure a longer product lifecycle.

4 Control Options

Control dimming, CCT, color, and more with two easy-to-use knobs, buttons, and a rear-facing screen. Control with your phone or tablet through Bluetooth and the free NANLINK app. Want to use your mobile devices for something else? No problem, control with the WS-RC-C2 Handheld Remote (sold separately) through built-in 2.4G. A locking metal DMX/RDM port is provided for advanced control, and the USB-C port can power DMX receivers (sold separately).

Small Mount, Big Ecosystem

One of the reasons the FC-120C can be so compact is that it has the FM Mount. The nicely constructed 45° Reflector utilizes this mount, and provides smooth, even light. There are many compact light modifiers available for FM Mount that are also lightweight, like the FL-11 Fresnel, FMM softboxes, and PJ-FMM Projection Attachments (all sold separately). The included Bowens adapter opens up a world of light-modifier compatibility. There's even an integrated umbrella mount.

In the Box:

  • 1 x FC-120C
  • 1 x Power Adapter
  • 1 x RF-FMM-45 Reflector
  • 1 x AC Power Cable (4,5m)
  • 1 x AS-BA-FMM Bowens Adapter

Specifikationer

Tillverkare Nanlite
Kategori LED ljus
Vikt 1130 G
Bredd 11.5 CM
Djup 19.3 CM
Längd 19.1 CM
CRI 95
Ljusstyrka 145W / 12850 lux, 1193 fc @1M 5600K with reflector
Color temperatur 2700K-7500K (GM±150)