Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1056429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:42:51+00:00 2026-05-16T17:42:51+00:00

I am trying to drop a tablespace in oracle 10g , using my application

  • 0

I am trying to drop a tablespace in oracle 10g , using my application .

A bit about my application — In my application I can create tablespaces.

Now what happens in oracle is that when you create a tablespace , then a new user automatically gets created and is attached to the database.

When you have to drop a tablespace what one has to do is to , first drop the user connected to the database and then the database.

When I try to drop a user associated with a tablespace.
An exception is thrown by the database which is the System.Data.OracleClient.OracleException

The details of the exception are as follows – ORA – 01904 (Can Not drop a user that is currently connected)

The thing is I have closed all the connections.Pretty sure about this.

Still oracle is throwing this exception.

Any suggestions???

Still it is not able to drop the user and throws the exception.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:42:51+00:00Added an answer on May 16, 2026 at 5:42 pm

    It can happen that you closed applications but did not ended Oracle sessions for that user. Log in as sysdba and query active sessions:

    SQL> select sid, serial#, username from v$session;
    
           SID    SERIAL# USERNAME                      
    ---------- ---------- ------------------------------
           122       2557 SYS                   
           126       7878 SOME_USER                      
    

    If you find your user in this list then kill all his sessions:

    SQL> alter system kill session 'sid,serial#';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a drop down select option using PHP, MySQL, and ajadx
trying to select next option drop down list by using a id identifier, but
I'm trying allow drag and drop to the tray icon on my application. I
Hi I am trying to implement drop feature of a4j with JSF Datatable. I
I am trying out jQuery-UI drag-drop feature. I was able to easily convert a
I'm trying to implement drag and drop on a wx.TreeCtrl and I need to
I have a data grid where users can drag columns and reposition them. But
i, I have one Materialized view on one server which is created by DB
How do I do the following in Microsoft SQL Server 2005? DECLARE @PCT Decimal(4,1)
I am getting this error in my event logs for a service I put

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.