I have a web service that creates files on the server. It works great locally. As soon as I deploy the se开发者_运维百科rvice to the shared host, it hangs. No exception is caught in the front end web site. When I inspect the folder where it should have written a file, I see the file written with 0 bytes.
Is this a permissions issue?
Any help is appreciated
EDIT: The exception I get is: An existing connection was forcibly closed by the remote host
I don't think it's about permissions. Because you can create a file. I think your issue is about getting the data that will be written into the file. If you're posting a file into server, maybe your max request length is exceeding.
There are separate create and modify permissions in windows. You could be creating the file but not able to write to it but that would be unusual. Remember that the ID running the webserver needs permissions not you.
精彩评论