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

Home Posts Topics Members FAQ

Help: ASP.Net Application *.dll Update Error

hb
Hi,

In my ASP.Net application 'MyWebApp' , the mode="StateServer" 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 1476
hb wrote:
Hi,

In my ASP.Net application 'MyWebApp' , the mode="StateServer" 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@KICKTHIS_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@KICKTHIS_Gmail.com> wrote in message
news:uS*************@TK2MSFTNGP11.phx.gbl...
hb wrote:
Hi,

In my ASP.Net application 'MyWebApp' , the mode="StateServer" 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@KICKTHIS_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****@goodoffices.com> wrote in message
news:%2****************@TK2MSFTNGP11.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@KICKTHIS_Gmail.com> wrote in message
news:uS*************@TK2MSFTNGP11.phx.gbl...
hb wrote:
Hi,

In my ASP.Net application 'MyWebApp' , the mode="StateServer" 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@KICKTHIS_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="StateServer" 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.org> wrote in message
news:eR**************@TK2MSFTNGP14.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****@goodoffices.com> wrote in message
news:%2****************@TK2MSFTNGP11.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@KICKTHIS_Gmail.com> wrote in message
news:uS*************@TK2MSFTNGP11.phx.gbl...
hb wrote:

> Hi,
>
> In my ASP.Net application 'MyWebApp' , the mode="StateServer" 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@KICKTHIS_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****@goodoffices.com> wrote in message
news:eh**************@TK2MSFTNGP10.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="StateServer" 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.org> wrote in message
news:eR**************@TK2MSFTNGP14.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****@goodoffices.com> wrote in message
news:%2****************@TK2MSFTNGP11.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@KICKTHIS_Gmail.com> wrote in message
news:uS*************@TK2MSFTNGP11.phx.gbl...
> hb wrote:
>
> > Hi,
> >
> > In my ASP.Net application 'MyWebApp' , the mode="StateServer" 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@KICKTHIS_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
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...
4
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...
18
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...
2
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...
2
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) {...
0
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...
1
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...
7
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...
0
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...
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
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...
1
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...
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,...
0
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...
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: 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.
0
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...

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.