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

Notification

Icon
Error

Options
Go to last post Go to first unread
Maxiz  
#1 Posted : Tuesday, December 22, 2020 8:20:25 AM(UTC)
Maxiz

Rank: Newbie

Groups: Registered
Joined: 2/27/2020(UTC)
Posts: 5
Italy
Location: Venice

Thanks: 1 times
Hello.
I've tryed different authentication method, without and kind of pernsonalization of the login script.

But I still get this message

ERROR: Authentication failed

Error:
Errors while compiling a Template.
Please try the following to solve the situation:
* If the problem is about missing/invalid references or multiple defines either try to load
the missing references manually (in the compiling appdomain!) or
Specify your references manually by providing your own IReferenceResolver implementation.
See https://antaris.github.i...e/ReferenceResolver.html for details.
Currently all references have to be available as files!
* If you get 'class' does not contain a definition for 'member':
try another modelType (for example 'null' to make the model dynamic).
NOTE: You CANNOT use typeof(dynamic) to make the model dynamic!
Or try to use static instead of anonymous/dynamic types.
More details about the error:
- warning: (0, 0) Assuming assembly reference 'System.Security.Principal.Windows, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'SealLibrary' matches identity 'System.Security.Principal.Windows, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.Security.Principal.Windows', you may need to supply runtime policy
- error: (46, 17) The name 'Impersonator' does not exist in the current context
- warning: (0, 0) Assuming assembly reference 'System.Security.Principal.Windows, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'SealLibrary' matches identity 'System.Security.Principal.Windows, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.Security.Principal.Windows', you may need to supply runtime policy
- warning: (0, 0) Assuming assembly reference 'System.Security.Principal.Windows, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'SealLibrary' matches identity 'System.Security.Principal.Windows, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.Security.Principal.Windows', you may need to supply runtime policy
- warning: (0, 0) Assuming assembly reference 'System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' used by 'SealLibrary' matches identity 'System.DirectoryServices.AccountManagement, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' of 'System.DirectoryServices.AccountManagement', you may need to supply runtime policy
- warning: (0, 0) Assuming assembly reference 'System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' used by 'SealLibrary' matches identity 'System.DirectoryServices.AccountManagement, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' of 'System.DirectoryServices.AccountManagement', you may need to supply runtime policy
Temporary files of the compilation can be found in (please delete the folder): C:\WINDOWS\TEMP\RazorEngine_502p1cyp.vqt
The template we tried to compile is:
------------- START -----------
@using System.Net;
@{
SecurityUser user = Model;
//Basic Windows authentication: check user/password and set name and groups...
//user.WebUserName -> user name from the login screen
//user.WebPassword -> password from the login screen
if (string.IsNullOrEmpty(user.WebUserName))
{
throw new Exception("The user name is empty.");
}

user.Identity = Impersonator.CheckWindowsLogin(user.WebUserName, user.Security.GetValue("default_domain_name"), user.WebPassword);

if (user.Identity != null)
{
user.Name = user.WebUserName;
//user.PersonalFolderName -> may be set to defined the personal folder name
if (user.Security.GetBoolValue("add_windows_groups"))
{
user.AddWindowsGroupToSecurityGroup(user.Security.GetBoolValue("windows_groups_skip_domain"), user.Security.GetValue("windows_groups_ad_context"));
}
else
{
user.AddDefaultSecurityGroup();
}

if (user.SecurityGroups.Count == 0)
{
user.Error = "The user is authenticated but he does not belong to any security group.";
var log = "Windows Groups from Windows Identity:\r\n";
var identity = user.Identity;
if (user.WebPrincipal != null) { identity = user.WebPrincipal.Identity as System.Security.Principal.WindowsIdentity; }
if (identity != null)
{
foreach (var group in identity.Groups.OrderBy(i => i.Translate(typeof(System.Security.Principal.NTAccount)).ToString()))
{
log += group.Translate(typeof(System.Security.Principal.NTAccount)).ToString() + "\r\n";
}
}
log += "\r\nWindows Groups from AD:\r\n";
if (user.UserPrincipal != null)
{
foreach (var p in user.UserPrincipal.GetAuthorizationGroups().OrderBy(i => i.Name))
{
log += p.Name + "\r\n";
}
}
Helper.WriteLogEntry("Web Report Server", System.Diagnostics.EventLogEntryType.Warning, log);
}

//User default culture, theme and logo can be also overwritten with
//user.SetDefaultCulture(group.Culture);
//user.SetDefaultLogoName(group.LogoName);
}
else
{
user.Error = "The user is not authenticated by Windows.";
}
}
@using Seal.Model

