views:

672

answers:

1

I have converted a web site to a web application and after conversion I am getting loads of errors saying almost(50)

1. Getting 'Public Sub New()' has multiple definitions with identical signatures
2. 'UpdateProgress1' is already declared as 'Protected Dim WithEvents UpdateProgress1 As System.Web.UI.UpdateProgress' in this class.

CAn any one please tell how to get rid of these errors.

A: 

Look at the original code, work out why it's generating multiple parameterless constructors in the converted code, and then change the converted code appropriately.

I don't know any specific cause for this, but I wouldn't be surprised if it's fairly trivial (such as a new parameterless constructor which does very little being added whether or not the class already has one).

Jon Skeet