Showing posts with label biztalk. Show all posts
Showing posts with label biztalk. Show all posts

Tuesday, February 14, 2012

BizTalk Server 2004 Installation Query

I am trying ti install BizTalk Server 2004 on a Windows 2000 Server platform.While i try to configure BizTalk Server 2004 I get the undersaid error

Failed to create subscription datatbase "BizTalkMsgBoxdb" on server"XXX"
Statements could not be prepared
Conflicting locking hints specified
Conflicting locking hints specified
Conflicting locking hints specified

SqlScript file "C:\ProgramFiles\MicrosoftBizTalkserver2004\schema\\msgboxlogic.sql"
SqlCommandBatch:"Create procedure [dbo].[int_PurgeMessageZeroSumTAble]@.
Aggressive int
as
declare..."

Can someone ehelp me out to resolve this error
Thanks and Regards
Rohit

I got this error trying to install BizTalk 2004 on SQL Server 2005.

To work around this error, I edited the file C:\Program Files\Microsoft BizTalk Server 2004\Schema\MsgBoxLogic.sql, as follows:

Find this procedure:
CREATE PROCEDURE [dbo].[int_PurgeMessageZeroSumTable]
After the ELSE, look for
DELETE FROM MessageParts WITH (ROWLOCK)
And remove the “WITH (ROWLOCK)”
Do the same for these:
DELETE FROM Spool WITH (ROWLOCK)
DELETE FROM TrackedMessages WITH (ROWLOCK)
Then find:
CREATE PROCEDURE [dbo].[int_PurgePartZeroSumTable]
And after the ELSE find these and do the same thing:
DELETE FROM Fragments WITH (ROWLOCK)
DELETE FROM Parts WITH (ROWLOCK)

After making these changes to the file, you can get past this point in the configuration wizard. You will then encounter another error:

Deploying BAM infrastructure: Failed to set up BAM database(s). Invalid column name 'XLOCK'. Invalid column name 'ROWLOCK'. Parameters supplied for object 'dbo.bam_Metadata_RTAMutex' which is not a function. If the parameters are intended as a table hint, a WITH keyword is required.

In the database BamPrimaryImport, set the compatibility level to SQL Server 2000. You can then hit Retry in the configuraiton wizard, and the next error is:

Failure to add BAM Primary Import database (database: BAMPrimaryImport, server: MyServer) to BizTalk group (database: BizTalkMgmtDb, server: MyServer).

Darnit, someone went and changed sp_helpuser!

This is where I'm stuck.

|||

Hi,

Did u solve this problem? i m also stuck up exactly in the same place..plz give me a solution, if u ve solved it...

Sumanesh

|||The same problem here, did anyone find out how to solve this?|||I was told this is because SQL Server 2005 and BizTalk 2004 are not compatible.|||If you get the message

"Failure to add BAM Primary Import database (database:

BAMPrimaryImport, server: MyServer) to BizTalk group (database:

BizTalkMgmtDb, server: MyServer). "

When using SQL Server 2004 it appears to be due to biztalk not cleaning up after itself after a configuration failure.

Open Control Panels > User Accounts click on the Advanced tab and then on the Advanced button.

Delete the following groups (some may not exist yet depending when the past failure occured)

BizTalk Application Users

BizTalk Isolated Host Users

BizTalk Server Administrators

EDI Subsystem Users

SSO Administrators

SSO Affiliate Administrators

This got past the error mentioned above when using SQL Server 2004|||

i got the same problem

any solutions ?

the last post does not got past the error if using SQL Server 2005

|||

Hi,

I am also configuring Biztalk Server 2004 on SQL Server 2005.

You work around helped, but it only creaded the first three databases.

While it was still on "Now Configuring: Biztalk WMI" it throws the following error:

"ActiveX component can't create object"

Please help

Wonder Andile Hlongwane

BizTalk Server 2004 Installation Query

I am trying ti install BizTalk Server 2004 on a Windows 2000 Server platform.While i try to configure BizTalk Server 2004 I get the undersaid error

Failed to create subscription datatbase "BizTalkMsgBoxdb" on server"XXX"
Statements could not be prepared
Conflicting locking hints specified
Conflicting locking hints specified
Conflicting locking hints specified

SqlScript file "C:\ProgramFiles\MicrosoftBizTalkserver2004\schema\\msgboxlogic.sql"
SqlCommandBatch:"Create procedure [dbo].[int_PurgeMessageZeroSumTAble]@.
Aggressive int
as
declare..."

Can someone ehelp me out to resolve this error
Thanks and Regards
Rohit

I got this error trying to install BizTalk 2004 on SQL Server 2005.