@using Seal.Helpers

------------- END -----------

The generated source code is:
------------- START -----------
#pragma checksum "C:\inetpub\wwwroot\SealReport\vvrpn53l.q51" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1d0a5781bff548bb590d0308524f27b0d10a49ac"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(CompiledRazorTemplates.Dynamic.RazorEngine_f4cef97e7f6f46169cd9f8f555d1f202), @"default", @"/vvrpn53l.q51")]
namespace CompiledRazorTemplates.Dynamic
{
#line hidden
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RazorEngine;
using RazorEngine.Templating;
#line 1 "C:\inetpub\wwwroot\SealReport\vvrpn53l.q51"
using System.Net;

#line default
#line hidden
#line 60 "C:\inetpub\wwwroot\SealReport\vvrpn53l.q51"
using Seal.Model;

#line default
#line hidden
#line 62 "C:\inetpub\wwwroot\SealReport\vvrpn53l.q51"
using Seal.Helpers;

#line default
#line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"1d0a5781bff548bb590d0308524f27b0d10a49ac", @"/vvrpn53l.q51")]
public class RazorEngine_f4cef97e7f6f46169cd9f8f555d1f202 : RazorEngine.Templating.TemplateBase<Seal.Model.SecurityUser>
{
#pragma warning disable 1998
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
#line 2 "C:\inetpub\wwwroot\SealReport\vvrpn53l.q51"

SecurityUser user = Model;
//Basic Windows authentication: check user/password and set name and groups...
//user.WebUserName -> user name from the login screen
//user.WebPassword -> password from the login screen
if (string.IsNullOrEmpty(user.WebUserName))
{
throw new Exception("The user name is empty.");
}

user.Identity = Impersonator.CheckWindowsLogin(user.WebUserName, user.Security.GetValue("default_domain_name"), user.WebPassword);

if (user.Identity != null)
{
user.Name = user.WebUserName;
//user.PersonalFolderName -> may be set to defined the personal folder name
if (user.Security.GetBoolValue("add_windows_groups"))
{
user.AddWindowsGroupToSecurityGroup(user.Security.GetBoolValue("windows_groups_skip_domain"), user.Security.GetValue("windows_groups_ad_context"));
}
else
{
user.AddDefaultSecurityGroup();
}

if (user.SecurityGroups.Count == 0)
{
user.Error = "The user is authenticated but he does not belong to any security group.";
var log = "Windows Groups from Windows Identity:\r\n";
var identity = user.Identity;
if (user.WebPrincipal != null) { identity = user.WebPrincipal.Identity as System.Security.Principal.WindowsIdentity; }
if (identity != null)
{
foreach (var group in identity.Groups.OrderBy(i => i.Translate(typeof(System.Security.Principal.NTAccount)).ToString()))
{
log += group.Translate(typeof(System.Security.Principal.NTAccount)).ToString() + "\r\n";
}
}
log += "\r\nWindows Groups from AD:\r\n";
if (user.UserPrincipal != null)
{
foreach (var p in user.UserPrincipal.GetAuthorizationGroups().OrderBy(i => i.Name))
{
log += p.Name + "\r\n";
}
}
Helper.WriteLogEntry("Web Report Server", System.Diagnostics.EventLogEntryType.Warning, log);
}

//User default culture, theme and logo can be also overwritten with
//user.SetDefaultCulture(group.Culture);
//user.SetDefaultLogoName(group.LogoName);
}
else
{
user.Error = "The user is not authenticated by Windows.";
}

#line default
#line hidden
WriteLiteral("\r\n");
}
#pragma warning restore 1998
}
}
#pragma warning restore 1591

------------- END -----------


