473,587 Members | 2,496 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access is denied: 'Interop.ADODB' error - almost ready to jump off the balcony!

Hi folks,

I have a VB.Net application, currently being developed on my XP Pro 2002 SP2
box. It is pretty straightforward and accesses my local SQL2000 instance.

Randomly I get the above error (see subject line) and I am thus far unable
to google my way out of it. I have tried "iisreset" but this has no effect.
The error stops on line 258 below of machine.config:
Line 256: <add assembly="Syste m.EnterpriseSer vices,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
Line 257: <add assembly="Syste m.Web.Mobile,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:

c:\windows\micr osoft.net\frame work\v1.1.4322\ Config\machine. config
If anyone can help me with this issue I will greatly appreciate it. My
balcony is on the 7th floor and I suspect this is not worth the jump but it
is driving me crazy!!

Cheers,
Dave E (Sydney)
Dec 22 '05 #1
1 2258
> Randomly I get the above error (see subject line) and I am thus far unable
to google my way out of it. I have tried "iisreset" but this has no
effect. The error stops on line 258 below of machine.config:
Line 256: <add assembly="Syste m.EnterpriseSer vices,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
Line 257: <add assembly="Syste m.Web.Mobile,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:


IIS gets bit-rot sometimes. Especially if you're using IIS on your
development workstation and it's maxed out.

1. Exit VS.NET
2. NET STOP IISADMIN
3. NET START W3SVC
4. Launch VS.NET and open your project
5. CONTROL+SHIFT+B

--
Peace & happy computing,

Mike Labosh, MCSD

"When you kill a man, you're a murderer.
Kill many, and you're a conqueror.
Kill them all and you're a god." -- Dave Mustane
Dec 22 '05 #2

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

Similar topics

2
4612
by: Peter | last post by:
Hello Thanks for reviewing my question. I am writing a shared Office AddIn that uses a couple of user controls on a form and from time to time I receive this error "COM Interop registration failed. Access is denied." The only way I have found around this is exit VS.NET and restart it. When debugging, I have VS.NET launch Excel in order to...
3
2536
by: buran | last post by:
Dear ASP.NET Programmers, I am trying to save a new created Word document, but getting the following the error. I granted the necessary rights to the ASPNET user, but I'm still getting this error. Thanks in advance, Buran Dim objWordApp As New Microsoft.Office.Interop.Word.Application()
6
4132
by: ASP.Confused | last post by:
I have an ASP.NET page writtein in VB that uses ADODB. I just had to force-install MDAC 2.8 after I tried to rollback to 2.6 (my web host uses this, and I wanted to be compatible with them.) I had to manually install all of the ODBC drivers and the rest of the DLL's, and now I am getting "Access is Denied" errors on any page that uses ADODB....
0
3528
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the original question, the subject line is: ADODB.NET and "Access Denied" I have an ASP.NET page writtein in VB that uses ADODB. I just had to
8
3406
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be added. Converting the type library to a .Net assembly failed. A depended type library 'CDO' could not be converted to a .NET assembly. A dependent...
3
2528
by: Mark | last post by:
I'm getting the following error when I add Access as a reference to my project: A reference to 'Microsoft Access 10.0 Object Library' could not be added. Converting the type library to a .NET assembly failed. A dependent type library 'OWC10' could not be converted to a .NET assembly. A depedent type library 'ADODB' could not be converted to...
6
5553
by: royan | last post by:
Help please! I have the same problem which this post http://groups.google.com/group/microsoft.public.vsnet.vstools.office/browse_thread/thread/91275741fa1e100f/164638c6d6ba3872?lnk=gst&q=System.UnauthorizedAccessException%3A+Access+is+denied.&rnum=1&hl=en#164638c6d6ba3872 When I deploy our ASP.NET Application web form to Windows server 2003...
0
940
by: hanz032003 | last post by:
Hi All, I have a problem about using PIA(Primary Interop Assembly) in vb.net. I declare a variable handling the Microsoft.Office.Interop.Excel.Application like this dim sample as Microsoft.Office.Interop.Excel.Application and instantiate like this sample =New Microsoft.Office.Interop.Excel.Application. when I run the program I got this error...
5
8436
by: muriwai | last post by:
Hi, I have a C# assembly project under Visual Stuio 2008 Pro on Windows Server 2008. I converted the project from VS 2005. The project references COM->Microsoft CDO for Windows 2000 Library 1.0, which adds two entries under References called CDO and ADODB. When I compile the solution, I get the following: Error 1 Assembly 'Interop.CDO,...
0
7923
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7852
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...
0
8349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7974
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...
0
8221
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...
1
5719
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...
0
5395
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...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.