2015年5月26日 星期二
2015年5月15日 星期五
在ASP.NET下,更換SSL機器ssl憑証升級為sha256
WINDOWS 2000 SERVER目前不支援SSL SHA256如需要使用,只能重新設定在Windows 2003 Server系統,相關修正程式如下!
IIS主機更新路徑
更新主機,網址如下:
https://support.microsoft.com/ EN-US / KB / 968730 / ZH-TW
IIS主機更新路徑
更新主機,網址如下:
https://support.microsoft.com/ EN-US / KB / 968730 / ZH-TW
Windows2003 IIS & Oracle 9 相容問題經驗筆記
應該有人發生過相關問題,因此在這留一些相關經驗供未來有相同問題者參考。
當在Windows 2003 IIS下的asp要連結本機所裝的Oracle 9 ,
網頁出現Chrome 下會出現 adodb.connection 錯誤 '800a0e7a'找不到提供者。.....
或IE下出現HTTP 500 內部服務器錯誤....
可試著調整所安裝的Oracle目錄位置之權限,將其權限加入[IUSER_NAME和 [IWAN_NAME]
這兩個目錄權限(安全性設定)即可,可能是相關Oracle所安裝的目錄位置安全權限設限,造成ASP沒有權限連結此資料庫目錄,造成網頁相關問題產生!
當在Windows 2003 IIS下的asp要連結本機所裝的Oracle 9 ,
網頁出現Chrome 下會出現 adodb.connection 錯誤 '800a0e7a'找不到提供者。.....
或IE下出現HTTP 500 內部服務器錯誤....
可試著調整所安裝的Oracle目錄位置之權限,將其權限加入[IUSER_NAME和 [IWAN_NAME]
這兩個目錄權限(安全性設定)即可,可能是相關Oracle所安裝的目錄位置安全權限設限,造成ASP沒有權限連結此資料庫目錄,造成網頁相關問題產生!
ORACLE 指令筆記
純粹筆記!!!!!
1.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
02. Ora9 EDIT
[A]
Command
sqlplus
sys as sysdba
w12345
shutdown immediate;
startup
startup mount; (single mode)
alter database open; (多工mode)
[B]
啟動資料庫連線
LSNRCTL START
[C]
listener.ora
[D]
1、 create pfile='d:/pfile' from spfile;
2、修改pfile檔,裏面加入*._allow_resetlogs_corruption=TRUE
3、Startup nomount pfile='d:/pfile';
4、Alter database mount;
5、Recover database until cancel;
6、Alter database open resetlogs;
7、Select * from test1;
[E]
UNDOTBS01.DBF文件太大的解決辦法
1) recover datafile '/usr/oradata/kelong70/undotbs01.dbf' ;
2) alter database datafile '/usr/oradata/kelong70/undotbs01.dbf' online;
3) create undo tablespace undotbs2 datafile '.............' size ..m ; (from above post)
4) alter system set undo_tablespace=undotbs2 scope=both;
5) alter system set undo_management=auto scope = spfile;
6) shutodwn immediate;
7) startup;
8) drop tablespace undotbs1 including contents and datafiles;
解決辦法:
1.升級到9205
2.停止undo tablespace
3.縮小undo tablespace
-- undo tablespace
create undo tablespace undotBS2 datafile 'C:\oracle\oradata\eoffice\UNDOTBS1.DBF' size 100m;
-- 建置新的空間 undo_tablespace
alter system set undo_tablespace=undotBS2;
-- Drop 原有空間
drop tablespace undotbs1 including contents;
--查看所有表格空間
select * from dba_tablespaces
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
01. Ora8 SetUpb
[A]
1.Oracle Database Assistant
2.Create a database
3.Custom
4.Advanced Replication
5patabase Name=orcl(wttt)
SID = orcl(wttt)
Initialization Filename d:\orant\database\initorcl
Password = w12345
7.預設值
[B]
1.開啟<服務>
2.啟動 OracleServiceORC
OracleStartORCLE
OracleTNSListener80
<啟動.自動>
[C]
1.Administrator Toolbar
2.標題->Customize->Database
3.Service = Oracle
Default <勾選>
User = SYSTEM
Password = Manage
[D]
Storage 擴充區塊
Rb0 2000
Rb1 2000
Sysrol 2000
[E] initwttt.ora
-》OPEN_CURSORS = 200
[F] 中文問題
C:\winnt\regedit
HKEY_LOCAL_MACHINE
SOFTWARE
ORACLE
NLS_LANG
"TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5"
改成 "AMERICAN_AMERICA"
1.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
02. Ora9 EDIT
[A]
Command
sqlplus
sys as sysdba
w12345
shutdown immediate;
startup
startup mount; (single mode)
alter database open; (多工mode)
[B]
啟動資料庫連線
LSNRCTL START
[C]
listener.ora
[D]
1、 create pfile='d:/pfile' from spfile;
2、修改pfile檔,裏面加入*._allow_resetlogs_corruption=TRUE
3、Startup nomount pfile='d:/pfile';
4、Alter database mount;
5、Recover database until cancel;
6、Alter database open resetlogs;
7、Select * from test1;
[E]
UNDOTBS01.DBF文件太大的解決辦法
1) recover datafile '/usr/oradata/kelong70/undotbs01.dbf' ;
2) alter database datafile '/usr/oradata/kelong70/undotbs01.dbf' online;
3) create undo tablespace undotbs2 datafile '.............' size ..m ; (from above post)
4) alter system set undo_tablespace=undotbs2 scope=both;
5) alter system set undo_management=auto scope = spfile;
6) shutodwn immediate;
7) startup;
8) drop tablespace undotbs1 including contents and datafiles;
解決辦法:
1.升級到9205
2.停止undo tablespace
3.縮小undo tablespace
-- undo tablespace
create undo tablespace undotBS2 datafile 'C:\oracle\oradata\eoffice\UNDOTBS1.DBF' size 100m;
-- 建置新的空間 undo_tablespace
alter system set undo_tablespace=undotBS2;
-- Drop 原有空間
drop tablespace undotbs1 including contents;
--查看所有表格空間
select * from dba_tablespaces
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
01. Ora8 SetUpb
[A]
1.Oracle Database Assistant
2.Create a database
3.Custom
4.Advanced Replication
5patabase Name=orcl(wttt)
SID = orcl(wttt)
Initialization Filename d:\orant\database\initorcl
Password = w12345
7.預設值
[B]
1.開啟<服務>
2.啟動 OracleServiceORC
OracleStartORCLE
OracleTNSListener80
<啟動.自動>
[C]
1.Administrator Toolbar
2.標題->Customize->Database
3.Service = Oracle
Default <勾選>
User = SYSTEM
Password = Manage
[D]
Storage 擴充區塊
Rb0 2000
Rb1 2000
Sysrol 2000
[E] initwttt.ora
-》OPEN_CURSORS = 200
[F] 中文問題
C:\winnt\regedit
HKEY_LOCAL_MACHINE
SOFTWARE
ORACLE
NLS_LANG
"TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5"
改成 "AMERICAN_AMERICA"
訂閱:
文章 (Atom)