Home Page › Forums › BizTalk 2004 – BizTalk 2010 › 2006 R2 Build problems – EDI schemas
- This topic has 8 replies, 1 voice, and was last updated 9 years, 10 months ago by
community-content.
-
AuthorPosts
-
-
December 11, 2007 at 8:18 AM #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
-
June 16, 2008 at 8:22 AM #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
-
June 16, 2008 at 10:03 AM #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
-
-
June 16, 2008 at 12:32 PM #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…
-
June 20, 2008 at 6:06 AM #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?
-
June 20, 2008 at 6:46 AM #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]
-
June 20, 2008 at 7:38 AM #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.
-
June 20, 2008 at 11:06 AM #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.
-
-
-
-
-
June 5, 2009 at 2:11 PM #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.
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.