GithubHelp home page GithubHelp logo

Comments (5)

JonathanMagnan avatar JonathanMagnan commented on May 12, 2024

Hello @calemith ,

DestinationTable is the alias used by our script for the table/view EntryRaw.

Is EntryRaw a view? If yes, could you try a simple insert directly in SSMS (without our library) to see if you get the same error?

I currently believe that you currently try to perform an operation on a read-only view.

See: https://stackoverflow.com/a/25472496/5619143

Best Regards,

Jonathan

from dapper-plus.

calemith avatar calemith commented on May 12, 2024

Hello Jonathan,

EntryRaw is a table. I tried a direct single insert through SSMS and it works fine. Is there an intermediary view that is used when performing the bulk insert?

from dapper-plus.

JonathanMagnan avatar JonathanMagnan commented on May 12, 2024

Nope,

Beside temporary table, we don't create anything.

That's a weird one,

Could you try with one row and if that fail, to use SQL Profiler to get the SQL executed and execute it directly in SSMS?

Perhaps that will point us in the right direction.

Best Regards,

Jonathan

from dapper-plus.

calemith avatar calemith commented on May 12, 2024

hey John,

Found the issue. Even though we transformed the list of objects to a new type, they were still the type that was named the same as a Read only- view we were using.

We fixed it by doing a proper mapping to the correct type. thanks for your help!

from dapper-plus.

JonathanMagnan avatar JonathanMagnan commented on May 12, 2024

Oh, that's great ;)

Best Regards,

Jonathan

from dapper-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.