Too many assemblies asp.net

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

  1. #1

    Default Too many assemblies asp.net

    I have been developing several web applications in VB.NET. I have
    started to notice that when I run one of the applications, all the
    assemblies for that application get loaded PLUS all the assemblies for
    the other applications. I do not like this behavior and want only the
    required assemblies to get loaded. Any suggestions and overall
    information would be greatly appreciated.
    Lance Barger Guest

  2. Similar Questions and Discussions

    1. Are MS Assemblies in the GAC?
      I want to create strongly signed support assemblies so they can be shared by different ASP.NET web apps. This requires that they be installed into...
    2. Can't reference Assemblies in GAC?
      I've just created a simple class library, gave it a strong name using sn.exe, then copied it to c:\winnt\assembly directory. I then created an ASP...
    3. Locating assemblies in ASP.NET
      An ASPX page in a virtual directory does not find the compiled assembly containing the base class located in the application's bin directory...
    4. Locate assemblies in ASP.NET
      look into machine.config file "Hilton" <nomail@intellilogic.com> wrote in message news:02a701c34d05$7bba5490$a001280a@phx.gbl...
    5. versioning of assemblies
      Hi, I was reading a doc on versioning, and came to know that versioning of assemblies are easier than ever. Can sb pl mention me, how this can be...
  3. #2

    Default RE: Too many assemblies asp.net

    Hello Lance,

    You can view binding information in the log file using the Assembly Binding Log Viewer (Fuslogvw.exe), which is included in
    the .NET Framework SDK.

    The process of locating and binding to an assembly begins when the runtime attempts to resolve a reference to another
    assembly. This reference can be either static or dynamic. The compiler records static references in the assembly manifest's
    metadata at build time. Dynamic references are constructed on the fly as a result of calling various methods, such as
    System.Reflection.Assembly.Load.

    However, I don't think that a web application would load other web app's assembly. Could you please let us know how you
    detected it?

    Thanks.

    Best regards,
    Yanhong Huang
    Microsoft Online Partner Support

    Get Secure! - [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: [email]lance@parsecorp.com[/email] (Lance Barger)
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !Subject: Too many assemblies asp.net
    !Date: 17 Jul 2003 08:33:54 -0700
    !Organization: [url]http://groups.google.com/[/url]
    !Lines: 6
    !Message-ID: <c0ba5d2b.0307170733.356c49c9@posting.google.com >
    !NNTP-Posting-Host: 216.98.201.200
    !Content-Type: text/plain; charset=ISO-8859-1
    !Content-Transfer-Encoding: 8bit
    !X-Trace: posting.google.com 1058456035 7334 127.0.0.1 (17 Jul 2003 15:33:55 GMT)
    !X-Complaints-To: [email]groups-abuse@google.com[/email]
    !NNTP-Posting-Date: 17 Jul 2003 15:33:55 GMT
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!
    news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:159974
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !I have been developing several web applications in VB.NET. I have
    !started to notice that when I run one of the applications, all the
    !assemblies for that application get loaded PLUS all the assemblies for
    !the other applications. I do not like this behavior and want only the
    !required assemblies to get loaded. Any suggestions and overall
    !information would be greatly appreciated.
    !


    Yan-Hong Huang[MSFT] Guest

  4. #3

    Default Re: Too many assemblies asp.net

    [email]yhhuang@online.microsoft.com[/email] (Yan-Hong Huang[MSFT]) wrote in message news:<nDBlPz0TDHA.1132@cpmsftngxa06.phx.gbl>...
    > Hello Lance,
    >
    > You can view binding information in the log file using the Assembly Binding Log Viewer (Fuslogvw.exe), which is included in
    > the .NET Framework SDK.
    >
    > The process of locating and binding to an assembly begins when the runtime attempts to resolve a reference to another
    > assembly. This reference can be either static or dynamic. The compiler records static references in the assembly manifest's
    > metadata at build time. Dynamic references are constructed on the fly as a result of calling various methods, such as
    > System.Reflection.Assembly.Load.
    >
    > However, I don't think that a web application would load other web app's assembly. Could you please let us know how you
    > detected it?
    >
    > Thanks.
    >
    > Best regards,
    > Yanhong Huang
    > Microsoft Online Partner Support
    >
    > Get Secure! - [url]www.microsoft.com/security[/url]
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    >
    > --------------------
    > !From: [email]lance@parsecorp.com[/email] (Lance Barger)
    > !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > !Subject: Too many assemblies asp.net
    > !Date: 17 Jul 2003 08:33:54 -0700
    > !Organization: [url]http://groups.google.com/[/url]
    > !Lines: 6
    > !Message-ID: <c0ba5d2b.0307170733.356c49c9@posting.google.com >
    > !NNTP-Posting-Host: 216.98.201.200
    > !Content-Type: text/plain; charset=ISO-8859-1
    > !Content-Transfer-Encoding: 8bit
    > !X-Trace: posting.google.com 1058456035 7334 127.0.0.1 (17 Jul 2003 15:33:55 GMT)
    > !X-Complaints-To: [email]groups-abuse@google.com[/email]
    > !NNTP-Posting-Date: 17 Jul 2003 15:33:55 GMT
    > !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!
    > news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
    > !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:159974
    > !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > !
    > !I have been developing several web applications in VB.NET. I have
    > !started to notice that when I run one of the applications, all the
    > !assemblies for that application get loaded PLUS all the assemblies for
    > !the other applications. I do not like this behavior and want only the
    > !required assemblies to get loaded. Any suggestions and overall
    > !information would be greatly appreciated.
    > !
    I can see them getting loaded by viewing the output window when I run
    one of the applications.
    Lance Barger Guest

  5. #4

    Default Re: Too many assemblies asp.net

    I am having trouble getting that tool to work with my web
    applications. I can get it to log information for a windows app but
    not web. Anyway, regardless of binding, why would the output window
    show assemblies from several different web apps loading when I run one
    of them? The annoying part is when I stop the web app as it takes time
    for statements like this to execute:

    The program '[1664] aspnet_wp.exe: DefaultDomain' has exited with code
    0 (0x0).
    The program '[1664] aspnet_wp.exe:
    /LM/W3SVC/1/Root/Axis-5-127035316663928032' has exited with code 0
    (0x0).

    These statements show only one web app exiting, but when multiples get
    loaded there are several of these statements to execute. Also, the
    behavior seems completely random. Some days several web app assemblies
    will load some days only the correct one! Insight would be
    appreciated.

    Thank You
    Lance Barger
    Lance Barger Guest

  6. #5

    Default Re: Too many assemblies asp.net

    Hello Lance,

    I will look into it and reply you with more information here. Thanks very much.

    Best regards,
    Yanhong Huang
    Microsoft Online Partner Support

    Get Secure! - [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: [email]lance@parsecorp.com[/email] (Lance Barger)
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !Subject: Re: Too many assemblies asp.net
    !Date: 24 Jul 2003 16:01:06 -0700
    !Organization: [url]http://groups.google.com/[/url]
    !Lines: 21
    !Message-ID: <c0ba5d2b.0307240702.6fd8073c@posting.google.com >
    !References: <c0ba5d2b.0307170733.356c49c9@posting.google.com > <nDBlPz0TDHA.1132@cpmsftngxa06.phx.gbl>
    <c0ba5d2b.0307210611.6b04a8a3@posting.google.com > <v97yukOUDHA.2148@cpmsftngxa06.phx.gbl>
    !NNTP-Posting-Host: 216.98.201.200
    !Content-Type: text/plain; charset=ISO-8859-1
    !Content-Transfer-Encoding: 8bit
    !X-Trace: posting.google.com 1059087669 4580 127.0.0.1 (24 Jul 2003 23:01:09 GMT)
    !X-Complaints-To: [email]groups-abuse@google.com[/email]
    !NNTP-Posting-Date: 24 Jul 2003 23:01:09 GMT
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-online.de!newsfeed.icl.net!
    newsfeed.fjserv.net!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!pd2nf1so.cg.shawcable.net!
    residential.shaw.ca!sn-xit-03!sn-xit-06!sn-xit-08!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:161943
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !I am having trouble getting that tool to work with my web
    !applications. I can get it to log information for a windows app but
    !not web. Anyway, regardless of binding, why would the output window
    !show assemblies from several different web apps loading when I run one
    !of them? The annoying part is when I stop the web app as it takes time
    !for statements like this to execute:
    !
    !The program '[1664] aspnet_wp.exe: DefaultDomain' has exited with code
    !0 (0x0).
    !The program '[1664] aspnet_wp.exe:
    !/LM/W3SVC/1/Root/Axis-5-127035316663928032' has exited with code 0
    !(0x0).
    !
    !These statements show only one web app exiting, but when multiples get
    !loaded there are several of these statements to execute. Also, the
    !behavior seems completely random. Some days several web app assemblies
    !will load some days only the correct one! Insight would be
    !appreciated.
    !
    !Thank You
    !Lance Barger
    !


    Yan-Hong Huang[MSFT] Guest

  7. #6

    Default Re: Too many assemblies asp.net

    Hello Lance,

    Currently I am working with product team to troubleshoot the problem. This may need some more time. Anyway, I will get
    back here as soon as possible. Sorry for any inconvenience that brought to you.

    Thanks very much. If you have any more concerns, please post here.

    Best regards,
    Yanhong Huang
    Microsoft Online Partner Support

    Get Secure! - [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: [email]lance@parsecorp.com[/email] (Lance Barger)
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !Subject: Re: Too many assemblies asp.net
    !Date: 24 Jul 2003 16:01:06 -0700
    !Organization: [url]http://groups.google.com/[/url]
    !Lines: 21
    !Message-ID: <c0ba5d2b.0307240702.6fd8073c@posting.google.com >
    !References: <c0ba5d2b.0307170733.356c49c9@posting.google.com > <nDBlPz0TDHA.1132@cpmsftngxa06.phx.gbl>
    <c0ba5d2b.0307210611.6b04a8a3@posting.google.com > <v97yukOUDHA.2148@cpmsftngxa06.phx.gbl>
    !NNTP-Posting-Host: 216.98.201.200
    !Content-Type: text/plain; charset=ISO-8859-1
    !Content-Transfer-Encoding: 8bit
    !X-Trace: posting.google.com 1059087669 4580 127.0.0.1 (24 Jul 2003 23:01:09 GMT)
    !X-Complaints-To: [email]groups-abuse@google.com[/email]
    !NNTP-Posting-Date: 24 Jul 2003 23:01:09 GMT
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-online.de!newsfeed.icl.net!
    newsfeed.fjserv.net!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!pd2nf1so.cg.shawcable.net!
    residential.shaw.ca!sn-xit-03!sn-xit-06!sn-xit-08!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:161943
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !I am having trouble getting that tool to work with my web
    !applications. I can get it to log information for a windows app but
    !not web. Anyway, regardless of binding, why would the output window
    !show assemblies from several different web apps loading when I run one
    !of them? The annoying part is when I stop the web app as it takes time
    !for statements like this to execute:
    !
    !The program '[1664] aspnet_wp.exe: DefaultDomain' has exited with code
    !0 (0x0).
    !The program '[1664] aspnet_wp.exe:
    !/LM/W3SVC/1/Root/Axis-5-127035316663928032' has exited with code 0
    !(0x0).
    !
    !These statements show only one web app exiting, but when multiples get
    !loaded there are several of these statements to execute. Also, the
    !behavior seems completely random. Some days several web app assemblies
    !will load some days only the correct one! Insight would be
    !appreciated.
    !
    !Thank You
    !Lance Barger
    !


    Yan-Hong Huang[MSFT] Guest

  8. #7

    Default Re: Too many assemblies asp.net

    The behavior has started again. Just wanted to show you my output
    screen for the web app Axis. Notice the assemblies for Axis plus the
    assemblies for another web app called Survey get loaded. Also, the
    annoying part, they both have to exit when I stop the Axis app.

    Thanks for all your help.
    Lance Barger

    'DefaultDomain': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\mscorl ib.dll', No symbols
    loaded.
    'DefaultDomain': Loaded
    'c:\winnt\assembly\gac\system.web\1.0.3300.0__b03f 5f7f11d50a3a\system.web.dll',
    No symbols loaded.
    'DefaultDomain': Loaded
    'c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c56 1934e089\system.dll',
    No symbols loaded.
    'DefaultDomain': Loaded
    'c:\winnt\assembly\gac\system.data\1.0.3300.0__b77 a5c561934e089\system.data.dll',
    No symbols loaded.
    'DefaultDomain': Loaded
    'c:\winnt\assembly\gac\system.enterpriseservices\1 .0.3300.0__b03f5f7f11d50a3a\system.enterpriseservi ces.dll',
    No symbols loaded.
    'DefaultDomain': Loaded
    'c:\winnt\assembly\gac\system.enterpriseservices\1 .0.3300.0__b03f5f7f11d50a3a\system.enterpriseservi ces.thunk.dll',
    No symbols loaded.
    'DefaultDomain': Loaded
    'c:\winnt\assembly\gac\system.web.regularexpressio ns\1.0.3300.0__b03f5f7f11d50a3a\system.web.regular expressions.dll',
    No symbols loaded.
    Auto-attach to process '[1516] aspnet_wp.exe' on machine 'LANCE'
    succeeded.
    'DefaultDomain': Loaded
    'c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77a 5c561934e089\system.xml.dll',
    No symbols loaded.
    'DefaultDomain': Loaded
    'c:\winnt\assembly\gac\system.drawing\1.0.3300.0__ b03f5f7f11d50a3a\system.drawing.dll',
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\mscorl ib.dll', No symbols
    loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\assembly\gac\system.web\1.0.3300.0__b03f 5f7f11d50a3a\system.web.dll',
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77a 5c561934e089\system.xml.dll',
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c56 1934e089\system.dll',
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\assembly\gac\system.web.regularexpressio ns\1.0.3300.0__b03f5f7f11d50a3a\system.web.regular expressions.dll',
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\tempor ary asp.net
    files\experiment_survey\b0ba83db\21e68314\ngkjstxt .dll', Symbols
    loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\assembly\gac\microsoft.visualbasic\7.0.3 300.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll' ,
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\assembly\gac\system.data\1.0.3300.0__b77 a5c561934e089\system.data.dll',
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\assembly\gac\system.web.services\1.0.330 0.0__b03f5f7f11d50a3a\system.web.services.dll',
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\assembly\gac\system.drawing\1.0.3300.0__ b03f5f7f11d50a3a\system.drawing.dll',
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\assembly\gac\system.enterpriseservices\1 .0.3300.0__b03f5f7f11d50a3a\system.enterpriseservi ces.dll',
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\assembly\gac\system.enterpriseservices\1 .0.3300.0__b03f5f7f11d50a3a\system.enterpriseservi ces.thunk.dll',
    No symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\tempor ary asp.net
    files\experiment_survey\b0ba83db\21e68314\assembly \dl2\7e458136\700de17d_2f55c301\survey.dll',
    Symbols loaded.
    '/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\tempor ary asp.net
    files\experiment_survey\b0ba83db\21e68314\5ifsbzu8 .dll', Symbols
    loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\mscorl ib.dll', No symbols
    loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\assembly\gac\system.web\1.0.3300.0__b03f 5f7f11d50a3a\system.web.dll',
    No symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\assembly\gac\system.data\1.0.3300.0__b77 a5c561934e089\system.data.dll',
    No symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\assembly\gac\system.enterpriseservices\1 .0.3300.0__b03f5f7f11d50a3a\system.enterpriseservi ces.dll',
    No symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\assembly\gac\system.enterpriseservices\1 .0.3300.0__b03f5f7f11d50a3a\system.enterpriseservi ces.thunk.dll',
    No symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\assembly\gac\system.web.regularexpressio ns\1.0.3300.0__b03f5f7f11d50a3a\system.web.regular expressions.dll',
    No symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77a 5c561934e089\system.xml.dll',
    No symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c56 1934e089\system.dll',
    No symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\assembly\gac\system.drawing\1.0.3300.0__ b03f5f7f11d50a3a\system.drawing.dll',
    No symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\assembly\gac\system.web.services\1.0.330 0.0__b03f5f7f11d50a3a\system.web.services.dll',
    No symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\tempor ary asp.net
    files\axis\03de8bff\9f2e4f66\assembly\dl2\20f1a1de \a05c0c06_da55c301\axis.dll',
    Symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\tempor ary asp.net
    files\axis\03de8bff\9f2e4f66\1lqwwzpb.dll', Symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\assembly\gac\microsoft.visualbasic\7.0.3 300.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll' ,
    No symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\tempor ary asp.net
    files\axis\03de8bff\9f2e4f66\q_l2s0fn.dll', Symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\tempor ary asp.net
    files\axis\03de8bff\9f2e4f66\gzar4oed.dll', Symbols loaded.
    '/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    'c:\winnt\microsoft.net\framework\v1.0.3705\tempor ary asp.net
    files\axis\03de8bff\9f2e4f66\ddqcxalq.dll', Symbols loaded.
    The program '[1516] aspnet_wp.exe:
    /LM/w3svc/1/root/experiment/Survey-1-127039009692188816' has exited
    with code 0 (0x0).
    The program '[1516] aspnet_wp.exe: DefaultDomain' has exited with code
    0 (0x0).
    The program '[1516] aspnet_wp.exe:
    /LM/W3SVC/1/Root/Axis-6-127039609395119280' has exited with code 0
    (0x0).
    Lance Barger Guest

  9. #8

    Default Re: Too many assemblies asp.net

    Hello Lance,

    Sorry for the late response. We just finished the research and posted the answer here:

    The output that you see is not related to VS.NET IDE in anyway. The list of App Domains that you see there is the list of App
    Domains that are loaded in the ASP.NET Worker process at that time. App Domains also can get loaded if you just browse
    to a Web App.

    Once we attach to the aspnet worker process, we list out all the currently loaded app domains and corresponding dlls
    loaded for each of them.

    To make things more clear, do this:
    1) Open any Web Project
    2) Issue iisreset command/Restart IIS
    3) Now run your App and in the output Window, you will see only the current App gets listed. (along with the default App
    Domain)
    4) Now open a browser and browse to any other ASP.NET App.
    5) Run your project again and you will see the Appdomains for your project, the App that you browsed and Default App
    Domain.

    Will it hurt the performance of web app since it loads so many assemblies?
    Not at all. That is by design.

    Thanks very much.

    Best regards,
    Yanhong Huang
    Microsoft Online Partner Support

    Get Secure! - [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: [email]lance@parsecorp.com[/email] (Lance Barger)
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !Subject: Re: Too many assemblies asp.net
    !Date: 29 Jul 2003 07:08:11 -0700
    !Organization: [url]http://groups.google.com/[/url]
    !Lines: 139
    !Message-ID: <c0ba5d2b.0307290608.3899377@posting.google.com>
    !References: <c0ba5d2b.0307170733.356c49c9@posting.google.com > <nDBlPz0TDHA.1132@cpmsftngxa06.phx.gbl>
    <c0ba5d2b.0307210611.6b04a8a3@posting.google.com > <v97yukOUDHA.2148@cpmsftngxa06.phx.gbl>
    <c0ba5d2b.0307240702.6fd8073c@posting.google.com > <Rs#c6paVDHA.1996@cpmsftngxa06.phx.gbl>
    !NNTP-Posting-Host: 216.98.201.200
    !Content-Type: text/plain; charset=ISO-8859-1
    !Content-Transfer-Encoding: 8bit
    !X-Trace: posting.google.com 1059487691 4830 127.0.0.1 (29 Jul 2003 14:08:11 GMT)
    !X-Complaints-To: [email]groups-abuse@google.com[/email]
    !NNTP-Posting-Date: 29 Jul 2003 14:08:11 GMT
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-online.de!skynet.be!skynet.be!
    newsfeed.online.be!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:162979
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !The behavior has started again. Just wanted to show you my output
    !screen for the web app Axis. Notice the assemblies for Axis plus the
    !assemblies for another web app called Survey get loaded. Also, the
    !annoying part, they both have to exit when I stop the Axis app.
    !
    !Thanks for all your help.
    !Lance Barger
    !
    !'DefaultDomain': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\mscor lib.dll', No symbols
    !loaded.
    !'DefaultDomain': Loaded
    !'c:\winnt\assembly\gac\system.web\1.0.3300.0__b03 f5f7f11d50a3a\system.web.dll',
    !No symbols loaded.
    !'DefaultDomain': Loaded
    !'c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c5 61934e089\system.dll',
    !No symbols loaded.
    !'DefaultDomain': Loaded
    !'c:\winnt\assembly\gac\system.data\1.0.3300.0__b7 7a5c561934e089\system.data.dll',
    !No symbols loaded.
    !'DefaultDomain': Loaded
    !'c:\winnt\assembly\gac\system.enterpriseservices\ 1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseserv ices.dll',
    !No symbols loaded.
    !'DefaultDomain': Loaded
    !'c:\winnt\assembly\gac\system.enterpriseservices\ 1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseserv ices.thunk.dll',
    !No symbols loaded.
    !'DefaultDomain': Loaded
    !'c:\winnt\assembly\gac\system.web.regularexpressi ons\1.0.3300.0__b03f5f7f11d50a3a\system.web.regula rexpressions.dll',
    !No symbols loaded.
    !Auto-attach to process '[1516] aspnet_wp.exe' on machine 'LANCE'
    !succeeded.
    !'DefaultDomain': Loaded
    !'c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77 a5c561934e089\system.xml.dll',
    !No symbols loaded.
    !'DefaultDomain': Loaded
    !'c:\winnt\assembly\gac\system.drawing\1.0.3300.0_ _b03f5f7f11d50a3a\system.drawing.dll',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\mscor lib.dll', No symbols
    !loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\assembly\gac\system.web\1.0.3300.0__b03 f5f7f11d50a3a\system.web.dll',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77 a5c561934e089\system.xml.dll',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c5 61934e089\system.dll',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\assembly\gac\system.web.regularexpressi ons\1.0.3300.0__b03f5f7f11d50a3a\system.web.regula rexpressions.dll',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\tempo rary asp.net
    !files\experiment_survey\b0ba83db\21e68314\ngkjstx t.dll', Symbols
    !loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\assembly\gac\microsoft.visualbasic\7.0. 3300.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll ',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\assembly\gac\system.data\1.0.3300.0__b7 7a5c561934e089\system.data.dll',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\assembly\gac\system.web.services\1.0.33 00.0__b03f5f7f11d50a3a\system.web.services.dll',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\assembly\gac\system.drawing\1.0.3300.0_ _b03f5f7f11d50a3a\system.drawing.dll',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\assembly\gac\system.enterpriseservices\ 1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseserv ices.dll',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\assembly\gac\system.enterpriseservices\ 1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseserv ices.thunk.dll',
    !No symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\tempo rary asp.net
    !files\experiment_survey\b0ba83db\21e68314\assembl y\dl2\7e458136\700de17d_2f55c301\survey.dll',
    !Symbols loaded.
    !'/LM/w3svc/1/root/experiment/Survey-1-127039009692188816': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\tempo rary asp.net
    !files\experiment_survey\b0ba83db\21e68314\5ifsbzu 8.dll', Symbols
    !loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\mscor lib.dll', No symbols
    !loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\assembly\gac\system.web\1.0.3300.0__b03 f5f7f11d50a3a\system.web.dll',
    !No symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\assembly\gac\system.data\1.0.3300.0__b7 7a5c561934e089\system.data.dll',
    !No symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\assembly\gac\system.enterpriseservices\ 1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseserv ices.dll',
    !No symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\assembly\gac\system.enterpriseservices\ 1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseserv ices.thunk.dll',
    !No symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\assembly\gac\system.web.regularexpressi ons\1.0.3300.0__b03f5f7f11d50a3a\system.web.regula rexpressions.dll',
    !No symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77 a5c561934e089\system.xml.dll',
    !No symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c5 61934e089\system.dll',
    !No symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\assembly\gac\system.drawing\1.0.3300.0_ _b03f5f7f11d50a3a\system.drawing.dll',
    !No symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\assembly\gac\system.web.services\1.0.33 00.0__b03f5f7f11d50a3a\system.web.services.dll',
    !No symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\tempo rary asp.net
    !files\axis\03de8bff\9f2e4f66\assembly\dl2\20f1a1d e\a05c0c06_da55c301\axis.dll',
    !Symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\tempo rary asp.net
    !files\axis\03de8bff\9f2e4f66\1lqwwzpb.dll', Symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\assembly\gac\microsoft.visualbasic\7.0. 3300.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll ',
    !No symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\tempo rary asp.net
    !files\axis\03de8bff\9f2e4f66\q_l2s0fn.dll', Symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\tempo rary asp.net
    !files\axis\03de8bff\9f2e4f66\gzar4oed.dll', Symbols loaded.
    !'/LM/W3SVC/1/Root/Axis-6-127039609395119280': Loaded
    !'c:\winnt\microsoft.net\framework\v1.0.3705\tempo rary asp.net
    !files\axis\03de8bff\9f2e4f66\ddqcxalq.dll', Symbols loaded.
    !The program '[1516] aspnet_wp.exe:
    !/LM/w3svc/1/root/experiment/Survey-1-127039009692188816' has exited
    !with code 0 (0x0).
    !The program '[1516] aspnet_wp.exe: DefaultDomain' has exited with code
    !0 (0x0).
    !The program '[1516] aspnet_wp.exe:
    !/LM/W3SVC/1/Root/Axis-6-127039609395119280' has exited with code 0
    !(0x0).
    !


    Yan-Hong Huang[MSFT] 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