Professional Web Applications Themes

Compilation Error - Please Help - ASP.NET General

Hi all I've been getting the following compilation error. I should explain the background of the project that i am taking over. This is a project that has been developed by someone else a while ago using dreamweaver, I am basically trying to migrate the project into a Visual Studio .NET environment before I start enhancing it. Any suggestions on where the source of error may be would be greatly appreciated. Cheers James 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 ...

  1. #1

    Default Compilation Error - Please Help

    Hi all

    I've been getting the following compilation error. I should explain the
    background of the project that i am taking over. This is a project that has
    been developed by someone else a while ago using dreamweaver, I am basically
    trying to migrate the project into a Visual Studio .NET environment before I
    start enhancing it.

    Any suggestions on where the source of error may be would be greatly
    appreciated.

    Cheers

    James
    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: 'Wiliam.Request.LoginPage' is defined in
    multiple places; using definition from
    'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Tempor ary ASP.NET
    Files\ticketing\51e97ea9\cbdc4eb9\assembly\dl\b46c 1607\c1f6bd86_7f68c301\Tic
    keting.DLL'


    More details here
    http://www.oceanware.com.au/~anna/boy/Wiliam/doentation/Compilation%20Error.htm


    James Guest

  2. #2

    Default Re: Compilation Error - Please Help

    Apparently, you have a class which has multiple definitions within the same
    namespace in your code. Should be pretty easy to track down. Are you using
    C#? If so, it is certainly possible to create 2 class files, define the same
    namespace in each, and create a duplicate class within the same namespace.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    http://www.takempis.com
    The more I learn, the less I know.

    "James Zhuo" <com.au> wrote in message
    news:phx.gbl... 
    has 
    basically 

    required 
    details 
    Files\ticketing\51e97ea9\cbdc4eb9\assembly\dl\b46c 1607\c1f6bd86_7f68c301\Tic 
    http://www.oceanware.com.au/~anna/boy/Wiliam/doentation/Compilation%20Error.htm 


    Kevin Guest

  3. #3

    Default Re: Compilation Error - Please Help

    Thanx Kevin.

    Yes I am using C#. Following your suggestion, I'll try to give it a more
    thorough look 2moro when I get to work as it is a medium size project
    (rather large from my perspective)

    The thing I don't quite get tho is - this project is already a working
    project, it currently compiles and runs on a production server. All i am
    trying to do is get it to run under the Visual Studio environment so that i
    can enhance it with less hassle. I have hardly started any modification to
    the current code, the only changes that i have made is with reference to the
    web.config file and some changes to aspx <% page directive where the code
    behind files are defined (the last person who worked on the project put all
    the project files within a ./cs directory).

    Cheers

    J

    PS: I'll certainly post back with any positive results. :)
    ..
    "Kevin Spencer" <com> wrote in message
    news:phx.gbl... 
    same 
    same 
    > has 
    > basically [/ref]
    before 
    > required 
    > details 
    >[/ref]
    Files\ticketing\51e97ea9\cbdc4eb9\assembly\dl\b46c 1607\c1f6bd86_7f68c301\Tic 
    >[/ref]
    http://www.oceanware.com.au/~anna/boy/Wiliam/doentation/Compilation%20Error.htm 
    >
    >[/ref]


    James Guest

Similar Threads

  1. error message: Microsoft JScript compilation error '800a03ec'
    By blacksmith77 in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 0
    Last Post: November 15th, 02:47 PM
  2. ASP.NET Compilation Error
    By Michael Anderson in forum ASP.NET Web Services
    Replies: 3
    Last Post: June 10th, 03:24 PM
  3. Compilation Error
    By Krissy in forum ASP.NET Web Services
    Replies: 3
    Last Post: November 17th, 05:33 AM
  4. Replies: 4
    Last Post: September 9th, 02:55 AM
  5. Compilation Error at runtime
    By Daniel Melo in forum ASP.NET General
    Replies: 0
    Last Post: July 15th, 02:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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