<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Studio 2005</title><link>http://forums.asp.net/138.aspx</link><description>General discussions of Visual Studio 2005.  &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=162&amp;c=30" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/2362072.aspx</link><pubDate>Fri, 16 May 2008 11:15:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2362072</guid><dc:creator>st_</dc:creator><author>st_</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2362072.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=2362072</wfw:commentRss><description>&lt;p&gt;
This problem such a disaster. I tried many ways, migrating xml data into another, making changes by hand.. etc. - very difficult because of having many table adapters. Finally I found a really strange generated query which was named GetDataBy1 and FillBy1. Then I remembered I received an error during generating one of my last queries. I think I&amp;#39;ve canceled it but obvioulsy some code has been generated. This code&amp;nbsp; was the reason to receive this error. &lt;/p&gt;&lt;p&gt;This solved my porblem. &lt;/p&gt;&lt;p&gt;I recommend you to delete all last changes since last project saving or building.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/2356945.aspx</link><pubDate>Wed, 14 May 2008 11:17:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2356945</guid><dc:creator>FredyC</dc:creator><author>FredyC</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2356945.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=2356945</wfw:commentRss><description>&lt;p&gt;Thank you very much man ! Your simple solution is really perfect and works well.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/2130513.aspx</link><pubDate>Thu, 24 Jan 2008 16:14:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2130513</guid><dc:creator>EverettE</dc:creator><author>EverettE</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2130513.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=2130513</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;I have confirmed this exact same issue in VS2008 for web applications.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To get around it, I deleted the connection string I&amp;nbsp;created in the project properties window.&amp;nbsp; In the dataset designer, I click &amp;quot;New Connection...&amp;quot; when creating a new Table Adapter.&amp;nbsp; This will for some reason only stick the connection string in the web.config file.&amp;nbsp; From there, create your Table Adapter as you usually would.&amp;nbsp; Back to your code behind window, you will now get intellisense on your dataset and table adapters.&lt;/p&gt;
&lt;p&gt;I do not have this issue in VS2005 SP1 or VS2008&amp;nbsp;using WinForms.&amp;nbsp; Weird.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;EE&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/2121616.aspx</link><pubDate>Mon, 21 Jan 2008 08:26:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2121616</guid><dc:creator>fhtino</dc:creator><author>fhtino</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2121616.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=2121616</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=321275&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1944966.aspx</link><pubDate>Mon, 08 Oct 2007 02:43:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1944966</guid><dc:creator>anov</dc:creator><author>anov</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1944966.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1944966</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;mself:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;I had the same problem.&lt;/p&gt;
&lt;p&gt;The issue turned out to be that the connection string is being stored in Properties.Settings, but the name of the setting has a dot in it (which causes problems).&lt;/p&gt;
&lt;p&gt; I solved the problem by opening up the app settings editor and changing the name of the connection string setting from &amp;quot;MyAppName.Properties.Settings.XYZConnectionString&amp;quot; to simply &amp;quot;XYZConnectionString&amp;quot;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure how the setting got the long name in the first place, but some MS tool must have set it that way (I didn&amp;#39;t type it in myself).&lt;/p&gt;
&lt;p&gt;Now when I got to create a DataSet using this connection string everything works correctly when I save it.  I also had to edit some places in the code where I was referring to the connection string manually.&lt;/p&gt;
&lt;p&gt;It appears that the Custom Tool that converts .xsd files to C# code cannot handle connection string names with dots in them.  I think it is creating a property using the name of the connection string without escaping the dots.  This causes parse errors when other parts of the code try to access that property.&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;

i have a access db in app_data (samplenama.com) and renamed it (samplenama_com) change web_config connection string and change .xsd file with source file editor. error went out. removing dot (in the file name) solve my problem.</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1855104.aspx</link><pubDate>Mon, 13 Aug 2007 14:54:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1855104</guid><dc:creator>Dimebrain</dc:creator><author>Dimebrain</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1855104.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1855104</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s definitely the issue. I also had dots in my connection string which was generated for me when designing the typed datasets; it likely happens when you are prompted by the designer to add a new connection string, it adds the string to your Settings file but retains the full name when it added to your .config file. Thanks for that, this is a much cleaner workaround than referencing a custom sub-class. On the other hand the bug helped me make the switch to DLINQ :)&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1854285.aspx</link><pubDate>Mon, 13 Aug 2007 05:50:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1854285</guid><dc:creator>mself</dc:creator><author>mself</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1854285.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1854285</wfw:commentRss><description>&lt;p&gt;I had the same problem.&lt;/p&gt;
&lt;p&gt;The issue turned out to be that the connection string is being stored in Properties.Settings, but the name of the setting has a dot in it (which causes problems).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I solved the problem by opening up the app settings editor and changing the name of the connection string setting from &amp;quot;MyAppName.Properties.Settings.XYZConnectionString&amp;quot; to simply &amp;quot;XYZConnectionString&amp;quot;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure how the setting got the long name in the first place, but some MS tool must have set it that way (I didn&amp;#39;t type it in myself).&lt;/p&gt;
&lt;p&gt;Now when I got to create a DataSet using this connection string everything works correctly when I save it.&amp;nbsp; I also had to edit some places in the code where I was referring to the connection string manually.&lt;/p&gt;
&lt;p&gt;It appears that the Custom Tool that converts .xsd files to C# code cannot handle connection string names with dots in them.&amp;nbsp; I think it is creating a property using the name of the connection string without escaping the dots.&amp;nbsp; This causes parse errors when other parts of the code try to access that property.&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1812129.aspx</link><pubDate>Thu, 19 Jul 2007 10:57:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1812129</guid><dc:creator>tmreis</dc:creator><author>tmreis</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1812129.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1812129</wfw:commentRss><description>&lt;p&gt;Hey guys.I&amp;#39;ve been around this since yesterday. I had the MsDataSetGenerator problem, which I solved cutting the string from the Custom Tool Generator property. It compiled but then again I still need my Dataset to be generated. &lt;/p&gt;&lt;p&gt;All I want to do is have a DAL to a simple table. I&amp;#39;ve tried the VS2005 datasets and I even tried external code generators (ie: just tools that generate classes with CRUDs , all external to VS2005 IDE) &lt;/p&gt;&lt;p&gt;Even so I have a similar problem, in spite of the errors being different. I&amp;#39;ll paste it here to see if I can get any help (maybe I&amp;#39;m just being rookie, but I have followed several tutorials on DAL and the code generation stuff and I never had this problem)&lt;/p&gt;&lt;p&gt;I should mention I have Biztalk 2006 installed, I don&amp;#39;t know if this causes any kind of override.&lt;/p&gt;&lt;p&gt;&amp;nbsp;My generated code is : &lt;/p&gt;&lt;p&gt;[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)]&lt;/p&gt;&lt;p&gt;and the error is :&lt;/p&gt;&lt;p&gt;&amp;#39;string&amp;#39; does not contain a definition for &amp;#39;ComponentModel&amp;#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;As I said, the error is the same whether I use VS2005 Dataset or an external code generator. I guess the problem is with connection string management, but I just can&amp;#39;t figure it out. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanx in advance, &lt;/p&gt;&lt;p&gt;T. &lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1811886.aspx</link><pubDate>Thu, 19 Jul 2007 08:18:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1811886</guid><dc:creator>vidapura</dc:creator><author>vidapura</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1811886.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1811886</wfw:commentRss><description>&lt;p&gt;Glad to be able to help,&lt;/p&gt;
&lt;p&gt;Haven&amp;#39;t reported it on Connect at all.. if you want to do the honours then please go right ahead...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Vida&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1811478.aspx</link><pubDate>Thu, 19 Jul 2007 03:32:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1811478</guid><dc:creator>Dimebrain</dc:creator><author>Dimebrain</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1811478.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1811478</wfw:commentRss><description>&lt;p&gt;Thanks so much for this; it claimed five or six hours of my life, but luckily I found your post. I still think someone needs to report this on Connect if you haven&amp;#39;t already. Have you? Is there any feedback on this? We don&amp;#39;t need another designer glitch in VS...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1743949.aspx</link><pubDate>Thu, 07 Jun 2007 14:51:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1743949</guid><dc:creator>vidapura</dc:creator><author>vidapura</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1743949.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1743949</wfw:commentRss><description>&lt;p&gt;Great news!&lt;/p&gt;
&lt;p&gt;Vida&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1743923.aspx</link><pubDate>Thu, 07 Jun 2007 14:40:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1743923</guid><dc:creator>algorithm0</dc:creator><author>algorithm0</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1743923.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1743923</wfw:commentRss><description>&lt;p&gt;vindapura,&lt;/p&gt;
&lt;p&gt;Good news! After some wreckless messing around&amp;nbsp;with my dataset I was able to get it to compile again. I ended up deleting the last table I had added a query to. Evidently the entire table was messed up, not simply the query on its table adapter. So now I am able to compile both my original app as well as the class library.&lt;/p&gt;
&lt;p&gt;The one big lesson I&amp;#39;ll take away from this is to keep my own versioning / backup at least once daily. I tried to roll back to monday&amp;#39;s version of my code from tape, but the company&amp;#39;s backp system wasn&amp;#39;t configured to backup my particular directory... (oh the irony).&lt;/p&gt;
&lt;p&gt;At least I was able to test out using a class library... I&amp;#39;ve been writing most of my recent code using a BLL for re-use, but I hadn&amp;#39;t yet put it inside a library. &lt;/p&gt;
&lt;p&gt;Now it&amp;#39;s time to play catch-up on this project! Thanks for the thoughtful reply!&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1743765.aspx</link><pubDate>Thu, 07 Jun 2007 13:29:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1743765</guid><dc:creator>vidapura</dc:creator><author>vidapura</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1743765.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1743765</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I sympathise, I had like&amp;nbsp;5 tables with 4 or&amp;nbsp; queries each.. so i didn&amp;#39;t want to go recreating the dataset either...&lt;/p&gt;
&lt;p&gt;I only went the class library route because I wanted to have everything tidied away into a class library that&amp;nbsp;I could reuse....you probably don&amp;#39;t need to do that if you don&amp;#39;t want to...&lt;/p&gt;
&lt;p&gt;If you are just putting the xsd into a new project then I&amp;#39;d again create a quick dataset as normal.. and then copy over the connection string etc...&lt;/p&gt;
&lt;p&gt;The method I detailed above worked for me... dunno what I can tell you to help...&amp;nbsp; was there anything in my previous post that i could explain better?&lt;/p&gt;
&lt;p&gt;What kind of project are you coming from and what kind are you going to?&lt;/p&gt;
&lt;p&gt;Vida&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1743696.aspx</link><pubDate>Thu, 07 Jun 2007 13:01:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1743696</guid><dc:creator>algorithm0</dc:creator><author>algorithm0</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1743696.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1743696</wfw:commentRss><description>&lt;p&gt;I am having this problem too. Yesterday I tried vidapura&amp;#39;s method of creating a class library, but I don&amp;#39;t think it worked. The class library compiled, but I still go this warning:&lt;/p&gt;
&lt;p&gt;Warning&amp;nbsp;1&amp;nbsp;The custom tool &amp;#39;MSDataSetGenerator&amp;#39; failed while processing the file &amp;#39;MyDataSet.xsd&amp;#39;.&lt;/p&gt;
&lt;p&gt;I am still open to suggestions at this point. I&amp;#39;d really hate to have to re-create my entire dataset (7 tables, 30-some queries). I have check that my xml is well-formed. I have tried running MyDataSet.xsd through xsd.exe at the command prompt:&lt;/p&gt;
&lt;p&gt;Writing file &amp;#39;C:\Documents and Settings\xuser\My Documents\Visual Studio 2005\Projects\WebClassLibrary\MyDataSet.cs&amp;#39;.&lt;br /&gt;Error: There was an error processing &amp;#39;BoatDataSet.xsd&amp;#39;.&lt;br /&gt;&amp;nbsp; - Error generating code for DataSet &amp;#39;&amp;#39;.&lt;br /&gt;&amp;nbsp; - Failed to generate code. Object reference not set to an instance of an object.&lt;br /&gt;&amp;nbsp; - Object reference not set to an instance of an object.&lt;/p&gt;
&lt;p&gt;Any advice is welcome! Thanks!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problems with MSDataSetGenerator in VS.NET 2005 SP1</title><link>http://forums.asp.net/thread/1741669.aspx</link><pubDate>Wed, 06 Jun 2007 11:50:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1741669</guid><dc:creator>vidapura</dc:creator><author>vidapura</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1741669.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=138&amp;PostID=1741669</wfw:commentRss><description>&lt;p&gt;whoops, double post, can&amp;#39;t delete it so I&amp;#39;ll just edit it to this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>