Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL Permission denied!

Posted on 1998-12-23
3
Medium Priority
?
389 Views
Last Modified: 2010-03-19
I have a program that was created to take info from a paradox database and place the info into a sql database.  The program has been working fine until a power outage 3 days ago.  The program now returns a permissions denied error when i run it.  I can see the files coming in on the debug log but it always fails when trying to write to SQL all of the sudden.  I've checked my SQL permissions everyplace i can think of.......Please help- at this point we're really hurting for an answer.
0
Comment
Question by:jacknjill
3 Comments
 
LVL 2

Expert Comment

by:tschill120198
ID: 1092366
1) What is the exact error you are getting?
2) Does everything else appear to be normal from the SQL side (i.e., you can log in from ISQL and other applications, run queries, etc.)?
0
 

Author Comment

by:jacknjill
ID: 1092367
Everything appears to be fine.  The error is simply permission denied and its not a stock microsoft error.
0
 
LVL 18

Accepted Solution

by:
mdougan earned 200 total points
ID: 1092368
This is a wild shot, but I seem to remember something about how SQL Server will mark a data file as read-only if the system crashes.  Check the file attributes of the physical files for your database data and see if any are marked Read-Only

MD
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ready to get certified? Check out some courses that help you prepare for third-party exams.
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question