logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
ainaz_ama  
#1 Posted : Wednesday, November 4, 2020 6:31:06 AM(UTC)
ainaz_ama

Rank: Newbie

Groups: Registered
Joined: 9/29/2020(UTC)
Posts: 0
Iran (Islamic Republic Of)

Thanks: 2 times
Hi,

I want to make a change in the code of seal Library project of seal report in visual studio. When I download the source code from GitHub and open it in Visual studio it builds properly when no file is open in VS but when for example I open the file "Report.iRestrictions.partial.cshtml" many errors are shown, errors by IntelliSense, such as :

Error CS0234 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) 2_Report.iRestrictions.partial.cshtml


Error CS0115 '_Page_Default_cshtml.Execute()': no suitable method found to override 2_Report.iRestrictions.partial.cshtml


Error CS8023 Feature 'implicitly typed local variable' is not available in C# 2. Please use language version 3 or greater.

Error CS0103 The name 'Raw' does not exist in the current context 2_Report.iRestrictions.partial.cshtml


Besides, when I publish it (I can do it when no file is open and therefore there is no errors shown), and when I copy the bin folder to server 's folder and I try to access reports via browser with my server's IP address\seal then I get the error:

Could not load file or assembly 'SealWebServer' or one of its dependencies. An attempt was made to load a program with an incorrect format.
ainaz_ama  
#2 Posted : Wednesday, November 4, 2020 8:29:40 AM(UTC)
ainaz_ama

Rank: Newbie

Groups: Registered
Joined: 9/29/2020(UTC)
Posts: 0
Iran (Islamic Republic Of)

Thanks: 2 times
Hi,

I solved the problem of

Could not load file or assembly 'SealWebServer' or one of its dependencies. An attempt was made to load a program with an incorrect format.

by changing platform target of the project to Any CPU and then in the IIs application pool setting the Enable 32-bit applications to True

These solved the problem of "Could not load file or assembly" but then when I want to view my report in browser I got this :

Execution error when compiling the partial view template 'View(Report.iRestrictions)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Error got when executing the view 'View(Report)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Execution error when compiling the partial view template 'View(Report.iRestrictions)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Error got when executing the view 'View(Report)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061


Execution errors:
Execution error when compiling the partial view template 'View(Report.iRestrictions)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Execution error when compiling the partial view template 'View(Report.iRestrictions)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Error got when executing the view 'View(Report)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061


Execution messages:
11:51:59 AM Rendering report...


Which I think is related to the IntelliSense errors raised in visual studio. Actually I have made no changes to the projects in the seal solution.
Would you please help me with this problem please?

Thanks in advance
epf  
#3 Posted : Saturday, November 7, 2020 8:02:45 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
Actually the current version in GitHub is perhaps not stable (always under development).

I just checked the version of this morning 7th of November and it compiles well....but it remains a 6.0beta

The last stable version published is the 5.5
ainaz_ama  
#4 Posted : Saturday, November 7, 2020 8:59:33 AM(UTC)
ainaz_ama

Rank: Newbie

Groups: Registered
Joined: 9/29/2020(UTC)
Posts: 0
Iran (Islamic Republic Of)

Thanks: 2 times
I am working on version 5.5 .
When I open the downloaded 5.5 version of seal report these errors and so many appear in visual studio, these errors are generated by IntelliSense.

Error CS0234 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) 2_Report.iRestrictions.partial.cshtml


Error CS0115 '_Page_Default_cshtml.Execute()': no suitable method found to override 2_Report.iRestrictions.partial.cshtml


Error CS8023 Feature 'implicitly typed local variable' is not available in C# 2. Please use language version 3 or greater.

Error CS0103 The name 'Raw' does not exist in the current context 2_Report.iRestrictions.partial.cshtml
epf  
#5 Posted : Saturday, November 7, 2020 11:43:29 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
You can ignore these intellisense errors in cshtml files, the projects compile and work fine.
ainaz_ama  
#6 Posted : Monday, November 9, 2020 7:32:33 AM(UTC)
ainaz_ama

Rank: Newbie

Groups: Registered
Joined: 9/29/2020(UTC)
Posts: 0
Iran (Islamic Republic Of)

Thanks: 2 times
Hi,

Yes the projects are compiled correctly and work fine but when I want to publish it to a folder and copy the bin folder to my server (Actually it is needed when I want to make changes to the source code) then trying to reach the report via browser I got the error :




Execution error when compiling the partial view template 'View(Report.iRestrictions)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Error got when executing the view 'View(Report)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Execution error when compiling the partial view template 'View(Report.iRestrictions)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Error got when executing the view 'View(Report)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061


Execution errors:
Execution error when compiling the partial view template 'View(Report.iRestrictions)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Execution error when compiling the partial view template 'View(Report.iRestrictions)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Error got when executing the view 'View(Report)':
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)

The predefined type 'System.Collections.Generic.IReadOnlyList' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
The predefined type 'System.Collections.Generic.IReadOnlyCollection' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
Line 0 Column 0 Error Number CS1685
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 67 Column 46 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 77 Column 71 Error Number CS1061
'Seal.Model.Report' does not contain a definition for 'ExecutionPromptedRestrictions' and no extension method 'ExecutionPromptedRestrictions' accepting a first argument of type 'Seal.Model.Report' could be found (are you missing a using directive or an assembly reference?)
Line 79 Column 50 Error Number CS1061

Would you please help me with this problem?

Thanks in advance
ainaz_ama  
#7 Posted : Wednesday, November 18, 2020 9:55:32 AM(UTC)
ainaz_ama

Rank: Newbie

Groups: Registered
Joined: 9/29/2020(UTC)
Posts: 0
Iran (Islamic Republic Of)

Thanks: 2 times
Hi,

I am really stuck with this problem because I cannot make any changes to the code, any change causes the same error list which is in the above post,
I got the error when I want to reach any report in the list of reports even the simplest report with no restriction.
I can login to my seal report and every thing is ok until I click on a report to be shown.

Would you please help me with this problem?

Thanks in advance
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.