Skip to content
This repository was archived by the owner on Dec 28, 2017. It is now read-only.
This repository was archived by the owner on Dec 28, 2017. It is now read-only.

ArgumentNullException Exception during install of SignalR Scaleout schema tables #15

@mvcutter

Description

@mvcutter

Running versions
Microsoft.AspNet.SignalR.Server 3.0.0-beta8
Microsoft.AspNet.SignalR.SqlServer 3.0.0-beta8

Exception below

Exception:  Error trying to install SQL server objects, trying again in 2 seconds: {0}
System.ArgumentNullException: Value cannot be null.
Parameter name: stream
   at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
   at System.IO.StreamReader..ctor(Stream stream)
   at Microsoft.AspNet.SignalR.AssemblyExtensions.StringResource(Assembly assembly, String name)
   at Microsoft.AspNet.SignalR.SqlServer.SqlInstaller.Install()
   at Microsoft.AspNet.SignalR.SqlServer.SqlMessageBus.Initialize(Object state)

It appears that the AssemblyExtensions.StringResource method is expecting the variable 'resourceStream' to not be null, it also appears there is no way to bypass this step to create the tables yourself manually.

Exception occurs in "SqlInstaller.Install()" method call.
var script = GetType().GetTypeInfo().Assembly.StringResource("install.sql");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions