Re: Need help understanding ASP.NET configuration error message
From: Dave Hall (dhall_at_nospam.deboy.com)
Date: 08/10/04
- Next message: walterd: "Re: Calendar in DataGrid Nightmare"
- Previous message: Scott M.: "Re: Calendar in DataGrid Nightmare"
- In reply to: Jim Cheshire [MSFT]: "Re: Need help understanding ASP.NET configuration error message"
- Next in thread: Dave Hall: "Re: Need help understanding ASP.NET configuration error message"
- Reply: Dave Hall: "Re: Need help understanding ASP.NET configuration error message"
- Reply: Jim Cheshire [MSFT]: "Re: Need help understanding ASP.NET configuration error message"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 10 Aug 2004 16:45:14 -0400
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]" <jamesche@online.microsoft.com> wrote in message
news:3nd%23nVufEHA.2876@cpmsftngxa06.phx.gbl...
> 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
> jamesche@online.microsoft.com
>
> This post is provided "AS-IS" with no warranties and confers no rights.
>
>
> --------------------
> >Reply-To: "Dave Hall" <dhall@nospam.deboy.com>
> >From: "Dave Hall" <dhall@nospam.deboy.com>
> >References: <uHMrIVcfEHA.2764@TK2MSFTNGP11.phx.gbl>
> <dITu7tifEHA.1200@cpmsftngxa06.phx.gbl>
> >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: <Op4WVAjfEHA.720@TK2MSFTNGP11.phx.gbl>
> >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]" <jamesche@online.microsoft.com> wrote in message
> >news:dITu7tifEHA.1200@cpmsftngxa06.phx.gbl...
> >> 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
> >> jamesche@online.microsoft.com
> >>
> >> This post is provided "AS-IS" with no warranties and confers no rights.
> >>
> >> --------------------
> >> >Reply-To: "Dave Hall" <dhall@nospam.deboy.com>
> >> >From: "Dave Hall" <dhall@nospam.deboy.com>
> >> >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: <uHMrIVcfEHA.2764@TK2MSFTNGP11.phx.gbl>
> >> >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
- Next message: walterd: "Re: Calendar in DataGrid Nightmare"
- Previous message: Scott M.: "Re: Calendar in DataGrid Nightmare"
- In reply to: Jim Cheshire [MSFT]: "Re: Need help understanding ASP.NET configuration error message"
- Next in thread: Dave Hall: "Re: Need help understanding ASP.NET configuration error message"
- Reply: Dave Hall: "Re: Need help understanding ASP.NET configuration error message"
- Reply: Jim Cheshire [MSFT]: "Re: Need help understanding ASP.NET configuration error message"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|