To work around this error, I edited the file C:\Program Files\Microsoft BizTalk Server 2004\Schema\MsgBoxLogic.sql, as follows:

Find this procedure:
CREATE PROCEDURE [dbo].[int_PurgeMessageZeroSumTable]
After the ELSE, look for
DELETE FROM MessageParts WITH (ROWLOCK)
And remove the “WITH (ROWLOCK)”
Do the same for these:
DELETE FROM Spool WITH (ROWLOCK)
DELETE FROM TrackedMessages WITH (ROWLOCK)
Then find:
CREATE PROCEDURE [dbo].[int_PurgePartZeroSumTable]
And after the ELSE find these and do the same thing:
DELETE FROM Fragments WITH (ROWLOCK)
DELETE FROM Parts WITH (ROWLOCK)

After making these changes to the file, you can get past this point in the configuration wizard. You will then encounter another error:

Deploying BAM infrastructure: Failed to set up BAM database(s). Invalid column name 'XLOCK'. Invalid column name 'ROWLOCK'. Parameters supplied for object 'dbo.bam_Metadata_RTAMutex' which is not a function. If the parameters are intended as a table hint, a WITH keyword is required.

In the database BamPrimaryImport, set the compatibility level to SQL Server 2000. You can then hit Retry in the configuraiton wizard, and the next error is:

Failure to add BAM Primary Import database (database: BAMPrimaryImport, server: MyServer) to BizTalk group (database: BizTalkMgmtDb, server: MyServer).

Darnit, someone went and changed sp_helpuser!

This is where I'm stuck.

|||

Hi,

Did u solve this problem? i m also stuck up exactly in the same place..plz give me a solution, if u ve solved it...

Sumanesh

|||The same problem here, did anyone find out how to solve this?
|||I was told this is because SQL Server 2005 and BizTalk 2004 are not compatible.
|||If you get the message
"Failure to add BAM Primary Import database (database: BAMPrimaryImport, server: MyServer) to BizTalk group (database: BizTalkMgmtDb, server: MyServer). "
When using SQL Server 2004 it appears to be due to biztalk not cleaning up after itself after a configuration failure.
Open Control Panels > User Accounts click on the Advanced tab and then on the Advanced button.
Delete the following groups (some may not exist yet depending when the past failure occured)
BizTalk Application Users
BizTalk Isolated Host Users
BizTalk Server Administrators
EDI Subsystem Users
SSO Administrators
SSO Affiliate Administrators
This got past the error mentioned above when using SQL Server 2004
|||

i got the same problem

any solutions ?

the last post does not got past the error if using SQL Server 2005

|||

Hi,

I am also configuring Biztalk Server 2004 on SQL Server 2005.

You work around helped, but it only creaded the first three databases.

While it was still on "Now Configuring: Biztalk WMI" it throws the following error:

"ActiveX component can't create object"

Please help

Wonder Andile Hlongwane

BizTalk Server 2004 Installation Query

I am trying ti install BizTalk Server 2004 on a Windows 2000 Server platform.While i try to configure BizTalk Server 2004 I get the undersaid error

Failed to create subscription datatbase "BizTalkMsgBoxdb" on server"XXX"
Statements could not be prepared
Conflicting locking hints specified
Conflicting locking hints specified
Conflicting locking hints specified

SqlScript file "C:\ProgramFiles\MicrosoftBizTalkserver2004\schema\\msgboxlogic.sql"
SqlCommandBatch:"Create procedure [dbo].[int_PurgeMessageZeroSumTAble]@.
Aggressive int
as
declare..."

Can someone ehelp me out to resolve this error
Thanks and Regards
Rohit

I got this error trying to install BizTalk 2004 on SQL Server 2005.

To work around this error, I edited the fileC:\Program Files\Microsoft BizTalk Server 2004\Schema\MsgBoxLogic.sql, as follows:

Find this procedure:
CREATE PROCEDURE [dbo].[int_PurgeMessageZeroSumTable]
After the ELSE, look for
DELETE FROM MessageParts WITH (ROWLOCK)
And remove the “WITH (ROWLOCK)”
Do the same for these:
DELETE FROM Spool WITH (ROWLOCK)
DELETE FROM TrackedMessages WITH (ROWLOCK)
Then find:
CREATE PROCEDURE [dbo].[int_PurgePartZeroSumTable]
And after the ELSE find these and do the same thing:
DELETE FROM Fragments WITH (ROWLOCK)
DELETE FROM Parts WITH (ROWLOCK)

After making these changes to the file, you can get past this point in the configuration wizard. You will then encounter another error:

