<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : global.asax run-time compilation issue... (sometimes)</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : global.asax run-time compilation issue... (sometimes)</description>
  <pubDate>Tue, 21 Apr 2026 22:21:37 -700</pubDate>
  <lastBuildDate>Wed, 11 Aug 2010 07:49:35 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2057</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>global.asax run-time compilation issue... (sometimes) : Thanks Kim, that fixed the issue....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2057&amp;PID=8047#8047</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=452" rel="nofollow">ken.nelson</a><br /><strong>Subject:</strong> 2057<br /><strong>Posted:</strong> 11-Aug-2010 at 7:49am<br /><br />Thanks Kim, that fixed the issue. <DIV>&nbsp;</DIV><DIV>That screenshot came from the Dev 3 scenario, with DevForce installed.&nbsp; The really odd part is when Dev 3 uninstalls DevForce, the properties for that assembly reference automatically switches to Copy Local = true.&nbsp; Reinstalled, it switches back to Copy Local = false.&nbsp; Once I explicitly set Copy Local = true, Copy Local remains true forever.</DIV><DIV>&nbsp;</DIV><DIV>Thanks!</DIV>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 07:49:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2057&amp;PID=8047#8047</guid>
  </item> 
  <item>
   <title>global.asax run-time compilation issue... (sometimes) : This error looks like a &amp;#034;copy...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2057&amp;PID=8043#8043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2057<br /><strong>Posted:</strong> 10-Aug-2010 at 7:07pm<br /><br />This error looks like a "copy local" problem, i.e., the IdeaBlade.* assemblies should be located in the bin folder.&nbsp; (The assemblies can instead be in the GAC, but you then need to list them in the web.config too.)<DIV>&nbsp;</DIV><DIV>In the reference shown above for IdeaBlade.EntityModel, it does show "Copy Local = false".&nbsp; Set all these references to "Copy Local = true" to ensure the assemblies are copied to the bin folder of the web application during a build.</DIV>]]>
   </description>
   <pubDate>Tue, 10 Aug 2010 19:07:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2057&amp;PID=8043#8043</guid>
  </item> 
  <item>
   <title>global.asax run-time compilation issue... (sometimes) : Some background: Currently, we...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2057&amp;PID=8034#8034</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=452" rel="nofollow">ken.nelson</a><br /><strong>Subject:</strong> 2057<br /><strong>Posted:</strong> 10-Aug-2010 at 11:04am<br /><br /><DIV>Some background:</DIV><DIV>Currently, we copy the IdeaBlade assemblies for the current version of DevForce that we have installed (6.0.4) to a ReferenceAssemblies directory in our source repository, and reference those assemblies via the "Browse"&nbsp;tab in the "Add Reference..." dialog.&nbsp; Now, I'm fully aware that it's a better practice to reference assemblies directly in the ".NET" tab of the "Add Reference..." dialog, and while that may fix the problem we're seeing it's not an ideal solution for us.&nbsp; The reason we copy/browse is because not all our developers have DevForce installed, and when we branch our code, we prefer to have the exact 3rd party assemblies in the source control branch to avoid having to determine what version of 3rd party suites to install when performing maintenance on a previous version of our application (also helps during application deployment).&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>That all said we're seeing some oddness that's been tricky to track down.&nbsp; Some of our developers&nbsp;get the run-time compilation error below, others do not.&nbsp; Basically there's 3 different scenarios.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>1) Developer that does not have any version of&nbsp;DevForce&nbsp;installed and&nbsp;application runs successfully.<BR>2) Developer that has DevForce 6.0.4 installed and&nbsp;application runs successfully.</DIV><DIV>3) Developer that has DevForce 6.0.4 installed and&nbsp;application fails to run successfully due to the run-time error.</DIV><DIV>&nbsp;</DIV><DIV>#3 is the crazy one.&nbsp; Developer 1 and 2 prove that things are set up 'right', but for whatever reason, Developer 3 is unable to run the application.&nbsp; To add to the weirdness, if Developer 3 uninstalls DevForce, everything runs ok!&nbsp; If Developer 3 then reinstalls DevForce 6.0.4, things no longer work again.</DIV><DIV>&nbsp;</DIV><DIV>Anyone have any ideas?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>If it helps any, our Reference Properties:</DIV><DIV>&nbsp;</DIV><DIV><img src="http://www.ideablade.com/forum/uploads/452/Untitled_picture.png" height="360" width="717" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>And the XML in the .csproj file:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; &lt;Reference Include="IdeaBlade.EntityModel, Version=6.0.4.0, Culture=neutral, PublicKeyToken=287b5094865421c0, processorArchitecture=MSIL"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;HintPath&gt;..\Reference Assemblies\IdeaBlade\EFAssemblies\IdeaBlade.EntityModel.dll&lt;/HintPath&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-outline-level: 2" =Ms&#111;normal><I><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: maro&#111;n; FONT-SIZE: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Compilation Error</SPAN></I><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: maro&#111;n; FONT-SIZE: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"> <?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 12pt" =Ms&#111;normal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">Description: </SPAN></B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'">An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. <BR><BR></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">Compiler Error Message: </SPAN></B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'">CS0246: The type or namespace name 'IdeaBlade' could not be found (are you missing a using directive or an assembly reference?)<BR><BR></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">Source Error:</SPAN></B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P><TABLE style="WIDTH: 100%; : #ffffcc; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184" =Ms&#111;normalTable border=0 cellPadding=0 width="100%"><T><TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes"><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; PADDING-BOTTOM: 0.75pt; : transparent; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0; PADDING-TOP: 0.75pt"></TD></TR><TR style="mso-yfti-irow: 1; mso-yfti-lastrow: yes"><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; PADDING-BOTTOM: 0.75pt; : transparent; PADDING-LEFT: 0.75pt; PADDING-RIGHT: 0.75pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0; PADDING-TOP: 0.75pt"><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'">Line 13:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>// You do not need to supply .svc files for the EntityService and EntityServer services<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'">Line 14:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;</SPAN>// when the provider is registered.<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: red; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'">Line 15:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>System.Web.Hosting.HostingEnvironment.RegisterVirtualPathProvider(new IdeaBlade.EntityModel.Web.ServiceVirtualPathProvider());<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'">Line 16:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'">Line 17: <o:p></o:p></SPAN></P></TD></TR></T></TABLE><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'"><BR></SPAN><B><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">Source File:</SPAN></B><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'"> c:\_source\AST\Current\Web \Global.asax &nbsp;&nbsp; </SPAN><B><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">Line:</SPAN></B><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-font-family: 'Times New Roman'"> 15<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'">Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'">Copyright (C) Microsoft Corporation. All rights reserved.<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'">c:\_source\AST\Current\Web\Global.asax(15,77): error CS0246: The type or namespace name 'IdeaBlade' could not be found (are you missing a using directive or an assembly reference?)<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Lucida C&#111;nsole'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Courier New'">c:\_source\AST\Current\Web\Global.asax(28,3): error CS0012: The type 'IdeaBlade.EntityModel.EntityManager' is defined in an assembly that is not referenced. You must add a reference to assembly 'IdeaBlade.EntityModel, Version=6.0.4.0, Culture=neutral, PublicKeyToken=287b5094865421c0'.<o:p></o:p></SPAN></P></DIV>]]>
   </description>
   <pubDate>Tue, 10 Aug 2010 11:04:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2057&amp;PID=8034#8034</guid>
  </item> 
 </channel>
</rss>