The forum will be unavailable for maintenance at some point from Friday, April 13 at 19:00 EDT until Sunday, April 15 at 23:59 EDT. Downtime will be minimized but the exact timing is unknown.

Hi Guys, Im facing the exact same issue in my application. xp_read_file returns null incase of a Network path. My application is huge and we can not run service as another user or workarounds given above. Do we have any solution to this problem in Sybase 12 driver version or a better work around please? regards, Wasim

asked 07 Aug '12, 01:22

Wasim's gravatar image

accept rate: 0%

I think you're referring to this FAQ...

Does the database engine have access to the network path?

(07 Aug '12, 04:15) Volker Barth

There is no "solution to this problem in Sybase 12 driver version", because it's about restrictions of the operating system and how to work with (or around) them. If the SA service runs under an account without network access and you can't modify that, then xp_read_file won't do it. Your application may handle that by copying the file to a location on the server, where the engine has access to, or you change the application to open it directly.

permanent link

answered 07 Aug '12, 08:37

Reimer%20Pods's gravatar image

Reimer Pods
accept rate: 12%

edited 07 Aug '12, 09:33

Justin%20Willey's gravatar image

Justin Willey

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

question asked: 07 Aug '12, 01:22

question was seen: 573 times

last updated: 07 Aug '12, 09:33

Related questions