title: Cannot bulk load because the file could not be opened. Operating system error code 1326(Logon failure: unknown user name or bad password.)
body: <p>bulk upload from csv test file</p>
  
  <p>"\servername\wwwroot\Upload\LDSAgentsMap.txt" </p>
  
  <pre><code>     SET QUOTED_IDENTIFIER ON
  SET ANSI_NULLS ON
  GO
  
  CREATE PROCEDURE [dbo].[sp_CSVTest_BulkInsert] ( @Path NVARCHAR(128) )
  AS 
      DECLARE @Sql NVARCHAR(256)
      SET @Sql = 'BULK
  INSERT CSVTest 
  FROM ''' + @Path + ''' WITH
  (
  FIELDTERMINATOR = '','',
  ROWTERMINATOR = ''\n''
  )'
  --PRINT @Sql
  EXEC(@Sql)
  
  GO
  </code></pre>
  
  <p>path is  "\servername\wwwroot\Upload\LDSAgentsMap.txt" </p>
  
  <p>note</p>
  
  <p>this is in shared hosting and database user have blukadmin and public service role </p>