We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Warnings while running server-side ASP.NET Core Blazor sample

Thread ID:

Created:

Updated:

Platform:

Replies:

145235 Jun 13,2019 09:11 AM UTC Jun 18,2019 10:44 AM UTC Blazor 4
loading
Tags: Calendar
Florian
Asked On June 13, 2019 09:11 AM UTC

Hi,

I just followed your getting started guide (https://ej2.syncfusion.com/aspnet-core-blazor/documentation/getting-started/vs-blazor-server/) to get my first web app up and running with your components. The website will be loaded, but as soon as I try to change the view, the following warnings will be displayed in console:

warn: Microsoft.AspNetCore.Components.Browser.Rendering.RemoteRenderer[100]
      Unhandled exception rendering component: Method not found: 'Void Microsoft.JSInterop.DotNetObjectRef..ctor(System.Object)'.
System.MissingMethodException: Method not found: 'Void Microsoft.JSInterop.DotNetObjectRef..ctor(System.Object)'.
   at Syncfusion.EJ2.RazorComponents.BaseComponent.Dispose()
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.DisposeInBatch(RenderBatchBuilder batchBuilder)
   at Microsoft.AspNetCore.Components.Rendering.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry)
   at Microsoft.AspNetCore.Components.Rendering.Renderer.ProcessRenderQueue()
warn: Microsoft.AspNetCore.Components.Server.ComponentHub[0]
      Unhandled Server-Side exception
System.MissingMethodException: Method not found: 'Void Microsoft.JSInterop.DotNetObjectRef..ctor(System.Object)'.
   at Syncfusion.EJ2.RazorComponents.BaseComponent.Dispose()
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.DisposeInBatch(RenderBatchBuilder batchBuilder)
   at Microsoft.AspNetCore.Components.Rendering.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry)
   at Microsoft.AspNetCore.Components.Rendering.Renderer.ProcessRenderQueue()

I'm sure I did all steps correctly what mentioned in your getting started document. I'm also using the latest version of VS 2019 preview along with .NET CORE 3.0 Preview4 and the latest Syncfusion.EJ2.RazorComponents library.

I've attached my sample web app to this post. Thank you in advance for your support.

Best regards,
Florian


Attachment: WebApplication1_4fd291c6.zip

Moshe Habas
Replied On June 13, 2019 09:25 AM UTC

In my case it disables the components

Nothing works from preview-6 update

Florian
Replied On June 13, 2019 09:30 AM UTC

I was wrong: I've installed the very latest version of .NET CORE 3.0:



Vijayanand S [Syncfusion]
Replied On June 13, 2019 01:18 PM UTC

Hi Florian/Moshe,

 

Since Microsoft has introduced the breaking changes in the Preview 6 update, our controls have issues in this version. We are working on providing the compatibility to the latest version and will release it on or before 19th June 2019.

 

https://github.com/aspnet/Announcements/issues/364

 

  • DotNetObjectRef is replaced by a generic DotNetObjectRef<T> that is required for both sending and receiving a managed object reference when doing interop with the browser

 

Until then, I would advise you to use our components in the preview 5. Please let me know if you have any questions.

 

Regards,

Vijay


Vijayanand S [Syncfusion]
Replied On June 18, 2019 10:44 AM UTC

Hi Floarian, 

We have published the new package which is compatible with the .NET Core v3.0.0-preview6. Please get the latest NuGet package from the location below. 


Regards, 
Vijay 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon