473,668 Members | 2,589 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ShadowCopyFiles - ASP.NET 20

All,

As far as I know, ASP.NET 2.0 automatically enable ShadowCopyFIles in
the AppDomain. However, is there a way to run an ASP.NET 2.0
application _without_ ShadowCopyFiles enabled? Can I disable it in
web.config, machine.config or equal? Doing it in Application_OnS tart
wont help since the AppDomain is already created.

Any hints or suggestions are more than welcome!

Thanks,
Fredrik Rodin

Running Framework 2.0.50727, webapplication is written in VB.NET
running precompiled via aspnet_compiler . Webserver is IIS 6.0 with
latest service packs.
--

Nov 20 '05 #1
1 2168
There is a AppDomainSetup. ShadowCopyFiles property which can be enabled an
disabled but this can not be done for the default appdomain. Afaik the
answer to your question is no.

Markus

"Fredrik Rodin" <no**********@d acsa.n.o.s.p.a. m.net> schrieb im Newsbeitrag
news:Oi******** ******@TK2MSFTN GP10.phx.gbl...
All,

As far as I know, ASP.NET 2.0 automatically enable ShadowCopyFIles in
the AppDomain. However, is there a way to run an ASP.NET 2.0
application _without_ ShadowCopyFiles enabled? Can I disable it in
web.config, machine.config or equal? Doing it in Application_OnS tart
wont help since the AppDomain is already created.

Any hints or suggestions are more than welcome!

Thanks,
Fredrik Rodin

Running Framework 2.0.50727, webapplication is written in VB.NET
running precompiled via aspnet_compiler . Webserver is IIS 6.0 with
latest service packs.
--

Nov 20 '05 #2

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

Similar topics

1
2023
by: Daylor | last post by:
hi. im creating object from assembly dll. after im finish using the object , the process is still using the assembly dll. what i need to do to the object , so the process will not use the dll , and by that , i could compile the dll again (after changing code, while the win app process is still running ..)
1
2331
by: Daylor | last post by:
can shadowcopy be done with private assembly ? any info about how shadowcopy actually works ? when im compiling an assembly (while the assembly file is in use ), what i need to do ? change vertion ? change name of file ? how the appDomain will know to load the new assembly ?
0
1511
by: Sean McKaharay | last post by:
I am using the code below and I am getting this error: "Insufficient state to deserialize the object. More information is needed." Has anyone seen this? It is working with other dll's but not on a certain one. Can some help? private void LoadAssembly(string DllLocationDirectory, string applicationName, bool shadowCopyFiles, string friendlyName, string dllName,
5
7420
by: Bill Rust | last post by:
I have a component that needs to access files which exist in the same directory as the DLL containing the component itself. To determine the component's installation directory, I'm using System.Reflection.Assembly.GetExecutingAssembly().Location. This worked fine on my computer, but for another user, it failed because the assembly was being loaded using a shadow copy of the DLL located in a different directory. Is there a way,...
1
1393
by: Fredrik Melin | last post by:
Hi, We have a ASP.NET project that is using Reflection to load plugin dll's. When needed to update the .dll's some of them are locked to readonly (used by the main dll). I understand that creating a Appdomain with .ShadowCopyFiles = "true" would solve it, but shouldnt this be inherited from the ASP.NET application itself? (because as I understand that is always using a shadow copy?)
0
1662
by: Fred | last post by:
Hello, I am using a separate app domain to load an assembly from either disk or cache, create an instance of it and run a method. I then call dispose on the created instance and unload the app domain. This is done in a web application. For some reason memory is not released and continues to slowly but steadily grow. I tracked Working Set and Private Bytes in Perfmon to check this. Here is some example code:
5
4069
by: Rob | last post by:
Hello, I have upgraded my application from 1.1 to 2.0 framework. Now my application is giving me two warnings on methods that have been depreciated, SetShadowCopyFiles() and SetShadowCopyPath(). In the help it tells me to use AppDomain.SetupInformation for these settings but I can't get them to stick at runtime. I don't want to create a new application domain. I would like to configure the current application domain at startup. ...
0
883
by: John Wright | last post by:
I have the following code that creates a new appDomain and loads an exe using reflection. The problem I have is the exe file I pass in is still locked by the application. I have showcopyfiles = "true" and specified the locations for the appDomain to use. The shadowfiles and the original file is locked when I execute the command tmpAssm = .Load(strApplicationName). Now if I have shadowcopyfiles on, why would setting the assembly to the...
0
1190
by: John Wright | last post by:
I have the following code that creates a new appDomain and loads an exe using reflection. The problem I have is the exe file I pass in is still locked by the application. I have showcopyfiles = "true" and specified the locations for the appDomain to use. The shadowfiles and the original file is locked when I execute the command tmpAssm = .Load(strApplicationName). Now if I have shadowcopyfiles on, why would setting the assembly to the...
0
8371
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8790
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8572
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8652
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7391
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6206
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4202
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2782
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 we have to send another system
2
2017
muto222
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.