# StgCreateDocfile failed

**URL:** <https://techcommunity.softwareag.com/t/stgcreatedocfile-failed/59707>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [September 19, 2006, 1:41pm UTC](https://techcommunity.softwareag.com/t/stgcreatedocfile-failed/59707 "2006-09-19T13:41:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tilo](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@Tilo](https://techcommunity.softwareag.com/u/Tilo)\
**Post date:** [September 19, 2006, 1:41pm UTC](https://techcommunity.softwareag.com/t/stgcreatedocfile-failed/59707/1 "2006-09-19T13:41:58Z")

</div>

Hi All,

I have a problem with StgCreateDocfile. If i call this function the 3rd time (the created storages are still opened), i get the error 0x80070070 (ERROR\_SHARING\_PAUSED from FACILITY\_WIN32).

The file parameter is different every time, the file does not exist, the mode parameter is STGM\_CREATE|STGM\_READWRITE|STGM\_SHARE\_EXCLUSIVE. The path points to the /tmp directory.

I am using a linux kernel 2.4.23 from the ELinOS distribution. If i do the same things on an ‘ordinary’ linux (Suse), it works. The dcomcnfg is the same in both cases. The EntireX version is 7.2.1.

Any ideas ?

Thanks, Tilo

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/stgcreatedocfile-failed/59707/2 "2021-04-02T14:40:00Z")

</div>


