Avatar of axnst2
Flag for United States of America asked on

Can't connect to Oracle service

Hi Experts,

      First off, I am brand new to Oracle so i am guessing I did soemthing I wasn't supposed to!  Oooops...  

      So I was going to create a table space using SQL*Plus using the same name as one of my existing tablespaces.  I didn't want to delete the old one so I was going to rename the file (MyTableSpace.dbf) using Windows Explorer.  It wouldn't let me due to "file is being used by another application".  So I figured that the server must still be accessing it so smart me I stopped the services OracleServiceXE, then changed the name of the file to MyTableSpace_Backup.dbf.  Then i restarted the service and tried to log in connect using both SQL*Plus and Oracle SQL Developer and I get the below errors:

SQL*Plus Error

SQL Developer Error
I tried naming the file back to the original name and restarting my PC but I am still getting the error...  How do I fix this?  I tried looking online, but apperantly a lot of things can cause this.  I tried 3-4 different things I found but none of them are a fix...

Oracle Database

Avatar of undefined
Last Comment
Geert G

8/22/2022 - Mon
slightwv (䄆 Netminder)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Changing the file name back and restarting my PC one more time fixed the issue...  Thanks!

Geert G

1 distinction.

you renamed a datafile filename, not a tablespace
a tablespace is a container for files... (1 or multiple)

tablespace A
  datafile c:\oracle\data\A1.dbf
  datafile c:\oracle\data\A2.dbf
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes