473,795 Members | 2,834 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help: ASP.Net Application *.dll Update Error

hb
Hi,

In my ASP.Net application 'MyWebApp' , the mode="StateServ er" in
<sessionState >
of Web.config file, and the ASP.NET State Service is set to start
automatically on the
server. But every time when I update the application's MyWebApp.dll file in
\bin folder
by simply uploading a new MyWebApp.dll file to override the old one in the
same folder,
the user who is using the web application will get the following error
during the uploading
process:
==
Configuration Error

Description: An error occurred during the processing of a configuration file
required to service
this request. Please review the specific error detail below and modify your
configuration file
appropriately.

Parser Error Message: Can not access file 'MyWebApp' because it is being
used by another process.
==

Once the file uploading finished, the application 'MyWebApp' starts working
properly.

This is really annoying. Would you please give me some way to fix this
problem?

Thank you.

hb
Nov 18 '05 #1
5 1506
hb wrote:
Hi,

In my ASP.Net application 'MyWebApp' , the mode="StateServ er" in
<sessionState >
of Web.config file, and the ASP.NET State Service is set to start
automatically on the
server. But every time when I update the application's MyWebApp.dll file in
\bin folder
by simply uploading a new MyWebApp.dll file to override the old one in the
same folder,
the user who is using the web application will get the following error
during the uploading
process:
==
Configuration Error

Description: An error occurred during the processing of a configuration file
required to service
this request. Please review the specific error detail below and modify your
configuration file
appropriately.

Parser Error Message: Can not access file 'MyWebApp' because it is being
used by another process.
==

Once the file uploading finished, the application 'MyWebApp' starts working
properly.

This is really annoying. Would you please give me some way to fix this
problem?

Thank you.

hb


I think it's the Indexing Service.
Just deny the indexing service to index .dll files and you're done (I hope).

--

//Rutger

DoDotNet@KICKTH IS_Gmail.com
www.RutgerSmit.com
Nov 18 '05 #2
hb
Hi, Rutger,

Thank you for the help.

I just checked the services setting on the server. I noticed that
the "Indexing Service" is disabled. Could it be something else
that causes such error?

Thank you

hb
"Rutger Smit" <DoDotNet@KICKT HIS_Gmail.com> wrote in message
news:uS******** *****@TK2MSFTNG P11.phx.gbl...
hb wrote:
Hi,

In my ASP.Net application 'MyWebApp' , the mode="StateServ er" in
<sessionState >
of Web.config file, and the ASP.NET State Service is set to start
automatically on the
server. But every time when I update the application's MyWebApp.dll file in \bin folder
by simply uploading a new MyWebApp.dll file to override the old one in the same folder,
the user who is using the web application will get the following error
during the uploading
process:
==
Configuration Error

Description: An error occurred during the processing of a configuration file required to service
this request. Please review the specific error detail below and modify your configuration file
appropriately.

Parser Error Message: Can not access file 'MyWebApp' because it is being
used by another process.
==

Once the file uploading finished, the application 'MyWebApp' starts working properly.

This is really annoying. Would you please give me some way to fix this
problem?

Thank you.

hb


I think it's the Indexing Service.
Just deny the indexing service to index .dll files and you're done (I

hope).
--

//Rutger

DoDotNet@KICKTH IS_Gmail.com
www.RutgerSmit.com

Nov 18 '05 #3
It almost feels like there is a problem in ASP.NET's shadow copy behavior.
You might want to make sure that you have enough space on the server. Are
there any errors logged in the Event logs?

--
Girish Bharadwaj
http://msmvps.com/gbvb
"hb" <ho****@goodoff ices.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi, Rutger,

Thank you for the help.

I just checked the services setting on the server. I noticed that
the "Indexing Service" is disabled. Could it be something else
that causes such error?

Thank you

hb
"Rutger Smit" <DoDotNet@KICKT HIS_Gmail.com> wrote in message
news:uS******** *****@TK2MSFTNG P11.phx.gbl...
hb wrote:
Hi,

In my ASP.Net application 'MyWebApp' , the mode="StateServ er" in
<sessionState >
of Web.config file, and the ASP.NET State Service is set to start
automatically on the
server. But every time when I update the application's MyWebApp.dll file
in
\bin folder
by simply uploading a new MyWebApp.dll file to override the old one in the same folder,
the user who is using the web application will get the following error
during the uploading
process:
==
Configuration Error

