473,325 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

configuration error

We have two developers, call them A and B, (on Windows XP) developing a
number of asp.net web sites on a shared server (Windows 2003). Everything has
been ok but recently for no apparent reason whenever developer A builds a
particular project (which builds with no errors) and then tries to access the
web site they just built they get the error below. Other projects built by
the developer A are ok and also if the other developer, developer B, builds
the same project the web site runs ok.

Server Error in '/qssweb/bwsubs' Application
--------------------------------------------------------------------------------

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

Parser Error Message: 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:
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config Line:
258

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.ApplicationBlocks.Data' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.ApplicationBlocks.Data
(Partial)
LOG: Appbase = file:///C:/WebSites/1005/root/QSSWeb/BWSubs
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.ApplicationBlocks.Data
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/qssweb_bwsubs/63c7d454/13bd7b22/Microsoft.ApplicationBlocks.Data.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/qssweb_bwsubs/63c7d454/13bd7b22/Microsoft.ApplicationBlocks.Data/Microsoft.ApplicationBlocks.Data.DLL.
LOG: Attempting download of new URL
file:///C:/WebSites/1005/root/QSSWeb/BWSubs/bin/Microsoft.ApplicationBlocks.Data.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.ApplicationBlocks.Data,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=null


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032


--
Scott
Nov 19 '05 #1
4 2668
Here are a couple of recommendations:
1) Developers should be developing/debugging locally and deploying to
Dev/QA/Prod servers and not developing directly against them.
2) Are Dev A and Dev B using the same build configuration when they build?
I had one member of my team decide to create his own config that excluded App
Blocks from the build (we're using project references) and he ran into the
same issue.
3) Are your devs referencing the Data Block assembly or project reference?
4) Typically you'll have a build manager or build machine that pulls the
latest tested code out of source safe, perform a build, and then deploy to
your target server.

"scottrm" wrote:
We have two developers, call them A and B, (on Windows XP) developing a
number of asp.net web sites on a shared server (Windows 2003). Everything has
been ok but recently for no apparent reason whenever developer A builds a
particular project (which builds with no errors) and then tries to access the
web site they just built they get the error below. Other projects built by
the developer A are ok and also if the other developer, developer B, builds
the same project the web site runs ok.

Server Error in '/qssweb/bwsubs' Application.
--------------------------------------------------------------------------------

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

Parser Error Message: 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:
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config Line:
258

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.ApplicationBlocks.Data' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.ApplicationBlocks.Data
(Partial)
LOG: Appbase = file:///C:/WebSites/1005/root/QSSWeb/BWSubs
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.ApplicationBlocks.Data
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/qssweb_bwsubs/63c7d454/13bd7b22/Microsoft.ApplicationBlocks.Data.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/qssweb_bwsubs/63c7d454/13bd7b22/Microsoft.ApplicationBlocks.Data/Microsoft.ApplicationBlocks.Data.DLL.
LOG: Attempting download of new URL
file:///C:/WebSites/1005/root/QSSWeb/BWSubs/bin/Microsoft.ApplicationBlocks.Data.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.ApplicationBlocks.Data,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=null


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032


--
Scott

Nov 19 '05 #2
Thanks for JPSklenka's informative inputs.

Hi Scott,

In addition to JPSklenka's suggestions. Here are some of my suggestion:

From the error info you provided, the ACCESS DENIED error seems caused by
the DataAccess Application Block's assembly can't be correctly load. I
think the project (with error) must have referenced the DAAB's assembly ,
yes? And is the DAAB assembly referenced in your project a strong-named
version? If so, have you put it in the server's GAC or just directly use it
in the web project's private bin path? There is a known issue that
strongnamed assembly must be put in GAC when used in asp.net web
application. Please have a check , if there are any other new findings
,please feel free to post here.

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #3
Thanks for your reply.

In response to JP Sklenka dev a and b are using the same build configuration
and neither of them changed anything before the problems occurred. We are
referencing by project but that has worked fine before as did working on a
shared server.

I don't think the error is specific to the data access application block
because previously I got the same error with a different assembly which I
removed because it was no longer in use, but as soon as I removed it I got
the same error with the DAAB so I guess none of the assemblies could be
loaded.

Bizzarely the problem seems to have fixed itself without any changes or even
a reboot. I would still be interested to know if you have any more ideas in
case it happens again.

"Steven Cheng[MSFT]" wrote:
Thanks for JPSklenka's informative inputs.

Hi Scott,

In addition to JPSklenka's suggestions. Here are some of my suggestion:

From the error info you provided, the ACCESS DENIED error seems caused by
the DataAccess Application Block's assembly can't be correctly load. I
think the project (with error) must have referenced the DAAB's assembly ,
yes? And is the DAAB assembly referenced in your project a strong-named
version? If so, have you put it in the server's GAC or just directly use it
in the web project's private bin path? There is a known issue that
strongnamed assembly must be put in GAC when used in asp.net web
application. Please have a check , if there are any other new findings
,please feel free to post here.

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #4
Hi Scott,

Thanks for your response. If the problems went away without doing anything,
I'm afraid it must still exists, but not occur currently. The DAAB I
mentioned in the last message just means strong-named assembly , if there
are any strong-named assemblies used in your asp.net project and are put in
the private bin path, please move them to the GAC , that sometimes will
cause such unexpected problems.

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #5

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

Similar topics

6
by: chokk | last post by:
All, I am getting the following error when I try to run a form page. Can someone tell me what this is about and show me how to fix it. Thnaks. Server Error in '/' Application...
2
by: Chris_24 | last post by:
To all, I am experiencing difficulties with an asp.net web application and its web.config file. No matter what I try I keep getting the following error: Server Error in '/action' Application....
1
by: Ramanfromoz | last post by:
Hi, Developing a new we application. Everything okay on my local WIN XP PROFESSIONAL, IIS 5.0 running locally. The website is running smoothly. Now, the same code I am copying over to a...
3
by: hB | last post by:
Hi. Error = "The configuration system can only be set once. Configuration system is already set" Exception Details: System.InvalidOperationExcepti­on: The configuration system can only...
2
by: Terry Holland | last post by:
I posted a follow up to an earlier post but did not receive response so here it is again (with original post and response) > This could be because you are running the index service over this web...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
1
by: Jess Chadwick | last post by:
I am attempting to use the Enterprise Library (Jan 2006) Cryptography block to encrypt a credit card number in my ASP.NET 2.0 Commerce Server application. Everything is configured correctly, as...
8
by: Alberto | last post by:
Can you tell me how to read and modify a value in the app.config file using this class? Thank you very much
4
by: aSoundMind | last post by:
Hi there, I recieve this error Server Error in '/integrate' Application. -------------------------------------------------------------------------------- Configuration Error Description: An...
3
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.