CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: NewsGroup Date Entered: 5/1/2006 9:01:48 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 246 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
Mse
Asp.Net User
Web references and 'MSDiscoCodeGenerator' Error5/1/2006 9:01:48 PM

0

HI

We are migrating our web applications to .Net 2.0 and are facing huge problems.

The latest one to hit me, after installing WAP, is that I'm unalbe to make references!

I'm contantly getting the following warning:

The custom tool 'MSDiscoCodeGenerator' failed while processing the file 'Web References\DXP.XMedia\Reference.map'. 

When double-clicking on the message I get the following MessageBox:

The last attempt to run the custom tool 'MSDiscoCodeGenerator' on file 'Web References\DXP.XMedia\Reference.map' failed.  Would you like to re-run the custom tool?
---------------------------
Yes   No  
---------------------------

After pressing Yes, I get the following error message:

Custom tool error: Unable to import WebService/Schema. Object reference not set to an instance of an object. XPublish C:\...\My Project\Settings.settings

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 since I couldn't find any post addressing/mentioning this problem (or I haven't searched enough).

Any kind of help/guidance will be highly appreciated. I'm going mad out of frustration.

Thanks in advance

-- Mridul


-- Mridul
billhie
Asp.Net User
Re: Web references and 'MSDiscoCodeGenerator' Error5/5/2006 6:07:21 PM

0

There is a known issue where you can get into this state if settings.settings file ever gets deleted.  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.

Name                                Type                       Scope     Value
     
MyApp_localhost_Service   (Web Service URL)   User        
http://localhost:2305/WebSite8/Service.asmx

 

Notice the type field - it needs to be set to "(WebService URL)"  - one of the choices in type dropdown. Most likely it is set to be of type String and this causes the error.

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.)


Bill Hiebert

Visual Studio Web Tools
wespayne
Asp.Net User
Re: Web references and 'MSDiscoCodeGenerator' Error6/24/2006 1:30:12 AM

0

I have gotten into the same situation by much the same route with the following distinctions:

  • The Settings.settings file was never there in the first place.
  • There is no .resx file anywhere in the project that has a <data> tag, much less one with an empty name attribute.

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.  So ... do I add one?  And if so, what would I name it?  The URL we use for the web service is http://webservices/wsstore.asmx , and the web reference is named StoreService.

Rohan
Asp.Net User
Re: Web references and 'MSDiscoCodeGenerator' Error11/15/2006 1:25:56 PM

0

Same problem for me.

 i had 3 references to 3 different web services, but only one worked.

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:

Name: DataAccess_ReportingServicesDWHReport_ReportingService
Type: Web Service URL
Scope: Application
Value: http://ReportServer/ReportServer/ReportService.asmx

And it worked.

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Web references and 'MSDiscoCodeGenerator' Error - ASP.NET Forums Web references and 'MSDiscoCodeGenerator' Error .... i had 3 references to 3 different web services, but only one worked. ...
MSDiscoCodeGenerator error If I try to update the web reference, I get the error "The custom tool MSDiscoCodeGenerator failed. Object reference not set to an instance ...
MSDiscoCodeGenerator Failed? Suddenly, I'm unable to create web references. I get the following error: The custom tool 'MSDiscoCodeGenerator' failed. ...
.NET ASP.NET Web Services MSDiscoCodegenerator Failure with Java Axis With Visual Studio 2005, if I try to create a web reference and refresh ... I get this error: The custom tool 'MSDiscoCodegenerator' failes. ...
RE: Custom Tool 'MSDiscoCodeGenerator' failed when update web referenc >The IDE is throwing the following error when trying to update a web >reference using Visual Studio 2005 > >The custom tool 'MSDiscoCodeGenerator' failed. ...

Web references and 'MSDiscoCodeGenerator' Error - ng.asp-net-forum ... Web references and 'MSDiscoCodeGenerator' Error, > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects, ...
Adding a Web-Reference to a Class Library Project - ng.asp-net ... When trying to perform Update-Web-Reference i'm getting the following error: " The custom tool 'MSDiscoCodeGenerator' failed. ...
'LM/W3SVC/[x]/ROOT/[Application] is not a valid IIS application ... I created a new web application project with visual studio 2005. .... web references and 'msdiscocodegenerator' error · Privacy | Contact Us ...
VS80-KB915364-X86-ENU.exe - The upgrade patch cannot be installed ... Web references and 'MSDiscoCodeGenerator' Error - ng.asp-net-forum ... vs80- kb915364-x86-enu.exe - the upgrade patch cannot be installed ...
Error in debug compilation of WebApp project "Unable to write to ... problems after converting from web site to web application · web references and 'msdiscocodegenerator' error · web app vs web site vs web project ...






converting web site into web application

can not find typename of objectdatasource???

adding events in code behind for controls declared in designer.cs???

user control libraries - interesting use of generics and proxy user controls

right click view in browser missing

user control libraries

constant error when opening solution after manually converting to web application project

using web application projects with objectdatasource

resource expressions work in dev, not in production

wsdl.exe schema validation bugs

with web deployment project

publishing web site from command line

install "update to support web application projects" error

single page-level assemblies not working as expected

object reference not set to an instance of an object. - in a .ascx control tag?!?!?!

name clash with 'login', 'menu' and others

working with web application and web site project

help regarding a project

remove the need to "set start page"

code behind code generator

aspnet_compiler vs. vs publish for web application projects

issue in app_code folder in asp.net web application project

problems with file upload

"find all references" no longer works in web app projects under vs 2005?

all files getting deleted from my computer during web application development...... more then 10 times untill now

element 'element name here' is not a known element. this can occur if there is a compilation error in the web

problems getting webprofile to work with custom profile

deploying sub projects

wap & tfs source control

?? can i remove the virtual directory from the development server ??

   
  Privacy | Contact Us
All Times Are GMT