Strange Error in ASP.NET C# Application

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Strange Error in ASP.NET C# Application

    This one has me stumped. I'm looking at support files for a C# textbook,
    including three ASP.NET applications that use Access databases. I create
    virtual directories for the applications in IIS (running Win XP SP1 and Win
    2000 SP4 dual boot - error occurs under either OS), then load the app into
    the VS.NET 2003 IDE. When I attempt to run the application, I get the
    following error in my browser, instead of the startup page:

    Server Error in '/RoadSignReview' Application.

    Compilation Error
    Description: An error occurred during the compilation of a resource required
    to service this request. Please review the following specific error details
    and modify your source code appropriately.

    Compiler Error Message: CS1595: 'RoadSignReview.RoadSigns' is defined in
    multiple places; using definition from
    'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
    Files\roadsignreview\cebae5e1\8b8437d2\assembly\dl 2\da6e1f98\00031afb_ea55c3
    01\RoadSignReviewCS.DLL'

    Source Error:


    Line 27:
    Line 28:
    [System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
    Line 29: public class RoadSigns_aspx : RoadSignReview.RoadSigns,
    System.Web.SessionState.IRequiresSessionState {
    Line 30:
    Line 31:

    Source File: c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
    Files\roadsignreview\cebae5e1\8b8437d2\ss6l2cvv.0. cs Line: 29

    The above does not, of course, refer to anything the developer created.
    And, just to make it even more fun, if I create this application myself on
    the same PC (using the source code in the book), it runs OK.
    Remember, this same phenomenon in *three different* apps.

    If anybody has seen this and/or has any idea how to deal with it, I'd very
    much appreciate some feedback.

    --
    ************************************************** ********************
    ** All opinions are mine alone.Do not attribute elsewhere!
    ************************************************** ********************
    ** Peter van der Goes, Professor, Computers & Information Technology
    ** Rose State College
    *********************** Contact ************************************
    ** Office e-mail: [email]pvan@rose.edu[/email]
    ** Home e-mail: [email]p_vandergoes@cox.net[/email]
    ** Web Page: [url]http://www.rose.edu/Faculty/pvan/index.htm[/url]
    ************************************************** ********************



    Peter van der Goes Guest

  2. Similar Questions and Discussions

    1. strange behavior of session var in Application.cfm
      I have an Application.cfm file in my application that seems to have a strange bug in it. The file starts with: <cfapplication name="CMET"...
    2. Strange error
      "Sid" <sidh@hathway.com> wrote in message news:007b01c37c8a$508f8560$1700a8c0@webqueztserver... works fine at my localhost. rush --...
    3. Strange error on NT
      Projector (created with version 8.5.1 and packaged as a standard projector file) demands that Shockwave Player 8.5 to be installed on the laptop...
    4. Strange problem with ? parameter substitution with ESQL/C application
      We recently ran into this type of behavior as well with ESQL/COBOL (please don't ask). We were given 163480 as the bug number and it was introduced...
    5. Strange problem with ? parameter substitution with ESQL/C application against 9.40
      On Tue, 05 Aug 2003 05:41:11 -0400, Chris Hall wrote: Looks like the engine is seeing the parameters as strings. If so you may have a conversion...
  3. #2

    Default Re: Strange Error in ASP.NET C# Application


    "codewriter" <code_writer_2003@yahoo.com> wrote in message
    news:hcfXa.319$pq5.100276@news20.bellglobal.com...
    > This question has been asked hundreds of times before, as far as I
    remember.
    > The couse is either conflicting assemblies for the same source or code
    > behind tags are screwed up.
    > Delete your dlls and recompile.
    >
    I appreciate the information. Works like a charm.
    Somehow, I was unable to find this simple fix on my own, but I won't forget
    it.
    Thanks very much!


    Peter van der Goes Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139