Last post Apr 14, 2009 08:43 AM by qwe123kids
Apr 14, 2009 04:00 AM|niraj_gict|LINK
am creating a chart in powerpoint. chart is creating but some times there occure a error .
i have added references - Microsoft office 10.0 Object Library,Microsoft PowerPoint 10.0 Object Library. what more i need to do for remove error . error is like this-
server error in '/'Application.
server execution failed
system.runtime.interopservices.comexception server execution failed
am using this code
pptApp1 = New Microsoft.Office.Interop.PowerPoint.Application pptPres1 = pptApp1.Presentations.Add
pptSlide = pptPres1.Slides.Add(1, PpSlideLayout.ppLayoutBlank)
pptGraphHolder = pptSlide.Shapes.AddOLEObject(Left:=50, Top:=20, Width:=641, Height:=535, ClassName:="MSGraph.Chart", Link:=msoFalse)
gphChart = pptGraphHolder.OLEFormat.Object
please help any body in detail
Apr 14, 2009 06:52 AM|qwe123kids|LINK
The ASPNET user account is very restricted for security reasons -- you'll need to either run under an account that has more permissions, or grant additional persmissions to the ASPNET account.
Hope inormation Helps
Apr 14, 2009 08:29 AM|niraj_gict|LINK
how to set ASPNET user account
Apr 14, 2009 08:43 AM|qwe123kids|LINK
Right Click websiter -->Propeties -->
Direcorty Security --> Anonymus access Auteh -->edit --> brosswer and provide the Right
Hope it helps