<?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>VS 2005 Web Application Projects</title><link>http://forums.asp.net/1019.aspx</link><description>General discussions of VS 2005 Web Application Projects</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Web references and 'MSDiscoCodeGenerator' Error</title><link>http://forums.asp.net/thread/1465700.aspx</link><pubDate>Wed, 15 Nov 2006 13:25:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1465700</guid><dc:creator>Rohan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1465700.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1019&amp;PostID=1465700</wfw:commentRss><description>&lt;p&gt;Same problem for me.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i had 3 references to 3 different web services, but only one worked.&lt;/p&gt;
&lt;p&gt;So I checked in the settings.settings file, and saw that only one of the web services had a entry there, and it was the one file that worked. So i added the following for both references:&lt;/p&gt;
&lt;p&gt;Name: DataAccess_ReportingServicesDWHReport_ReportingService&lt;br /&gt;Type: Web Service URL&lt;br /&gt;Scope: Application&lt;br /&gt;Value: &lt;a href="http://reportserver/ReportServer/ReportService.asmx"&gt;http://ReportServer/ReportServer/ReportService.asmx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And it worked.&lt;/p&gt;</description></item><item><title>Re: Web references and 'MSDiscoCodeGenerator' Error</title><link>http://forums.asp.net/thread/1323653.aspx</link><pubDate>Sat, 24 Jun 2006 01:30:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1323653</guid><dc:creator>wespayne</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1323653.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1019&amp;PostID=1323653</wfw:commentRss><description>&lt;p&gt;I have gotten into the same situation by much the same route with the following distinctions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Settings.settings file was never there in the first place.&lt;/li&gt;
&lt;li&gt;There is no .resx file anywhere in the project that has a &amp;lt;data&amp;gt; tag, much less one with an empty name attribute.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;So, although there is now a Settings.settings file in the project (after the error), it has no settings in it, much less one like you show above.&amp;nbsp; So ... do I add one?&amp;nbsp; And if so, what would I name it?&amp;nbsp; The URL we use for the web service is &lt;a href="http://webservices/wsstore.asmx"&gt;http://webservices/wsstore.asmx&lt;/a&gt; , and the web reference is named StoreService.&lt;/p&gt;</description></item><item><title>Re: Web references and 'MSDiscoCodeGenerator' Error</title><link>http://forums.asp.net/thread/1277660.aspx</link><pubDate>Fri, 05 May 2006 18:07:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1277660</guid><dc:creator>billhie</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1277660.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1019&amp;PostID=1277660</wfw:commentRss><description>&lt;p&gt;There is a known issue where you can get into this state if settings.settings file ever gets deleted.&amp;nbsp; The fix for this is to open the Settings.settings file (just double-click it). You should see entries similar to the following for you dynamic urls. &lt;/p&gt;
&lt;p&gt;&lt;font face=Arial size=2&gt;&lt;u&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Scope&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Value&lt;br /&gt;&lt;/u&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;MyApp_localhost_Service&amp;nbsp;&amp;nbsp;&amp;nbsp;(Web Service URL)&amp;nbsp;&amp;nbsp;&amp;nbsp;User&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;a href="http://localhost:2305/WebSite8/Service.asmx"&gt;&lt;font face=Arial size=2&gt;http://localhost:2305/WebSite8/Service.asmx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Notice the type field - it needs to be set to "(WebService URL)"&amp;nbsp; - one of the choices in type dropdown.&amp;nbsp;Most likely it is set to be of type&amp;nbsp;String and this causes the error. &lt;/p&gt;
&lt;p&gt;Can you try this? We are looking at getting this fixed for SP1 of Visual Studio (it is an issue in the core VS code base so WAP cannot fix it directly.)&lt;/p&gt;</description></item><item><title>Web references and 'MSDiscoCodeGenerator' Error</title><link>http://forums.asp.net/thread/1273129.aspx</link><pubDate>Mon, 01 May 2006 21:01:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1273129</guid><dc:creator>Mse</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1273129.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1019&amp;PostID=1273129</wfw:commentRss><description>&lt;p&gt;&lt;font face=Verdana size=2&gt;HI&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font face=Verdana size=2&gt;We are migrating our web applications to .Net 2.0 and are facing huge problems.&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font face=Verdana size=2&gt;The latest one to hit me, after installing WAP, is that I'm unalbe to make references!&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font face=Verdana size=2&gt;I'm contantly getting the following warning:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font face=Verdana size=2&gt;&lt;strong&gt;The custom tool 'MSDiscoCodeGenerator' failed while processing the file 'Web References\DXP.XMedia\Reference.map'.&lt;/strong&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font face=Verdana size=2&gt;When double-clicking on the message I get the following MessageBox:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font face=Verdana size=2&gt;&lt;strong&gt;The last attempt to run the custom tool 'MSDiscoCodeGenerator' on file 'Web References\DXP.XMedia\Reference.map' failed.&amp;nbsp; Would you like to re-run the custom tool?&lt;br /&gt;&lt;/strong&gt;---------------------------&lt;br /&gt;&lt;strong&gt;Yes&amp;nbsp;&amp;nbsp; No&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/strong&gt;---------------------------&lt;br /&gt;&lt;/font&gt;&lt;font face=Verdana size=2&gt;&lt;br /&gt;After pressing &lt;strong&gt;Yes,&lt;/strong&gt; I get the following error message:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font face=Verdana size=2&gt;&lt;strong&gt;Custom tool error: Unable to import WebService/Schema. Object reference not set to an instance of an object.&amp;nbsp;XPublish&amp;nbsp;C:\...\My Project\Settings.settings&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;I was hoping that someone had already gone through this pain, and I could share his/her experience. But is seems that I'm the only one to have got stucked&amp;nbsp;since I&amp;nbsp;couldn't find any post addressing/mentioning this problem (or I haven't searched enough).&lt;br /&gt;&lt;br /&gt;Any kind of help/guidance will be highly appreciated. I'm going mad out of frustration.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;Thanks in advance&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;-- Mridul&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>