Deploying BAM infrastructure: Failed to set up BAM database(s). Invalid column name 'XLOCK'. Invalid column name 'ROWLOCK'. Parameters supplied for object 'dbo.bam_Metadata_RTAMutex' which is not a function. If the parameters are intended as a table hint, a WITH keyword is required.

In the database BamPrimaryImport, set the compatibility level to SQL Server 2000. You can then hit Retry in the configuraiton wizard, and the next error is:

Failure to add BAM Primary Import database (database: BAMPrimaryImport, server: MyServer) to BizTalk group (database: BizTalkMgmtDb, server: MyServer).

Darnit, someone went and changed sp_helpuser!

This is where I'm stuck.

|||

Hi,

Did u solve this problem? i m also stuck up exactly in the same place..plz give me a solution, if u ve solved it...

Sumanesh

|||The same problem here, did anyone find out how to solve this?
|||I was told this is because SQL Server 2005 and BizTalk 2004 are not compatible.
|||If you get the message
"Failure to add BAM Primary Import database (database: BAMPrimaryImport, server: MyServer) to BizTalk group (database: BizTalkMgmtDb, server: MyServer). "
When using SQL Server 2004 it appears to be due to biztalk not cleaning up after itself after a configuration failure.
Open Control Panels > User Accounts click on the Advanced tab and then on the Advanced button.
Delete the following groups (some may not exist yet depending when the past failure occured)
BizTalk Application Users
BizTalk Isolated Host Users
BizTalk Server Administrators
EDI Subsystem Users
SSO Administrators
SSO Affiliate Administrators
This got past the error mentioned above when usingSQL Server 2004
|||

i got the same problem

any solutions ?

the last post does not got past the error if using SQL Server 2005

|||

Hi,

I am also configuring Biztalk Server 2004 on SQL Server 2005.

You work around helped, but it only creaded the first three databases.

While it was still on "Now Configuring: Biztalk WMI" it throws the following error:

"ActiveX component can't create object"

Please help

Wonder Andile Hlongwane

Biztalk Server 2004 Configuration

Hi

I am implementing Biztalk with SQL server 2005

When the configuration gets to "Now Configuring: Biztalk WMI" it thows the following error: "ActiveX component can't create object."

Please help

Wonder Andile Hlongwane

wonder.hlongwane@.yahoo.com

Wrong forum. Try posting on the news://microsoft.public.biztalk.orchestration.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Biztalk Server 2004 Configuration

Hi

I am implementing Biztalk with SQL server 2005

When the configuration gets to "Now Configuring: Biztalk WMI" it thows the following error: "ActiveX component can't create object."

Please help

Wonder Andile Hlongwane

wonder.hlongwane@.yahoo.com

Wrong forum. Try posting on the news://microsoft.public.biztalk.orchestration.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Biztalk read and write access to the master database.

