Newbie confusion?

Discussion in 'ASP .Net' started by James Hunter Ross, Mar 7, 2006.

  1. Friends, I am a very seasoned developer, but very new to ASP.NET.
    Occasionally I get errors displayed in the browser while visiting my ASP.NET

    Compiler Error Message: CS0433: The type 'RSWEBNET.InventoryGrid' exists in
    both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET

    Anyway, there is a conflict between to DLLs, I guess. Of course, I didn't
    put these DLLs into these places. I'm sure I can fix this and move on by
    simply deleting a directory or two. But my questions...

    Why do these directories exist when the "real" DLLs live under
    Are the mechanisms that are supped eliminate DLL-hell actually creating a
    new DLL-hell on my behalf?
    Am I missing some fundamental clues, and if so, can you refer me to an
    informative link or two?

    I sincerely appreciate any time you spend reading and responding to this. I
    hope I can help you folks at some point in the future. Thanks in advance
    for your time and words!

    James Hunter Ross
    James Hunter Ross, Mar 7, 2006
    1. Advertisements

  2. James Hunter Ross

    Darren Kopp Guest

    I'm not positive where you are getting the duplicate definition's from,
    but to answer your other question, those DLL's are being created under
    those temporary directories so that ASP.NET can lock the files for use
    for the web server, but allowing you to edit the application at the
    same time. It's basically shadow copies.

    As for your your other problem, it looks like you are defining a class
    InventoryGrid in inventorygrid.aspx, and using a reference to
    RSWebNET.DLL which defines InventoryGrid as well, but it's hard to

    Darren Kopp
    Darren Kopp, Mar 7, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.