Question

SQL Server allows SELECT statement, but not INSERT/UPDATE/DELETE

Asked by: morphinex

Our company is running MS 2000 Server with Client Access Licenses with MS SQL Server v8.0 Enterprise edition.  Currently, the SQL server is only taking SELECT statements while rejecting all INSERT/UPDATE/DELETE procedures (even with Admin access)

We believe it is an issue with the licensing aspect of the SQL Server, but we own processor license...  We are trying everything at the moment, and I thought I'd come and ask experts here while we are attempting to solve the problem ourselve.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2003-04-29 at 08:07:36ID20600036
Tags

current

,

sql

Topic

MS SQL Server

Participating Experts
2
Points
100
Comments
20

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. SQL statement
    can you use other SQL statements when creating recordsets with regards to "select distinct". Does the "select distinct" statement restrict the capabilities of the recordset? Also, how do you set a window within a VB program so it can't be moved, draged etc.
  2. HttpConnector[8080] No processor available, rejecti…
    Hello, I am having a problem with tomcat. After running for few days I get the following error, then i have to restart the server. We are running a web app with about 40 users. Any body know why em i getting this. I was thinking of increasing the max proc, but i don’t kno...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: acperkinsPosted on 2003-04-29 at 08:11:35ID: 8420671

>>while rejecting all INSERT/UPDATE/DELETE procedures <<
What is the error message?

Anthony

 

by: morphinexPosted on 2003-04-29 at 08:18:07ID: 8420722

I don't want to say the server freezes... rather, the client interface connecting to the server stops responding.  It doesn't even give a timeout error.  

We use task manager to close out the Server Enterprise Manager.

Currently, it is telling us that our Database is "recovering" but we haven't really done anything to it to resolve the problem.

 

by: morphinexPosted on 2003-04-29 at 08:27:36ID: 8420803

Heh, now it is working.  We simply let the SQL server finish "recovering."  

But, before the server entered into the self-recovery phase, we simply couldn't INSERT/UPDATE/DELETE.  It didn't even mention it was recovering.

Since we didn't do anything to fix the problem, we are trying to find out what caused it and how to resolve the problem in the future.

 

by: morphinexPosted on 2003-04-29 at 08:36:49ID: 8420862

Heh, now it is working.  We simply let the SQL server finish "recovering."  

But, before the server entered into the self-recovery phase, we simply couldn't INSERT/UPDATE/DELETE.  It didn't even mention it was recovering.

Since we didn't do anything to fix the problem, we are trying to find out what caused it and how to resolve the problem in the future.

 

by: luke_davisPosted on 2003-04-29 at 08:38:24ID: 8420871

I'm gonna guess the the database found a corruption in some data, indexes or something of the sort, resulting in the dbengine setting the Reovery state. During this time while SQL server is reorganizing data, it can not process update, insert, or delete requests.

 

by: morphinexPosted on 2003-04-29 at 08:43:47ID: 8420916

Heh, now it is working.  We simply let the SQL server finish "recovering."  

But, before the server entered into the self-recovery phase, we simply couldn't INSERT/UPDATE/DELETE.  It didn't even mention it was recovering.

Since we didn't do anything to fix the problem, we are trying to find out what caused it and how to resolve the problem in the future.

 

by: morphinexPosted on 2003-04-29 at 08:47:53ID: 8420955

Here is one error that could cause the problem...

Error: 9002, Severity: 17, State: 6
The log file for database 'Lazarus' is full. Back up the transaction log for the database to free up some log space.

However, we have the SQL Server to automatically increase the size of the partition to let the transaction log grow (it's at 40 gigs at the moment).  I personally doubt that is the problem we are facing... but, would the server crap out if it cannot create anymore transaction log?

 

by: morphinexPosted on 2003-04-29 at 08:51:17ID: 8420986

Here is one error that could cause the problem...

Error: 9002, Severity: 17, State: 6
The log file for database 'Lazarus' is full. Back up the transaction log for the database to free up some log space.

However, we have the SQL Server to automatically increase the size of the partition to let the transaction log grow (it's at 40 gigs at the moment).  I personally doubt that is the problem we are facing... but, would the server crap out if it cannot create anymore transaction log?

 

by: luke_davisPosted on 2003-04-29 at 08:53:43ID: 8421004

Yep.  Sure would.  By running out of space the Server would not be able to ensure a good recovery of data changes.  For data integrety purposes, it would not allow any modifications of data.  
I'm a little intersted in the fact that you have a 40 gig transaction log.  Do you perform database backups and truncate the log?  I mean 40 gig may not seem like alot, but I'd hate to think about the recovery time...

 

by: acperkinsPosted on 2003-04-29 at 08:54:38ID: 8421013

>>The log file for database 'Lazarus' is full. Back up the transaction log for the database to free up some log space.<<

It sounds like you ran out of disk space. have you tried backing up the transaction log.  40GB seems rather large.

Anthony

 

by: luke_davisPosted on 2003-04-29 at 08:56:03ID: 8421029

BTW: don't use F5 or refresh use the reload this question at the top left of the browser window Pressing f5 or refresh will email all those people who are helping you a new message thinking that there is more to help with.

 

by: morphinexPosted on 2003-04-29 at 10:25:31ID: 8421690

Sorry about the f5 / refresh.  I'm new at asking questions.  I will use the 'reload this question' at the top left corner.  Usually, I find the answers via browsing the topics.

The transaction log is important to our database since we are in the business of selling.  That's why it is so large.  We have now discounted the error as the source of the problem for a few reasons --

1) The allocation disk space for the log grows in chunks of 10% each time it reaches a specific limit automatically, the error message should never had happened.  There were plenty of space for the log to grow into.

2) The problem gone away after the db finished the recovery process -- however, recovery does not shrink the transaction log, nor create more space for the transaction log.  

