Solved

SQL Permission denied!

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

743 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

16 Experts available now in Live!

Get 1:1 Help Now