In this article, I will explain about how to resolve that problem!
We need to change configurations at two places.
- Web.Config :-
- We need to make change for below two important thing.
- NOTE: This change is very important when you upload document to SharePoint document library by using programmatically or from SharePoint Object Model Code by using Asp.NET File Upload control or HTML File Upload.
i. maximumRequestLengh: What is maximum size of File, a user can upload.
ii. Execution Timeout: it is very important because if it is less than upload time, upload of file operation can fail.
- Open the Web.config file of this webapplication by going to Local Drive:\Inetpub\wwwroot\wss\VirtualDirectories\SharepointApplicationPortNumber(example 80)
- Find < httpRuntime and replace that line with the following line.
- Go to SharePoint 3.0 Central Administration -> Application Management
- Under “SharePoint WebApplication Management”, we need to go into “WebApplication General Settings”.
- Change the “SharePoint Web application” in which we need to make changes.
- There is option called “Maximum Upload Size” - 50 MB is default value, make it 2047 value.
- Click OK.
Now user can upload more size of documents into SharePoint site.
Disha Shah
Hi
ReplyDeleteIt Is nicwe
Hi disha,
ReplyDeletehow to import the dll in the Services i.e[ControlPanel-AdministrationTools]
I tried but did not find any option.Can u help me this regard.
My purpose to invoke the dll is I have a piece of code in webservice using c# which should get triggered dynamically once for a day basing on the present date.
Hi Santosh
ReplyDelete"My purpose to invoke the dll is I have a piece of code in web service using c# which should get triggered dynamically once for a day basing on the present date."
My First Question
This is something you want to achieve with SharePoint?
If yes you can also do same thing with Custom Timer Job in SharePoint.
Please refer this link
http://msdn.microsoft.com/en-us/library/cc406686.aspx
If not tell me with which technology you want to achieve your requirement?
Hope this helps
Disha Shah
hi,
ReplyDeleteThanks for the response.But I want to achieve using the C#.Net and keep the dll in the Services so that it gets triggered automatically whenever I turn on my PC.
If you can help me in dis regard that will be gr8.