A well know bug with apparently no known solution :-(

  • Thread starter Thread starter Simon Harvey
  • Start date Start date
S

Simon Harvey

Hi all,

I sporadically get the following problem when running asp.net applications
with the Data Application Block:

Configuration Error

An error occurred during the processing of a configuration file required to
service this request.

Access is denied: 'Microsoft.ApplicationBlocks.Data'.

Source Error:

Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:


This problem happens seemingly at random and the only way to fix it is to
restart the machine, which is entirely useless when it comes to actually
using the application block in a production environment.

I have read details of numerous people having this problem, but no solutions
other than restarting the machine.

Does anyone know anything more about this problem? I can't find anything in
the knowledgebase on microsoft but I'm sure there must be a solution out
there.

At the moment I am staring at the prospect of rewritting reams and reams of
code because I have made the mistake of thinking that MS's best practice
application block might actually work.

How silly of me.

Any help would be fantastic. Thanks in advance to anyone who has any
suggestions

Simon
 
Hi Marina,

I've done that and the bug hasnt popped up again yet. Thats not saying it
wont though. Do you have any further information on this? I was hoping maybe
a link to a web page that mentions this.

I've only found one usenet entry that didnt provide anything useful except
to say that the poster switched off indexing and still had the problem

Thanks for you help with this

Simon
 
I don't have any further info on this. I guess the indexing service while
doing it's work, somehow locks files or interferes with .net.
 
Back
Top