List of loaded Assemblies:
C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Private.CoreLib.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\SealWebServer.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Runtime.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Server.IIS.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Runtime.Extensions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Hosting.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Hosting.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Hosting.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Configuration.Abstractions.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Microsoft.Extensions.DependencyInjection.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.DependencyInjection.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Logging.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Collections.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\netstandard.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.ComponentModel.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.IO.FileSystem.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Hosting.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Configuration.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Configuration.EnvironmentVariables.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Microsoft.Extensions.Primitives.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Threading.Tasks.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Linq.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Threading.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Server.Kestrel.Core.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Server.Kestrel.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Runtime.InteropServices.RuntimeInformation.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Server.IISIntegration.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Configuration.CommandLine.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Mvc.Core.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.FileProviders.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.FileProviders.Physical.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Memory.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Configuration.FileExtensions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Configuration.Json.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.IO.FileSystem.Watcher.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.ComponentModel.Primitives.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Collections.Concurrent.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.FileSystemGlobbing.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Threading.Timer.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Threading.Overlapped.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\Microsoft.Win32.Primitives.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Text.Json.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Text.Encoding.Extensions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Buffers.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Numerics.Vectors.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Runtime.CompilerServices.Unsafe.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Runtime.InteropServices.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Microsoft.Extensions.Options.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Logging.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Logging.EventLog.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Logging.Configuration.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Options.ConfigurationExtensions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Logging.Console.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Logging.Debug.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Logging.EventSource.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Diagnostics.Tracing.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Diagnostics.DiagnosticSource.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Http.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Http.Features.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Http.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Connections.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Net.Primitives.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Hosting.Server.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.HostFiltering.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.HttpOverrides.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Routing.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.ObjectPool.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Routing.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.ObjectModel.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Authentication.Core.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Authentication.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Security.Claims.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Text.Encoding.CodePages.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Configuration.Binder.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\SealLibrary.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\System.Diagnostics.EventLog.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.ComponentModel.TypeConverter.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Collections.Specialized.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Private.Uri.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Drawing.Primitives.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Console.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Net.Mail.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Xml.XmlSerializer.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Private.Xml.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Xml.ReaderWriter.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Collections.NonGeneric.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Threading.Thread.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Diagnostics.TraceSource.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Text.RegularExpressions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Reflection.Emit.ILGeneration.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Reflection.Emit.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Reflection.Primitives.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Security.Cryptography.Algorithms.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Resources.ResourceManager.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\RazorEngine.NetCore.ZuLiang.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Linq.Expressions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Html.Abstractions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Data.Common.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\runtimes\win\lib\netstandard2.0\System.Data.OleDb.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Transactions.Local.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\runtimes\win\lib\netcoreapp2.0\System.DirectoryServices.Protocols.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\System.ServiceModel.Syndication.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Xml.XDocument.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Private.Xml.Linq.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\runtimes\win\lib\netcoreapp2.0\System.DirectoryServices.AccountManagement.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\jose-jwt.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Newtonsoft.Json.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\ICSharpCode.SharpZipLib.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\runtimes\win\lib\netcoreapp2.0\System.Data.Odbc.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Renci.SshNet.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\FluentFTP.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Net.Http.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\AdomdClientNetCore.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Security.Cryptography.X509Certificates.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Text.Encoding.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Security.Cryptography.Primitives.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\SshNet.Security.Cryptography.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Globalization.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Net.Security.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Microsoft.CodeAnalysis.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Collections.Immutable.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\System.Security.Permissions.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.IO.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Diagnostics.Debug.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Microsoft.AspNetCore.Razor.Language.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Razor.Runtime.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\Microsoft.CSharp.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Microsoft.CodeAnalysis.CSharp.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.ValueTuple.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Reflection.Metadata.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Threading.Tasks.Parallel.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Reflection.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\System.Reflection.Emit.Lightweight.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0\Microsoft.Win32.Registry.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Mvc.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.Extensions.Caching.Memory.dll
Loaded Assembly: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.Session.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Microsoft.Extensions.Caching.SqlServer.dll
Loaded Assembly: C:\inetpub\wwwroot\SealReport\Microsoft.Extensions.Cachin
...
Message truncated, check the event log files in the Logs Repository sub-folder.


Tryed to reinstall but same result.

What can I check?

Edited by user Tuesday, December 22, 2020 8:23:41 AM(UTC)  | Reason: Not specified

epf  
#2 Posted : Tuesday, December 22, 2020 5:25:38 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 964
Switzerland

Thanks: 14 times
Was thanked: 162 time(s) in 156 post(s)
First check that the Script compiles and works with the Server Manager: CTRL + W, then Edit the Script an compiles it.
If it is ok, you should probably need to re-publish the Web Report Server, but clean-up old assemblies files first (e.g. remove C:\inetpub\wwwroot\eAdvisor Reports\bin).

Maxiz  
#3 Posted : Tuesday, December 22, 2020 9:01:24 PM(UTC)
Maxiz

Rank: Newbie

Groups: Registered
Joined: 2/27/2020(UTC)
Posts: 5
Italy
Location: Venice

Thanks: 1 times
Don't you worry.
As I've supposed it's a bug in 6.0
5.5.works perfectly without modifying the script
epf  
#4 Posted : Wednesday, December 23, 2020 8:10:50 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 964
Switzerland

Thanks: 14 times
Was thanked: 162 time(s) in 156 post(s)
I've just tested the script in the 6.0 and it works fine...
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.