question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SVG report isn't working

See original GitHub issue

Versions

  • 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:

  1. Run project Demos/FastReportCore.MVC.csproj;
  2. Select Report Objects/SVG demo report;

Expected behavior

The report SVG.frx should be shown.

Screenshots

  • fastreportissue_3
  • fastreportissue_4

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:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
fediachovcommented, Nov 27, 2018

We already have own SVGObject based on SVG.NET. We have plans to publish it in Open Source in near future.

0reactions
agiletoolscommented, Mar 1, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found