My fellow administrator tells me that his biztalk account needs read and
write permissions to the master database of out MSSQL 2000 Enterprice
edition, running on a windows 2000 advanced server.
Our biztalk developer does not remember that there has been an issue, so he
is not doing anything specific on the masters database, in the jobs he is
running.
Is it for real that biztalk needs this access?
--
Best regards
MikaelMikael
You have to ask him why does he want to access? What process/s does he run ?
"Mikael" <Mikael@.discussions.microsoft.com> wrote in message
news:E91840AC-3A2D-4730-9A1E-1F3FBAC9B04D@.microsoft.com...
> My fellow administrator tells me that his biztalk account needs read and
> write permissions to the master database of out MSSQL 2000 Enterprice
> edition, running on a windows 2000 advanced server.
> Our biztalk developer does not remember that there has been an issue, so
> he
> is not doing anything specific on the masters database, in the jobs he is
> running.
> Is it for real that biztalk needs this access?
> --
> Best regards
> Mikael|||Yes, it has been a while since they did the installation and he just
remembers that it needs the permissions, but not why. My question is just if
the biztalk application itself needs this access to run?
--
Best regards
Mikael
"Uri Dimant" wrote:
> Mikael
> You have to ask him why does he want to access? What process/s does he run ?
>
>
> "Mikael" <Mikael@.discussions.microsoft.com> wrote in message
> news:E91840AC-3A2D-4730-9A1E-1F3FBAC9B04D@.microsoft.com...
> > My fellow administrator tells me that his biztalk account needs read and
> > write permissions to the master database of out MSSQL 2000 Enterprice
> > edition, running on a windows 2000 advanced server.
> >
> > Our biztalk developer does not remember that there has been an issue, so
> > he
> > is not doing anything specific on the masters database, in the jobs he is
> > running.
> >
> > Is it for real that biztalk needs this access?
> >
> > --
> > Best regards
> >
> > Mikael
>
>|||Mikael
To connect to SQL Server you will have to create a LOGIN. To access to the
database you will have to create an USER mapped to the LOGIN
"Mikael" <Mikael@.discussions.microsoft.com> wrote in message
news:F98CCA5E-3BC2-4B3E-8A95-FEF2EEFEA0E6@.microsoft.com...
> Yes, it has been a while since they did the installation and he just
> remembers that it needs the permissions, but not why. My question is just
> if
> the biztalk application itself needs this access to run?
> --
> Best regards
> Mikael
>
> "Uri Dimant" wrote:
>> Mikael
>> You have to ask him why does he want to access? What process/s does he
>> run ?
>>
>>
>> "Mikael" <Mikael@.discussions.microsoft.com> wrote in message
>> news:E91840AC-3A2D-4730-9A1E-1F3FBAC9B04D@.microsoft.com...
>> > My fellow administrator tells me that his biztalk account needs read
>> > and
>> > write permissions to the master database of out MSSQL 2000 Enterprice
>> > edition, running on a windows 2000 advanced server.
>> >
>> > Our biztalk developer does not remember that there has been an issue,
>> > so
>> > he
>> > is not doing anything specific on the masters database, in the jobs he
>> > is
>> > running.
>> >
>> > Is it for real that biztalk needs this access?
>> >
>> > --
>> > Best regards
>> >
>> > Mikael
>>|||My colleague did this and the application is running nicely, but now it is
time for the IT revision to inspect the SQL server and I need to know if I
can remove the privileges to the master database from the biztalk account
without affecting the production environment or know why I canâ't.
--
Best regards
Mikael
"Uri Dimant" wrote:
> Mikael
> To connect to SQL Server you will have to create a LOGIN. To access to the
> database you will have to create an USER mapped to the LOGIN
>
>
>
> "Mikael" <Mikael@.discussions.microsoft.com> wrote in message
> news:F98CCA5E-3BC2-4B3E-8A95-FEF2EEFEA0E6@.microsoft.com...
> > Yes, it has been a while since they did the installation and he just
> > remembers that it needs the permissions, but not why. My question is just
> > if
> > the biztalk application itself needs this access to run?
> >
> > --
> > Best regards
> >
> > Mikael
> >
> >
> > "Uri Dimant" wrote:
> >
> >> Mikael
> >>
> >> You have to ask him why does he want to access? What process/s does he
> >> run ?
> >>
> >>
> >>
> >>
> >> "Mikael" <Mikael@.discussions.microsoft.com> wrote in message
> >> news:E91840AC-3A2D-4730-9A1E-1F3FBAC9B04D@.microsoft.com...
> >> > My fellow administrator tells me that his biztalk account needs read
> >> > and
> >> > write permissions to the master database of out MSSQL 2000 Enterprice
> >> > edition, running on a windows 2000 advanced server.
> >> >
> >> > Our biztalk developer does not remember that there has been an issue,
> >> > so
> >> > he
> >> > is not doing anything specific on the masters database, in the jobs he
> >> > is
> >> > running.
> >> >
> >> > Is it for real that biztalk needs this access?
> >> >
> >> > --
> >> > Best regards
> >> >
> >> > Mikael
> >>
> >>
> >>
>
>

Biztalk read and write access to the master database.

My fellow administrator tells me that his biztalk account needs read and
write permissions to the master database of out MSSQL 2000 Enterprice
edition, running on a Windows 2000 advanced server.
Our biztalk developer does not remember that there has been an issue, so he
is not doing anything specific on the masters database, in the jobs he is
running.
Is it for real that biztalk needs this access?
Best regards
MikaelMikael
You have to ask him why does he want to access? What process/s does he run ?
"Mikael" <Mikael@.discussions.microsoft.com> wrote in message
news:E91840AC-3A2D-4730-9A1E-1F3FBAC9B04D@.microsoft.com...
> My fellow administrator tells me that his biztalk account needs read and
> write permissions to the master database of out MSSQL 2000 Enterprice
> edition, running on a Windows 2000 advanced server.
> Our biztalk developer does not remember that there has been an issue, so
> he
> is not doing anything specific on the masters database, in the jobs he is
> running.
> Is it for real that biztalk needs this access?
> --
> Best regards
> Mikael|||Yes, it has been a while since they did the installation and he just
remembers that it needs the permissions, but not why. My question is just i
f
the biztalk application itself needs this access to run?
Best regards
Mikael
"Uri Dimant" wrote:

