BizTalk Utilities Xselerator XSLT IDE


Forum main page

Most active member

Login page
Register
Log out

Search page

View our event calendar
Add general event such as an upcoming software release or conference
View all birthdays

Public image gallery
Upload your images in your profile

Profile editing page
Subscription list page
Address book page

Member list page
View the most active member
User groups listing

Private message page

TopXML Discussion Forum TopXML Discussion Forum

Forums  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

System.ArgumentNullException in Adapter

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [BizTalk Utilities] >> BizTalk 2004/2006 Utilities and Adapters >> System.ArgumentNullException in Adapter Page: [1]
Login
Message << Older Topic   Newer Topic >>
System.ArgumentNullException in Adapter - 8 September 2006   
BillN

 

Posts: 7
Score: 0
Joined: 1 September 2006
Status: offline
I'm getting this error message:
 Event Type:    Error
 Event Source:    BizTalk Utilities Adapter for Databases Transmitter
 Event Category:    None
 Event ID:    0
 Date:        2/8/2006
 Time:        9:59:20 AM
 User:        N/A
 Computer:    S116V501
 Description:
 BTSUtils.Core.EnterpriseInstrumentation.Schema.ErrorMessageEvent
 {
    String Message = "An Exception occurred attempting to submit a Batch of Messages to the Database Transport.
 
 System.ArgumentNullException
 
 Value cannot be null.
 Parameter name: type"
    Exception InnerException = {
       String HelpLink = ""
       String Message = ""
       String Source = ""
       String StackTrace = ""
       String TargetSite = ""
    }
    String ErrorCode = ""
    Int32 Severity = 0
    Int32 ProcessID = 8144
    String ProcessName = "d:\Program Files\Microsoft BizTalk Server 2004\BTSNTSvc.exe"
    String ThreadName = ""
    ComPlusInfo ComPlus = {
       String ActivityID = ""
       String ApplicationID = ""
       String TransactionID = ""
       String DirectCaller = ""
       String OriginalCaller = ""
    }
    WindowsSecurityInfo WindowsSecurity = {
       String CurrentAccountName = "DEGT\btuts_str"
       String ProcessAccountName = "DEGT\btuts_str"
    }
    ManagedSecurityInfo ManagedSecurity = {
       String IdentityName = ""
       String AuthenticationType = ""
       Boolean IsAuthenticated = False
    }
    String StackTrace = "    at BTSUtils.Core.Adapters.EnterpriseInstrumentation.Helper.Error(EventSource EventSource, Exception Exception, String Message)
     at BTSUtils.Adapters.Databases.Transmit.Batch.SendMessages(IBaseMessage[] messages)
     at BTSUtils.Core.Adapters.Transmit.Batch.Asynchronous.Batch.Base.Done(IBTDTCCommitConfirm commitConfirm)"
    String EventSourceInstance = "b74fce07-1a80-4c9d-a4af-7e2750d33cb8"
    String EventSourceName = "BizTalk Utilities Adapter for Databases Transmitter"
    Int64 EventSequenceNumber = 130
    String EventSchemaVersion = "2.0.170.0"
    DateTime TimeStamp = 2/8/2006 9:59:20 AM
    String AppDomainName = "DefaultDomain"
    String MachineName = "S116V501"
    String RootRequestName = ""
    String RootRequestInstance = ""
    String RequestInstance = ""
    String RequestName = ""
    Int64 RequestSequenceNumber = 0
    Int32 EventLogEntryTypeID = 1
 }
 
 For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
 

I don't know why I'm getting this error message as the schema and mapping seems right.  I have added a send shape to see what the parameters I'm giving my Stored Proc as shown below and it does not have any Null parameters.
 <ns0:UserIDsRecsRequest xmlns:ns0="http://MyCompany.MyGroup.Messaging.BizTalk">
     <ns0:Operation1>
         <ns0:BIZTALK_MESSAGING.Return_UserIDs>
             <ns0:Parameters>
                 <ns0:PMSGTYPEID>13</ns0:PMSGTYPEID>
                 <ns0:PCONTRAXCOID>4111</ns0:PCONTRAXCOID>
                 <ns0:PSUBTYPE>SA</ns0:PSUBTYPE>
                 <ns0:PUSERSUPID>787</ns0:PUSERSUPID>
                 <ns0:PMESSAGEID>411562</ns0:PMESSAGEID>
                 <ns0:PRECVDATE>2006-09-06T00:00:00.0000000-04:00</ns0:PRECVDATE>
             </ns0:Parameters>
         </ns0:BIZTALK_MESSAGING.Return_UserIDs>
     </ns0:Operation1>
 </ns0:UserIDsRecsRequest>
 

The mapping looks good (see attached jpeg) and no compile or deploy exception occurs.

Any help would be appreciated.  Thanks, Bill N





Attachment (1)
Post #: 1
RE: System.ArgumentNullException in Adapter - 11 September 2006   
Pieter

 

Posts: 615
Score: 2
Joined: 8 March 2004
Status: offline
I think this is happening when the schema is being interogated. Are you sure that you don;t have another Schema deployed with the same namespace?

_____________________________

Need a BizTalk Adapter? Visit http://www.topxml.com/biztalkutilities and check out the latest BizTalk Adapters.

(in reply to BillN)
Post #: 2
Page:   [1]
All Forums >> [BizTalk Utilities] >> BizTalk 2004/2006 Utilities and Adapters >> System.ArgumentNullException in Adapter Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



Email TopXML

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.063