Unable to write to file in my web site

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
 
A

asherLaci

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
 
M

Master Programmer

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

Steve Ray Irwin
 
K

Kodali Ranganadh

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 .." ..
 
M

Master Programmer

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
 
R

RobinS

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
 
A

asherLaci

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
 
A

asherLaci

Thanks,

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

Asher
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top