Solved

SQL Permission denied!

Posted on 1998-12-23
3
373 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 100 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access join syntax when converting to T-SQL query 4 36
SQL Log size 3 20
VB.NET Application Installation with sqlserver 8 32
Evaluate Twice? 2 9
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

821 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