Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

Problem about share network directory

Gova_GimerGova_Gimer Member - All Emails Posts: 25
Hello
I am on my driver virtual disk filesystem,
the UNC work and I can make multiple UNC.
When I mount a virtual disk filesystem on an empty directory (set reparse), it works good.
But when I share (network share (Explorer -> Property -> Tab Sharing)) a directory from my virtual disk filesystem ,
then i not view the icon shared in the explorer and when I want to access through the network
I get have the error:
The specified server cannot perform the requested op?ration

What solution do you have?

Thank you

Comments

  • Scott_Noone_(OSR)Scott_Noone_(OSR) Administrator Posts: 3,096
    Run Process Monitor on the server side and check for failing operations from
    the System process.

    WireShark on the client can also help.

    -scott
    OSR
    @OSRDrivers

    -scott
    OSR

  • Gova_GimerGova_Gimer Member - All Emails Posts: 25
    FindNextFile return error ERROR_BAD_NET_RESP

    wchar_t *s=L"\\\\Desktop-j0kvj3n\\cbon !!!!vdfs\\*.*";
    WIN32_FIND_DATAW ws;
    HANDLE ff=FindFirstFileW(s,&ws);
    if (ff!=INVALID_HANDLE_VALUE)
    {
    while (1)
    {
    printf("%ws\n",ws.cFileName);
    if (FindNextFileW(ff,&ws)==FALSE)
    {
    int err=GetLastError();
    break;
    }
    }
    FindClose(ff);

    }
    return 0;
    Why ?
    I'm sending the correct information in the case of FileBothDirectoryInformation.

    I don't understand !
  • Gova_GimerGova_Gimer Member - All Emails Posts: 25
    Problem now solved ,
    I send god information.
    But WriteFile return ERROR_ACCESS_DENIED if a file is since network.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Writing WDF Drivers 25 Feb 2019 OSR Seminar Space
Developing Minifilters 8 April 2019 OSR Seminar Space