I have a network share in the intranet that allows write access to everyone (guest)

So, i wrote a program (mojoportal module, anyway it's the same, i think) in c# that writes some files in that path, and in visual studio works great.

Now, using the same program in IIS 7.5, does not work, i get this exception:

> 
> System.Net.WebException: An exception
>  occurred during a WebClient request.
>  ---> System.IO.IOException - Logon failure: unknown user name or bad
>  password.
> 
> 
> 

Well... since the access on the smb share is granted to everybody, i don't understand why it does not work on IIS...

The code is this:

```
WebClient wc = new WebClient();
wc.DownloadFile(urltodownload, smbshare);

```

What it can be?
Thanks