473,472 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problems with ASP.NET temporary DLL's

I am running a high traffic web site on ASP.NET 2.0.

I'm getting this error every few days, usually when I deploy a control that
is very active.

The only way to fix this problem that I've found so far is to stop the web
service, delete the ASP.NET temporary files under
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files
and then restar tthe web service.

Needless to say this is not ideal. Any suggestions?

Here is the error message:

System.IO.FileNotFoundException: Could not load file or assembly
'App_Web_titckuyi, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or
one of its dependencies. The system cannot find the file specified.
File name: 'App_Web_titckuyi, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null'
at
ASP.controls_footer_2_0_ascx.__BuildControlTree(co ntrols_footer_2_0_ascx
__ctrl)
at ASP.controls_footer_2_0_ascx.FrameworkInitialize() in
c:\webs\phoenix\Controls\footer_2_0.ascx.cs:line 912306
at System.Web.UI.UserControl.InitializeAsUserControlI nternal()
at System.Web.UI.UserControl.InitializeAsUserControl( Page page)
at ASP.feature_aspx.__BuildControlFooter1() in
c:\webs\phoenix\feature.aspx:line 203
at ASP.feature_aspx.__BuildControlTree(feature_aspx __ctrl) in
c:\webs\phoenix\feature.aspx:line 1
at ASP.feature_aspx.FrameworkInitialize() in
c:\webs\phoenix\feature.aspx.cs:line 912307
at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.feature_aspx.ProcessRequest(HttpContext context) in
c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Tempor ary ASP.NET
Files\root\447e2b24\efdf49af\App_Web_wbhxmovx.14.c s:line 0
at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].


Mar 16 '06 #1
5 1916
Hi Gal,

Welcome to the MSDN newsgroup.

Regarding on the ASP.NET user control updating issue, you mentioned, it's
likely caused by the usercontrol get updated while some other
assembly(dynamic compiled) which reference the usercontrol still haven't
updated the reference info.

What's your deployment model for that web application? pure source
deployment(non-precompiled) or precompiled(updatable or non-updatable)?
Also ,when you update the usercontrol at runtime, do you only modify the
ascx template file or update both the ascx file and the assembly file(for
codebehind)?

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Mar 17 '06 #2
Hi Steven,

I've seen several replies on this topic, and basically the website I
have built is having the same problem when it comes to deploying
updated User controls to an actively serving website.

In my scenario the site is pre-compiled and updateable, and while the
webserver is actively serving users and I re-deploy a single
modification in the .ascx file content (no changes to its code-behind)
the dynamic compilation in ASP.NET 2 causes this exception to occur.

The Server Environment is Win2003 Standard in a Web Farm environment (5
servers) We use Application Center and replication causes the changes
made to the primary node to replicate to the other 4 nodes. The issue
happened on the 4 dependant nodes, but not on the primary node.

The same problem happens during test deployment on a Windows XP box, so
is unrelated to what OS is used. Development causes no issues as
running the project through VS precompiles the entire site anyway.

Is there any way around this? as having to take a server out of the Web
Farm pool just to update the HTML content of a single control file is
not an acceptable solution.

Thanks for any advice.

Regards,

Derrick
Steven Cheng[MSFT] wrote:
Hi Gal,

Welcome to the MSDN newsgroup.

Regarding on the ASP.NET user control updating issue, you mentioned, it's
likely caused by the usercontrol get updated while some other
assembly(dynamic compiled) which reference the usercontrol still haven't
updated the reference info.

What's your deployment model for that web application? pure source
deployment(non-precompiled) or precompiled(updatable or non-updatable)?
Also ,when you update the usercontrol at runtime, do you only modify the
ascx template file or update both the ascx file and the assembly file(for
codebehind)?

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Mar 17 '06 #3
Steve -

The deployment model for the web application is "pure source deployment"
(non-precompiled).

The last two times I've had this problem, I deployed only the .aspx file and
not the .aspx.cs file, since it hasn't changed.

Regards,
Gal

"Steven Cheng[MSFT]" wrote:
Hi Gal,

Welcome to the MSDN newsgroup.

Regarding on the ASP.NET user control updating issue, you mentioned, it's
likely caused by the usercontrol get updated while some other
assembly(dynamic compiled) which reference the usercontrol still haven't
updated the reference info.

What's your deployment model for that web application? pure source
deployment(non-precompiled) or precompiled(updatable or non-updatable)?
Also ,when you update the usercontrol at runtime, do you only modify the
ascx template file or update both the ascx file and the assembly file(for
codebehind)?

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 17 '06 #4
Thanks for your response Gal,

Since you deployed your applicaiton in pure source mode, all the pages will
be dynamically compiled. I think you can first check your web.config file
to see whether debug attribute in the <compilation> element is set to
"false". In addition, by default the dynamic compilation use batch
compilation which means it will batch compile bunch of pages or
usercontrols, it may cause some problem when we change some page or
usercontrols and the precompiled assembly of others not get updated. You
can try setting the <compilation> element's "batch" attribute to "false" to
see whether it can help eliminate the error.

Also, another means is try modifying the webconfig file or bin dir which
can cause the application restart, this can also make all the pages get
recompiled so as to avoid some assembly synchornizing issue.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 21 '06 #5
Has a solution to this problem been released? I am having the same problem.
I just tried turning debug="false" and batch="false" today. I have not be
able to consistently reproduce this problem so only time will tell if this
helps. I do not like turning batch mode off because of performance
implications. Is Microsoft going to have a fix for this?

Thanks...

"Steven Cheng[MSFT]" wrote:
Thanks for your response Gal,

Since you deployed your applicaiton in pure source mode, all the pages will
be dynamically compiled. I think you can first check your web.config file
to see whether debug attribute in the <compilation> element is set to
"false". In addition, by default the dynamic compilation use batch
compilation which means it will batch compile bunch of pages or
usercontrols, it may cause some problem when we change some page or
usercontrols and the precompiled assembly of others not get updated. You
can try setting the <compilation> element's "batch" attribute to "false" to
see whether it can help eliminate the error.

Also, another means is try modifying the webconfig file or bin dir which
can cause the application restart, this can also make all the pages get
recompiled so as to avoid some assembly synchornizing issue.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jun 15 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: TB | last post by:
Hi All: This news group is proving to be great help on my path towards mastering ASP.NET thanks to all of you helpful souls out there. I am looking forward to the day when I can contribute with...
5
by: TB | last post by:
Hi All: This news group is proving to be great help on my path towards mastering ASP.NET thanks to all of you helpful souls out there. I am looking forward to the day when I can contribute...
0
by: stic | last post by:
Hi, After a few hours of asp. net configuration, ACL, web service specifications digging and of course extensive googling, I finally came to you… and as usually I need help… I need to...
0
by: stic | last post by:
Hi, After a few hours of asp. net configuration, ACL, web service specifications digging and of course extensive googling, I finally came to you… and as usually I need help… I need to...
4
by: Bit byte | last post by:
I have a project that I normally build (without problems) from the DevStudio IDE. However, I have embarked on automating all my builds (this test project being one of several). The project...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.