The type exists in both and

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<font face="Courier New, Courier, Monospace" color="#0000ff Error 1 The type System.Data.SqlClient.SqlDataReader exists in both c:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.Data.dll and c:Program FilesMicrosoft Visual Studio 8Common7IDEPublicAssembliesSystem.Data.SqlClient.dll C:StingrayIIDomainsFrameworkProviderCustomMembershipProvider.cs 234 39 SXA.PTL.Framework.Provider
</font>
I am getting the above error in my project, and Im not sure why, or what is causing it. This is just one example of this particular error. Weve gotten similar errors on other *.dlls on the system from other projects. Can anyone tell me "why" I am getting this error?
Here is the line that is causing it, it really just a function declaration: <font size=2>
</font><font face="Courier New, Courier, Monospace <font color="#0000ff" size=2>private</font><font size=2> System.Data.SqlClient.</font><font color="#008080" size=2>SqlDataReader</font><font size=2> PPValidateUser(</font><font color="#0000ff" size=2>string</font><font size=2> username, </font><font color="#0000ff" size=2>string</font><font size=2> password) </font></font><font face="Courier New, Courier, Monospace" size=2>{}
// It is underlining the word SqlDataReader</font>
<font size=2>  </font>

View the full article
 
Back
Top