Description: An error occurred during the processing of a
configuration
file required to service
this request. Please review the specific error detail below and modify your configuration file
appropriately.

Parser Error Message: Can not access file 'MyWebApp' because it is
being used by another process.
==

Once the file uploading finished, the application 'MyWebApp' starts

working properly.

This is really annoying. Would you please give me some way to fix this
problem?

Thank you.

hb


I think it's the Indexing Service.
Just deny the indexing service to index .dll files and you're done (I

hope).

--

//Rutger

DoDotNet@KICKTH IS_Gmail.com
www.RutgerSmit.com


Nov 18 '05 #4
hb
Hi, Girish,

Thank you for the help!

I just checked the event log on the server. There are no errors there.
And there is plenty space on the server.

I talked with someone from Microsoft before regarding this error.
He said that if the mode="StateServ er" in <sessionState > in the
Web.config file, and the ASP.NET State Service is set to start
automatically, .Net should prevent such error to happen which
means that user should not be affected while updating the application's
*.dll file in the \bin folder.

But I don't know why the error still occurs every time when I update the
dll file. Is it a bug?

hb
"Girish bharadwaj" <gi*****@mvps.o rg> wrote in message
news:eR******** ******@TK2MSFTN GP14.phx.gbl...
It almost feels like there is a problem in ASP.NET's shadow copy behavior.
You might want to make sure that you have enough space on the server. Are
there any errors logged in the Event logs?

--
Girish Bharadwaj
http://msmvps.com/gbvb
"hb" <ho****@goodoff ices.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi, Rutger,

Thank you for the help.

I just checked the services setting on the server. I noticed that
the "Indexing Service" is disabled. Could it be something else
that causes such error?

Thank you

hb
"Rutger Smit" <DoDotNet@KICKT HIS_Gmail.com> wrote in message
news:uS******** *****@TK2MSFTNG P11.phx.gbl...
hb wrote:

> Hi,
>
> In my ASP.Net application 'MyWebApp' , the mode="StateServ er" in
> <sessionState >
> of Web.config file, and the ASP.NET State Service is set to start
> automatically on the
> server. But every time when I update the application's MyWebApp.dll file
in
> \bin folder
> by simply uploading a new MyWebApp.dll file to override the old one in
the
> same folder,
> the user who is using the web application will get the following
error > during the uploading
> process:
> ==
> Configuration Error
>
> Description: An error occurred during the processing of a

configuration
file
> required to service
> this request. Please review the specific error detail below and modify your
> configuration file
> appropriately.
>
> Parser Error Message: Can not access file 'MyWebApp' because it is

being > used by another process.
> ==
>
> Once the file uploading finished, the application 'MyWebApp' starts

working
> properly.
>
> This is really annoying. Would you please give me some way to fix

this > problem?
>
> Thank you.
>
> hb
>
>

I think it's the Indexing Service.
Just deny the indexing service to index .dll files and you're done (I

hope).

--

//Rutger

DoDotNet@KICKTH IS_Gmail.com
www.RutgerSmit.com

Nov 18 '05 #5
Is it a signed assembly?

Check the following two kbs:
http://support.microsoft.com/?kbid=810281
http://support.microsoft.com/?kbid=324519

HTH

--
Girish Bharadwaj
http://msmvps.com/gbvb
"hb" <ho****@goodoff ices.com> wrote in message
news:eh******** ******@TK2MSFTN GP10.phx.gbl...
Hi, Girish,

Thank you for the help!

I just checked the event log on the server. There are no errors there.
And there is plenty space on the server.

I talked with someone from Microsoft before regarding this error.
He said that if the mode="StateServ er" in <sessionState > in the
Web.config file, and the ASP.NET State Service is set to start
automatically, .Net should prevent such error to happen which
means that user should not be affected while updating the application's
*.dll file in the \bin folder.

But I don't know why the error still occurs every time when I update the
dll file. Is it a bug?

hb
"Girish bharadwaj" <gi*****@mvps.o rg> wrote in message
news:eR******** ******@TK2MSFTN GP14.phx.gbl...
It almost feels like there is a problem in ASP.NET's shadow copy behavior.
You might want to make sure that you have enough space on the server. Are there any errors logged in the Event logs?

--
Girish Bharadwaj
http://msmvps.com/gbvb
"hb" <ho****@goodoff ices.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi, Rutger,

Thank you for the help.

I just checked the services setting on the server. I noticed that
the "Indexing Service" is disabled. Could it be something else
that causes such error?

Thank you

