Home All Groups Group Topic Archive Search About

Unable to write to file in my web site

Author
28 Nov 2006 2:26 PM
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

Author
29 Nov 2006 2:46 AM
Master Programmer
Google this....

<identity impersonate="true"/>

Steve Ray Irwin

asherLaci wrote:
Show quoteHide quote
> 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
Author
29 Nov 2006 5:30 AM
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
Author
29 Nov 2006 5:53 AM
Master Programmer
You need to add the username & password to that string - of the person
with correct file permissions.

Steve Ray Irwin

asherLaci wrote:
Show quoteHide quote
> 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
Author
30 Nov 2006 7:42 AM
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.
----------------------------

"asherLaci" <asher***@013.net> wrote in message
news:1164778219.077551.126500@j72g2000cwa.googlegroups.com...

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
Author
3 Dec 2006 5:48 PM
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
Author
29 Nov 2006 8:40 AM
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 .."  ..



Show quoteHide quote
On Nov 28, 7:26 pm, "asherLaci" <asher***@013.net> wrote:
> 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
Author
3 Dec 2006 5:49 PM
asherLaci
Thanks,

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

Asher