Like

Welcome On Mobius

Mobius was created by professionnal coders and passionate people.

We made all the best only for you, to enjoy great features and design quality. Mobius was build in order to reach a pixel perfect layout.

Mobius includes exclusive features such as the Themeone Slider, Themeone Shorcode Generator and Mobius Grid Generator.

Our Skills

WordPress90%
Design/Graphics75%
HTML/CSS/jQuery100%
Support/Updates80%

Biztalk Map Test Fails with ‘Value Cannot be null’

By Usman Shaheen 10 years ago
Biztalk Map Test Fails with 'Value Cannot be null'
Biztalk Map Test Fails with 'Value Cannot be null'I have a biztalk map which uses scripting functoid calling external assembly which is already deployed in GAC.I deployed that map from Visual Studio and been using it without any errors.
Recently i was working with some other assemblies and made some changes in map and deployed all the things from Visual Studio 2010. After that when i test the file it start giving me error inside the Map which is given below.
Value cannot be null.
Parameter name: extension
When i tested the map with the inVS 2010 with the file i’ve been testing after deploying the map, it gives no error. I tried many things redeploying everything like map and assemblies in gac but still testing after deployment failed. It was strange situation. But during whole testing process i didn’t restart VS 2010.
After testing alot i’ve restarted Visual Studio 2010 and tested the map within VS with that file and strangely it start finding errors in the map. So i figured out it stored some old map dll in cache which was deployed in biztalk.

So the solution was to simply restart Visual Studio – it seems that VS must keep a cache of the gac’d dlls.
Category:
  Biztalk
this post was shared 0 times
 000
About

 Usman Shaheen

  (10 articles)

Usman Shaheen is a Partner in Allied Consultants and an Integration Consultant with more than 17 years of experience in a wide variety of scenarios such as custom .NET solution development, large enterprise integrations, designing and building API's and cloud solutions, SQL Server and PowerBI consulting with his domain knowledge in retail, utility, banking, healthcare and manufacturing.