Inhalte aufrufen

Profilbild

Error on profile page @production server

admin profile runtime error

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
4 Antworten zu diesem Thema

#1 bassam645

bassam645

    Newbie

  • Members
  • Punkt
  • 3 Beiträge

Geschrieben: 04 June 2018 - 17:02

When in try to open admin profile page, it gives following error:

 

Framework version
 
Version 
4.7.2558
Server Error in '/' Application. Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS0121: The call is ambiguous between the following methods or properties: 'Telerik.Web.Mvc.UI.Fluent.GridToolBarCommandFactory<SmartStore.Admin.Models.Customers.CustomerModel.RewardPointsHistoryModel>.Template(System.Action<Telerik.Web.Mvc.UI.Grid<SmartStore.Admin.Models.Customers.CustomerModel.RewardPointsHistoryModel>>)' and 'Telerik.Web.Mvc.UI.Fluent.GridToolBarCommandFactory<SmartStore.Admin.Models.Customers.CustomerModel.RewardPointsHistoryModel>.Template(System.Func<Telerik.Web.Mvc.UI.Grid<SmartStore.Admin.Models.Customers.CustomerModel.RewardPointsHistoryModel>,object>)'

Source Error:
 

  Line 501:            binding.Ajax().Select("RewardPointsHistorySelect", "Customer", new { customerId = Model.Id });
Line 502:        })
Line 503:        .ToolBar(commands => commands.Template(RewardPointsGridCommands))
Line 504:        .Columns(columns =>
Line 505:        {

Source File: g:\mysite.com\work\1.1\Administration\Views\Customer\_CreateOrUpdate.cshtml    Line: 503 

 

Microsoft ® Visual C# Compiler version 4.7.2558.0

for C# 5 Copyright © Microsoft Corporation. All rights reserved.



This compiler is provided as part of the Microsoft ® .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft..../?LinkID=533240

 
g:\mysite.com\work\1.1\Administration\Views\Customer\_CreateOrUpdate.cshtml(503,24): error CS0121: The call is ambiguous between the following methods or properties: 'Telerik.Web.Mvc.UI.Fluent.GridToolBarCommandFactory<SmartStore.Admin.Models.Customers.CustomerModel.RewardPointsHistoryModel>.Template(System.Action<Telerik.Web.Mvc.UI.Grid<SmartStore.Admin.Models.Customers.CustomerModel.RewardPointsHistoryModel>>)' and 'Telerik.Web.Mvc.UI.Fluent.GridToolBarCommandFactory<SmartStore.Admin.Models.Customers.CustomerModel.RewardPointsHistoryModel>.Template(System.Func<Telerik.Web.Mvc.UI.Grid<SmartStore.Admin.Models.Customers.CustomerModel.RewardPointsHistoryModel>,object>)'
 

 



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 04 June 2018 - 18:57

Sounds like the roslyn compiler (~/bin/roslyn/csc.exe) is missing. Did you deploy the official release?

Marcus Gesing

Smartstore AG


#3 bassam645

bassam645

    Newbie

  • Members
  • Punkt
  • 3 Beiträge

Geschrieben: 05 June 2018 - 12:17

yes. its latest official release deployed. all other screens are working fine. error just occur on

 

http://mysite.com/Ad...Customer/Edit/1

 

detail log file is attached.

Angehängte Bilder



#4 vinit1616

vinit1616

    Newbie

  • Members
  • Punkt
  • 1 Beiträge

Geschrieben: 09 March 2019 - 15:53

Hi Guys, 

 

After working on it, we got the solution for this. So kindly try like this.

Hope will work

 

 

.ToolBar(commands => commands.Template(pp=>GridCommands(pp)))



#5 rupali

rupali

    Member

  • Members
  • PunktPunkt
  • 19 Beiträge

Geschrieben: 11 September 2019 - 06:23

Hi

 

 

For me not work,

 

Please help me for this issue

 

myside add, edit not working for product,category and customer