我是按照http://www.aspnetpro.com/newsletterarticle/2004/10/asp200410ri_l/asp200410ri_l.asp上的教程一步一步来实现的,但最后运行WEB时,按提交按钮,弹出错误提示:
"Error (Data mining): Either the user, [UserName], does not have permission to access the referenced mining model, MovieRecommendations, or the object does not exist."
请问这是为什么呢,Analysis Services的一些安全性、角色设置也一应设置了。
我是新手,问题描述的有什么不明确的地方,还望大家指出...
谢谢~~

解决方案 »

  1.   

    Either the user, [UserName], does not have permission to access the referenced mining model, MovieRecommendations, or the object does not exist." 提示, user, [UserName], 这里错误,[user]这样试试,再学习
      

  2.   

    模型建立
    http://blog.csdn.net/jinjazz/archive/2009/04/07/4053719.aspx
    通过http发布
    http://blog.csdn.net/jinjazz/archive/2009/04/09/4058368.aspx然后用adomd.net建立连接,连接字符串类似Provider=MSOLAP;Persist Security Info=false;Initial Catalog=ssas数据库名;Data Source=http://192.168.0.1/olap/msmdpump.dll" 
      

  3.   

    SQL77 [UserName]显示的即是我登陆AS的用户名,这个该如何改~~
      

  4.   


    你通过http发布就可以了,这样登陆as会使用服务器windows帐户。
      

  5.   

    jinjazz:
    配置了虚拟目录,通过http发布,依旧报错:
    "Either the user, WORKGROUP\DENGKAILANG$, does not have access to the MovieRecommendations database, or the database does not exist."
    红色部分和以前的不一样~
      

  6.   

    WORKGROUP\DENGKAILANG$这个是服务器吗???
      

  7.   

    jinjazz:
    好的,我再重新配一遍~~
    不知您用.Net的ADOMD.Net的文章何时出~
      

  8.   

    还是不行,也不知是什么问题~~
    用htttp地址无法登陆到AS,只能用其他用户名才能登陆~~