Unable to write files using WebDav in Confluence
Asked by Marlene Koh:

Hi, I am able to connect to confluence webdav and map to a network drive at [https://\<confluence_host\>/webdav](). However, I am not able to create a new folder or new files using Windows Explorer (Win10).

I received the following error:

```
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /webdav/Global/SS/Sample%20Space/New%20folder
javax.servlet.forward.context_path:
javax.servlet.forward.servlet_path: /webdav/Global/SS/Sample Space/New folder
javax.servlet.forward.mapping: org.apache.catalina.core.ApplicationMapping$MappingImpl@57783363
javax.servlet.error.status_code: 500
com.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@411d00f6
com.opensymphony.sitemesh.APPLIED_ONCE: true
__cleanup_recursion_counter: 0
javax.servlet.error.message:
javax.servlet.error.servlet_name: default
com.atlassian.confluence.util.message.MessagesDecoratorFilter__already_filtered__: true
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true
atlassian.core.seraph.original.url: /500page.jsp
com.atlassian.labs.botkiller.BotKillerFilter: true
loginfilter.already.filtered: true
javax.servlet.error.request_uri: /webdav/Global/SS/Sample%20Space/New%20folder
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true
com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true
javax.servlet.error.exception: org.springframework.dao.DuplicateKeyException: A different object with the same identifier value was already associated with the session : [com.atlassian.confluence.spaces.Space#491521]; nested exception is org.hibernate.NonUniqueObjectException: A different object with the same identifier value was already associated with the session : [com.atlassian.confluence.spaces.Space#491521]
os_securityfilter_already_filtered: true
com.atlassian.seraph.auth.LoginReason: OK
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true
--------------------------
Parameters
--------------------------
caused by: org.springframework.dao.DuplicateKeyException: A different object with the same identifier value was already associated with the session : [com.atlassian.confluence.spaces.Space#491521]; nested exception is org.hibernate.NonUniqueObjectException: A different object with the same identifier value was already associated with the session : [com.atlassian.confluence.spaces.Space#491521]
at org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:263)
caused by: org.hibernate.NonUniqueObjectException: A different object with the same identifier value was already associated with the session : [com.atlassian.confluence.spaces.Space#491521]
at org.hibernate.engine.internal.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:650)
```

Any help is much appreciated. Thank you!


Answers:
author: Marlene Koh
body: Resolved by using Windows Web Folder to map network location

<https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html#ConfiguringaWebDAVclientforConfluence-AccessingConfluenceinExplorerinMicrosoftWindows>


Tags: confluence-server

server