Skip to content

Could not find Type 'StoredProcedures' in assembly 'APIConsumer'. #54

@wtsyung

Description

@wtsyung

I have followed the steps and create all assemblies. As soon as I get to the point on creating the first sp "API.Caller_WebMethod" I hit this error "Could not find Type 'StoredProcedures' in assembly 'APIConsumer'."

There's one difference I made on creating System.Net.Http assembly is that I cannot use the one given from the your project due to some versioning issue? I ended up created it using the one provided from GAC_MSIL. The version of System.Net.Http from GAC_MSIL is 4.8.3761.0 where the one from the file is 4.6.23409

If this is the cause, would there any way I can fix it? (I am using SQLServer 2017)

CREATE ASSEMBLY [System.Net.Http]
AUTHORIZATION dbo
FROM 'C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll'
WITH PERMISSION_SET = UNSAFE;
GO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions