T
Trevor Howe
Hi All
I got hold of an article about building an OLAP Reporting APP in ASP.Net.
This article makes use of a Pivot Table on a web form and then uses a web
service to set the various properties on the Pivot table. Here is a link to
that article:
http://msdn.microsoft.com/msdnmag/issues/03/10/OLAP/default.aspx
I found that the code worked fine except when I was trying to communicate
with the fieldset property of the Pivot view. It gave an interop.owc10
unspecified error (which tells me nothing). After two weeks of
troubleshooting, and the help of one of my colleagues who knows a lot more
about .Net than me, we have narrowed this problem down to a permissions issue
on the COM component (i.e. the Pivot table object on the web form).
We have enabled impersonation by setting the <identity impersonate="true" />
in the web.config file. This allows the signed on users credentials to go
through instead of the ASPNET account. The problem was that these same
credentials were not being passed to the COM object. The solution, we found,
was to set the ASPCOMPAT property of the web form page to true. This works if
the code is sitting in code behind form, BUT NOT FOR WEB SERVICES.
I need to get this up and running using web services, but web services does
not have any ASPCOMPAT property.
What now? Is there any better way to do this? I am pretty new to .net, so
any help would be appreciated.
PS. Alvin this is a continuation of my previous post from TJCube. I am sure
that in your research for your .Net book, you might have come across this
problem before.
PPS. Jeffrey Hasan, Kenneth Tu - as authors of the article and accompanying
source code, can't you can shed some light on this matter?
I got hold of an article about building an OLAP Reporting APP in ASP.Net.
This article makes use of a Pivot Table on a web form and then uses a web
service to set the various properties on the Pivot table. Here is a link to
that article:
http://msdn.microsoft.com/msdnmag/issues/03/10/OLAP/default.aspx
I found that the code worked fine except when I was trying to communicate
with the fieldset property of the Pivot view. It gave an interop.owc10
unspecified error (which tells me nothing). After two weeks of
troubleshooting, and the help of one of my colleagues who knows a lot more
about .Net than me, we have narrowed this problem down to a permissions issue
on the COM component (i.e. the Pivot table object on the web form).
We have enabled impersonation by setting the <identity impersonate="true" />
in the web.config file. This allows the signed on users credentials to go
through instead of the ASPNET account. The problem was that these same
credentials were not being passed to the COM object. The solution, we found,
was to set the ASPCOMPAT property of the web form page to true. This works if
the code is sitting in code behind form, BUT NOT FOR WEB SERVICES.
I need to get this up and running using web services, but web services does
not have any ASPCOMPAT property.
What now? Is there any better way to do this? I am pretty new to .net, so
any help would be appreciated.
PS. Alvin this is a continuation of my previous post from TJCube. I am sure
that in your research for your .Net book, you might have come across this
problem before.
PPS. Jeffrey Hasan, Kenneth Tu - as authors of the article and accompanying
source code, can't you can shed some light on this matter?