C
cct
Dear all,
I am confuse with ASP.net security in related to
Microsoft.Office.Interop.OWC.
My server setting:-
Windows Server 2003 + SP1
SQL Analysis Services 2000 + SP4
dotnet framework 1.1 + SP1
oxppia.exe
OWC10 (version=10.0.6619.0)
web.config:-
<authentication mode="Windows" />
<identity impersonate="true" />
IIS Authentication Method:-
Integrated Windows Authentication (ONLY!)
Sample Code (c#):-
protected OWC10.PivotTableClass oPivot = new OWC10.PivotTableClass();
System.Xml.NameTable oNT = new NameTable();
System.Xml.XmlNamespaceManager oXNM = new
System.Xml.XmlNamespaceManager(oNT);
oXNM.AddNamespace("x","urn:schemas-microsoft-comffice:excel");
oReportXmlDom.SelectSingleNode("//x:ConnectionString",oXNM).InnerText =
"Provider=msolap.2;Data Source=localhost;Initial Catalog=[FoodMart 2000];";
oPivot.XMLData =
oReportXmlDom.DocumentElement.SelectSingleNode("dataxml").FirstChild.OuterXml;
(NO ERROR!)
OWC10.PivotRowMember oRowMember =
((OWC10.PivotRowMember)oPivot.ActiveData.RowAxis.Member.get_FindMember(szPath,OWC10.PivotMemberFindFormatEnum.plFindFormatPathName));
(ERROR !!! System.Runtime.InteropServices.COMException: Unspecified ereror)
Any Help or Advice is highly appreciated.
cc
I am confuse with ASP.net security in related to
Microsoft.Office.Interop.OWC.
My server setting:-
Windows Server 2003 + SP1
SQL Analysis Services 2000 + SP4
dotnet framework 1.1 + SP1
oxppia.exe
OWC10 (version=10.0.6619.0)
web.config:-
<authentication mode="Windows" />
<identity impersonate="true" />
IIS Authentication Method:-
Integrated Windows Authentication (ONLY!)
Sample Code (c#):-
protected OWC10.PivotTableClass oPivot = new OWC10.PivotTableClass();
System.Xml.NameTable oNT = new NameTable();
System.Xml.XmlNamespaceManager oXNM = new
System.Xml.XmlNamespaceManager(oNT);
oXNM.AddNamespace("x","urn:schemas-microsoft-comffice:excel");
oReportXmlDom.SelectSingleNode("//x:ConnectionString",oXNM).InnerText =
"Provider=msolap.2;Data Source=localhost;Initial Catalog=[FoodMart 2000];";
oPivot.XMLData =
oReportXmlDom.DocumentElement.SelectSingleNode("dataxml").FirstChild.OuterXml;
(NO ERROR!)
OWC10.PivotRowMember oRowMember =
((OWC10.PivotRowMember)oPivot.ActiveData.RowAxis.Member.get_FindMember(szPath,OWC10.PivotMemberFindFormatEnum.plFindFormatPathName));
(ERROR !!! System.Runtime.InteropServices.COMException: Unspecified ereror)
Any Help or Advice is highly appreciated.
cc