By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,544 Members | 2,002 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,544 IT Pros & Developers. It's quick & easy.

Help: ASP.Net Application *.dll Update Error

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.