Restrictions

Mar 18 2009 2:47 AM
Hello!

I have developed Web Services app and client. I can upload and download files to server with these. I have set web.config of app this line:
<httpRuntime maxRequestLength="1048576" executionTimeout="3600"/>
It worked good when I use local development server but when I upload over 2 megs files to Windows Server 2003 what is in Internet, Server is closing connection after some time. The biggest file what I have could upload is 1,8 megs. My internet connection download speed 384 kbps and upload speed I don't know.

I have set into client value srv.Timeout = 3000000 where srv is instance of my Web Services app. I have tried to modify machine.config file what is in .net 2 config-folder , but I don't really know how to set new limits with this config-file. If I set it as web.config, I get error. There is sections and I don't know how to use these.

What I have to do that I get Server working right. I'm more developer than server administrator.

Thank You!

Regards Matti