SQL> create tablespace data_test datafile 'c:\oralce\oradata\test\data_1.dbf' size 100m;
create tablespace data_test datafile 'c:\oralce\oradata\test\data_1.dbf' size 100m
*
ERROR at line 1:
ORA-01119: error in creating database file 'c:\oralce\oradata\test\data_1.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.本人小白,刚刚接触Oracle,尝试着创建一个表空间,结果死活就是报错。
以上代码中,c:\oralce\oradata\test\路径是没有问题的,第一次尝试,我以为是路径有问题,后来自己创建了一遍路径,可以语句报错依旧,现在请给为看官瞧瞧吧

解决方案 »

  1.   


    OSD-04002: unable to open file
    对这个目录的文件权限的问题 是否为win7或者是vister的系统 自己去检测对文件目录的有读写权限否
      

  2.   

    c:\oralce\oradata\test  
    这个路径正确吗?
      

  3.   

    你是不是没权限啊...你用dbca能创建成功么
      

  4.   

    路径写错了
    c:\oralce\要改成
    c:\oracle\细心呀楼主