We have built some flat file schema and validate flat files, it is ok to validate in visual studio (using validate instance).
However, after deploying the schema dll to biztalk and specify custom pineline to validate the incoming flat file, it has error.
Any idea why the biztalk server validation is not the same as visual studio validation?
Check the GAC on your BizTalk server and make sure the version of the flat file schema is the latest that you deployed, otherwise uninstall the old one and reinstall the newer version. If you are deploying from Visual Studio to your BizTalk server, make sure that the setting "Install to Global Assembly Cache" is set to True in the Deployment tab of your project properties, before deploying the artifact.
"Google skills are more important than your coding skills."