Type initializer error

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi all,

I'm very new to Biztalk, so bear with me while I try to explain the
problem we are having.
We have made (with the help of a more experienced BT developer) a BT
project (BizTalk 2004).
It consists of 1 major project (Bll) with 5 orchestrations, 1
Resources project which holds the xsd's, 1 Components project which
holds a custom pipelinecomponent (PropertyExtractor.cs, the
resulting .dll is in the C:\Program Files\Microsoft BizTalk Server
2004\Pipeline Components directory and not in the GAC) and 1 DAL
project which main ingredient is a Helper.cs responsible for some sql-
statements (the DAL.dll is in the GAC, as is the resources.dll and
Bll.dll ).
When it is deployed and the main webService called from a test app I
keep getting this error :

Description:
The adapter "SOAP" raised an error message. Details "An exception is
thrown by the Orchestration schedule, Date Dump: <ns0:Exception
xmlns:ns0=" http://BIZ.Petroplus.RMS.Symphony.Resources.ExceptionSchema";><Message>The
type initializer for "BIZ.Petroplus.RMS.Symphony.DAL.Helper " threw an
exception.</Message><Location> at
BIZ.Petroplus.RMS.Symphony.DAL.Helper.CallInsertConflict(Char source,
Int64 sequence, Char entity, String keyValue)
at BIZ.Petroplus.RMS.Symphony.Bll.TradeCreate.segment1
(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception&amp; exp)</Location></
ns0:Exception>".

I tried changing the name of the DAL project and resetting the
references while dropping all DAL.dll's not in the GAC, but nothing
works.
Does anybody have an idea what could be wrong?

Greetings,

Bart

.



Relevant Pages

  • Re: Type initializer error
    ... I'm very new to Biztalk, so bear with me while I try to explain the ... 2004\Pipeline Components directory and not in the GAC) and 1 DAL ... The adapter "SOAP" raised an error message. ... I tried changing the name of the DAL project and resetting the ...
    (microsoft.public.biztalk.general)
  • Type initializer error
    ... I'm very new to Biztalk, so bear with me while I try to explain the ... 2004\Pipeline Components directory and not in the GAC) and 1 DAL ... The adapter "SOAP" raised an error message. ... I tried changing the name of the DAL project and resetting the ...
    (microsoft.public.biztalk.general)
  • Re: How to use temporay variable in Biz Rule Engine
    ... >how xsds ... > may be put in GAC? ... Build the schemas into a DLL as a BizTalk project, you can then drop it by ... how efficient is Biztalk rule engine in a real world ...
    (microsoft.public.biztalk.general)
  • Re: Biztalk Pipe Errors
    ... I have checked the gac and the dll is there. ... restarting the biztalk server machine. ... not using the Biztalk Deployment ... > Secondly my assemblies had not been deployed to the Biz ...
    (microsoft.public.biztalk.general)
  • Re: Referencing External Assemblies not in GAC
    ... be installed in the GAC. ... so before I go back and whinge to the partner company I want to get my ... the BTSTask tool to deploy it somehow (into the Biztalk config db) and use it? ... You need to GAC the assembly (you can't deploy it using BTSTask because the assembly itself isn't a biztalk assembly, just a regular .NET one, and even then it would still need to go into the GAC just like all other assemblies used in biztalk).\ ...
    (microsoft.public.biztalk.general)