I have written a WCF client / server in order to send files from client to service.
I host the service inside a console APP initially and everything works fine.
But when I try to host within IIS I get an exception. Is there some special permissions that need to be given to the folder where I try to upload files.
I read a blog which said we need to specify NTFS permissions for the folder. But how do we specify them ?
Can someone help me with this ?
thanks
You need to grant write permission to the process (account) running the web app for the folder you’re uploading to. You can do that by right-clicking on the folder in Windows Explorer, selecting properties, then selecting the security tab, then you can set the permissions for various accounts.
If you’re having problems for files greater in size than 6 MB you may need to tweak either the IIS file upload size limits.