Wednesday, March 28, 2012

Trouble Accessing Data File from .Net App

I am having trouble accessing a datafile in my inetpub/wwwroot/_private
directory from a VB .Net app that I am debugging. When I run the program I
get an error saying that ASPNET is not authorized to use the file. When I
right-click the file in question and select the Security tab ASPNET is not
listed under User Names ... but Internet Guest Account and Launch IIS
Process Account are listed [along with a couple of others]. I am running
iis 5.1 and have installed .Net Framework Version 1.1 Redistirbutable
Package.
Thanks.

Try to add the ASPNET acocunt to that folder.
Regards

0 comments:

Post a Comment