on 04-17-2012 11:28 PM
Hi Experts,
I have a problem with my CRM system when trying to upload files more than 40mb through the transaction SCASE, it shows the following error without further information "Operation is not allowed (CRM_P_CASE)"
Something strange is that this error only appears in our development and production system. The quality system can upload files larger than 80mb with no problem
Our build content server is the 201 version 46
I've already checked SAP Note 328209 and change the parameter MaxTransferBlockSize modifying the ContentServer.INI being as follows:
[ContentServer]
KeepConnection=0
AdminSecurity=1
ContRepRoot=P:\ContentServer
Storage=FileSystemStorage.dll
ContentStorageHost=@StorageHost@
ContentStorageName=@StorageName@
MaxTransferBlockSize=131070
[contRep-Z_CONT_CSP_DEV]
ContentStorageHost=cspjalcmn01
ContRepRoot=\\cspjalcmn01\ContentServer
Storage=FileSystemStorage.dll
Security=1
ContRepDescription=CSP Content Server - Repository
[contRep-ZCRMORDER]
ContRepRoot=\\cspjalcmn01\ContentServer
ContentStorageHost=cspjalcmn01
ContRepDescription=CSP Content Server - Repository
Storage=FileSystemStorage.dll
Security=1
I think the error is no longer in the content server and the problem may be some configuration or parameter is missing in DEV and PRO systems, because QAS system is okay. It's just that I can not identify
Best Regards ¡¡¡
Hello,
Note: There is a File Upload limitation in IIS 7 on Windows Server,
IIS will reject any file that is larger than e.g. 30 MB. This is a default
limitation of IIS. You can increase the maximum file size by setting the
parameter maxAllowedContentLength in the file ApplicationHost.config.
The following command can be used to set the parameter from the command
prompt, please change the directory to Windows\System32\inetserv and then execute the
command.
appcmd setconfig /section:requestFiltering/requestLimits.maxAllowedConte
ntLength:150000000
The value is only an example, in this case the upload limit is set to
150MB.Server has to be restarted after execution of this command.
Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
I did not get that command to work but found out that below worked fine (maybe valueable for others . I extended for SAP Content Server in IIS the limitation for filesize to 150 MB. So if you only want to set it for your app the command is:
%windir%\system32\inetsrv\appcmd set config "Default Web Site/<your app>" -section:requestFiltering -requestLimits.maxAllowedContentLength:150000000
An here is exactly what I executed:
1. In windows, rund CMD as "Administrator"
2. go to dir: c:\windows\system32\inetserv
3. Execute following command: appcmd set config "SAP_Content_Server/ContentServer" -section:requestFiltering -requestLimits.maxAllowedContentLength:150000000
It should return something like:
C:\Windows\System32\inetsrv>appcmd set config "SAP_Content_Server/ContentServer"
-section:requestFiltering -requestLimits.maxAllowedContentLength:150000000
Applied configuration changes to section "system.webServer/security/requestFilte
ring" for "MACHINE/WEBROOT/APPHOST/SAP_Content_Server/ContentServer" at configur
ation commit path "MACHINE/WEBROOT/APPHOST/SAP_Content_Server/ContentServer"
OBS!
If you try to execute with a user that has too low permissions in Windows you will get: "Cannot read configuration file due to insufficient permissions", that´s why "Run as administrator" for CMD.
Hope this might help others.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.