Showing posts with label viewer. Show all posts
Showing posts with label viewer. Show all posts

Friday, March 9, 2012

How to use form authentication with Reporting Service

Can we use form authentication with Reporting Service?
Is it more convenient to do with form authentication if I use Report Viewer
in webapplication?Yes, you can use Forms auth with Reporting Services.
Here is an MSDN link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/htm
l/ufairs.asp
--
| From: "ad" <flying@.wfes.tcc.edu.tw>
| Subject: How to use form authentication with Reporting Service
| Date: Thu, 29 Sep 2005 22:48:35 +0800
| Lines: 6
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <uwln0TQxFHA.1284@.tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: 218-162-75-240.dynamic.hinet.net 218.162.75.240
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:53360
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| Can we use form authentication with Reporting Service?
|
| Is it more convenient to do with form authentication if I use Report
Viewer
| in webapplication?
|
|
||||Yep, but prepare for the pain if you do!

Wednesday, March 7, 2012

How To use Data Mining HTML Tree Viewer

Hi!

I try to use Data Mining HTML Tree Viewer, but has some problem. In the Connection property, i can't set a new connection to this property.

Help me!!!

The Connection property should be used in the code behind the web page. When the web application already initialized an OleDb connection pointing to an Analysis Services server, that connection can be reuased by the web controls.

An example (assuming a Tree viewer control on the page, named DMDecisionTreeViewer1)

System.Data.OleDb.OleDbConnection cn = new System.Data.OleDb.OleDbConnection();

cn.ConnectionString = "Provider=MSOLAP.3;Data Source=localhost; Initial Catalog=MyCatalog";

DMDecisionTreeViewer1.Connection = cn;

DMDecisionTreeViewer1.Model = "MyModel";

DMDecisionTreeViewer1.Tree = "SomePredictableColumn";

If a connection is not available in the web application (the general case), then the Connection property should be ignored and, instead, the Server and Database properties of the controls should be populated. If, in the code above, the properties are set as below:

DMDecisionTreeViewer1.Server = "localhost";

DMDecisionTreeViewer1.Database= "MyCatalog";

then the result will be the same as using the connection created above (the control will create a connection by itself and use it in populating the tree content)

Hope this helps