Unable to load DLL 'SqlServerSpatial140.dll': The specified module could not be found

前端 未结 9 2602
谎友^
谎友^ 2021-02-12 13:05

This all new to me, so bear with me...

I\'m working on a Visual Studio project; it\'s a web service that returns some data.

I\'ve just tried to make a particula

9条回答
  •  轮回少年
    2021-02-12 13:28

    Thank you very much. It worked for me very well. I lost a lot of time on this, but you saved me! :)

    I added this to my Global.asax.cs =>

     `protected void Application_Start()
        {
         SqlServerTypes.Utilities.LoadNativeAssemblies(Server.MapPath("~/bin"));`
    

    And then in my Solution Explorer => toggled show all file and Add Ignored File to Source Control… as Pure.Krone said.

提交回复
热议问题