![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've installed SQL Anywhere in a custom directory and added iAnywhere.Data.SQLAnywhere.dll there. The .NET program seems to start up and continue to run fine, but an annoying error pops up: "SQL Anywhere ADO.NET Data Provider requires access permissions of one of the following directories: 1. System temporary directory (c:\windows\temp) 2. Current working directory (c:\windows\system32) 3. SQL Anywhere ADO.NET Data Provider assembly directory (directory where my app and the iAnywhere.Data.SQLAnywhere.dll are installed)" I'm running the program as a service under LocalSystem. I'm not sure how or where I would give the data provider access permissions. What is it looking for here? What does this error really mean I'm supposed to do? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
The computers that are having this problem are all systems that are not joined to any domain, and only have local filesystems. We can't see any reason the LocalSystem account wouldn't have access to those folders, and the Security tab doesn't show up when you aren't on a domain. Are there more specific steps you could recommend in this case? We're kind of at a loss as to how we can accomplish this. |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
For anybody else who experiences this problem-- SYSTEM did have permissions in those directories. Upgrading to EBF 3931 seems to have fixed the problem, although this isn't mentioned as a bug in the readme... maybe this: ================(Build #3923 - Engineering Case #580607)================ User Impersonation on IIS caused Win32Exception "Access is denied". This has been fixed. had a side effect for us? |
#7
| |||
| |||
|
|
Thanks for that update Jen. I hadn't considered this might be related to IIS operation (and specifically User Impersonation); though in hindsight that may have seemed to be an obvious 'likely' scenario. Jen> wrote in message news:4ab41954.45e.1681692777 (AT) sybase (DOT) com... For anybody else who experiences this problem-- SYSTEM did have permissions in those directories. Upgrading to EBF 3931 seems to have fixed the problem, although this isn't mentioned as a bug in the readme... maybe this: ================(Build #3923 - Engineering Case #580607)================ User Impersonation on IIS caused Win32Exception "Access is denied". This has been fixed. had a side effect for us? |
#8
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |