cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to create folders 5.0

yikki
Champ on-the-rise
Champ on-the-rise
Hi
This is on a fresh install of Alfresco running on Windows Server 2012 R2, with IIS 8.5 as the webserver. Currently, I am unable to create new folders within Alfresco Share. It prompts me with the Could not create ''. Duplicate folder name? warning, but that isn't the problem. I can add files to Alfresco, but folders do not work at all.

Any help would be great.
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
Please don't cross post.   I've deleted your duplicate for you.

yikki
Champ on-the-rise
Champ on-the-rise
I was unaware of where it would need to be located, as it could be either. I just find it bizarre that I am able to create users and upload files, but folder creation doesn't work. Also, there are no errors in logs.

yikki
Champ on-the-rise
Champ on-the-rise
So, IIS threw me this warning, could this be the problem?


Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/10/2015 9:13:17 AM
Event time (UTC): 3/10/2015 3:13:17 PM
Event ID: 2a27fe7511504646bdc5cf85b4f428c1
Event sequence: 90
Event occurrence: 5
Event detail code: 0

Application information:
    Application domain: /LM/W3SVC/1/ROOT-1-130704715600439291
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\inetpub\wwwroot\
    Machine name: WEDNESDAY

Process information:
    Process ID: 3352
    Process name: w3wp.exe
    Account name: IIS APPPOOL\DefaultAppPool

Exception information:
    Exception type: HttpException
    Exception message: A potentially dangerous Request.Path value was detected from the client (Smiley Happy.
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)



Request information:
    Request URL: http://wednesday/share/proxy/alfresco/api/type/cm:folder/formprocessor
    Request path: /share/proxy/alfresco/api/type/cm:folder/formprocessor
    User host address: 10.100.00.00
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: IIS APPPOOL\DefaultAppPool

Thread information:
    Thread ID: 8
    Thread account name: IIS APPPOOL\DefaultAppPool
    Is impersonating: False
    Stack trace:    at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)

mrogers
Star Contributor
Star Contributor
Yes it looks very suspicious.   I suggest you post your IIS config, someone may be able to help. 

However most people will run alfresco with Apache.

yikki
Champ on-the-rise
Champ on-the-rise
asp.net 4.0 has quite extensive url validation. When Alfresco creates a folder it uses alfresco/api/type/cm:folder/formprocessor as the url. The validation rejects the use of : in url's so I added a regex function within my asp.net web.config file.

system.web
    httpRuntime requestPathInvalidCharacters="<,>,%,&,\,?" /
/system.web

All of the other special characters are still getting validated, but I did not include ":" so now the url is allowed through.