Click here to Skip to main content
14,599,202 members
Rate this:
Please Sign up or sign in to vote.
See more:
hai
i am upload .doc,.docx,.ppt,.pdf file but only upload a local machine and can`t upload server machine why,
Posted
Comments
Ed Nutting 18-May-12 9:03am
   
Because you don't have permissions to? How are we supposed to answer this? When uploading, do you get an error message? If so, post it, if not, call the server's technical support line - we aren't mind readers you know :)

Ed

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Hi @priyaanandprasad

Please check the following possibilities for this.

1)Make sure you have permission.

2)Are you using compression(gzip or any other tech.)check the IIS setting for this.

3)Is your browser denied means that the code is not exicuted on the server side(.cs file) and directly giving error(web page can not display.)
for this check the size of the document you are uploading as well as check the config setting for the "httpruntime" ,"maxrequestlength" and "exicutiontimeout" tags.

4)add <add key="aspnet:MaxHttpCollectionKeys" value="9999"> tag in your web config file.

5)check the path from where your downloading and uploading the file(probably in your web config file).

Please let me know if you have any query.
Hope it will help you.

Thanks
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100