惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
博客园_首页
H
Help Net Security
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
B
Blog
I
InfoQ
SecWiki News
SecWiki News
T
Tailwind CSS Blog
Spread Privacy
Spread Privacy
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Vulnerabilities – Threatpost
N
Netflix TechBlog - Medium
P
Palo Alto Networks Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Vercel News
Vercel News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
K
Kaspersky official blog
M
MIT News - Artificial intelligence
S
Schneier on Security
T
Threat Research - Cisco Blogs
F
Fortinet All Blogs
Cyberwarzone
Cyberwarzone
Scott Helme
Scott Helme
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
MyScale Blog
MyScale Blog
The Cloudflare Blog
Recent Announcements
Recent Announcements
Security Latest
Security Latest
G
GRAHAM CLULEY
IT之家
IT之家
Y
Y Combinator Blog
The Last Watchdog
The Last Watchdog
腾讯CDC
Google DeepMind News
Google DeepMind News
V
V2EX
S
Securelist
TaoSecurity Blog
TaoSecurity Blog
B
Blog RSS Feed
S
SegmentFault 最新的问题
博客园 - 叶小钗
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
Project Zero
Project Zero
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
F
Full Disclosure

博客园 - Pharaoh

jae的mongo数据库管理工具(原创) 面是否包含点的算法 简单的远程控制软件 学习Python,编写了个网站 - Pharaoh - 博客园 将Unicode字符串转换为普通文字 - Pharaoh - 博客园 测试从Mathon插件发表 VS集成环境中的JavaScript脚本语法检查 测试用Windows Live Writer [转]滚动条颜色生成工具。 用资源管理器打开“打开文件”对话框的目录。 - Pharaoh - 博客园 用Word2007发Blog的配置方法(多图)。 - Pharaoh - 博客园 测试Word2007 用批处理写的显示磁盘剩余空间的小程序。 总算亲自看见了一个网站被黑后的页面。 [转]XP如何禁止媒体文件预览 Google Calendar V2.0汉化 快捷方便的对js文件进行语法检查。 用IronPython作为.Net的脚本语言。 事开机时Num Lock键打开。
C#通过http访问olap
Pharaoh · 2006-08-04 · via 博客园 - Pharaoh

通过网络访问其他机器上的数据挖掘数据库方法:
在数据挖掘数据库机器上进行如下配置:
1.安装XMLASDK.msi。(在微软网站上下载)
2.将刚刚安装目录下的保护“msxisapi.dll”文件的目录设置为虚拟目录:“xmla”,赋予此目录“执行”的权限。(设置此目录可以匿名访问。)
3.通过IE直接访问“http://127.0.0.1/xmla/msxisapi.dll”应该返回一个xml页面。
4.添加数据仓库的Everyone的访问权限。

========
客户端:
1.安装:ADOMD.NET.msi。(在微软网站上下载)
2.C#中添加引用:Microsoft.AnalysisServices.AdomdClient

主要程序代码:
                string connString = "Datasource=http://localhost/xmla/msxisapi.dll; Provider=msolap; Initial Catalog=教程";
                conn = new AdomdConnection(connString);
                conn.Open();
                AdomdCommand cmd = conn.CreateCommand();

                cmd.CommandText = textBox1.Text;
                CellSet cset = cmd.ExecuteCellSet();

源代码下载:

Download