Показаны сообщения с ярлыком WindowsServer2016. Показать все сообщения
Показаны сообщения с ярлыком WindowsServer2016. Показать все сообщения

вторник, 20 июня 2017 г.

SSRS 2016 Mobile Report Publisher Error 500

Hi All,

So In case you struggle as I was with SQL Server 2016 Reporting Services and specifically I had two issues:

  • SRS website simply will not show any content which I ignored at start with some similar 500 Error
  • Then when I tried to use Mobile Report Publisher I saw this 500 error

In the SRS logs ("C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\LogFiles" in my case) I can see something like that

Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!fe!06/20/2017-12:13:09:: e ERROR: [frrma4f2]: OData exception occurred: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: The UTC time represented when the offset is applied must be between year 0 and 10,000.

Now you have to remeber words OData and the string about UTC time.

Turned out the issue is with the fact that... wait for it... your server is living east of London :)

Reset timezone to EST (GMT with minus "-", to the left, west side :)) and the error is gone

I mean, Microsoft, really? :)

I was able to find a solution from this blog post
https://morgansimonsen.com/2015/12/07/office-365-hybrid-configuration-wizard-fails-due-to-datetime-minvalue-issue/
Which is about a problem in C# reported here, a problem known in 2012!!!

Hope this helps someone else out there :)

четверг, 24 марта 2016 г.

Windows Server 2016 TP4 Hyper-V Container fails to start with 80070002

So,

I was playing with new Windows Server containers feature the other day and for some reason Hyper-V container didn't want to start with the following error:

start-container : 'sg-cnt1' failed to start.
'sg-cnt1' failed to initialize: The system cannot find the file specified. (0x80070002).

It took some time and with help of Process Explorer I was able to conclude that WindowsServerCore image, which container host downloads, doesn't contain the template virtual drive (SystemTemplate.vhdx). You can check that NanoServer image does have the template, but not the full windows container image.

You might ask why I don't use a default (non-hyperv) containers? Well, because Microsoft has a bug and you cannot change container computer name - it will change the computer name of the host machine instead. That's why I was trying Hyper-V containers, from breif Nano container examitation I found that this type of container doesn't have this bug. Unfortunately I cannot use the Nano because I need to install some software and on Nano it's going to be difficult.

Solution:

Don't know. I need to find a correct SystemTemplate.vhdx somewhere. I'll update the post when I find.