Re: Acces files on remote server - problem



Is this is an existing file (in particular accessed before you try to
overwrite it ?). If yes try to see if creating a brand new file would work
(file used by IIS are AFAIK locked for a short period of time after their
use i.e. you might not be able to delete a file you just have displayed
through the web site)...

Double check also under which identity your web app is running to make sure
(are you using just anonymous authentication ?, also the default account is
not the same under IIS5/IIS6)...

Good luck.

--
Patrice

"benoit" <benoit@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de news:
E9D3C90D-0D3A-4D99-89A0-F3758C453B8D@xxxxxxxxxxxxxxxx
Yes I did..
I think i checked every possible access posibility and gave a lot of
rights
strange thing is that if i try this on my local machine, by using the IP
of
my computer it wil not work, but if I use "C:\mapping", then there is no
problem


"Patrice" wrote:

There is also a permission on the share itself... Have you checked this
one
?

--
Patrice

"benoit" <benoit@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news:
A37E50FA-60D1-4BE9-AA48-913D4FFC4D0C@xxxxxxxxxxxxxxxx
Hi,

on a fileserver I have several images en xml-files that I need to
access.
In web.config I have this section
<appSettings>
<add Key="Remote" value="//000.000.000.000" />
</appSettings>


In my codebehind, there is this code
strRemote = ConfigurationManager.AppSettings["Remote"];


Without any problem I can browse, consult, read and open all files on
my
remote server. But I cannot write to it. So no files can be updated...


this is the error I get
"unauthorizedaccesException"
"Access to the path '\\000.000.000.000\myFile.xml' is denied."

Yet I have added the correct rights to the server(ASP.NET machine
account,
Guest Account for Internet acces - IUSR_myPc)
So there should be something else
but what

anyone?







.



Relevant Pages

  • VS.NET Create Web Application Hang
    ... We even created a local account for him to ... That local account allows him to create a web app, ... and created with the user as a Domain Admin. ...
    (microsoft.public.dotnet.general)
  • Re: HKEY_LOCAL_MACHINE Registry Access
    ... > Using Regedit: I'm sitting at my local machine, ... > you're talking about the LOCAL SERVICE account). ... - you are logged on using a DOMAIN administrators account that is a member ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Basic question on Windows Integrated Security
    ... IUSR_is not the default Web App Pool identity. ... IUSR_is used by IIS as the account to impersonate for requests ... Pool identity, and is configurable via the Application Pools node in the IIS ...
    (microsoft.public.inetserver.iis.security)
  • Re: head scratcher...
    ... Actually when your web app runs it will run under ASPNET account so that's ... Under 2000 server the rights are more relaxed, ... > takes a file name and opens a file from an nfs mounted directory. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: search webservice authorization issue
    ... dedicated account is OK for me. ... > It works fine on your local machine with default credentials because you are ... > boundary, your sending your credentials to the target SPS server, SPS in turn ...
    (microsoft.public.sharepoint.portalserver.development)