<?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 : Exception in EntityManager constructor</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Exception in EntityManager constructor</description>
  <pubDate>Tue, 21 Apr 2026 22:29:10 -700</pubDate>
  <lastBuildDate>Thu, 05 Aug 2010 11:35:18 -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=2024</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>Exception in EntityManager constructor : The errors you see are all handled...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2024&amp;PID=8002#8002</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> 2024<br /><strong>Posted:</strong> 05-Aug-2010 at 11:35am<br /><br />The errors you see are all handled internally, either by DevForce or within the .NET framework.&nbsp; You'll see these exceptions when debugging in&nbsp;Visual Studio and you've turned on the flag to throw for all exceptions.&nbsp;&nbsp; These errors are all innocuous, and if you don't want to see them during a debugging session you can turn off the "throw on all exceptions" flag&nbsp;or specifically turn the throw flag off for these exceptions.<DIV></DIV><DIV></DIV>]]>
   </description>
   <pubDate>Thu, 05 Aug 2010 11:35:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2024&amp;PID=8002#8002</guid>
  </item> 
  <item>
   <title>Exception in EntityManager constructor : Hi,   I am receiving several...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2024&amp;PID=7856#7856</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=852" rel="nofollow">jeejee</a><br /><strong>Subject:</strong> 2024<br /><strong>Posted:</strong> 28-Jul-2010 at 8:44am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I am receiving several errors when I attempt to start my application. The application eventually works but I think the undermentioned errors are causing some errors in the designer.</DIV><DIV>&nbsp;</DIV><DIV>I am using Devforce 2010 6.0.4.0 in a Silverlight application.</DIV><DIV>&nbsp;</DIV><DIV>My application is split into 4 projects:</DIV><DIV>DomainModel (the project containing the domain model)</DIV><DIV>DomainModelSL (the project containing the linked files to the domain model for use in the SL project)</DIV><DIV>JTS2 (the Client Silverlight app)</DIV><DIV>JTS2Web (the Web project)</DIV><DIV>&nbsp;</DIV><DIV>I only have one app.config (in the DomainModel project) and it&nbsp;contains:</DIV><DIV><PRE style="FONT-FAMILY: c&#111;nsolas"><SPAN style="COLOR: blue">&lt;?</SPAN><SPAN style="COLOR: #a31515">xml</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">version</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">1.0</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">encoding</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">utf-8</SPAN>"<SPAN style="COLOR: blue">?&gt;</SPAN><BR><SPAN style="COLOR: blue">&lt;</SPAN><SPAN style="COLOR: #a31515">configuration</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">configSections</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">section</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">name</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">ideablade.configuration</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">type</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">IdeaBlade.Core.Configuration.IdeaBladeSection,&nbsp;IdeaBlade.Core,&nbsp;Version=6.0.4.0,&nbsp;Culture=neutral,&nbsp;PublicKeyToken=287b5094865421c0</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">configSections</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">connectionStrings</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">add</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">name</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">JTS2Entities</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">connectionString</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">metadata=res://*/JTS2Model.csdl|res://*/JTS2Model.ssdl|res://*/JTS2Model.msl;provider=System.Data.SqlClient;provider&nbsp;connection&nbsp;string=</SPAN><SPAN style="COLOR: red">&amp;quot;</SPAN><SPAN style="COLOR: blue">Data&nbsp;Source=localhost\sqlexpress;Initial&nbsp;Catalog=JTS2;Integrated&nbsp;Security=True;MultipleActiveResultSets=True</SPAN><SPAN style="COLOR: red">&amp;quot;</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">providerName</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">System.Data.EntityClient</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">connectionStrings</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">objectServer</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">isDistributed</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">remoteBaseURL</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">http://localhost</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">serverPort</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">80</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">serviceName</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">JTS2/EntityService.svc</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">ideablade.configuration</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">version</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">6.00</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">xmlns</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">http://schemas.ideablade.com/2010/IdeaBladeConfig</SPAN>"<SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">logging</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">logFile</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">DebugLog.xml</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">objectServer</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">remoteBaseURL</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">http://localhost</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">serverPort</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">9009</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">serviceName</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">EntityService</SPAN>"<SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">serverSettings</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">supportedClientApplicationType</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">Silverlight</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">loginManagerRequired</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">sessionEncryptionKey</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">0FEBFBFF000106E5000c297ebf18</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">useAspNetSecurityServices</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">objectServer</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">ideablade.configuration</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&lt;/</SPAN><SPAN style="COLOR: #a31515">configuration</SPAN><SPAN style="COLOR: blue">&gt;</SPAN></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><SPAN style="COLOR: blue"><FONT color=#000000 size=+0>The web app Web.config looks as follows:</FONT></SPAN></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><SPAN style="COLOR: blue"><PRE style="FONT-FAMILY: c&#111;nsolas"><SPAN style="COLOR: blue">&lt;?</SPAN><SPAN style="COLOR: #a31515">xml</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">version</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">1.0</SPAN>"<SPAN style="COLOR: blue">?&gt;</SPAN><BR><SPAN style="COLOR: blue">&lt;</SPAN><SPAN style="COLOR: #a31515">configuration</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">configSections</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">section</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">name</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">ideablade.configuration</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">type</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">IdeaBlade.Core.Configuration.IdeaBladeSection,&nbsp;IdeaBlade.Core</SPAN>"<SPAN style="COLOR: blue">/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">configSections</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">connectionStrings</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">add</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">name</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">JTS2Entities</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">connectionString</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">metadata=res://*/JTS2Model.csdl|res://*/JTS2Model.ssdl|res://*/JTS2Model.msl;provider=System.Data.SqlClient;provider&nbsp;connection&nbsp;string=</SPAN><SPAN style="COLOR: red">&amp;quot;</SPAN><SPAN style="COLOR: blue">Data&nbsp;Source=localhost\SQLEXPRESS;Initial&nbsp;Catalog=JTS2;Integrated&nbsp;Security=True;MultipleActiveResultSets=True</SPAN><SPAN style="COLOR: red">&amp;quot;</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">providerName</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">System.Data.EntityClient</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">remove</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">name</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">LocalSqlServer</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">add</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">name</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">LocalSqlServer</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">connectionString</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">data&nbsp;source=localhost\SQLEXPRESS;Integrated&nbsp;Security=SSPI;Initial&nbsp;Catalog=JTS2;</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">providerName</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">System.Data.SqlClient</SPAN>"<SPAN style="COLOR: blue">/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">connectionStrings</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR> <BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">ideablade.configuration</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">version</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">6.00</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">xmlns</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">http://schemas.ideablade.com/2010/IdeaBladeConfig</SPAN>"<SPAN style="COLOR: blue">&nbsp;&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">logging</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">logFile</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">log\DebugLog.xml</SPAN>"<SPAN style="COLOR: blue">/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;!--</SPAN><SPAN style="COLOR: green">&nbsp;Additional&nbsp;configuration&nbsp;can&nbsp;be&nbsp;added&nbsp;to&nbsp;override&nbsp;defaults.&nbsp;</SPAN><BR><SPAN style="COLOR: green">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;See&nbsp;the&nbsp;sample&nbsp;config&nbsp;files&nbsp;in&nbsp;the&nbsp;Learning&nbsp;Resources&nbsp;for&nbsp;more&nbsp;information.</SPAN><BR><SPAN style="COLOR: green">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: blue">--&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">objectServer</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">serverSettings</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">useAspNetSecurityServices</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">objectServer</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">ideablade.configuration</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR> <BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">system.serviceModel</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;!--</SPAN><SPAN style="COLOR: green">&nbsp;Set&nbsp;this&nbsp;to&nbsp;true&nbsp;to&nbsp;allow&nbsp;use&nbsp;of&nbsp;ASP.NET&nbsp;security&nbsp;features.&nbsp;</SPAN><SPAN style="COLOR: blue">--&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">serviceHostingEnvironment</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">aspNetCompatibilityEnabled</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR> <BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;!--</SPAN><SPAN style="COLOR: green">&nbsp;You&nbsp;can&nbsp;add&nbsp;Service&nbsp;definitions&nbsp;to&nbsp;override&nbsp;the&nbsp;default&nbsp;configuration.&nbsp;</SPAN><BR><SPAN style="COLOR: green">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;See&nbsp;the&nbsp;sample&nbsp;config&nbsp;files&nbsp;in&nbsp;the&nbsp;Learning&nbsp;Resources&nbsp;for&nbsp;more&nbsp;information.</SPAN><BR><SPAN style="COLOR: green">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: blue">--&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">system.serviceModel</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR> <BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">system.web</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">compilation</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">debug</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">targetFramework</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">4.0</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">authentication</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">mode</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">Forms</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;!--</SPAN><SPAN style="COLOR: green">&nbsp;Set&nbsp;to&nbsp;enable/disable&nbsp;the&nbsp;ASP.NET&nbsp;Role&nbsp;Manager.&nbsp;</SPAN><SPAN style="COLOR: blue">--&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">roleManager</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">enabled</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;!--</SPAN><SPAN style="COLOR: green">&nbsp;Set&nbsp;to&nbsp;enable&nbsp;and&nbsp;configure&nbsp;the&nbsp;ASP.NET&nbsp;Profile.&nbsp;These&nbsp;are&nbsp;sample&nbsp;properties.&nbsp;</SPAN><SPAN style="COLOR: blue">--&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">profile</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">enabled</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">properties</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</SPAN><SPAN style="COLOR: #a31515">add</SPAN><SPAN style="COLOR: blue">&nbsp;</SPAN><SPAN style="COLOR: red">name</SPAN><SPAN style="COLOR: blue">=</SPAN>"<SPAN style="COLOR: blue">FriendlyName</SPAN>"<SPAN style="COLOR: blue">&nbsp;/&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">properties</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">profile</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&nbsp;&nbsp;&lt;/</SPAN><SPAN style="COLOR: #a31515">system.web</SPAN><SPAN style="COLOR: blue">&gt;</SPAN><BR><SPAN style="COLOR: blue">&lt;/</SPAN><SPAN style="COLOR: #a31515">configuration</SPAN><SPAN style="COLOR: blue">&gt;</SPAN></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><SPAN style="COLOR: blue"></SPAN>&nbsp;</PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><SPAN style="COLOR: blue"><DIV><FONT color=#000000>I receive the following errors: </FONT></DIV><DIV><FONT color=#000000><FONT color=#ff0000>System.Xml.XmlException occurred<BR>&nbsp; Message=Cannot find file 'app.config' in the application xap package.<BR>&nbsp; LineNumber=0<BR>&nbsp; LinePosition=0<BR>&nbsp; StackTrace:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Xml.XmlXapResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)<BR>&nbsp; InnerException: </FONT><BR></FONT></SPAN></DIV></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000>Additional Information:</FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000>When you hit F5 and continue with the project it then gives two more errors before </FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000></FONT>&nbsp;</PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000>---------------------- Then </FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000><FONT color=#ff0000>System.IO.FileNotFoundException occurred<BR>&nbsp; Message=Could not load file or assembly 'System.ServiceModel.Extensions, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.<BR>&nbsp; StackTrace:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)<BR>&nbsp; InnerException: </FONT><BR></FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000>---------------------- Then </PRE></FONT><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000><FONT color=#ff0000>System.Xml.XmlException occurred<BR>&nbsp; Message=Cannot find file 'ServiceReferences.ClientConfig' in the application xap package.<BR>&nbsp; LineNumber=0<BR>&nbsp; LinePosition=0<BR>&nbsp; StackTrace:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Xml.XmlXapResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)<BR>&nbsp; InnerException: </FONT><BR></FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000>---------------------- Then </FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#ff0000>System.IO.FileNotFoundException occurred<BR>&nbsp; Message=Could not load file or assembly 'IdeaBlade.Core.XmlSerializers, Version=6.0.4.0, Culture=neutral, PublicKeyToken=287b5094865421c0' or one of its dependencies. The system cannot find the file specified.<BR>&nbsp; Source=mscorlib<BR>&nbsp; FileName=IdeaBlade.Core.XmlSerializers, Version=6.0.4.0, Culture=neutral, PublicKeyToken=287b5094865421c0<BR>&nbsp; FusionLog==== Pre-bind state information ===<BR>LOG: User = STRONGCO-XP1\jeejee<BR>LOG: DisplayName = IdeaBlade.Core.XmlSerializers, Version=6.0.4.0, Culture=neutral, PublicKeyToken=287b5094865421c0, processorArchitecture=MSIL<BR>&nbsp;(Fully-specified)<BR>LOG: Appbase = </FONT><a href="file:///C:/SilverLightProjects/JTS2/JTS2Web/" target="_blank"><FONT color=#ff0000>file:///C:/SilverLightProjects/JTS2/JTS2Web/</FONT></A><BR><FONT color=#ff0000>LOG: Initial PrivatePath = C:\SilverLightProjects\JTS2\JTS2Web\bin<BR>Calling assembly : (Unknown).<BR>===<BR>LOG: This bind starts in default load context.<BR>LOG: Using application configuration file: C:\SilverLightProjects\JTS2\JTS2Web\web.config<BR>LOG: Using host configuration file: <BR>LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\config\machine.config.<BR>LOG: Post-policy reference: IdeaBlade.Core.XmlSerializers, Version=6.0.4.0, Culture=neutral, PublicKeyToken=287b5094865421c0, processorArchitecture=MSIL<BR>LOG: Attempting download of new URL </FONT><a href="file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary" target="_blank"><FONT color=#ff0000>file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary</FONT></A><FONT color=#ff0000> ASP.NET Files/root/b8307c95/3011edba/IdeaBlade.Core.XmlSerializers.DLL.<BR>LOG: Attempting download of new URL </FONT><a href="file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary" target="_blank"><FONT color=#ff0000>file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary</FONT></A><FONT color=#ff0000> ASP.NET Files/root/b8307c95/3011edba/IdeaBlade.Core.XmlSerializers/IdeaBlade.Core.XmlSerializers.DLL.<BR>LOG: Attempting download of new URL </FONT><a href="file:///C:/SilverLightProjects/JTS2/JTS2Web/bin/IdeaBlade.Core.XmlSerializers.DLL" target="_blank"><FONT color=#ff0000>file:///C:/SilverLightProjects/JTS2/JTS2Web/bin/IdeaBlade.Core.XmlSerializers.DLL</FONT></A><FONT color=#ff0000>.<BR>LOG: Attempting download of new URL </FONT><a href="file:///C:/SilverLightProjects/JTS2/JTS2Web/bin/IdeaBlade.Core.XmlSerializers/IdeaBlade.Core.XmlSerializers.DLL" target="_blank"><FONT color=#ff0000>file:///C:/SilverLightProjects/JTS2/JTS2Web/bin/IdeaBlade.Core.XmlSerializers/IdeaBlade.Core.XmlSerializers.DLL</FONT></A><FONT color=#ff0000>.<BR>LOG: Attempting download of new URL </FONT><a href="file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary" target="_blank"><FONT color=#ff0000>file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary</FONT></A><FONT color=#ff0000> ASP.NET Files/root/b8307c95/3011edba/IdeaBlade.Core.XmlSerializers.EXE.<BR>LOG: Attempting download of new URL </FONT><a href="file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary" target="_blank"><FONT color=#ff0000>file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary</FONT></A><FONT color=#ff0000> ASP.NET Files/root/b8307c95/3011edba/IdeaBlade.Core.XmlSerializers/IdeaBlade.Core.XmlSerializers.EXE.<BR>LOG: Attempting download of new URL </FONT><a href="file:///C:/SilverLightProjects/JTS2/JTS2Web/bin/IdeaBlade.Core.XmlSerializers.EXE" target="_blank"><FONT color=#ff0000>file:///C:/SilverLightProjects/JTS2/JTS2Web/bin/IdeaBlade.Core.XmlSerializers.EXE</FONT></A><FONT color=#ff0000>.<BR>LOG: Attempting download of new URL </FONT><a href="file:///C:/SilverLightProjects/JTS2/JTS2Web/bin/IdeaBlade.Core.XmlSerializers/IdeaBlade.Core.XmlSerializers.EXE" target="_blank"><FONT color=#ff0000>file:///C:/SilverLightProjects/JTS2/JTS2Web/bin/IdeaBlade.Core.XmlSerializers/IdeaBlade.Core.XmlSerializers.EXE</FONT></A><FONT color=#ff0000>.</FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#ff0000>&nbsp; StackTrace:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)<BR>&nbsp; InnerException: </FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000><BR>---------------------- Then </FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000><FONT color=#ff0000>System.ArgumentException occurred<BR>&nbsp; Message=URI formats are not supported.<BR>&nbsp; Source=mscorlib<BR>&nbsp; StackTrace:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)<BR>&nbsp; InnerException: </FONT><BR></FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000>Other errors are also displayed (I can include them for you if you require) but e</FONT><FONT color=#000000>ventually the application </FONT></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><FONT color=#000000>starts running and works correctly.</PRE></FONT><PRE style="FONT-FAMILY: c&#111;nsolas">&nbsp;</PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><SPAN style="COLOR: blue"><FONT color=#000000>Please could you help me in identifying why I am getting these errors.</FONT></SPAN></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><SPAN style="COLOR: blue"><FONT color=#000000></FONT></SPAN>&nbsp;</PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><SPAN style="COLOR: blue"><FONT color=#000000>Thanks</FONT></SPAN></PRE><PRE style="FONT-FAMILY: c&#111;nsolas"><SPAN style="COLOR: blue"><FONT color=#000000>Jeejee</FONT></SPAN></PRE></SPAN></PRE></DIV><span style="font-size:10px"><br /><br />Edited by jeejee - 28-Jul-2010 at 9:01am</span>]]>
   </description>
   <pubDate>Wed, 28 Jul 2010 08:44:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2024&amp;PID=7856#7856</guid>
  </item> 
 </channel>
</rss>