473,756 Members | 2,383 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access is denied: 'Microsoft.Appl icationBlocks.D ata'.

PJ6
Pages were working fine that used Microsoft.Appli cationBlocks.Da ta.dll, and
now, with no changes, we're getting this -

Access is denied: 'Microsoft.Appl icationBlocks.D ata'.

All I can find with Google is that indexing service and antivirus software
can cause this (which would be consistant, perhaps, with a deplayed
failure). But on this server neither is running.

This project has worked on 2 other servers, and my own personal machine
locally without this problem. I am at a loss as to how to fix this, aside
from rewriting code and removing the application block completely.

Has anyone else dealt with this problem, knows what's going on?

Paul
Apr 20 '07 #1
1 1941
Compare the rights of those DLLs to the rights of the bin folder.

If the bin folder rights are correct, then you can reapply them to all of
the files via the advanced button.

I haven't encountered this in .NET, but it used to happen all the time in
COM+.

- right click the bin folder
- go to security tab
- click advanced button
- click the "replace permissions" checkbox
- click ok


"PJ6" <no***@nowhere. netwrote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
Pages were working fine that used Microsoft.Appli cationBlocks.Da ta.dll,
and now, with no changes, we're getting this -

Access is denied: 'Microsoft.Appl icationBlocks.D ata'.

All I can find with Google is that indexing service and antivirus software
can cause this (which would be consistant, perhaps, with a deplayed
failure). But on this server neither is running.

This project has worked on 2 other servers, and my own personal machine
locally without this problem. I am at a loss as to how to fix this, aside
from rewriting code and removing the application block completely.

Has anyone else dealt with this problem, knows what's going on?

Paul
Apr 20 '07 #2

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

Similar topics

0
395
by: Karuppasamy | last post by:
H I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net I installed everything as per the Instructions given in the 'Development Using the Logging Block' But when i am trying to run the sample, i am getting the following error in the Event Viwer Kindly help me on this
4
2730
by: RichB | last post by:
Hello, The .NET application I have just installed at a client web site is throwing a strange error. At first the applications works without any problems, but after 10 mins or so Access denied error messages are thrown. The application, web based, late binds to a series of assemblies, none of which are in the GAC. I have configured the application to impersonate the IIS user and have set the user to have access to all relevant...
0
1484
by: Basem | last post by:
I have found people with similar errors using the ConfigurationManagement application block, but those solutions don't seem to do anything...basically, just trying to read in a configuration xml file using this application block, and getting the same error over and over no matter what. Here is my setup: app.config file: ----------------
13
698
by: dave | last post by:
When I start a VS.net web app (with or without) debugging, about half the time I get Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC31011: Unable to load referenced library 'c:\winnt\microsoft.net\framework\v1.1.4322
0
1248
by: PeterB | last post by:
I get error 'Parser Error Message: Access is denied ...' in my webapplication 1. indexing service on server and dev. PC is off 2. error appearing randomly 3. error appearing both in development and production What is your attitude to this? Details:
0
1049
by: Aamir79 | last post by:
Hi all, I'm using Microsoft Applications cache block in my web application. It worked fine for sometime then suddenly it is raising the following error: Message: "Can't validate the current data item. Maybe it was altered." Source: "Microsoft.ApplicationBlocks.Cache" StackTrace: "at Microsoft.ApplicationBlocks.Cache.DataProtectionManager.RemoveMAC(Byte binaryMacValue) in
7
4778
by: Martin Strojek | last post by:
Hi, I have the following problem with developing some web site. I use Visual Studio 2003 to build a website. I tried Windows 2003 Server and switched now back to Windows XP with PWS but the error occurs in both installations. When I do a compile/build of my app and go to the browser and hit reload there comes an error:
0
2314
by: mateipuiu | last post by:
When a try to run a client build on 2005, which uses the Microsoft.ApplicationBlocks.Cache.dll reference, when using a Microsoft.ApplicationBlocks.Cache.dll created on Debug mode, the client works just fine, but when a use a Microsoft.ApplicationBlocks.Cache.dll created on Release mode, the client doesn't work no more, and I get this error message: ********************************************* 1) Exception Information...
5
2345
by: Michael Howes | last post by:
I'm upgrading a VS 2003/.Net 1.1 ASP.Net application to VS 2008/.Net 3.0 The application uses an older version of the Microsoft Data Blocks for database access. The version in the Microsoft.ApplicationBlocks.Data.dll is 2.0 The call to SqlConnection.Open() fails after I upgrade to .Net 3.0 The application runs under a tweaked version of Medium trust. After the upgrade and the call to .Open() fails if I change the trust to Full the...
0
9275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9843
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7248
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5142
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3805
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 we have to send another system
2
3358
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2666
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.