Solved

SQL Permission denied!

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
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
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now