2006 R2 Build problems – EDI schemas

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › 2006 R2 Build problems – EDI schemas

Viewing 3 reply threads
  • Author
    Posts
    • #18588

      I am attempting to make a library of EDI schemas, but when I have more than 7 schemas, the build fails with the following error. 

      Warning    1    Use command line option ‘/keyfile’ or appropriate project settings instead of ‘System.Reflection.AssemblyKeyFile’    c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\BizTalk Schemas\BizTalk Schemas\AssemblyInfo.cs    22    13   

      Error    2    Unexpected error writing metadata to file ‘c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\BizTalk Schemas\BizTalk Schemas\obj\Development\~BizTalk Schemas.dll’ — ”    

      Any idea why the number of schemas over 7 would cause this error?  Also I am in a VPC,not a real machine

       

    • #19924

      Hi ,

      Me too getting the same error ,as I use  an 17 mb schema file . Can any one of you please hlep me out to get rid of this error.

       

      Thanks

      Ganesh S

      • #19925

        HI –

        There is a limit to the size of a .net assembly.  I recommend that you do one schema per assembly and you’ll have no problems.

        Thanks,

        Toneii

    • #19926

      Is there a reason you are creating a library of schemas in the first place? I keep all of my schemas as xsd files and I have more than 40 in a single BizTalk application without any trouble.

      You may be causing youself some grief by trying to do something that you really don’t need to.

      Just a thought…

      • #19962

        …maybe I spoke too soon…

        I am having trouble building on of my projects now. I recently added a a few schemas, an orchestration, a pipeline and 2 maps to the project. The build starts but seems to hang and never recovers.

        I’ve had issues in the past with the Windows “Indexing Service” so I tried turning that off and building again, but it didn’t seem to help. Is anyone else experiencing build issues on big projects?

        • #19963

          Greg –

          I occasionally have the compile hang you described. Sometimes I can kill devenv and reopen and compile, othertimes I have to restart the machine.

          My colleage told me there is a hard limit to the size of an assembly, I don’t know this for a fact, but I believe him.

          So there are a variety of things – occasional devenv bug and the hard limit.

          I guess if you restart from fresh and the compile still hangs, that would suggest that you hit the upper assembly size limit.  If you put some of your artifacts in their own assemblies and reference them in your main project, you should be able to successfully compile again.

          [I don’t warranty this information, a real microsoft person would be able to confirm this or deny this assessment with some authority]

          • #19964

            It turned out to be an erroneous page in Map file. Once I deleted the page I was able to build the app…

            I have seen this behaviour before.

            • #19966

              I took a quick look, and couldn’t find anything to back up the notion of a maximum assembly size. So maybe there isn’t one.

    • #22595

      I was getting this error as well. It turned out that my strong name file and some of my sub assemblies had different assembly versions. Insuring they were the same accross all my projects, solved the proble.

Viewing 3 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.