Web references and ‘MSDiscoCodeGenerator’ Error

April 18, 2008 1 Comment

I've been running into an error in Visual Studio .net 2005 when referencing the obelisk web services. 

The custom tool 'MSDiscoCodeGenerator' failed while processing the file '…Reference.map'.


There wasn't that much online about it. One of the better posts I found was here:

http://forums.asp.net/t/986668.aspx

But the solutions posted didn't fix my issue. One method that I tried and seemed to work was to create a new project in VS.net and reference the web service there. Then all the files that are created (.disco, .wsdl, reference.map, reference.cs) I copied over into my broken project. Then I went in and edited the namespaces and project names because they didn't line up. Once I did this I was able to get it to compile, and even hitting "Update Web Reference" works well now. I wish I could figure out what was causing this issue, but it seems to happen perpetually only in this one project, so something on the project level must be corrupted. At some point I will likely create a new project and import all my files to it so the project itself gets reconstructed, and hopefully the issues are cleared out at that point.

 

* News, Waypoint Development
One Comments to “Web references and ‘MSDiscoCodeGenerator’ Error”
  1. Queenie says:

    Takhns for sharing. What a pleasure to read!

Leave a Reply

(required)

(required)


How to import contacts from a CSV file in Outlook 2003

In outlook 2003, go to File >> Import and Export… Select ‘Import from another program or file’ Select Comma...

Are you backing up your data?

Most people know they should back up their data, but not everyone does. If you’re one of those people,...

5 Easy Choices For a Better Website.

Are you planning to design or redesign your website soon? If so, then here are a few tips that...

How to enable site maps in Waypoint

Sitemaps are simple XML files that Google and other search engines use to find the content in your website....

5 reasons you should learn how to use HTML

HTML is the backbone of everything online. Everyone should know how to read it and write it! OK, well...

How to Link Facebook to Twitter

Posting to Facebook, LinkedIn, Twitter and other social media sites is a great way to interact with your customers....

Visual Studio Environment Tips

This week I had to send my iMac in for repair. Normally I program using Windows Server 2008 running...

Fixing IIS7 Maximum Upload Size

If you have your Waypoint site hosted with Twin Harbor and you need to increase the maximum file upload...

What is an SSL Certificate?

You may have heard about SSL Certificates, also called secure certificates, or SSL Certs for short. But what are...

OSX Lion Removes Functionality

In my previous post I thought I had found a way to maintain some of the functionality that we...