2015年2月11日 星期三

MSOLAP 目標電腦拒絕連線

一個legacy system,vb2003+sql2000+olap2000+dts2000+rs2000,用了11年了。

中間曾因客戶不想花錢升級sql2005,因為OLAP和DTS要打掉重做,客戶覺得為什麼要花錢重做,為什麼不能直接升級上去就好...BLA BLA BLA.....反正就一直撐著。


最近有個以他的OLAP2000當資料來源的系統先升級了,OS換成WINDOWS 2008R2+SQL2005 64bit,原本是WINDOWS2003R2+SQL 2005 32bit,升級後,在SQL 2005 64BIT上建立OLAP 的LINKED SERVER時,出現了以下的錯誤,
MSOLAP 目標電腦拒絕連線

查到這篇KB,真是殘念啊,OLAP2000只能在SQL SERVER2005 32BIT上才能建立LINKED SERVER。

After you install a 64-bit instance of SQL Server 2005 Analysis Services, only the 64-bit version of the Microsoft OLE DB Provider for Analysis Services 9.0 provider is available. The 64-bit version of the SQL Server service can use this provider to connect to 64-bit instances of SQL Server 2005 Analysis Services and to 32-bit instances of SQL Server 2005 Analysis Services. However, the 64-bit version of the SQL Server service cannot use this provider to connect to SQL Server 2000 Analysis Services.

After you install a 32-bit instance of SQL Server 2005 Analysis Services, the 32-bit version of the Microsoft OLE DB Provider for Analysis Services 9.0 provider is available. If you are running the 32-bit version of the SQL Server service, the SQL Server service can use this provider to connect to SQL Server 2000 Analysis Services. 

改裝了SQL2005 32BIT就可正常連線到OLAP2000了。

最近花了很多時間在搞這種舊系統,真是累!

2015年2月10日 星期二

SQL2014 SHORTCUT RECOVERY

安裝了SQL Server2014後,原本的捷徑紛紛失效
例如CTRL+R,可以顯示或隱藏QUERY RESULT

機器上原本安裝的是SQL 2012,結果也在安裝完SQL2014後,捷徑也一起失效了。

查了半天,有人說在Tools>>Options>>Environment>>Keyboard Reset一下keyboard的設定就回復正常了。

如法泡製...咦........真的就好了。

附上SHORTCUT說明

https://msdn.microsoft.com/zh-tw/library/ms174205.aspx

publish error allowDefinition='MachineToApplication'

一個老舊的aspx web form專案,調了一些功能建置成功,但進行部署時顯示以下錯誤。 在應用程式層級之外使用註冊為 allowDefinition='MachineToApplication' 的區段發生錯誤。錯誤的原因可能是虛擬目錄尚未在 IIS 中設定為...