Unable to write to file in my web site

  • Thread starter Thread starter asherLaci
  • Start date Start date
A

asherLaci

Hi,

I developed 2 applications:
1) ASP.NET Web Service
2) Windows application, that communicate with the Web service using
SOAP

In the Web service I can read any text file but i can't write to text
file in my WEB site.
Before calling the Web service i used this:
webService.Credentials =
System.Net.CredentialCache.DefaultCredentials

The response i'v got is:
The Wervice is unable to open the file
Server was unable to process request. --> Access to the
path "d:\hosting\ashersh\clientsData\qqq.txt" is denied.

Does sombody can tell me how can i get WRITE authorization???

Thanks

Asher
 
Master Programmer ëúá:
Google this....

<identity impersonate="true"/>

Steve Ray Irwin

I put this command into the WEB.config in my web site, but it still
doesn't work. I'v got the same error message

Asher
 
You need to add the username & password to that string - of the person
with correct file permissions.

Steve Ray Irwin
 
Hi..

Check the Permission's assigned for the file u accessed, for the users
ASP.NetUser and IUSER_SystemName ..
U can find the permission wizard on the Secrity settings on the
property wizard.. If u did't find this, Go through the Folder options
--> Views --> Check" Simple file sharing .." ..
 
Look, when I ask you to do something - ****ing do it ok. I asked you to
Google it. When I said that I meant reseach it properly.

I didnt mean put it in your web.config file then come back and ask me
another ****ing stupid question because you were too bone ****ing idle
to read how the code works.

Steve Ray Irwin
 
Don't let this guy get to you; he's abusive, and his viewpoints
do not represent the rest of the people in this forum.

Robin S.
----------------------------


Master Programmer ëúá:
Google this....

<identity impersonate="true"/>

Steve Ray Irwin

I put this command into the WEB.config in my web site, but it still
doesn't work. I'v got the same error message

Asher
 
Thanks,

You are absolutly right, i tried to ignore his response.
My problem was solved by the instructons of my site adminstrator, how
to write enable my subfolders.

Asher
 
Thanks,

You are right.
My problem was solved by the instructons of my site adminstrator, how
to write enable my subfolders.

Asher
 
Back
Top