<?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 : Schema Not Found</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Schema Not Found</description>
  <pubDate>Fri, 12 Jun 2026 00:05:11 -700</pubDate>
  <lastBuildDate>Thu, 26 Jul 2007 21:14:26 -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=330</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>Schema Not Found : I&amp;#039;ll admit that we might...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=330&amp;PID=777#777</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 330<br /><strong>Posted:</strong> 26-Jul-2007 at 9:14pm<br /><br />I'll admit that we might be able do a somewhat better job here, but DevForce will never be able to process all the different variants of Stored Procedure queries (especially when it comes to non-SQL Server Stored Procedures).&nbsp; We could expend a lot of effort in this area without being able to make substantial improvements, so I think we will always need this workaround.<DIV>&nbsp;</DIV><DIV>Hopefully, this won't be such an issue in the future with LINQ.</DIV>]]>
   </description>
   <pubDate>Thu, 26 Jul 2007 21:14:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=330&amp;PID=777#777</guid>
  </item> 
  <item>
   <title>Schema Not Found : Thanks for your quick reply -...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=330&amp;PID=766#766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=28" rel="nofollow">Miszou</a><br /><strong>Subject:</strong> 330<br /><strong>Posted:</strong> 26-Jul-2007 at 9:54am<br /><br />Thanks for your quick reply - the problem was exactly as you described.<DIV>&nbsp;</DIV><DIV>My sproc contained references to user-defined functions as well as temporary tables. After commenting out these items and re-running the object mapper, I was able to succcessfully generate the entity. I then uncommented the necessary parts of the sproc and everything seems to be fine.</DIV><DIV>&nbsp;</DIV><DIV>I'm curious, is this&nbsp;an issue with DevForce or is it something that's out of your hands in SQL Server? And if you can, do you plan on fixing it at some point? It's not a show-stopper by any means, but it could get irritating after a while, every time you open the object mapper...</DIV><DIV>&nbsp;</DIV><DIV>Thanks again for your help.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 26 Jul 2007 09:54:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=330&amp;PID=766#766</guid>
  </item> 
  <item>
   <title>Schema Not Found : There was another customer who...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=330&amp;PID=764#764</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 330<br /><strong>Posted:</strong> 26-Jul-2007 at 9:14am<br /><br />There was another customer who had the very same problem, and I responded to him on the Forum:<DIV>&nbsp;</DIV><DIV><a href="http://www.ideablade.com/forum/forum_posts.asp?TID=279" target="_blank">http://www.ideablade.com/forum/forum_posts.asp?TID=279</A></DIV><DIV>&nbsp;</DIV><DIV>The Object Mapper looks at your stored proc, and tries to figure out its input and output parameters.&nbsp; If it can't figure this out, it reports "Schema Not Found".&nbsp; Characteristics of your stored proc that will cause the Object Mapper not to understand the output shape are (among other things):</DIV><DIV>&nbsp;</DIV><DIV>(1) Temporary Tables</DIV><DIV>(2) Dynamic SQL</DIV><DIV>(3) HAVING clauses</DIV><DIV>&nbsp;</DIV><DIV>The workaround is straightforward.</DIV><DIV>&nbsp;</DIV><DIV>(1) Create any stored proc that gives the right output shape</DIV><DIV>(2) Map the Stored Proc query using the Object Mapper</DIV><DIV>(3) Replace the "dummy" stored proc with the real one</DIV><DIV>(4) When you use the Object Mapper, you must be careful not to regenerate entities.&nbsp; Otherwise, you will get the same "Schema Not Found" error.</DIV>]]>
   </description>
   <pubDate>Thu, 26 Jul 2007 09:14:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=330&amp;PID=764#764</guid>
  </item> 
  <item>
   <title>Schema Not Found : I am trying to usethe Object Mapping...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=330&amp;PID=763#763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=28" rel="nofollow">Miszou</a><br /><strong>Subject:</strong> 330<br /><strong>Posted:</strong> 26-Jul-2007 at 8:36am<br /><br />I am trying to use&nbsp;the Object Mapping Tool to create a stored-procedure backed entity. <DIV>&nbsp;</DIV><DIV>However, every time I select the sproc from the "Add Unmapped Tables/Stored Procedures" window in the Object Mapping Tool, the entity is added to the class list with a red exclamation mark next to it, that reads "schema not found" and the class&nbsp;detail is unavailable.</DIV><DIV>&nbsp;</DIV><DIV>This only appears to happen for some sprocs - others I can add without any problem.</DIV><DIV>&nbsp;</DIV><DIV>I can't seem&nbsp; to find any differences between sprocs that work and those that don't. Does anyone have an idea of what migh tbe going on here?</DIV><DIV>&nbsp;</DIV><DIV>Thanks!</DIV>]]>
   </description>
   <pubDate>Thu, 26 Jul 2007 08:36:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=330&amp;PID=763#763</guid>
  </item> 
 </channel>
</rss>