CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 7/29/2004 12:08:52 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 95 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
skarthick
Asp.Net User
Error deploying web parts with Chart FX7/29/2004 12:08:52 PM

0/0

Hello everyone!

I am using Chart FX chart control in the web part. I am also getting the
same error when trying to add the web part in the Sharepoint portal server's
web page.

"Web Part Error: One of the properties of the Web Part has an incorrect
format. Windows SharePoint Services cannot deserialize the Web Part. Check
the format of the properties and try again."

If I remove the Chart FX related code then this is working fine. I am
getting proper output when applied the same code in a ASP.NET web
application. I am trying the same code in the web part, but i am getting
this error. I am submitting the code for your reference.


Imports System
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Xml.Serialization
Imports Microsoft.SharePoint
Imports Microsoft.SharePoint.Utilities
Imports Microsoft.SharePoint.WebPartPages
Imports SoftwareFX.ChartFX.Internet.Server

'Description for wpChartFX.
Public Class wpChartFX
Inherits Microsoft.SharePoint.WebPartPages.WebPart

Private chSample As New SoftwareFX.ChartFX.Internet.Server.Chart
Private lblError As Label

'Render this Web Part to the output parameter specified.
Protected Overrides Sub RenderWebPart(ByVal output As
System.Web.UI.HtmlTextWriter)
EnsureChildControls()
RenderChildren(output)
End Sub

Protected Overrides Sub CreateChildControls()
'lblError

lblError = New Label
lblError.Text = "Sample Label"
lblError.ForeColor = Drawing.Color.Red
lblError.Font.Bold = True
Me.Controls.Add(lblError)

'Chart FX

Try
'chSample = New SoftwareFX.ChartFX.Internet.Server.Chart
chSample.BackColor = System.Drawing.Color.FromArgb(220, 240, 240)
chSample.Gallery = SoftwareFX.ChartFX.Gallery.Cube
chSample.Chart3D = True
chSample.Titles(0).Text = "Chart FX WebPart Chart!"

Dim r As New Random, i As Integer, j As Integer
chSample.OpenData(SoftwareFX.ChartFX.COD.Values, 3, 10)

For i = 1 To 3
For j = 1 To 10
chSample.Value(i, j) = r.NextDouble() * 100
Next
Next
chSample.CloseData(SoftwareFX.ChartFX.COD.Values)
Controls.Add(chSample)

Catch err As Exception
lblError.Text = err.Message
End Try
End Sub

Protected Overrides Sub RenderChildren(ByVal output As
System.Web.UI.HtmlTextWriter)
output.RenderBeginTag("table bgcolor=whitesmoke cellpadding=5 cellspacing=1
width=100%")

output.RenderBeginTag("tr")
output.RenderBeginTag("td bgcolor=orange colspan=2")
output.Write("Web part with ChartFX")
output.RenderEndTag()
output.RenderEndTag()

output.RenderBeginTag("tr")
output.RenderBeginTag("td bgcolor=orange colspan=2")
chSample.RenderControl(output)
output.RenderEndTag()
output.RenderEndTag()

output.RenderBeginTag("tr")
output.RenderBeginTag("td bgcolor=witecolspan=2")
lblError.RenderControl(output)
output.RenderEndTag()
output.RenderEndTag()

output.RenderEndTag()
End Sub
End Class



Can you guys help me to solve this problem?

-karthik

master4eva
Asp.Net User
Re: Error deploying web parts with Chart FX8/5/2004 6:03:46 PM

0/0

My best guess is that ChartFX is trying to save something to view state that is not serializable. My best guess is that it is the data source for your chart.

It is out of your reach where the error is occuring. My best suggestion is to contact their support and tell them that they have a problem persisting data to view state :-) .
-- Justin Lovell
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Error deploying web parts with Chart FX - ASP.NET Forums I am using Chart FX chart control in the web part. I am also getting the same error when trying to add the web part in the Sharepoint portal ...
Error deploying web parts with Chart FX - ng.asp-net-forum.windows ... Error deploying web parts with Chart FX, > ROOT > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum, Date: 7/29/2004 12:08:52 ...
HOWTO: Invalid ChartFX License Error 03600000 Oct 31, 2003 ... NET Web Forms. Summary Invalid ChartFX License Error 03600000 ... Q2582001 Problems deploying Crosstab data provider ... is subject to change without notice and does not represent a commitment on the part of Software FX, ...
HOWTO: Troubleshooting Licensing Errors in Chart FX for Java Jun 6, 2007 ... This article describes the Chart FX for Java License error codes and the steps for ... Ensure that both the cfxjava.lic and chartfx.jar reside at /MyWebApp/WEB -INF/lib ... Q2582001 Problems deploying Crosstab data provider ... notice and does not represent a commitment on the part of Software FX, ...
Webpart working on some sites and not on others on a same server ... I developed a personal webpart using chart fx charts for . ... There was no problem deploying the webpart and it appears in the webpart collection of the site. But, when trying to add it to a page or to preview it, I have got an error : ...
urgent..invalid chartfx license 3100000" - Software FX Community General, Chart FX Internet 6.2 (part... (Entire Site) ... Normally this error is due to a lack of license on your production server. Chart FX is licensed per server, therefore if you are deploying your Web app to a client's Production server you should purchase an additional production license, ...
DevASP.Net Visual Studio.Net Download With ReSharper, one gets intelligent coding assistance, on-the-fly error ... Chart FX for Visual Studio 2005 is a complete redesign and rewrite of Chart FX . ... for building and deploying Web site applications that you create in ASP. ... Each product may be purchased individually or as part of a subscription. ...
Quick Start Guide The Data Wizard error detection mechanism is also ... deployed as part of your application, it allows Chart FX to provide easy integration .... full flexibility of deploying to any browser client in the enterprise. .... Support for Chart FX for Visual Studio 2005 is available on the web for free. Our ...
Visual Basic.NET When I reached my friends cubicle his monitor was showing this error. "aspnet_wp .exe' on machine 'Machine name' .... iNET enables applications and web services developed in Visual Basic. .... Chart FX for .NET from Software FX integrates into VS. ... Deploying Windows Applications with Visual Studio.NET, Part 2 ...
Chart FX for WPF: Advanced data visualization solutions for Visual ... Chart FX: Industry-leading data visualization components for the . .... testing and use of the Pre-release Software, including error or bug reports. ... to subject the Software in whole or in part to any of the terms of an Excluded License. .... to add Chart FX functionality to their Silverlight web applications. ...




Search This Site:










sharepoint

collapse and expand the tree view

treeview newbie questions

big problems with win2003 and v1.1 -- help!!!

dropdown menu type treeview

clueless

treeview - how to get attributes of selected node

inherting from treenode

treeview navigation

treeview - help!

how do i select a grandchild node dynamically?

problem eith ie web controls

treeview node selected

microsoft.web.ui.webcontrols - treeview is ambiguous

webcontrols

how to add a linking for the tabscript?

treeview onclick solution

iewebcontrols download not working from source projects page ...

drag and drop treeview

client-side treeview - can i assign data values?

treenode id is not a valid identifier

can' t use ie web controls in vs.net

treeview not finding images

ie web control tabstrip only returning text

onselectedindexchange

treeview proble binding with xml

how to select a node in treeview

where can i download the documentation for internet explorer web controls

treeview not loading

sos, a problem , waiting solution online

  Privacy | Contact Us
All Times Are GMT