> Mikael
> You have to ask him why does he want to access? What process/s does he run
?
>
>
> "Mikael" <Mikael@.discussions.microsoft.com> wrote in message
> news:E91840AC-3A2D-4730-9A1E-1F3FBAC9B04D@.microsoft.com...
>
>|||Mikael
To connect to SQL Server you will have to create a LOGIN. To access to the
database you will have to create an USER mapped to the LOGIN
"Mikael" <Mikael@.discussions.microsoft.com> wrote in message
news:F98CCA5E-3BC2-4B3E-8A95-FEF2EEFEA0E6@.microsoft.com...[vbcol=seagreen]
> Yes, it has been a while since they did the installation and he just
> remembers that it needs the permissions, but not why. My question is just
> if
> the biztalk application itself needs this access to run?
> --
> Best regards
> Mikael
>
> "Uri Dimant" wrote:
>|||My colleague did this and the application is running nicely, but now it is
time for the IT revision to inspect the SQL server and I need to know if I
can remove the privileges to the master database from the biztalk account
without affecting the production environment or know why I can’t.
--
Best regards
Mikael
"Uri Dimant" wrote:

> Mikael
> To connect to SQL Server you will have to create a LOGIN. To access to the
> database you will have to create an USER mapped to the LOGIN
>
>
>
> "Mikael" <Mikael@.discussions.microsoft.com> wrote in message
> news:F98CCA5E-3BC2-4B3E-8A95-FEF2EEFEA0E6@.microsoft.com...
>
>

Biztalk read and write access to the master database.

My fellow administrator tells me that his biztalk account needs read and
write permissions to the master database of out MSSQL 2000 Enterprice
edition, running on a windows 2000 advanced server.
Our biztalk developer does not remember that there has been an issue, so he
is not doing anything specific on the masters database, in the jobs he is
running.
Is it for real that biztalk needs this access?
Best regards
Mikael
Mikael
You have to ask him why does he want to access? What process/s does he run ?
"Mikael" <Mikael@.discussions.microsoft.com> wrote in message
news:E91840AC-3A2D-4730-9A1E-1F3FBAC9B04D@.microsoft.com...
> My fellow administrator tells me that his biztalk account needs read and
> write permissions to the master database of out MSSQL 2000 Enterprice
> edition, running on a windows 2000 advanced server.
> Our biztalk developer does not remember that there has been an issue, so
> he
> is not doing anything specific on the masters database, in the jobs he is
> running.
> Is it for real that biztalk needs this access?
> --
> Best regards
> Mikael
|||Yes, it has been a while since they did the installation and he just
remembers that it needs the permissions, but not why. My question is just if
the biztalk application itself needs this access to run?
Best regards
Mikael
"Uri Dimant" wrote:

> Mikael
> You have to ask him why does he want to access? What process/s does he run ?
>
>
> "Mikael" <Mikael@.discussions.microsoft.com> wrote in message
> news:E91840AC-3A2D-4730-9A1E-1F3FBAC9B04D@.microsoft.com...
>
>
|||Mikael
To connect to SQL Server you will have to create a LOGIN. To access to the
database you will have to create an USER mapped to the LOGIN
"Mikael" <Mikael@.discussions.microsoft.com> wrote in message
news:F98CCA5E-3BC2-4B3E-8A95-FEF2EEFEA0E6@.microsoft.com...[vbcol=seagreen]
> Yes, it has been a while since they did the installation and he just
> remembers that it needs the permissions, but not why. My question is just
> if
> the biztalk application itself needs this access to run?
> --
> Best regards
> Mikael
>
> "Uri Dimant" wrote:
|||My colleague did this and the application is running nicely, but now it is
time for the IT revision to inspect the SQL server and I need to know if I
can remove the privileges to the master database from the biztalk account
without affecting the production environment or know why I can’t.
Best regards
Mikael
"Uri Dimant" wrote:

> Mikael
> To connect to SQL Server you will have to create a LOGIN. To access to the
> database you will have to create an USER mapped to the LOGIN
>
>
>
> "Mikael" <Mikael@.discussions.microsoft.com> wrote in message
> news:F98CCA5E-3BC2-4B3E-8A95-FEF2EEFEA0E6@.microsoft.com...
>
>

Biztalk Promoted Fields in SQL Schema

