dll error in a webform page???

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

  1. #1

    Default Re: dll error in a webform page???

    > How can I resolve this situation?

    place the new version of this dll in the following
    directory "c:/inetpub/wwwroot/Nicem_Scheduling/bin"

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of little things.

    "bill yeager" <wsyeager36@msn.com> wrote in message
    news:0f0301c3513c$ab5f1a10$a601280a@phx.gbl...
    > During execution of a multi-tiered website, I get the
    > following error that .Net can't load the following DLL
    > (nOTICE THE DataAccessLayer.DLL)
    >
    > Parser Error Message: Access is denied: 'DataAccessLayer'.
    >
    > Source Error:
    >
    >
    > Line 196: <add
    > assembly="System.EnterpriseServices, Version=1.0.5000.0,
    > Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    > Line 197: <add
    > assembly="System.Web.Mobile, Version=1.0.5000.0,
    > Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    > Line 198: <add assembly="*"/>
    > Line 199: </assemblies>
    > Line 200: </compilation>
    >
    >
    > Source File: c:\winnt\microsoft.net\framework\v1.1.4322
    > \Config\machine.config Line: 198
    >
    > Assembly Load Trace: The following information can be
    > helpful to determine why the assembly 'DataAccessLayer'
    > could not be loaded.
    >
    >
    > === Pre-bind state information ===
    > LOG: DisplayName = DataAccessLayer
    > (Partial)
    > LOG: Appbase = file:///c:/inetpub/wwwroot/Nicem_Scheduling
    > 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: DataAccessLayer
    > LOG: Attempting download of new URL
    > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporar
    > y ASP.NET
    > Files/nicem_scheduling/4f9aa495/7b31bb07/DataAccessLayer.DL
    > L.
    > LOG: Attempting download of new URL
    > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporar
    > y ASP.NET
    > Files/nicem_scheduling/4f9aa495/7b31bb07/DataAccessLayer/Da
    > taAccessLayer.DLL.
    > LOG: Attempting download of new URL
    > file:///c:/inetpub/wwwroot/Nicem_Scheduling/bin/DataAccessL
    > ayer.DLL.
    > LOG: Policy not being applied to reference at this time
    > (private, custom, partial, or location-based assembly
    > bind).
    > LOG: Post-policy reference: DataAccessLayer,
    > Version=1.0.1298.25886, Culture=neutral,
    > PublicKeyToken=null
    >
    >
    > Once I place the new version of this dll in the following
    > directory "c:/inetpub/wwwroot/Nicem_Scheduling/bin", it
    > works fine.
    >
    > On subsequent executions of the same web page, I get the
    > above error even though I havn't changed any settings or
    > code on any of my 3 tiers.
    >
    > I checked to make sure that the ASPNET user has Admin
    > rights, which it does.
    >
    > How can I resolve this situation?
    >
    > Thanks,
    >
    > Bill

    Kevin Spencer Guest

  2. Similar Questions and Discussions

    1. Accessing Values of local variables in previous page when using custom error page
      Hello, I have created a nice funky 500 - 100 error page which gives a nicer error; happily loops through and supplies querysting information, all...
    2. Run .exe from WebForm
      How can I run an .exe (located at the server) from within a WebForm? For example, run "word.exe mydoc.txt"
    3. webform calling webservice page in the same project!!
      Hello, I have MyPage.aspx and MyService.asmx in the same project MyProject. All the Business logic is created in the Service and UI components...
    4. Including WebForm Image Control in a Webform Table Control
      What is the code for including an image control in a Table control of a WebForm ???? regards
    5. Error adding a simple textbox to a webform
      Me.Page.Controls(1).Controls.Add(x) HTH Regards Sushila ..NET MVP
  3. #2

    Default Re: dll error in a webform page???

    I was quoting you. You said:
    > Once I place the new version of this dll in the
    > following
    > directory "c:/inetpub/wwwroot/Nicem_Scheduling/bin", it
    > works fine.
    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of little things.

    "bill yeager" <wsyeager36@msn.com> wrote in message
    news:03a601c35153$4f2b0260$a101280a@phx.gbl...
    > Kevin, the new version of the dll is already in the
    > directory....
    >
    > >-----Original Message-----
    > >> How can I resolve this situation?
    > >
    > >place the new version of this dll in the following
    > >directory "c:/inetpub/wwwroot/Nicem_Scheduling/bin"
    > >
    > >--
    > >HTH,
    > >
    > >Kevin Spencer
    > >Microsoft MVP
    > >..Net Developer
    > >[url]http://www.takempis.com[/url]
    > >Big things are made up of
    > >lots of little things.
    > >
    > >"bill yeager" <wsyeager36@msn.com> wrote in message
    > >news:0f0301c3513c$ab5f1a10$a601280a@phx.gbl...
    > >> During execution of a multi-tiered website, I get the
    > >> following error that .Net can't load the following DLL
    > >> (nOTICE THE DataAccessLayer.DLL)
    > >>
    > >> Parser Error Message: Access is
    > denied: 'DataAccessLayer'.
    > >>
    > >> Source Error:
    > >>
    > >>
    > >> Line 196: <add
    > >> assembly="System.EnterpriseServices, Version=1.0.5000.0,
    > >> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    > >> Line 197: <add
    > >> assembly="System.Web.Mobile, Version=1.0.5000.0,
    > >> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    > >> Line 198: <add assembly="*"/>
    > >> Line 199: </assemblies>
    > >> Line 200: </compilation>
    > >>
    > >>
    > >> Source File: c:\winnt\microsoft.net\framework\v1.1.4322
    > >> \Config\machine.config Line: 198
    > >>
    > >> Assembly Load Trace: The following information can be
    > >> helpful to determine why the assembly 'DataAccessLayer'
    > >> could not be loaded.
    > >>
    > >>
    > >> === Pre-bind state information ===
    > >> LOG: DisplayName = DataAccessLayer
    > >> (Partial)
    > >> LOG: Appbase =
    > file:///c:/inetpub/wwwroot/Nicem_Scheduling
    > >> 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: DataAccessLayer
    > >> LOG: Attempting download of new URL
    > >>
    > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporar
    > >> y ASP.NET
    > >>
    > Files/nicem_scheduling/4f9aa495/7b31bb07/DataAccessLayer.DL
    > >> L.
    > >> LOG: Attempting download of new URL
    > >>
    > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporar
    > >> y ASP.NET
    > >>
    > Files/nicem_scheduling/4f9aa495/7b31bb07/DataAccessLayer/Da
    > >> taAccessLayer.DLL.
    > >> LOG: Attempting download of new URL
    > >>
    > file:///c:/inetpub/wwwroot/Nicem_Scheduling/bin/DataAccessL
    > >> ayer.DLL.
    > >> LOG: Policy not being applied to reference at this time
    > >> (private, custom, partial, or location-based assembly
    > >> bind).
    > >> LOG: Post-policy reference: DataAccessLayer,
    > >> Version=1.0.1298.25886, Culture=neutral,
    > >> PublicKeyToken=null
    > >>
    > >>
    > >> Once I place the new version of this dll in the
    > following
    > >> directory "c:/inetpub/wwwroot/Nicem_Scheduling/bin", it
    > >> works fine.
    > >>
    > >> On subsequent executions of the same web page, I get the
    > >> above error even though I havn't changed any settings or
    > >> code on any of my 3 tiers.
    > >>
    > >> I checked to make sure that the ASPNET user has Admin
    > >> rights, which it does.
    > >>
    > >> How can I resolve this situation?
    > >>
    > >> Thanks,
    > >>
    > >> Bill
    > >
    > >
    > >.
    > >

    Kevin Spencer 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