I'm having problems installing Oracle XE 10g on a Windows Server 2008 64 bit machine.
After the installation the connection to the database administration page http://127.0.0.1:8080/apex fails.
If I run
sqlplus / as sysdba I get the error
ORA-12560: TNS:protocol adapter error.
Looking at the services, I can see that OracleServiceXE is not started (even if the startup type is automatic).
I restart the service and re-run
c:\>sqlplus / as sysdba (...) Connected to an idle instance. SQL> startup ORA-01078: failure in processing system parameters ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora' ORA-27041: unable to open file OSD-04002: unable to open file O/S-Error: (OS 2) The system cannot find the file specified.
Is it possible to recreate that file somehow? I already tried uninstalling and reinstalling, and got exactly the same behavior.