Now I promoted some fields in Biztalk which adds "comments" in an
<annotation> tag as shown below.
<xs:element name="Hipaa30TradingTestInclude">
<xs:annotation>
<xs:appinfo>
<b:properties>
<b:property name="ns0:__Name"
xpath="/*[local-name()='Hipaa30TradingTestInclude' and
namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name
()='TradingPartnerCommon'
and
namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='Na
me' and namespace-uri()='']" />
<b:property name="ns0:City"
xpath="/*[local-name()='Hipaa30TradingTestInclude' and
namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name
()='TradingPartnerCommon'
and
namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='Ci
ty' and namespace-uri()='']" />
<b:property name="ns0:State"
xpath="/*[local-name()='Hipaa30TradingTestInclude' and
namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name
()='TradingPartnerCommon'
and
namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='St
ate' and namespace-uri()='']" />
<b:property name="ns0:Zip"
xpath="/*[local-name()='Hipaa30TradingTestInclude' and
namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name
()='TradingPartnerCommon'
and
namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='Zi
p' and namespace-uri()='']" />
<b:property name="ns0:PrimaryContact"
xpath="/*[local-name()='Hipaa30TradingTestInclude' and
namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name
()='TradingPartnerCommon'
and
namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='Pr
imaryContact' and namespace-uri()='']" />
</b:properties>
</xs:appinfo>
</xs:annotation>
I have five "promoted fields" and i got the following error five times.
Msg 102, Level 15, State 1, Line 49
Incorrect syntax near 'Hipaa30TradingTestInclude'.
Msg 132, Level 15, State 1, Line 49
The label 'http' has already been declared. Label names must be unique
within a query batch or stored procedure.
Msg 132, Level 15, State 1, Line 50
The label 'http' has already been declared. Label names must be unique
within a query batch or stored procedure.
Msg 132, Level 15, State 1, Line 50
Seems like the parser should ignore anything in the <annotation> tag?
Of course, I can manually remove it, but I'm trying to plan ahead for how to
maintain this.
Thanks again,
Neal Walters
http://Biztalk-Training.comIf you're using a SQL string literal to insert your schemas, you need to
escape the single quotes anywhere they occur in the string by using double
quotes.
Cheers,
Bob
"Neal Walters" <NealWalters@.discussions.microsoft.com> wrote in message
news:ECD78F81-E1B2-42F3-8D3E-9D2987FB5031@.microsoft.com...
> Now I promoted some fields in Biztalk which adds "comments" in an
> <annotation> tag as shown below.
> <xs:element name="Hipaa30TradingTestInclude">
> <xs:annotation>
> <xs:appinfo>
> <b:properties>
> <b:property name="ns0:__Name"
> xpath="/*[local-name()='Hipaa30TradingTestInclude' and
> namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-na
me()='TradingPartnerCommon'
> and
> namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='
Name'
> and namespace-uri()='']" />
> <b:property name="ns0:City"
> xpath="/*[local-name()='Hipaa30TradingTestInclude' and
> namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-na
me()='TradingPartnerCommon'
> and
> namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='
City'
> and namespace-uri()='']" />
> <b:property name="ns0:State"
> xpath="/*[local-name()='Hipaa30TradingTestInclude' and
> namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-na
me()='TradingPartnerCommon'
> and
> namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='
State'
> and namespace-uri()='']" />
> <b:property name="ns0:Zip"
> xpath="/*[local-name()='Hipaa30TradingTestInclude' and
> namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-na
me()='TradingPartnerCommon'
> and
> namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='
Zip'
> and namespace-uri()='']" />
> <b:property name="ns0:PrimaryContact"
> xpath="/*[local-name()='Hipaa30TradingTestInclude' and
> namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-na
me()='TradingPartnerCommon'
> and
> namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='
PrimaryContact'
> and namespace-uri()='']" />
> </b:properties>
> </xs:appinfo>
> </xs:annotation>
>
> I have five "promoted fields" and i got the following error five times.
> Msg 102, Level 15, State 1, Line 49
> Incorrect syntax near 'Hipaa30TradingTestInclude'.
> Msg 132, Level 15, State 1, Line 49
> The label 'http' has already been declared. Label names must be unique
> within a query batch or stored procedure.
> Msg 132, Level 15, State 1, Line 50
> The label 'http' has already been declared. Label names must be unique
> within a query batch or stored procedure.
> Msg 132, Level 15, State 1, Line 50
> Seems like the parser should ignore anything in the <annotation> tag?
> Of course, I can manually remove it, but I'm trying to plan ahead for how
> to
> maintain this.
>
> Thanks again,
> Neal Walters
> http://Biztalk-Training.com
>|||Also note that XML Schema collections will not preserve your annotations.
Put the schema also in your own table using the XML datatype if that is
important information.
Best regards
Michael
"Bob Beauchemin" <bobb_no_spam@.SQLskills.com> wrote in message
news:ewAdNfuMHHA.5064@.TK2MSFTNGP04.phx.gbl...
> If you're using a SQL string literal to insert your schemas, you need to
> escape the single quotes anywhere they occur in the string by using double
> quotes.
> Cheers,
> Bob
> "Neal Walters" <NealWalters@.discussions.microsoft.com> wrote in message
> news:ECD78F81-E1B2-42F3-8D3E-9D2987FB5031@.microsoft.com...
>

