The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

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

Wasim
15223
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
4.1k324278
accept rate: 12%

edited 07 Aug '12, 09:33

Justin%20Willey's gravatar image

Justin Willey
6.4k101132197

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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: 447 times

last updated: 07 Aug '12, 09:33

Related questions