Home Page › Forums › BizTalk 2004 – BizTalk 2010 › XLang error when I deploy the DLL to staging server
- This topic has 6 replies, 1 voice, and was last updated 8 years, 4 months ago by
community-content.
-
AuthorPosts
-
-
February 11, 2009 at 11:13 PM #21706
Hi All,
I build the DLL of my biztalk project in .net 2003. I have the xsd file, maps in the project.
Map consists of simple scripting functiod. I build the DLL and deployed to staging server. From customer to my application, mapping/transformation/transaction works fine.
When my application sends the data to Customer, I get the below Xlang error in Biztalk console (Hyper HAT).
System.NullReferenceException: Object Reference not set to an instance of an object. at Microsoft.XLANGs.Core.Service.ApplyTransformType mapref….
If I build the DLL form other system, (Whcih has the same configuration of mine), I do not get Xlang error.
Do you have any idea why the DLL from my system throw this error in staging server.
Thanks
Kiran -
February 12, 2009 at 7:36 AM #21717
And Event Viewer showed following error. I have no clue whats going on.
Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘HP.Image.CaseExchange.Orchestrations.CaseExchProcess(9c43873e-95ff-80fc-0e99-6e21841bf35b)’.
The service instance will remain suspended until administratively terminated.
InstanceId: 1be75a8c-e483-41b9-bf6e-f4e809ddba9b
ShapeId: 6e6e8eea-e77c-4b50-9032-5b73e7e04751
Exception thrown from: segment 1, progress 101
Inner exception: Object reference not set to an instance of an object.
Exception type: NullReferenceException
Source: Microsoft.XLANGs.Engine
Target Site: Void ApplyTransform(System.Type, System.Object[], System.Object[])
Help Link:
The following is a stack trace that identifies the location where the exception occuredat Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
at HP.Image.CaseExchange.Orchestrations.CaseExchProcess.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Additional error information:For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
-
July 29, 2010 at 5:51 PM #25444
I got the same issue, can u please help with ur solution?
Hi,
My Biztalk application works fine in development environment which is XP & biztalk 2009. Later when i deployed on to production windows server 08. The following issue was popped up.
Orchestration debugger implies that orchestration is able to pick the message & is able to apply the mapping(Consutruct Shape) but its not able to reach the next send shape which is calling a wcf service on another machine.
I tested by placing an expression shape in between mapping & wcf initiating send shape (construct shape & send shape) then it is failing at the expresson shape not able to reach the send shape again.
i.e it is not able to reach the send shape of wcf call initiator.
Any help will be appreciated, I am literally stuck at this point.
xlang/s engine event log entry: Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘Hway.MARS.BizTalk.StagingL.BizTalk_Orchestration1(237a7d06-5b77-a5f5-451f-8dfae7257582)’.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: fdf99b66-2f5d-418e-a4d5-2be1de75e596
Shape name: Expression_SysExcep_EventLog
ShapeId: 05318529-ea72-4eac-ad67-2eb70b70739c
Exception thrown from: segment 8, progress 3
Inner exception: Object reference not set to an instance of an object.
Exception type: NullReferenceException
Source: Hway.MARS.BizTalk.StgListener
Target Site: Microsoft.XLANGs.Core.StopConditions segment8(Microsoft.XLANGs.Core.StopConditions)
The following is a stack trace that identifies the location where the exception occuredat Hway.MARS.BizTalk.StagingL.BizTalk_Orchestration1.segment8(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)Thanks
-
July 30, 2010 at 2:00 AM #25450
Hi,
You use scripting functoid which calls external assembly? Is that correct? And after mapping your orchastration fails? With “null reference”?
Are you sure that your map works? This error looks like your map doen’s work, and when you try to send the message – it is actually null, you get the error.
Is that DLL in GAC? After install – did you restrat host instance?
-
August 1, 2010 at 3:45 AM #25466
I think I figured out to have work around.
GAC is in assembly; restart of host has already been done.
Local testing of maps works fine and same code build from other systems also works fine. It seems that the issue on softwares installed in my machine.I infact build the virtual PC with WIndows XP, .net 2003, Biztalk 2004, SQL Server 2000. After all these installation in Virtual PC, I build the code. Deployed into our staging environment and it works fine without any XLANG error.
Strange..I did not know the root cause but using virtual PC worked;
-
August 1, 2010 at 3:48 AM #25467
Sorry..I did not logged in and poste the message. It appeared as Anonym.
I logged in and here is the updated message.think I figured out to have work around.
GAC is in assembly; restart of host has already been done.
Local testing of maps works fine and same code build from other systems also works fine. It seems that the issue on softwares installed in my machine.I infact build the virtual PC with WIndows XP, .net 2003, Biztalk 2004, SQL Server 2000. After all these installation in Virtual PC, I build the code. Deployed into our staging environment and it works fine without any XLANG error.
Strange..I did not know the root cause but using virtual PC worked; Sometimes better to have workaround rather than finding the root cause.
-
August 1, 2010 at 4:01 AM #25468
It happens – sometimes some reference is not updated properly. You know, BizTalk stuff 😉
I work sometimes at home on VPC – it works regulary, with no problems as it was real PC.
-
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.