RE: problems reading network file from ASP .NET

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Bill Borg (BillBorg_at_discussions.microsoft.com)
Date: 02/09/05


Date: Wed, 9 Feb 2005 14:15:03 -0800

Try giving access specifically to your ASP.NET machine account, which by
default has less privilege than Everyone. Equivalent .NET app is fine because
it's not running under a least-privileged account.

Bill

"zxkuqyb" wrote:

> I've written a simple ASP .NET web application that reads a text file and
> displays it in the web browser. Works fine when reading a local path; but
> fails with "can not find a part of the path", or "can not access network
> file" when attemting to access a UNC network path. I am using IIS 6.0 on
> Server 2003. SharePoint Portal Server is also installed on this server. I
> have granted full access to 'everyone' on the network file. An equivalent
> .NET desktop application reads the file fine.
>
> This seems like a trival task. What am I missing?



Relevant Pages

  • Re: ASP.NET 2.0 application across three physical servers?
    ... As I know, the .net app runs directly under IIS, you can not separate them ... server, and sql server). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: adding another domain controller problem
    ... Failed to modify the necessary properties for the machine account ... When you run Dcpromo to create a replica domain controller, ... When one or more domain controllers are on a Windows 2000 server that is ... Failed to modify the necessary properties> for>> the machine account server2$ Access is denied. ...
    (microsoft.public.windows.server.networking)
  • RE: LAN_SENDER_ERROR 576 When trying to Install a Secondary Site Serve
    ... I also added another Domain Controller with Windows 2003 R2 Machine account ... to the Domain Admins performed the same test and this fails. ... So in summary my PS Server is a member server with windows 2003 release 2 ... I have also tested this with just 2 workstations and with workstation 1's ...
    (microsoft.public.sms.setup)
  • Re: Member server rejoining domain
    ... The restore process is suppose to maintain the SID however it is going to ... member server is removed from the domain and then you have to rejoin it ... At this point the old server is no longer on the domain. ... Do I have to delete the leftover machine account from the old ...
    (microsoft.public.windows.server.active_directory)
  • Re: Changing domain user password
    ... find the machine account and open its properties. ... There should be Delegation tab where you can enable it. ... If you put this off until your 2003 server upgrade, ... >> configure the machine account for the web server for Kerberos Delegation ...
    (microsoft.public.dotnet.framework.aspnet.security)