Warning 1 Generation of designer file failed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andy B

    Warning 1 Generation of designer file failed

    I added a LINQ classes (dbml) file to my web application project and drug a
    sql server database table from the server explorer onto the o/r designer. I
    saved and closed the designer after that. I then opened default.aspx, added
    a gridview to the designer and then went into the smart tag for it. I went
    to the configure data source link in the smart tag window, chose new
    datasource and clicked LINQ as the source type. I left the name as default
    (linqDataSource 1) and clicked next. The dataSource wizard asked for the
    dataContext I wanted to use, but the only thing available was some
    Microsoft.* contexts. Mine wasn't listed for some reason. I then closed all
    of the windows and I got this error in the error list:

    Warning 1 Generation of designer file failed: The server tag
    'asp:LinqDataSo urce' is ambiguous. Please modify the associated registration
    that is causing ambiguity and pick a new tag prefix.



    This is using Visual Studio 2008 Team Suite. Any idea what's going on with
    this? and how to fix it?






Working...