Need help understanding ASP.NET configuration error message

Discussion in 'ASP .Net Web Controls' started by Dave Hall, Aug 9, 2004.

  1. Dave Hall

    Dave Hall Guest

    Occasionally get the following configuration error message displayed in my
    browser while developing a simple one page ASP.NET page. The page uses a
    handfull of simple web controls, and seems to work fine most of the time.
    Occasionally recompiling a change in the code will result in the following
    error when I test the page. At that point, undoing the change to the code
    doesn't fix the error. I can usually close Visual Studio and the browser,
    then reopen the project, recompile, and continue with no problems. Any idea
    what's happening, and what I can do to avoid it?

    Thanks,
    Dave


    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 'microsoft.web.ui.webcontrols' could not be loaded.


    === Pre-bind state information ===
    LOG: DisplayName = microsoft.web.ui.webcontrols
    (Partial)
    LOG: Appbase = file:///c:/inetpub/wwwroot/MySchedule
    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: microsoft.web.ui.webcontrols
    LOG: Attempting download of new URL
    file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols.DLL.
    LOG: Attempting download of new URL
    file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols/microsoft.we
    b.ui.webcontrols.DLL.
    LOG: Attempting download of new URL
    file:///c:/inetpub/wwwroot/MySchedule/bin/microsoft.web.ui.webcontrols.DLL.
    LOG: Policy not being applied to reference at this time (private, custom,
    partial, or location-based assembly bind).
    LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226,
    Culture=neutral, PublicKeyToken=null
    Dave Hall, Aug 9, 2004
    #1
    1. Advertising

  2. Dave,

    You didn't include the error message in your post.

    Is this an access denied error? If so, it could be caused by a
    strong-named assembly being in the /bin folder. That is not supported.

    Jim Cheshire [MSFT]
    MCP+I, MCSE, MCSD, MCDBA
    Microsoft Developer Support


    This post is provided "AS-IS" with no warranties and confers no rights.

    --------------------
    >Reply-To: "Dave Hall" <>
    >From: "Dave Hall" <>
    >Subject: Need help understanding ASP.NET configuration error message
    >Date: Sun, 8 Aug 2004 23:59:33 -0400
    >Lines: 58
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >Message-ID: <>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net 216.36.118.187
    >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl

    microsoft.public.dotnet.framework.aspnet.webcontrols:22707
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    >
    >Occasionally get the following configuration error message displayed in my
    >browser while developing a simple one page ASP.NET page. The page uses a
    >handfull of simple web controls, and seems to work fine most of the time.
    >Occasionally recompiling a change in the code will result in the following
    >error when I test the page. At that point, undoing the change to the code
    >doesn't fix the error. I can usually close Visual Studio and the browser,
    >then reopen the project, recompile, and continue with no problems. Any idea
    >what's happening, and what I can do to avoid it?
    >
    >Thanks,
    >Dave
    >
    >
    >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 'microsoft.web.ui.webcontrols' could not be loaded.
    >
    >
    >=== Pre-bind state information ===
    >LOG: DisplayName = microsoft.web.ui.webcontrols
    > (Partial)
    >LOG: Appbase = file:///c:/inetpub/wwwroot/MySchedule
    >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: microsoft.web.ui.webcontrols
    >LOG: Attempting download of new URL
    >file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    >Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols.DLL.
    >LOG: Attempting download of new URL
    >file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    >Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols/microsoft.w

    e
    >b.ui.webcontrols.DLL.
    >LOG: Attempting download of new URL
    >file:///c:/inetpub/wwwroot/MySchedule/bin/microsoft.web.ui.webcontrols.DLL.
    >LOG: Policy not being applied to reference at this time (private, custom,
    >partial, or location-based assembly bind).
    >LOG: Post-policy reference: Microsoft.Web.UI.WebControls,

    Version=1.0.2.226,
    >Culture=neutral, PublicKeyToken=null
    >
    >
    >
    >
    >
    Jim Cheshire [MSFT], Aug 9, 2004
    #2
    1. Advertising

  3. Dave Hall

    Dave Hall Guest

    Sorry I forgot the actual error message. Yes, it is an "Access Denied"
    error, but I don't think this is an issue with a strong typed assembly
    because the only thing I do to cause the intermittant problem is change a
    line or two of code and press <F5> to recompile and debug the ASP.NET
    project. There aren't any browsers open with active sessions while I'm
    recompiling, so I don't think it's a case of anything being cached from
    before the compile. Any other ideas?

    Thanks,
    Dave

    "Jim Cheshire [MSFT]" <> wrote in message
    news:...
    > Dave,
    >
    > You didn't include the error message in your post.
    >
    > Is this an access denied error? If so, it could be caused by a
    > strong-named assembly being in the /bin folder. That is not supported.
    >
    > Jim Cheshire [MSFT]
    > MCP+I, MCSE, MCSD, MCDBA
    > Microsoft Developer Support
    >
    >
    > This post is provided "AS-IS" with no warranties and confers no rights.
    >
    > --------------------
    > >Reply-To: "Dave Hall" <>
    > >From: "Dave Hall" <>
    > >Subject: Need help understanding ASP.NET configuration error message
    > >Date: Sun, 8 Aug 2004 23:59:33 -0400
    > >Lines: 58
    > >X-Priority: 3
    > >X-MSMail-Priority: Normal
    > >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    > >Message-ID: <>
    > >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    > >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net 216.36.118.187
    > >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
    > >Xref: cpmsftngxa06.phx.gbl

    > microsoft.public.dotnet.framework.aspnet.webcontrols:22707
    > >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    > >
    > >Occasionally get the following configuration error message displayed in

    my
    > >browser while developing a simple one page ASP.NET page. The page uses a
    > >handfull of simple web controls, and seems to work fine most of the time.
    > >Occasionally recompiling a change in the code will result in the

    following
    > >error when I test the page. At that point, undoing the change to the code
    > >doesn't fix the error. I can usually close Visual Studio and the browser,
    > >then reopen the project, recompile, and continue with no problems. Any

    idea
    > >what's happening, and what I can do to avoid it?
    > >
    > >Thanks,
    > >Dave
    > >
    > >
    > >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 'microsoft.web.ui.webcontrols' could not be loaded.
    > >
    > >
    > >=== Pre-bind state information ===
    > >LOG: DisplayName = microsoft.web.ui.webcontrols
    > > (Partial)
    > >LOG: Appbase = file:///c:/inetpub/wwwroot/MySchedule
    > >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: microsoft.web.ui.webcontrols
    > >LOG: Attempting download of new URL
    > >file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    > >Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols.DLL.
    > >LOG: Attempting download of new URL
    > >file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET

    >
    >Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols/microsoft.w
    > e
    > >b.ui.webcontrols.DLL.
    > >LOG: Attempting download of new URL

    >
    >file:///c:/inetpub/wwwroot/MySchedule/bin/microsoft.web.ui.webcontrols.DLL.
    > >LOG: Policy not being applied to reference at this time (private, custom,
    > >partial, or location-based assembly bind).
    > >LOG: Post-policy reference: Microsoft.Web.UI.WebControls,

    > Version=1.0.2.226,
    > >Culture=neutral, PublicKeyToken=null
    > >
    > >
    > >
    > >
    > >

    >
    Dave Hall, Aug 9, 2004
    #3
  4. Hi Dave,

    I think it is in fact an issue with a strong-named assembly in the /bin
    folder. The IE Web Controls are strong named. If you have the Copy Local
    property set to true, you will run into this issue, but it will be random.
    The reason for that is because of the way we load assemblies into the
    application domain. Strong-named assemblies are not supported in the /bin
    folder specifically for that reason.

    Jim Cheshire [MSFT]
    MCP+I, MCSE, MCSD, MCDBA
    Microsoft Developer Support


    This post is provided "AS-IS" with no warranties and confers no rights.


    --------------------
    >Reply-To: "Dave Hall" <>
    >From: "Dave Hall" <>
    >References: <>

    <>
    >Subject: Re: Need help understanding ASP.NET configuration error message
    >Date: Mon, 9 Aug 2004 12:44:03 -0400
    >Lines: 115
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >Message-ID: <>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net 216.36.118.187
    >Path:

    cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
    .phx.gbl
    >Xref: cpmsftngxa06.phx.gbl

    microsoft.public.dotnet.framework.aspnet.webcontrols:22715
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    >
    >Sorry I forgot the actual error message. Yes, it is an "Access Denied"
    >error, but I don't think this is an issue with a strong typed assembly
    >because the only thing I do to cause the intermittant problem is change a
    >line or two of code and press <F5> to recompile and debug the ASP.NET
    >project. There aren't any browsers open with active sessions while I'm
    >recompiling, so I don't think it's a case of anything being cached from
    >before the compile. Any other ideas?
    >
    >Thanks,
    >Dave
    >
    >"Jim Cheshire [MSFT]" <> wrote in message
    >news:...
    >> Dave,
    >>
    >> You didn't include the error message in your post.
    >>
    >> Is this an access denied error? If so, it could be caused by a
    >> strong-named assembly being in the /bin folder. That is not supported.
    >>
    >> Jim Cheshire [MSFT]
    >> MCP+I, MCSE, MCSD, MCDBA
    >> Microsoft Developer Support
    >>
    >>
    >> This post is provided "AS-IS" with no warranties and confers no rights.
    >>
    >> --------------------
    >> >Reply-To: "Dave Hall" <>
    >> >From: "Dave Hall" <>
    >> >Subject: Need help understanding ASP.NET configuration error message
    >> >Date: Sun, 8 Aug 2004 23:59:33 -0400
    >> >Lines: 58
    >> >X-Priority: 3
    >> >X-MSMail-Priority: Normal
    >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >> >Message-ID: <>
    >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    >> >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net 216.36.118.187
    >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
    >> >Xref: cpmsftngxa06.phx.gbl

    >> microsoft.public.dotnet.framework.aspnet.webcontrols:22707
    >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    >> >
    >> >Occasionally get the following configuration error message displayed in

    >my
    >> >browser while developing a simple one page ASP.NET page. The page uses a
    >> >handfull of simple web controls, and seems to work fine most of the

    time.
    >> >Occasionally recompiling a change in the code will result in the

    >following
    >> >error when I test the page. At that point, undoing the change to the

    code
    >> >doesn't fix the error. I can usually close Visual Studio and the

    browser,
    >> >then reopen the project, recompile, and continue with no problems. Any

    >idea
    >> >what's happening, and what I can do to avoid it?
    >> >
    >> >Thanks,
    >> >Dave
    >> >
    >> >
    >> >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 'microsoft.web.ui.webcontrols' could not be loaded.
    >> >
    >> >
    >> >=== Pre-bind state information ===
    >> >LOG: DisplayName = microsoft.web.ui.webcontrols
    >> > (Partial)
    >> >LOG: Appbase = file:///c:/inetpub/wwwroot/MySchedule
    >> >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: microsoft.web.ui.webcontrols
    >> >LOG: Attempting download of new URL
    >> >file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    >> >Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols.DLL.
    >> >LOG: Attempting download of new URL
    >> >file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET

    >>
    >>Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols/microsoft.

    w
    >> e
    >> >b.ui.webcontrols.DLL.
    >> >LOG: Attempting download of new URL

    >>
    >>file:///c:/inetpub/wwwroot/MySchedule/bin/microsoft.web.ui.webcontrols.DLL
    Jim Cheshire [MSFT], Aug 10, 2004
    #4
  5. Dave Hall

    Dave Hall Guest

    When I look at the properties for the reference to
    Microsoft.Web.UI.WebControls, it shows Strong Name = False. The version is
    1.0.2.226 and the Runtime Version property is v1.1.4322 and the Description
    property says "(Custom Build)". Should I be using a newer version of
    Microsoft.Web.UI.WebControls that has a strong name, or am I misinterpreting
    what that Strong Name property means?

    By the way, I'm also using a reference to Microsoft.ApplicationBlocks.Data.
    The version is 2.0.0.0, and it also has Strong Name = false.

    The default references to System.Whatever have all got StrongName = true and
    CopyLocal = false

    In any case, I'll try turning off "Copy Local" for both costom references
    and see if that fixes it.

    Thanks,
    Dave

    "Jim Cheshire [MSFT]" <> wrote in message
    news:3nd%...
    > Hi Dave,
    >
    > I think it is in fact an issue with a strong-named assembly in the /bin
    > folder. The IE Web Controls are strong named. If you have the Copy Local
    > property set to true, you will run into this issue, but it will be random.
    > The reason for that is because of the way we load assemblies into the
    > application domain. Strong-named assemblies are not supported in the /bin
    > folder specifically for that reason.
    >
    > Jim Cheshire [MSFT]
    > MCP+I, MCSE, MCSD, MCDBA
    > Microsoft Developer Support
    >
    >
    > This post is provided "AS-IS" with no warranties and confers no rights.
    >
    >
    > --------------------
    > >Reply-To: "Dave Hall" <>
    > >From: "Dave Hall" <>
    > >References: <>

    > <>
    > >Subject: Re: Need help understanding ASP.NET configuration error message
    > >Date: Mon, 9 Aug 2004 12:44:03 -0400
    > >Lines: 115
    > >X-Priority: 3
    > >X-MSMail-Priority: Normal
    > >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    > >Message-ID: <>
    > >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    > >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net 216.36.118.187
    > >Path:

    >

    cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
    > phx.gbl
    > >Xref: cpmsftngxa06.phx.gbl

    > microsoft.public.dotnet.framework.aspnet.webcontrols:22715
    > >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    > >
    > >Sorry I forgot the actual error message. Yes, it is an "Access Denied"
    > >error, but I don't think this is an issue with a strong typed assembly
    > >because the only thing I do to cause the intermittant problem is change a
    > >line or two of code and press <F5> to recompile and debug the ASP.NET
    > >project. There aren't any browsers open with active sessions while I'm
    > >recompiling, so I don't think it's a case of anything being cached from
    > >before the compile. Any other ideas?
    > >
    > >Thanks,
    > >Dave
    > >
    > >"Jim Cheshire [MSFT]" <> wrote in message
    > >news:...
    > >> Dave,
    > >>
    > >> You didn't include the error message in your post.
    > >>
    > >> Is this an access denied error? If so, it could be caused by a
    > >> strong-named assembly being in the /bin folder. That is not supported.
    > >>
    > >> Jim Cheshire [MSFT]
    > >> MCP+I, MCSE, MCSD, MCDBA
    > >> Microsoft Developer Support
    > >>
    > >>
    > >> This post is provided "AS-IS" with no warranties and confers no rights.
    > >>
    > >> --------------------
    > >> >Reply-To: "Dave Hall" <>
    > >> >From: "Dave Hall" <>
    > >> >Subject: Need help understanding ASP.NET configuration error message
    > >> >Date: Sun, 8 Aug 2004 23:59:33 -0400
    > >> >Lines: 58
    > >> >X-Priority: 3
    > >> >X-MSMail-Priority: Normal
    > >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    > >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    > >> >Message-ID: <>
    > >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    > >> >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net

    216.36.118.187
    > >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
    > >> >Xref: cpmsftngxa06.phx.gbl
    > >> microsoft.public.dotnet.framework.aspnet.webcontrols:22707
    > >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    > >> >
    > >> >Occasionally get the following configuration error message displayed

    in
    > >my
    > >> >browser while developing a simple one page ASP.NET page. The page uses

    a
    > >> >handfull of simple web controls, and seems to work fine most of the

    > time.
    > >> >Occasionally recompiling a change in the code will result in the

    > >following
    > >> >error when I test the page. At that point, undoing the change to the

    > code
    > >> >doesn't fix the error. I can usually close Visual Studio and the

    > browser,
    > >> >then reopen the project, recompile, and continue with no problems. Any

    > >idea
    > >> >what's happening, and what I can do to avoid it?
    > >> >
    > >> >Thanks,
    > >> >Dave
    > >> >
    > >> >
    > >> >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 'microsoft.web.ui.webcontrols' could not be loaded.
    > >> >
    > >> >
    > >> >=== Pre-bind state information ===
    > >> >LOG: DisplayName = microsoft.web.ui.webcontrols
    > >> > (Partial)
    > >> >LOG: Appbase = file:///c:/inetpub/wwwroot/MySchedule
    > >> >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: microsoft.web.ui.webcontrols
    > >> >LOG: Attempting download of new URL
    > >> >file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    > >> >Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols.DLL.
    > >> >LOG: Attempting download of new URL
    > >> >file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    > >>

    >
    >>Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols/microsoft.

    > w
    > >> e
    > >> >b.ui.webcontrols.DLL.
    > >> >LOG: Attempting download of new URL
    > >>

    >
    >>file:///c:/inetpub/wwwroot/MySchedule/bin/microsoft.web.ui.webcontrols.DLL
    Dave Hall, Aug 10, 2004
    #5
  6. Dave Hall

    Dave Hall Guest

    If I set "Copy Local = false" for Microsoft.Web.UI.WebControls, I get Parser
    Error Message: File or assembly name Microsoft.Web.UI.WebControls, or one of
    its dependencies, was not found. while processing Line 2: <%@ Register
    TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls"
    Assembly="Microsoft.Web.UI.WebControls" %>


    If I set "Copy Local = false" for Microsoft.ApplicationBlocks.Data, I get
    System.IO.FileNotFoundException: File or assembly name
    Microsoft.ApplicationBlocks.Data, or one of its dependencies, was not found.

    Looks like I can't set Copy Local = false for either of them, but then
    again, they both have Strong Name = False, so I don;t know if I'm chasing a
    wild goose.

    Any other ideas?
    Dave

    "Dave Hall" <> wrote in message
    news:%23G%...
    > When I look at the properties for the reference to
    > Microsoft.Web.UI.WebControls, it shows Strong Name = False. The version is
    > 1.0.2.226 and the Runtime Version property is v1.1.4322 and the

    Description
    > property says "(Custom Build)". Should I be using a newer version of
    > Microsoft.Web.UI.WebControls that has a strong name, or am I

    misinterpreting
    > what that Strong Name property means?
    >
    > By the way, I'm also using a reference to

    Microsoft.ApplicationBlocks.Data.
    > The version is 2.0.0.0, and it also has Strong Name = false.
    >
    > The default references to System.Whatever have all got StrongName = true

    and
    > CopyLocal = false
    >
    > In any case, I'll try turning off "Copy Local" for both costom references
    > and see if that fixes it.
    >
    > Thanks,
    > Dave
    >
    > "Jim Cheshire [MSFT]" <> wrote in message
    > news:3nd%...
    > > Hi Dave,
    > >
    > > I think it is in fact an issue with a strong-named assembly in the /bin
    > > folder. The IE Web Controls are strong named. If you have the Copy

    Local
    > > property set to true, you will run into this issue, but it will be

    random.
    > > The reason for that is because of the way we load assemblies into the
    > > application domain. Strong-named assemblies are not supported in the

    /bin
    > > folder specifically for that reason.
    > >
    > > Jim Cheshire [MSFT]
    > > MCP+I, MCSE, MCSD, MCDBA
    > > Microsoft Developer Support
    > >
    > >
    > > This post is provided "AS-IS" with no warranties and confers no rights.
    > >
    > >
    > > --------------------
    > > >Reply-To: "Dave Hall" <>
    > > >From: "Dave Hall" <>
    > > >References: <>

    > > <>
    > > >Subject: Re: Need help understanding ASP.NET configuration error

    message
    > > >Date: Mon, 9 Aug 2004 12:44:03 -0400
    > > >Lines: 115
    > > >X-Priority: 3
    > > >X-MSMail-Priority: Normal
    > > >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    > > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    > > >Message-ID: <>
    > > >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    > > >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net

    216.36.118.187
    > > >Path:

    > >

    >

    cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
    > > phx.gbl
    > > >Xref: cpmsftngxa06.phx.gbl

    > > microsoft.public.dotnet.framework.aspnet.webcontrols:22715
    > > >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    > > >
    > > >Sorry I forgot the actual error message. Yes, it is an "Access Denied"
    > > >error, but I don't think this is an issue with a strong typed assembly
    > > >because the only thing I do to cause the intermittant problem is change

    a
    > > >line or two of code and press <F5> to recompile and debug the ASP.NET
    > > >project. There aren't any browsers open with active sessions while I'm
    > > >recompiling, so I don't think it's a case of anything being cached from
    > > >before the compile. Any other ideas?
    > > >
    > > >Thanks,
    > > >Dave
    > > >
    Dave Hall, Aug 10, 2004
    #6
  7. Hi Dave,

    Okay, in that case you may have a later version that I did. I think the
    newer version of the Web controls may not be strong-named. Sorry. Just
    not sure since we don't support those controls. (I'm really not trying to
    repeat "not supported" over and over.)

    Perhaps you are encountering the following issue:

    http://support.microsoft.com/default.aspx?scid=KB;EN-US;329065


    Jim Cheshire [MSFT]
    MCP+I, MCSE, MCSD, MCDBA
    Microsoft Developer Support


    This post is provided "AS-IS" with no warranties and confers no rights.


    --------------------
    >Reply-To: "Dave Hall" <>
    >From: "Dave Hall" <>
    >References: <>

    <>
    <>
    <3nd#>
    >Subject: Re: Need help understanding ASP.NET configuration error message
    >Date: Tue, 10 Aug 2004 16:45:14 -0400
    >Lines: 177
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >Message-ID: <#G#>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net 216.36.118.187
    >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl

    microsoft.public.dotnet.framework.aspnet.webcontrols:22733
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    >
    >When I look at the properties for the reference to
    >Microsoft.Web.UI.WebControls, it shows Strong Name = False. The version is
    >1.0.2.226 and the Runtime Version property is v1.1.4322 and the Description
    >property says "(Custom Build)". Should I be using a newer version of
    >Microsoft.Web.UI.WebControls that has a strong name, or am I

    misinterpreting
    >what that Strong Name property means?
    >
    >By the way, I'm also using a reference to Microsoft.ApplicationBlocks.Data.
    >The version is 2.0.0.0, and it also has Strong Name = false.
    >
    >The default references to System.Whatever have all got StrongName = true

    and
    >CopyLocal = false
    >
    >In any case, I'll try turning off "Copy Local" for both costom references
    >and see if that fixes it.
    >
    >Thanks,
    >Dave
    >
    >"Jim Cheshire [MSFT]" <> wrote in message
    >news:3nd%...
    >> Hi Dave,
    >>
    >> I think it is in fact an issue with a strong-named assembly in the /bin
    >> folder. The IE Web Controls are strong named. If you have the Copy

    Local
    >> property set to true, you will run into this issue, but it will be

    random.
    >> The reason for that is because of the way we load assemblies into the
    >> application domain. Strong-named assemblies are not supported in the

    /bin
    >> folder specifically for that reason.
    >>
    >> Jim Cheshire [MSFT]
    >> MCP+I, MCSE, MCSD, MCDBA
    >> Microsoft Developer Support
    >>
    >>
    >> This post is provided "AS-IS" with no warranties and confers no rights.
    >>
    >>
    >> --------------------
    >> >Reply-To: "Dave Hall" <>
    >> >From: "Dave Hall" <>
    >> >References: <>

    >> <>
    >> >Subject: Re: Need help understanding ASP.NET configuration error message
    >> >Date: Mon, 9 Aug 2004 12:44:03 -0400
    >> >Lines: 115
    >> >X-Priority: 3
    >> >X-MSMail-Priority: Normal
    >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >> >Message-ID: <>
    >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    >> >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net 216.36.118.187
    >> >Path:

    >>

    >cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1

    1
    >> phx.gbl
    >> >Xref: cpmsftngxa06.phx.gbl

    >> microsoft.public.dotnet.framework.aspnet.webcontrols:22715
    >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    >> >
    >> >Sorry I forgot the actual error message. Yes, it is an "Access Denied"
    >> >error, but I don't think this is an issue with a strong typed assembly
    >> >because the only thing I do to cause the intermittant problem is change

    a
    >> >line or two of code and press <F5> to recompile and debug the ASP.NET
    >> >project. There aren't any browsers open with active sessions while I'm
    >> >recompiling, so I don't think it's a case of anything being cached from
    >> >before the compile. Any other ideas?
    >> >
    >> >Thanks,
    >> >Dave
    >> >
    >> >"Jim Cheshire [MSFT]" <> wrote in message
    >> >news:...
    >> >> Dave,
    >> >>
    >> >> You didn't include the error message in your post.
    >> >>
    >> >> Is this an access denied error? If so, it could be caused by a
    >> >> strong-named assembly being in the /bin folder. That is not

    supported.
    >> >>
    >> >> Jim Cheshire [MSFT]
    >> >> MCP+I, MCSE, MCSD, MCDBA
    >> >> Microsoft Developer Support
    >> >>
    >> >>
    >> >> This post is provided "AS-IS" with no warranties and confers no

    rights.
    >> >>
    >> >> --------------------
    >> >> >Reply-To: "Dave Hall" <>
    >> >> >From: "Dave Hall" <>
    >> >> >Subject: Need help understanding ASP.NET configuration error message
    >> >> >Date: Sun, 8 Aug 2004 23:59:33 -0400
    >> >> >Lines: 58
    >> >> >X-Priority: 3
    >> >> >X-MSMail-Priority: Normal
    >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >> >> >Message-ID: <>
    >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    >> >> >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net

    >216.36.118.187
    >> >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
    >> >> >Xref: cpmsftngxa06.phx.gbl
    >> >> microsoft.public.dotnet.framework.aspnet.webcontrols:22707
    >> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    >> >> >
    >> >> >Occasionally get the following configuration error message displayed

    >in
    >> >my
    >> >> >browser while developing a simple one page ASP.NET page. The page

    uses
    >a
    >> >> >handfull of simple web controls, and seems to work fine most of the

    >> time.
    >> >> >Occasionally recompiling a change in the code will result in the
    >> >following
    >> >> >error when I test the page. At that point, undoing the change to the

    >> code
    >> >> >doesn't fix the error. I can usually close Visual Studio and the

    >> browser,
    >> >> >then reopen the project, recompile, and continue with no problems.

    Any
    >> >idea
    >> >> >what's happening, and what I can do to avoid it?
    >> >> >
    >> >> >Thanks,
    >> >> >Dave
    >> >> >
    >> >> >
    >> >> >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 'microsoft.web.ui.webcontrols' could not be loaded.
    >> >> >
    >> >> >
    >> >> >=== Pre-bind state information ===
    >> >> >LOG: DisplayName = microsoft.web.ui.webcontrols
    >> >> > (Partial)
    >> >> >LOG: Appbase = file:///c:/inetpub/wwwroot/MySchedule
    >> >> >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: microsoft.web.ui.webcontrols
    >> >> >LOG: Attempting download of new URL
    >> >> >file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    >> >> >Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols.DLL.
    >> >> >LOG: Attempting download of new URL
    >> >> >file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    >> >>

    >>
    >>>Files/Myschedule/fc5215f8/80ba20c7/microsoft.web.ui.webcontrols/microsoft
    Jim Cheshire [MSFT], Aug 10, 2004
    #7
  8. Dave Hall

    Dave Hall Guest

    I don't mind trying a few things along the way, so there's no problem with
    an occasional wild goose chase. I think the KB article you referenced may
    describe the real issue though. The symptoms are intermittant like the ones
    described in the article, and the explanation makes sense. I do have index
    service running, so I've excluded the ASP.NET temp directories from being
    indexed as described in the article. Only time will tell if that actually
    resolves the problem I was encounteing, but I'm hopeful.

    Thanks for your persistence.
    Dave

    "Jim Cheshire [MSFT]" <> wrote in message
    news:D...
    > Hi Dave,
    >
    > Okay, in that case you may have a later version that I did. I think the
    > newer version of the Web controls may not be strong-named. Sorry. Just
    > not sure since we don't support those controls. (I'm really not trying to
    > repeat "not supported" over and over.)
    >
    > Perhaps you are encountering the following issue:
    >
    > http://support.microsoft.com/default.aspx?scid=KB;EN-US;329065
    >
    >
    > Jim Cheshire [MSFT]
    > MCP+I, MCSE, MCSD, MCDBA
    > Microsoft Developer Support
    >
    >
    > This post is provided "AS-IS" with no warranties and confers no rights.
    >
    >
    Dave Hall, Aug 11, 2004
    #8
  9. Thanks for the update, Dave. I'll keep my fingers crossed.

    Jim Cheshire [MSFT]
    MCP+I, MCSE, MCSD, MCDBA
    Microsoft Developer Support


    This post is provided "AS-IS" with no warranties and confers no rights.


    --------------------
    >Reply-To: "Dave Hall" <>
    >From: "Dave Hall" <>
    >References: <>

    <>
    <>
    <3nd#>
    <#G#>
    <>
    >Subject: Re: Need help understanding ASP.NET configuration error message
    >Date: Wed, 11 Aug 2004 00:02:15 -0400
    >Lines: 35
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >Message-ID: <uSPi#>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    >NNTP-Posting-Host: ip-216-36-118-187.dsl.atl.megapath.net 216.36.118.187
    >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl

    microsoft.public.dotnet.framework.aspnet.webcontrols:22741
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    >
    >I don't mind trying a few things along the way, so there's no problem with
    >an occasional wild goose chase. I think the KB article you referenced may
    >describe the real issue though. The symptoms are intermittant like the ones
    >described in the article, and the explanation makes sense. I do have index
    >service running, so I've excluded the ASP.NET temp directories from being
    >indexed as described in the article. Only time will tell if that actually
    >resolves the problem I was encounteing, but I'm hopeful.
    >
    >Thanks for your persistence.
    >Dave
    >
    >"Jim Cheshire [MSFT]" <> wrote in message
    >news:D...
    >> Hi Dave,
    >>
    >> Okay, in that case you may have a later version that I did. I think the
    >> newer version of the Web controls may not be strong-named. Sorry. Just
    >> not sure since we don't support those controls. (I'm really not trying

    to
    >> repeat "not supported" over and over.)
    >>
    >> Perhaps you are encountering the following issue:
    >>
    >> http://support.microsoft.com/default.aspx?scid=KB;EN-US;329065
    >>
    >>
    >> Jim Cheshire [MSFT]
    >> MCP+I, MCSE, MCSD, MCDBA
    >> Microsoft Developer Support
    >>
    >>
    >> This post is provided "AS-IS" with no warranties and confers no rights.
    >>
    >>

    >
    >
    >
    Jim Cheshire [MSFT], Aug 12, 2004
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Leon Shaw

    understanding error message

    Leon Shaw, Aug 5, 2003, in forum: ASP .Net
    Replies:
    7
    Views:
    366
    S. Justin Gengo
    Aug 6, 2003
  2. Replies:
    1
    Views:
    2,793
  3. =?Utf-8?B?UmlkZXI=?=

    Question about "Configuration Error" Message

    =?Utf-8?B?UmlkZXI=?=, Dec 2, 2005, in forum: ASP .Net
    Replies:
    11
    Views:
    6,734
    johnfraj
    Apr 19, 2007
  4. Mark
    Replies:
    0
    Views:
    792
  5. Albert Frausto

    Configuration Error Message

    Albert Frausto, Jan 27, 2010, in forum: ASP .Net
    Replies:
    8
    Views:
    870
    Alexey Smirnov
    Mar 3, 2010
Loading...

Share This Page