3) The error occurred at 9:35 AM during the 1st SQL Server reboot.  The problem with the SQL Server didn't go away until the 5th reboot finishes at 11:21 AM.

We are running out of errors to examine in all the different error logs.  We are probably gonna get pounded into the ground soon.  

 

by: luke_davisPosted on 2003-04-29 at 11:00:12ID: 8421960

I'd have to spend more time doing research, but during the grow of the transaction log, the database might not be able to accept the requests, so even though you discounted this as the reason, I'm not sure you should have been so quick to move on. So my question might be did the log just "grow" or does it have about 10% free space at the moment?  If it does... then your error could likely be that during a state of "growth" the db is unable to process update requests.  

As far as the Log size... Again, if you backup the db, and the transaction log to say, tape backup, you can safely SHRINK the transaction log.  
here's the concept:

I have a good backup of a database at 12:00am on 1/1/2003 and my transaction log has been shrunk.
Now, its 1/2/2003 at 1:00pm... My DB crashes.  I restore the db from backup, and then apply as much as the CURRENT transaction log as I can to the database.  Isolating the transaction, if it is a transaction, that causes the corruption.  Then take steps to prevent the transaction from causing the error again.
At my next backup, I backup the Database and the transaction log, shrinking the log again.   If I need to retain the transaction logs for business reasons, I archive them off to a different space/server/media for storage/retrevial.

I guess my question would be how often have you had need to use your transaction log for business?  I'm guessing is is not often, so archiving off to a different location does a few things for you; makes recovery faster incase of db failure, provides the history of your transactions(for whatever reason) and decrease the effort of the os to upkeep a 40 gig file.   Sometimes it is beneficial to set a transaction log to a SET file size.  Say You know the file grows by 10 meg / day and you do backups every night.  You could easily set the log db to a 100 meg size, on a shrink and your log should never need to "GROW" unless you exceed 10 Times your normal day's growth. Alternatively, you could import your transaction logs into a seperate DB and maintain your "history" that way.

Growth takes time, and DOES effect resources.  
I'm not sure if growth takes into account fill factor and possibly reorganization of indexes... If it does, this could easily explain your inability to modify data during this period.

Good Luck!

 

by: morphinexPosted on 2003-04-30 at 07:22:48ID: 8428361

It happened again.  Came in this morning and everything was working fine for about an hour.  All of the sudden, it came crashing down.

Currently, we can perform SELECT statements but not INSERTS/DELETES.  We can't even look at table properties in the Server Enterprise Manager.  Yesterday, we made absolutely sure the transaction log and DB had room to grow into.  There is no way that overnight, both could grow another few gigabytes.

When doing any query that the Server doesn't like, it simply stops.  Not even a timeout error.  At the SQL Server Log, here are all the errors occurred.

--
10:07:25.01 Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install..

10:07:25.01 Error: 15457, Severity: 0, State: 1

10:10:40.29 Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install..

10:10:40.29 Error: 15457, Severity: 0, State: 1

10:11:38.42 Waiting for type 0x4, current count 0xa, current owning EC/PSS 0x6D22B4F8/0x6D22B1D0.

10:11:38.42 WARNING: EC 6cee7518, 0 waited 300 sec. on latch 42c8ba70.  Not a BUF latch.

--
That's all.

 

by: morphinexPosted on 2003-04-30 at 07:24:16ID: 8428372

Okay, after 20 minutes, my DELETE query went through.  So it isn't rejecting, simply... SLOW.  EXCESSIVELY.

 

by: morphinexPosted on 2003-04-30 at 07:33:44ID: 8428451

Our manager decided the transaction log is the one causing the delay.  Since the SQL server brought the company to a grinding halt, he decided to truncate the transaction log.  From 49 gigabytes, to 11 megabytes.

Everything works smoothly now.  I'd keep the topic open for another day and see if anyone else have comments that might be helpful in the future!

 

by: luke_davisPosted on 2003-04-30 at 08:03:46ID: 8428704

MSFT: KB Articles: Q303640 and Q30909 might help, but only if your using AWE memory for the SQL server.

 

by: luke_davisPosted on 2003-04-30 at 08:04:59ID: 8428714

The article at:
http://www.sqlmag.com/Forums/messageview.cfm?catid=13&threadid=9683

seems to be about the same topic...
but they don't have an answer yet either.

 

by: luke_davisPosted on 2003-04-30 at 08:16:29ID: 8428804

One last link...
http://www.it-faq.pl/msKnowledgeBase/kb_html/en-us/310/834.HTM

Seems they have uncovered a variety of potential errors for this problem.  This might be something to investigate.

 

by: morphinexPosted on 2003-05-01 at 11:44:43ID: 8437571

Answer isn't really what we are looking for, but I doubt a better answer would be forth coming.  Thanks for the help though!

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...