Print Page | Close Window

Connection to Access in VB.NET Web.

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=16659
Printed Date: 28 March 2026 at 5:58pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Connection to Access in VB.NET Web.
Posted By: Colin F
Subject: Connection to Access in VB.NET Web.
Date Posted: 22 September 2005 at 7:20pm
Too much time I have spent on what I am sure has a simple solution.
 
Using VisualBasic.NET standard version I cannot connect in a Web project to an Access database without getting a Security Exception - Requested registry access is not allowed.
 
I have tried various connection strings and changed settings in the configuration file to no avail!
 
On the same subject I have SQL Server Developer Edition and considering I can connect to this in Access or standard ASP why is it not allowed in VB.NET?
 
Regards
Colin
http://www.lottoposter.com - www.lottoposter.com  
 
Followup: Eventually sorted as you probably guessed by settings in IIS; Application Protection set to Low (IIS Process). I think - did not itterate completely. There is a blurb from Microsoft about the same error - Q329291 (look at the references at bottom of page too) - so you create an Event Log - wouldn't install for me as inadvertently I had put P/L somewhere and despite trawling and changing all entries in the registry it still finds it somewhere!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net