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

推荐订阅源

T
Tenable Blog
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
H
Help Net Security
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
量子位
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
Scott Helme
Scott Helme
The Last Watchdog
The Last Watchdog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
AI
AI
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
U
Unit 42
V2EX - 技术
V2EX - 技术
MongoDB | Blog
MongoDB | Blog
Schneier on Security
Schneier on Security
博客园 - Franky
H
Heimdal Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
B
Blog RSS Feed
N
News | PayPal Newsroom
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园_首页
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
雷峰网
雷峰网

博客园 - 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