Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 4th, 2003, 01:35 AM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Access97 database with VB.Net

I am having problems linking to Access97 databases from VB.Net.
I am using Windows XP Pro.
Any clues?
 
Old June 4th, 2003, 10:30 AM
Authorized User
 
Join Date: Jun 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, how are you trying to connect? Are you using visual studio (or another IDE), or are you just handcoding the connection string?

What are the problems you are having?

Quote:
quote:Originally posted by philwield
 I am having problems linking to Access97 databases from VB.Net.
I am using Windows XP Pro.
Any clues?
 
Old July 25th, 2003, 10:31 AM
Registered User
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I ran into similar problems when I tried to create my first web service that accessed an access database. My problem was solved by granting the proper permissions to the folder the DB was in. It was actually an IIS problem, but the point is, grant ASP/ASPNET user permissions to the database folder and see if that fixes it like it did for me. From explorer, right click to access the property page for the folder, and as I recall, it was under "Advanced". There you get a list of all the system users and something like ASP or ASPNET user should be there. Add it to the file folder permissions.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Database connection to VB.NET am_kuthus Visual Studio 2008 2 June 13th, 2008 08:10 AM
Database Connection Using VB.NET prasanta2expert ADO.NET 2 January 20th, 2007 07:41 AM
connecting to database with vb.net niallm ADO.NET 2 April 16th, 2004 01:02 PM
VB.Net/VB/Access97/Access2002 Comparison doveb VB.NET 4 October 10th, 2003 09:54 AM
Packaging an VB.NET Database Application fantom222 VB How-To 2 June 30th, 2003 12:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.