Denne side understøttes ikke optimalt i Internet Explorer. Vi anbefaler derfor, at du benytter en anden browser (fx Google Chrome, Edge, Firefox etc.)

Stadsing A/S - Create an account

Logo

Create an account

Exception in template (Designs\StandardWebshop\Forms/Form\Standard.cshtml): System.IO.IOException: There is not enough space on the disk.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)
   at System.IO.FileStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at System.IO.StreamWriter.Dispose(Boolean disposing)
   at System.IO.TextWriter.Dispose()
   at Microsoft.CSharp.CSharpCodeGenerator.FromDomBatch(CompilerParameters options, CodeCompileUnit[] ea)
   at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] ea)
   at RazorEngine.Compilation.DirectCompilerServiceBase.Compile(TypeContext context)
   at RazorEngine.Compilation.DirectCompilerServiceBase.CompileType(TypeContext context)
   at RazorEngine.Templating.TemplateService.CreateTemplateType(String razorTemplate, Type modelType)
   at RazorEngine.Templating.TemplateService.GetTemplate[T](String razorTemplate, Object model, String cacheName)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.Output() in E:\Program Files (x86)\Jenkins\jobs\Release DW881\workspace\Dynamicweb\Rendering\Template.vb:line 777
@inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> @GetString("Form.FormStart") @GetString("Form.SystemFields") @foreach (var field in GetLoop("Fields")) { var type = field.GetString("Field.Type"); var label = field.GetString("Field.Name"); var placeholder = field.GetString("Field.Placeholder"); var desc = field.GetString("Field.Description"); var name = field.GetString("Field.SystemName"); var id = field.GetString("Field.HtmlId"); var rows = field.GetString("Field.TextareaHeight"); var req = ""; if (field.GetBoolean("Field.Required")) { req = " required"; } if (type == "TextInput") { var input = "text"; if (field.GetString("Field.CssClass") != "") { input = field.GetString("Field.CssClass"); } <div class="[email protected](req)"> <label for="@id">@label</label> <input type="@input" class="[email protected](req) @input" id="@id" name="@name" placeholder="@placeholder" @req autocomplete="off" /> </div> } if (type == "Textarea") { <div class="[email protected](req)"> <label for="@id">@label</label> <textarea class="[email protected](req)" rows="@rows" id="@id" name="@name" placeholder="@placeholder" @req></textarea> </div> } if (type == "Submit") { <div class="form-group text-right"> <button type="submit" class="btn btn-default" id="@id" name="@name">@label</button> </div> } if (type == "Text") { <p><strong>@label</strong></p> <p> @field.GetString("Field.Text") </p> } if (type == "CheckBox") { <div class="form-group"> <div class="[email protected](req)"> <label for="@id" class="control-label"> <input type="checkbox" id="@id" name="@name" class="@(req)" value="yes" /> @label @GetString("Option.Text") </label> </div> @if (!String.IsNullOrEmpty(desc)) { <p class="desc"><em>@desc</em></p> } </div> } if (type == "CheckBoxList") { <div class="form-group"> <label for="@id" class="col-sm-4 control-label">@label</label> <div class="[email protected](req)"> @foreach (var opt in field.GetLoop("Options")) { <div class="checkbox"> <label for="@id"> <input type="checkbox" id="@id" name="@name" class="@(req)" value="@opt.GetString("Option.Value")" /> @opt.GetString("Option.Text") </label> </div> } </div> </div> } if (type == "Radio") { <div class="form-group"> <div class="[email protected](req) text-right"> <label for="@id" class="control-label">@label</label> <label for="@id" generated="true" class="error" style="display:none;"></label> </div> <div class="col-sm-8"> @foreach (var opt in field.GetLoop("Options")) { var subid = opt.GetString("Option.ID"); <div class="radio"> <label for="@subid"> <input type="radio" id="@subid" name="@name" class="@(req)" value="@opt.GetString("Option.Value")" /> @opt.GetString("Option.Text") </label> </div> } @if (!String.IsNullOrEmpty(desc)) { <div class="desc"><em>@desc</em></div> } </div> </div> } if (type == "Select") { <div class="form-group"> <label for="@id" class="col-sm-4 control-label">@label</label> <div class="col-sm-8"> <select id="@id" name="@name" class="[email protected](req)"> @foreach (var opt in field.GetLoop("Options")) { <option value="@opt.GetString("Option.Value")">@opt.GetString("Option.Text")</option> } </select> </div> </div> } } @GetString("Form.FormEnd")
Form is not valid - Please fill required fields. Error - contact administrator.