Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional 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 April 24th, 2007, 09:42 PM
Authorized User
Join Date: Apr 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stuck with DBF file access from Network Drive

hi there...

i have a problem in accessing DBF Files as my database back end...

when i run my asp.net 2.0 it works fine... but when i publish ... then it does not access DBF files , giving error "files doesnot exists.."

on web server where application is published, i have a map drive where fox pro DBF files are exists (fox pro DBF files are residing at out Novel Server and im having mapped drive to that folder where DBF files are resided).

pls help me //. its urgent...

any idea ?

Old April 24th, 2007, 10:34 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Accessing network resources from a web app is pretty difficult. The problem is usually security related. The web application runs under a very restricted local account to prevent serious problems from occurring. As a result, something even as simple as local machine file write access can be a pain to configure correctly. When you factor in network resource access, it can get down right impossible.

How are you mapping the drive? When you map a drive, usually that mapping is only within the context of the user you are logged in as. The web app (IIS) isn't going to see that mapping and thus can't access the network resource. There are supposedly ways to map a drive at the system level, but I have not had any luck with it.

Old April 26th, 2007, 04:36 AM
Authorized User
Join Date: Apr 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

hi guys,.. finally i did it.....
by setting impersonation to my web.config file....
and setting backgroundfetch=no


Similar Threads
Thread Thread Starter Forum Replies Last Post
Free up access to a DBF File tknnguyen Pro VB 6 4 September 28th, 2009 11:50 AM
Excel VBA access FoxPro DBF file il_mostrino Excel VBA 0 May 16th, 2008 02:27 PM
Can't access file via Map Network Drive peter2004 ASP.NET 2.0 Basics 2 February 27th, 2007 01:59 PM
How to backup database to Network Drive Jane SQL Server 2000 3 July 4th, 2005 12:37 PM

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