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
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