Biztalk Promoted Fields in SQL Schema

Now I promoted some fields in Biztalk which adds "comments" in an
<annotation> tag as shown below.
<xs:element name="Hipaa30TradingTestInclude">
<xs:annotation>
<xs:appinfo>
<b:properties>
<b:property name="ns0:__Name"
xpath="/*[local-name()='Hipaa30TradingTestInclude' and
namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name()='TradingPartnerCommon'
and
namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='Name' and namespace-uri()='']" />
<b:property name="ns0:City"
xpath="/*[local-name()='Hipaa30TradingTestInclude' and
namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name()='TradingPartnerCommon'
and
namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='City' and namespace-uri()='']" />
<b:property name="ns0:State"
xpath="/*[local-name()='Hipaa30TradingTestInclude' and
namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name()='TradingPartnerCommon'
and
namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='State' and namespace-uri()='']" />
<b:property name="ns0:Zip"
xpath="/*[local-name()='Hipaa30TradingTestInclude' and
namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name()='TradingPartnerCommon'
and
namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='Zip' and namespace-uri()='']" />
<b:property name="ns0:PrimaryContact"
xpath="/*[local-name()='Hipaa30TradingTestInclude' and
namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name()='TradingPartnerCommon'
and
namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='PrimaryContact' and namespace-uri()='']" />
</b:properties>
</xs:appinfo>
</xs:annotation>
I have five "promoted fields" and i got the following error five times.
Msg 102, Level 15, State 1, Line 49
Incorrect syntax near 'Hipaa30TradingTestInclude'.
Msg 132, Level 15, State 1, Line 49
The label 'http' has already been declared. Label names must be unique
within a query batch or stored procedure.
Msg 132, Level 15, State 1, Line 50
The label 'http' has already been declared. Label names must be unique
within a query batch or stored procedure.
Msg 132, Level 15, State 1, Line 50
Seems like the parser should ignore anything in the <annotation> tag?
Of course, I can manually remove it, but I'm trying to plan ahead for how to
maintain this.
Thanks again,
Neal Walters
http://Biztalk-Training.com
If you're using a SQL string literal to insert your schemas, you need to
escape the single quotes anywhere they occur in the string by using double
quotes.
Cheers,
Bob
"Neal Walters" <NealWalters@.discussions.microsoft.com> wrote in message
news:ECD78F81-E1B2-42F3-8D3E-9D2987FB5031@.microsoft.com...
> Now I promoted some fields in Biztalk which adds "comments" in an
> <annotation> tag as shown below.
> <xs:element name="Hipaa30TradingTestInclude">
> <xs:annotation>
> <xs:appinfo>
> <b:properties>
> <b:property name="ns0:__Name"
> xpath="/*[local-name()='Hipaa30TradingTestInclude' and
> namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name()='TradingPartnerCommon'
> and
> namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='Name'
> and namespace-uri()='']" />
> <b:property name="ns0:City"
> xpath="/*[local-name()='Hipaa30TradingTestInclude' and
> namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name()='TradingPartnerCommon'
> and
> namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='City'
> and namespace-uri()='']" />
> <b:property name="ns0:State"
> xpath="/*[local-name()='Hipaa30TradingTestInclude' and
> namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name()='TradingPartnerCommon'
> and
> namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='State'
> and namespace-uri()='']" />
> <b:property name="ns0:Zip"
> xpath="/*[local-name()='Hipaa30TradingTestInclude' and
> namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name()='TradingPartnerCommon'
> and
> namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='Zip'
> and namespace-uri()='']" />
> <b:property name="ns0:PrimaryContact"
> xpath="/*[local-name()='Hipaa30TradingTestInclude' and
> namespace-uri()='http://TestSchemas.Hipaa30TradingTestInclude']/*[local-name()='TradingPartnerCommon'
> and
> namespace-uri()='http://TestSchemas.TradingParterCommon']/*[local-name()='PrimaryContact'
> and namespace-uri()='']" />
> </b:properties>
> </xs:appinfo>
> </xs:annotation>
>
> I have five "promoted fields" and i got the following error five times.
> Msg 102, Level 15, State 1, Line 49
> Incorrect syntax near 'Hipaa30TradingTestInclude'.
> Msg 132, Level 15, State 1, Line 49
> The label 'http' has already been declared. Label names must be unique
> within a query batch or stored procedure.
> Msg 132, Level 15, State 1, Line 50
> The label 'http' has already been declared. Label names must be unique
> within a query batch or stored procedure.
> Msg 132, Level 15, State 1, Line 50
> Seems like the parser should ignore anything in the <annotation> tag?
> Of course, I can manually remove it, but I'm trying to plan ahead for how
> to
> maintain this.
>
> Thanks again,
> Neal Walters
> http://Biztalk-Training.com
>
|||Also note that XML Schema collections will not preserve your annotations.
Put the schema also in your own table using the XML datatype if that is
important information.
Best regards
Michael
"Bob Beauchemin" <bobb_no_spam@.SQLskills.com> wrote in message
news:ewAdNfuMHHA.5064@.TK2MSFTNGP04.phx.gbl...
> If you're using a SQL string literal to insert your schemas, you need to
> escape the single quotes anywhere they occur in the string by using double
> quotes.
> Cheers,
> Bob
> "Neal Walters" <NealWalters@.discussions.microsoft.com> wrote in message
> news:ECD78F81-E1B2-42F3-8D3E-9D2987FB5031@.microsoft.com...
>

BizTalk and SQL Server 2000

We're running BizTalk 2004 on top of SQL Server 2000. Due to the fact that BizTalk uses Distributed Transactions BizTalk requires a customized backup solution that uses the BEGIN TRANSACTION ... WITH MARK syntax. How does the WITH MARK work? We run a couple of very large transaction loads at various times during the week. These loads ran the BizTalkMsgBoxDb transaction log up to 18 Gig (the data file was only at 360 Meg). As the transaction log got bigger and bigger the server got slower and slower. Finally the custom backup job started erroring out on a memory error. Eventually the backup jobs stopped running due to an out of memory condition and then my users got locked out due to an out of memory condition. After I did some research (I rebooted the server which didn't help) I figured out that it was this WITH MARK that appeared to be having the issue. On a hunch I did a DBCC shrinkfile on the BizTalkMsgBoxDb transaction log and I got it down to 506 Meg. All of my problems cleared up. This is fine for the short term but these loads will not only continue they will increase in size and frequency since we are still in our testing phase, we haven't gotten to production yet. Is there a something I've overlooked here?Good info here:
http://msdn2.microsoft.com/en-us/library/ms187014.aspx|||Thank you for the article. What I really need is a very detailed explanation of how a transaction log mark works. Does the system try and open the transaction log like a text file (for example) in order to put a mark in? I've got a couple of databases in BizTalk that have transaction logs that grow rather large and once they get to the 1.5 Gig to 2 Gig size SQL Server starts to throw memory errors (SQL Server Standard Edition) when the TRANSACTION WITH MARK runs. I can get rid of the memory errors by running a backup then issuing a DBCC Shrinkfile but this isn't a viable option for my production system. Since this is BizTalk I was expecting that Microsoft would have a solution to my problem. Have you seen this before?|||

When a 'with mark' is set, the system will start keeping track of every operation between the database(s) involved in the dml session. This can get rather large if there are lots of changes.

So, unless you really need 'with mark' set, don't. Especially, if you are not creating a transaction across multiple databases.

|||Aaaa, but the 'with mark' is part of the custom backup solution that is supplied with BizTalk in order to handle the fact that BizTalk uses Distributed Queries all over the system. So my ultimate question is - how do I take a consistent backup of all of the BizTalk databases so that a restore would leave them in sync.? When I asked this question of some of the folks we had help us install and configure BizTalk they gave me the stored procedure that we run as our backup which uses the "with mark". Is there an alternative?

Sunday, February 12, 2012

Biztalk 2004 & SQL

I have some questions about how to determine if my Biztalk 2004 is using
connection pooling or not. Also, I would like to determine if the Microsoft
Biztalk 2004 application uses OLE DB, or ODBC for its connection to SQL
Server 2000.
Also, how can I trace the info or statistics?
Thanks for any suggestions!Hi
SQL Profiler will give you this, if this is not in the SQL Server program
group you can find it in the Tools\Binn\profiler.exe. Check for different
commands on the same SPID from different users.
John
"Johnson" wrote:

> I have some questions about how to determine if my Biztalk 2004 is using
> connection pooling or not. Also, I would like to determine if the Microso
ft
> Biztalk 2004 application uses OLE DB, or ODBC for its connection to SQL
> Server 2000.
> Also, how can I trace the info or statistics?
> Thanks for any suggestions!
>
>

Biz talk

Hello,

BizTalk is new for me. Which sites are the best for technical information and examples how it is implemented.

thx,
J.

http://www.microsoft.com/biztalk/default.mspx should be a good site to start with.

Thanks,
-Vineet.

Biz talk

Hello,

BizTalk is new for me. Which sites are the best for technical information and examples how it is implemented.

thx,
J.

http://www.microsoft.com/biztalk/default.mspx should be a good site to start with.

Thanks,
-Vineet.