Could not load type error

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

  1. #1

    Default Could not load type error

    Hi,

    I have created sub directories for my application, however, when I
    try to access the aspx files in the subdirectory, I get the
    following error : "Could Not Load A1.A2" where A1 is the name of my
    project and A2 is the name of my subdirectory. It looks like the
    program is looking for the bin folder in the subdirectory, not the
    root directory; I know this because if I copy the bin directory from
    the root directory to the subdirectory, it works fine. Is there any
    way to tell IIS to use the root directory bin folder instead of
    looking in the subdirectory??

    Thanks in advance

    Cheers
    Sumit






    Sumit Thomas Guest

  2. Similar Questions and Discussions

    1. Could not load Type ... Error
      Hi everybody, I'm a new be in ASP.NET Below I'm sending the error page. How can I solve the problem: Thanks for any answers
    2. C# error - Could not load type TGA.Global.asax
      I am new to C# and have imported a C# application developed by another developer into my development box. I am getting an error that I cannot fix...
    3. Parser Error Message: Could not load type - Please HELP
      I have aspx file VS.NET 2002 with c# My application works perfectly on my pc. Please, I need help... THANKS :) ============================= 1) I...
    4. Parse error: "could not load type"
      I'm hoping someone can explain the following. I have installed Visual Studio 2003. Setup several web application projects, compliled and ran...
    5. Cast from type 'DBNull' to type 'String' is not valid error
      Trying to add an insert button Sub btnAddRow_Click event for adding a row to the datagrid and dataset back to SQL. Had it working per the...
  3. #2

    Default RE: Could not load type error

    No, it must be in a sub folder or the GAC (Global Assembly Cache) for .NET to be able to load the resource

    -Eric
    Eric Marvets 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