SQL Adaptor question

Home Page Forums BizTalk 2004 – BizTalk 2010 SQL Adaptor question

Viewing 1 reply thread
  • Author
    Posts
    • #12416

      I receive following error when trying to use @table variable/#temp table in stored proc which I call using SQL Adaptor wizard. The SQL wizard is able to generate schema fine, and project builds ok. The error happens only when I try to configure receive location for SQLTransport properties. Error msg is – \”This is not a valid schema generated by SQL schema wizard. Type ‘http://myNamespace:_x005F_x0023_TempTableName’ is not declared…..\” Is it not possible to use temp table in stored procs with SQL Adapotor?? any thoughts.
      Thanks in advance.

    • #12417

      Thanks for replying, Steve. The stored proc is ok, I have checked that. If I remove @table variable or #temp_table and replace it with an actual work table, it works fine and I don’t receive the previous error. It makes me think that we can’t use @table variable or #temp_table in stored procs when using SQL Adaptor… is that so?

      • #12418

        You might want to check the current help guide under “SQL Receive Adapter”.

        You must be doing something wrong in the stored proc.

        • #12419

          I’m not sure on that one, but it could be the case with the SQL Adaptor.

          • #20000

             HI,

             

                I am having the same issue as posted origanally. I have a simple query in SP “Select Cols from Table XML AUTO,XMLDATA”. I create schema and deploy the project succesfully. But problem occurs when i try to create a receive location for SAL adapter. It thorws message of “Invalid schema” for every schema generated within the project. I am wondering what could be the problem?

            Thank you in advance.

          • #20001

             HI,

             

                I am having the same issue as posted origanally. I have a simple query in SP “Select Cols from Table XML AUTO,XMLDATA”. I create schema and deploy the project succesfully. But problem occurs when i try to create a receive location for SAL adapter. It thorws message of “Invalid schema” for every schema generated within the project. I am wondering what could be the problem?

            Thank you in advance.

            Raminder

            • #20004

               Did you remove the XMLDATA instruction from the stored proc after you generated the schemas

              • #20009

                 Yes, I have removed it from the store procedure sql statement.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.