SVG report isn't working
See original GitHub issueVersions
- Fast Report: Demos/FastReportCore.MVC.csproj fom the sources (as is) (master/Latest commit 664c4e9) Reports\SVG.frx
What happened
The following exception is occurring during opening Report Objects/SVG
demo report:
An unhandled exception occurred while processing the request.
FileNotFoundException: Could not find file '...\FastReport\Demos\Core\FastReportCore.MVC\bin\Debug\netcoreapp2.0\Reports\SVG.frx'.
Steps to Reproduce
Steps to reproduce the behavior:
- Run project
Demos/FastReportCore.MVC.csproj
; - Select
Report Objects/SVG
demo report;
Expected behavior
The report SVG.frx
should be shown.
Screenshots
Logs
System.IO.FileNotFoundException: Could not find file 'H:\Master\Repository\FastReport\Demos\Core\FastReportCore.MVC\bin\Debug\netcoreapp2.0\Reports\SVG.frx'.
File name: 'H:\Master\Repository\FastReport\Demos\Core\FastReportCore.MVC\bin\Debug\netcoreapp2.0\Reports\SVG.frx'
at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at FastReport.Report.Load(String fileName) in H:\Master\Repository\FastReport\FastReport.Base\Report.cs:line 1790
at FastReportCore.MVC.Controllers.HomeController.Index(Nullable`1 report) in H:\Master\Repository\FastReport\Demos\Core\FastReportCore.MVC\Controllers\HomeController.cs:line 119
at lambda_method(Closure , Object , Object[] )
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextResourceFilter>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeFilterPipelineAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
python - My SVG images are not loading
Looking at your response headers, the web server is returning the SVG files with the wrong Content-Type. Content-Type: image/svg.
Read more >SVG not working properly
Solved: Hi, I've created this Truck Icon in illustrator. This is how I save it out below as it's the closest I can...
Read more >Report - SVG Background Image Not Displaying
Report - SVG Background Image Not Displaying · Open .pbix in Power BI Desktop · Publish to Workspace · Delete background image ·...
Read more >SVG export for screens not working properly. - Adobe Illustrator
The SVG file exported through "Export for screens" is corrupted when opened with any web browser, Illustrator or Photoshop. I managed to export ......
Read more >We are having SVG icon problem
This is the first report I'm seeing of issues with SVG icons and looking at the link Rawi provided I am seeing SVG...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We already have own SVGObject based on SVG.NET. We have plans to publish it in Open Source in near future.
Is it possible to use SVGObject in FastReport Open Source? Please write the details.