Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 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
  #1 (permalink)  
Old March 1st, 2004, 09:58 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Whitstable, , United Kingdom.
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing network files from IIS PC

I am running a simple web site on my local PC. It is a simple
ASP.NET site running on my PC under IIS.

I have a networked file server with a large Access database on it.

One of my web pages needs to read a table from the Access db on
the file server. I keep getting told that I do not have permission
to do this. Should I set up access permissions on the file server
for a specific 'remote IIS ASP user'. My own user account has
full permissions on the server. But when I run the website - it is
as if the IIS/ASP does not have the required read permissions.

Any ideas?
  #2 (permalink)  
Old March 1st, 2004, 10:07 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You need to give the ASPNET user account on the server read permissions and if it writes to the DB you need to give write permissions to the folder that contains the access DB.

  #3 (permalink)  
Old March 1st, 2004, 10:20 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

We went through this problem in quite some detail on this recent thread http://p2p.wrox.com/topic.asp?TOPIC_ID=8791
  #4 (permalink)  
Old March 2nd, 2004, 07:51 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Whitstable, , United Kingdom.
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks PG Tips - i read the thread and now understand
what I need to do. Much obliged.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing network registry katsarosj Pro Visual Basic 2005 0 August 12th, 2006 04:20 PM
Can I run Apache and IIS on the same PC? thegooner BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 9 June 15th, 2005 05:45 AM
Accessing files outside of IIS server mcinar HTML Code Clinic 10 April 7th, 2005 10:47 AM
Reading information from remote PC on the network Dmitriy Pro VB 6 2 January 8th, 2004 11:04 AM
setting up PC as a web server with IIS kathryne Classic ASP Basics 7 October 9th, 2003 04:55 PM





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