Issue with xp_create_subdir

  • Hi,

    I am trying to execute the following command

    EXECUTE

    master.dbo.xp_create_subdir '\\ServerShare\SQLBackup$\Server03\UserDBs\DB1'

    GO

    There are no folders in the following location '\\ServerShare\SQLBackup$\Server03\UserDBs\

    But still I am receiving this error

    Msg 22048, Level 16, State 1, Line 0

    xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.'

    Any idea why SQL Server throws such an error

    Please help

    Vinu

  • Check the permissions for that folders .

    Sorry, my english is poor.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply