Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. code behind

code behind

Scheduled Pinned Locked Moved ASP.NET
questioncsharphelpasp-netalgorithms
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shambho
    wrote on last edited by
    #1

    I wrote a aspx page with codebehind in C#. The cs file name is Mycodebehind.aspx.cs aspx file is MyCodebehind.aspx I compiled the output library as csc /t:library /out:anand.dll MyCodebehind.aspx.cs I moved the anand.dll to bin. Every thing works fine. Now come the issue. Now i think the aspx page will be searching for the MyPage.MyCodebehind inside the bin folder as my namespace is MyPage.MyCodebehind. I think so because if the anand.dll is not there is shows unable to load MyPage.MyCodebehind error. So to check that i renamed anand.dll to anand1.dll It gave me an error The located assembly's manifest definition with name 'anand1' does not match the assembly reference. Source Error Stack trace === Pre-bind state information === LOG: DisplayName = anand1 (Partial) LOG: Appbase = file:///c:/inetpub/wwwroot/Tests LOG: Initial PrivatePath = bin Calling assembly : (Unknown). === LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: anand1 LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/tests/431ffba2/3e5b2ba7/anand1.DLL. LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/tests/431ffba2/3e5b2ba7/anand1/anand1.DLL. LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/Tests/bin/anand1.DLL. WRN: Comparing the assembly name resulted in the mismatch: NAME what is it actually looking for where is it written down that the required d class is there in that dll anand.dll can i change that to anand1.dll ? Whats going on can any body explain me with details plz. Thanks a lot in advance. Sorry for troubling u with a big question for a simple issue. anand

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups