community-content

Forum Replies Created

Viewing 15 posts - 1,996 through 2,010 (of 9,648 total)
  • Author
    Posts
  • in reply to: How to retrive Config Values from BizTalk Config File #23669

    Hi,

     

       You should remove that extra tag </add> from the section appSettings in your configuration file. When in doubt, use the Enterprise Library Configuration tool to open, edit and save the BTSNTSvc configuration file.

     

       Cheers,

     

       Daniel.

     

     

     

    in reply to: How to retrive Config Values from BizTalk Config File #23668

    This is my config..

    <?xml version=”1.0″ ?>

    – <configuration>
    – <configSections>
      <section name=”loggingConfiguration“ type=”Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a“ />
      <section name=”dataConfiguration“ type=”Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a“ />
      <section name=”xlangs“ type=”Microsoft.XLANGs.BizTalk.CrossProcess.XmlSerializationConfigurationSectionHandler, Microsoft.XLANGs.BizTalk.CrossProcess“ />
      </configSections>
    – <appSettings>
      <add key=”IsDebugEnabled“ value=”true“ />
      </appSettings>
    – <runtime>
    – <assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1“>
      <probing privatePath=”BizTalk Assemblies;Developer Tools;Tracking;Tracking\interop“ />
      </assemblyBinding>
      </runtime>
    – <system.runtime.remoting>
    – <channelSinkProviders>
    – <serverProviders>
      <provider id=”sspi“ type=”Microsoft.BizTalk.XLANGs.BTXEngine.SecurityServerChannelSinkProvider,Microsoft.XLANGs.BizTalk.Engine“ securityPackage=”ntlm“ authenticationLevel=”packetPrivacy“ />
      </serverProviders>
      </channelSinkProviders>
    – <application>
    – <channels>
    – <channel ref=”tcp“ port=”0“ name=”“>
    – <serverProviders>
      <provider ref=”sspi“ />
      <formatter ref=”binary“ typeFilterLevel=”Full“ />
      </serverProviders>
      </channel>
      </channels>
      </application>
      </system.runtime.remoting>
    – <xlangs>
    – <Configuration>
    – <AppDomains AssembliesPerDomain=”11“>
    – <AppDomainSpecs>
    – <AppDomainSpec Name=”TestSQLDeadlock“ SecondsIdleBeforeShutdown=”-1“ SecondsEmptyBeforeShutdown=”12000“>
    – <BaseSetup>
      <ConfigurationFile>C:\SriniBTS\TestSQLDeadlock\CurrentVersion\Config\TestSQLDeadlock.dll.config</ConfigurationFile>
      </BaseSetup>
      </AppDomainSpec>
    – <AppDomainSpec Name=”InformToMacess“ SecondsIdleBeforeShutdown=”-1“ SecondsEmptyBeforeShutdown=”12000“>
    – <BaseSetup>
      <ConfigurationFile>C:\Development\BT2006\Sales\Interfaces\InformToMacess\CurrentVersion\ConfigFile</ConfigurationFile>
      </BaseSetup>
      </AppDomainSpec>
      </AppDomainSpecs>
    – <ExactAssignmentRules>
      <ExactAssignmentRule AssemblyName=”TestSQLDeadlock, Version=1.0.0.0, Culture=neutral, PublicKeyToken=87314506316f020d“ AppDomainName=”TestSQLDeadlock“ />
      <ExactAssignmentRule AssemblyName=”InformToMacess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=87314506316f020d“ AppDomainName=”InformToMacess“ />
      </ExactAssignmentRules>
      </AppDomains>
      </Configuration>
      </xlangs>
      </configuration>
    in reply to: How to retrive Config Values from BizTalk Config File #23667

    Thanks for your reply Daniel,

    Actual there was an typo in my previous post …

    Its was

    <appSettings>
    <add key = “IsDebugEnabled” value=”true”> </add>

    </appSettings>

    I also tried Like u said

    <appSettings>

    <?xml version=”1.0″ ?>
    <configuration>
     <configSections>
      <section name=”loggingConfiguration” type=”Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings,

    Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” />
      <section name=”dataConfiguration” type=”Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings,

    Microsoft.Practices.EnterpriseLibrary.Data, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” />
      <section name=”xlangs” type=”Microsoft.XLANGs.BizTalk.CrossProcess.XmlSerializationConfigurationSectionHandler,

    Microsoft.XLANGs.BizTalk.CrossProcess” />
     </configSections>
    <appSettings>
    <add key = “IsDebugEnabled” value=”true”></add>
    </appSettings>

        <runtime>
            <assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″>
                <probing privatePath=”BizTalk Assemblies;Developer Tools;Tracking;Tracking\interop” />
            </assemblyBinding>
        </runtime>
       
        <system.runtime.remoting>
       
            <channelSinkProviders>
                <serverProviders>
                    <provider id=”sspi” type=”Microsoft.BizTalk.XLANGs.BTXEngine.SecurityServerChannelSinkProvider,Microsoft.XLANGs.BizTalk.Engine”

    securityPackage=”ntlm” authenticationLevel=”packetPrivacy” />
                </serverProviders>
            </channelSinkProviders>
       
            <application>
                <channels>
                    <channel ref=”tcp” port=”0″ name=””>
                     <serverProviders>
                         <provider ref=”sspi” />
                            <formatter ref=”binary” typeFilterLevel=”Full”/>
                        </serverProviders>
                    </channel>
                </channels>
            </application>
        </system.runtime.remoting>
     <xlangs>
      <Configuration>
       
       <AppDomains AssembliesPerDomain=”11″>
        <AppDomainSpecs>
         <AppDomainSpec Name=”TestSQLDeadlock” SecondsIdleBeforeShutdown=”-1″ SecondsEmptyBeforeShutdown=”12000″>
          <BaseSetup>
           

    <ConfigurationFile>C:\SriniBTS\TestSQLDeadlock\CurrentVersion\Config\TestSQLDeadlock.dll.config</ConfigurationFile>
          </BaseSetup>
         </AppDomainSpec>
         <AppDomainSpec Name=”InformToMacess” SecondsIdleBeforeShutdown=”-1″ SecondsEmptyBeforeShutdown=”12000″>
          <BaseSetup>
           

    <ConfigurationFile>C:\Development\BT2006\Sales\Interfaces\InformToMacess\CurrentVersion\ConfigFile</ConfigurationFile>
          </BaseSetup>
         </AppDomainSpec>
        
        </AppDomainSpecs>
        <ExactAssignmentRules>
         
         <ExactAssignmentRule AssemblyName=”TestSQLDeadlock, Version=1.0.0.0, Culture=neutral,

    PublicKeyToken=87314506316f020d” AppDomainName=”TestSQLDeadlock” />
        <ExactAssignmentRule AssemblyName=”InformToMacess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=87314506316f020d”

    AppDomainName=”InformToMacess” />
        </ExactAssignmentRules>   

       </AppDomains>
      </Configuration>
     </xlangs>
       
    </configuration>

     

    <add key=”IsDebugEnabled” value=”true” />
    </appSettings> and I placed my  appSettings section after the configSections section..I mentioned my Complete BizTalk Config File below

    in reply to: Error Sending message to Web Service #23666

    Hi,

     

       Your web service is most likely using ISO-8859-1 encoding, which is not supported in the WCF-BasicHttp adapter in BizTalk. Try using the WCF-Custom adapter as the Transport Type, and in the Binding tab in the Transport Properties window, select customBinding as the Binding Type, then, under the Binding panel, click on the textMessageEncoding extension to bring up its properties (in the Configuration panel), and enter ISO-8859-1as the value for the field writeEncoding.

     

       Hopefully, this should solve your issue.

     

       Daniel.

     

    in reply to: How to retrive Config Values from BizTalk Config File #23665

    Hi,

     

       Here’s what you should have in your BTSNTSvc.exe.config file (your original syntax is incorrect):

    <appSettings>

    <add key=”IsDebugEnabled” value=”true” />
    </appSettings>

     

        Make sure to place the appSettings section after the configSections section. After you save the configuration file, start and stop the BizTalk application service on your server, so that the changes are refreshed. The code in your Expression shape in the Orchestration is correct.

     

       Daniel.

     

     

    in reply to: Regarding replacing WMQ with MSMQ #23664

    Do you realize that Greg has stopped replying to your posts because you are running around in circles and keep repeating the same stuff over and over again?

     

    in reply to: consuming CRM webservices to select or read data #23661

    Hi,

     

      Is your CRM service set up as an ASMX endpoint or a WCF service? If you are consuming a WCF service in BizTalk, see the following MS article and the last section on setting up SOAPAction header:

     

    http://msdn.microsoft.com/en-us/library/bb226552(BTS.10).aspx

     

       Daniel.

     

    in reply to: Error while sending message from Wcf-basichttp #23660

    Hi,

     

       This section of your error message tells you that it is a permission issue calling your web service from BizTalk:

     

    “The HTTP request is unauthorized with client authentication scheme ‘Anonymous’. The authentication header received from the server was ‘Negotiate,NTLM’. —> System.Net.WebException: The remote server returned an error: (401) Unauthorized.”

       You can gather the logs of the IIS server that hosts the web service to check which account is used to call the WS and fails to pass the authentication. Make sure this account requires proper NTFS file system permission on the web service directory. The recent log files can be found in \System32\LogFiles\W3SVC[site]\ directory (site here is the Site ID which can be viewed in the right panel by clicking Web Sites folder in IIS).

       In order to make this work, you will have to provide permissions for your BizTalk host account to access the webservice.

     

       I hope this helps,

     

       Daniel.

     

    in reply to: Biztalk hang in production environment #23659

    Or was it 112

    in reply to: Biztalk hang in production environment #23658

    You can call 199 and ask for Andries Langerak

    Hi,

     

       There is something wrong with your Receive location that uses the HTTP Adapter to point to the BTSHttpReceive.dll program. See the following thread on this forum to make sure that your environment is configured correctly:

     

    http://www.msusenet.com/f–biztalk-general-218/t-tutorial-4-internal-server-error-while-executing-submitorderbat-1874408957.html

     

       Daniel.

     

    in reply to: Extra CRLF at end of Flat File #23652

    Can i please have a copy of he trailer schema…

    in reply to: Debatch the File #23651

    Hi,

     

      Are you using a custom pipeline with a Disassembler pipeline component in your Receive port? See this Microsoft article for more details:

    http://msdn.microsoft.com/en-us/library/ee268050(BTS.10).aspx

     

      Daniel.

     

    in reply to: Debatch the File #23650

    This does not has nay orchestration. I am trying to break the message into multiple individual messages. Has to apply the map once the message gets broken. Hence, am still in the first level of breaking up the message.

    in reply to: Debatch the File #23649

    Hi,

     

      Turn on message tracking on both your Receive and Send Ports. Also, do you have an orchestration running or is this a messaging-only implementation?

     

      Daniel.

     

Viewing 15 posts - 1,996 through 2,010 (of 9,648 total)