hb
"Rutger Smit" <DoDotNet@KICKT HIS_Gmail.com> wrote in message
news:uS******** *****@TK2MSFTNG P11.phx.gbl...
> hb wrote:
>
> > Hi,
> >
> > In my ASP.Net application 'MyWebApp' , the mode="StateServ er" in
> > <sessionState >
> > of Web.config file, and the ASP.NET State Service is set to start
> > automatically on the
> > server. But every time when I update the application's MyWebApp.dll
file
in
> > \bin folder
> > by simply uploading a new MyWebApp.dll file to override the old
one in the
> > same folder,
> > the user who is using the web application will get the following error > > during the uploading
> > process:
> > ==
> > Configuration Error
> >
> > Description: An error occurred during the processing of a

configuration
file
> > required to service
> > this request. Please review the specific error detail below and modify your
> > configuration file
> > appropriately.
> >
> > Parser Error Message: Can not access file 'MyWebApp' because it is

being
> > used by another process.
> > ==
> >
> > Once the file uploading finished, the application 'MyWebApp'
starts working
> > properly.
> >
> > This is really annoying. Would you please give me some way to fix

this > > problem?
> >
> > Thank you.
> >
> > hb
> >
> >
>
>
>
> I think it's the Indexing Service.
> Just deny the indexing service to index .dll files and you're done (I hope).
>
> --
>
> //Rutger
>
> DoDotNet@KICKTH IS_Gmail.com
> www.RutgerSmit.com


Nov 18 '05 #6

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

Similar topics

3
3272
by: laurie | last post by:
Hi all, I'm trying to help out a friend who has inherited a client with a PHP shopping cart application. Neither of us know PHP, but I've been muddling my way through, trying to get these old scripts working on a new server with the most recent version of PHP. I've pretty much taken care of all the various errors that were popping up. Most only pointed out out non-fatal undefined or assumed variables. I've been able to cure most of...
4
1638
by: Itai | last post by:
I need to develop an internal messaging sub-system that is similar to a web mail application but without SMTP support (e.g message routes are confined to the webapp domain). The requirements are rather simple: Each user (e.g mailbox) can view incoming messages and his outgoing messages. Message quota is defined as the sum of all incoming and outgoing messages per user and tracked in the users' row (Users table – log_TotalMessages). The...
18
5987
by: Bill Smith | last post by:
The initial row is inserted with the colPartNum column containing a valid LIKE pattern, such as (without the single quotes) 'AB%DE'. I want to update the column value with the results of a query against a different table (that uses the LIKE predicate) but cannot get around the SQL0132 error . I have tried the hex notation after the LIKE such as (without the quotes)... " where colNewPartNum like ( X'27' || nnn.colPartNum || X'27) " ,...
2
1949
by: MyNameIsnt | last post by:
Can anyone tell me why, when I click on the buttons it register 2 characters on the display? if you use the right mousebutton it works ok, but the buttons dont flash?? it works fine without the aqua buttons, (using just windows forms buttons... Main Form cs file //----------------------------------------------------------------------------------------------------------------------
2
5521
by: | last post by:
Hi all, continued from yesterday's posting... I still haven't found a solution to this issue. I put a breakpoint in private void SqlBackupPercentComplete(string message, int Percent) { progressBar1.Value = Percent; progressBar1.Update(); }
0
5005
by: Rhon Stewart via DotNetMonster.com | last post by:
Hi please visit this link : http://www.eggheadcafe.com/articles/pfc/selfupdater.asp I followed all the steps for listed on the link , when I execute the application it it gives me the following error on the log file: --- ApplicationUpdateManager.StartUpdater] : The Updater has started; the target application's name is 'SayHello'. Time started: 2005_03_01_14:33:21.
1
5498
by: Alpha | last post by:
I have a Window based application that shows up still running in the task manager when I close it. It reaches the "this.close" statement and then it stops at the "}" at the section of the following code after the "Application.Run(new VMSMain());": static void Main() { Application.Run(new VMSMain()); }
7
9717
by: Siv | last post by:
Hi, I have a stored procedure that I want to execute and then wait in a loop showing a timer whilst it completes and then carry on once I get notification that it has completed. The main reason for this being to stop the user thinking the application has frozen when in fact it is just waiting for a long SP to complete. Another reason for doing it like this is that I also have had a problem in the past where the SP takes longer than the...
0
5577
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
0
10443
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10216
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
10165
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
10002
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
9044
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...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
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...
0
5565
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2921
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.