Compilation error
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Compilation error Expand / Collapse
Author
Message
Posted 5/8/2008 3:51:44 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/8/2008 5:56:05 AM
Posts: 1, Visits: 2
i  have a problem with my code:

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'FusionCharts' is not declared.

Source Error:

Line 584:Line 585:  <%Line 586:      Response.Write(FusionCharts.RenderChartHTML("Code/FusionCharts/FCF_Column3D.swf", "testtest.xml", "", "myFirst", "1200", "250", False))Line 587:    %>Line 588:  </div>

c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v3.5\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_masterpage.master.4e8f42f8.0hqqzuk8.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions.Design\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.Design.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_masterpagehome.master.4e8f42f8.sj9fji5u.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_q1w7hpez.dll" /DEBUG=1 /debug+ /win32resource:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\q1w7hpez.res" /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls /warnaserror- /optionInfer+  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_q1w7hpez.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_q1w7hpez.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_q1w7hpez.2.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_q1w7hpez.3.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_q1w7hpez.4.vb"


Microsoft (R) Visual Basic Compiler version 9.0.21022.8
Copyright (c) Microsoft Corporation.  All rights reserved.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_q1w7hpez.0.vb(16) : warning BC40056: Namespace or type specified in the Imports 'InfoSoftGlobal' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports InfoSoftGlobal
        ~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_q1w7hpez.1.vb(15) : warning BC40056: Namespace or type specified in the Imports 'InfoSoftGlobal' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports InfoSoftGlobal
        ~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_q1w7hpez.2.vb(16) : warning BC40056: Namespace or type specified in the Imports 'InfoSoftGlobal' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports InfoSoftGlobal
        ~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_q1w7hpez.3.vb(16) : warning BC40056: Namespace or type specified in the Imports 'InfoSoftGlobal' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports InfoSoftGlobal
        ~~~~~~~~~~~~~~
http://server//ITPortal/BasicChart.aspx(32) : error BC30451: Name 'FusionCharts' is not declared.

    Response.Write(FusionCharts.RenderChartHTML("Code/FusionCharts/FCF_Column3D.swf", "App_Data/Data.xml", "", "myFirst", "600", "300", False))
                   ~~~~~~~~~~~~                                                                                                               
http://server//ITPortal/home.aspx(14) : warning BC40000: 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.

    Dim connection As sqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("cnn"))
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
http://server//ITPortal/home.aspx(15) : warning BC40000: 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.

    Dim connection_kpi_her As sqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("cnn_kpi_her"))
                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               
http://server//ITPortal/home.aspx(17) : warning BC40000: 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.

    Dim connection_kpi_UK As sqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("cnn_kpi_UK"))
                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              
http://server//ITPortal/home.aspx(78) : warning BC40000: 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.

        Dim connection As SqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("cnn"))
                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
http://server//ITPortal/home.aspx(106) : warning BC40000: 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.

        Dim connection As SqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("cnn"))
                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
http://server//ITPortal/home.aspx(133) : warning BC40000: 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.

        Dim connection As SqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("cnn"))
                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
http://server//ITPortal/home.aspx(281) : warning BC42104: Variable 'enc' is used before it has been assigned a value. A null reference exception could result at runtime.

        Dim objXMLTW As New XmlTextWriter(Server.MapPath("testtest.xml"), enc)
                                                                          ~~~
http://server//ITPortal/home.aspx(586) : error BC30451: Name 'FusionCharts' is not declared.

      Response.Write(FusionCharts.RenderChartHTML("Code/FusionCharts/FCF_Column3D.swf", "testtest.xml", "", "myFirst", "1200", "250", False))
                     ~~~~~~~~~~~~                                                                                                           
http://server//ITPortal/printers.aspx(17) : warning BC40000: 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.

    Dim connection As SqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("cnn1"))
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
http://server//ITPortal/printers.aspx(84) : warning BC42104: Variable 'enc' is used before it has been assigned a value. A null reference exception could result at runtime.

            Dim objXMLTW As New XmlTextWriter(Server.MapPath("Total.xml"), enc)
                                                                           ~~~
http://server//ITPortal/printers.aspx(104) : warning BC42110: The type for variable 'intteller1' will not be inferred because it is bound to a field in an enclosing scope. Either change the name of 'intteller1', of use the fully qualified name (for example, 'Me.intteller1' or 'MyBase.intteller1').

            For intteller1 = datumkleinste To datumgrootste
                ~~~~~~~~~~                                
http://server//ITPortal/printers.aspx(282) : warning BC42024: Unused local variable: 'place'.

        Dim gebruiker4, place As String
                        ~~~~~         
http://server//ITPortal/printers.aspx(295) : warning BC42104: Variable 'enc4' is used before it has been assigned a value. A null reference exception could result at runtime.

        Dim objXMLTW4 As New XmlTextWriter(Server.MapPath("Users.xml"), enc4)
                                                                        ~~~~
http://server//ITPortal/printers.aspx(386) : warning BC42104: Variable 'enc5' is used before it has been assigned a value. A null reference exception could result at runtime.

Dim objXMLTW5 As New XmlTextWriter(Server.MapPath("Printer.xml"), enc5)
                                                                  ~~~~
http://server//ITPortal/printers.aspx(601) : error BC30451: Name 'FusionCharts' is not declared.

         Response.Write(FusionCharts.RenderChartHTML("Code/FusionCharts/FCF_Column3D.swf", " Users.xml", "", "myFirst", "1000", "300", False))
                        ~~~~~~~~~~~~                                                                                                         
http://server//ITPortal/printers.aspx(612) : error BC30451: Name 'FusionCharts' is not declared.

         Response.Write(FusionCharts.RenderChartHTML("Code/FusionCharts/FCF_Column3D.swf", " Printer.xml", "", "myFirst", "1000", "300", False))
                        ~~~~~~~~~~~~                                                                                                           
http://server//ITPortal/printers.aspx(621) : error BC30451: Name 'FusionCharts' is not declared.

       Response.Write(FusionCharts.RenderChart("Code/FusionCharts/FCF_Line.swf", "Total.xml", "", "chart3", "1000", "300", False, False))
                      ~~~~~~~~~~~~                                                                                                      
http://server//ITPortal/printersdetail.aspx(29) : warning BC40000: 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.

    Dim connection As SqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("cnn1"))
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
http://server//ITPortal/printersdetail.aspx(132) : warning BC42104: Variable 'enc' is used before it has been assigned a value. A null reference exception could result at runtime.

            Dim objXMLTW As New XmlTextWriter(Server.MapPath("TotalUser.xml"), enc)
                                                                               ~~~
http://server//ITPortal/printersdetail.aspx(297) : error BC30451: Name 'FusionCharts' is not declared.

       Response.Write(FusionCharts.RenderChart("Code/FusionCharts/FCF_Line.swf", "TotalUser.xml", "", "chart3", "1000", "300", False, False))
                      ~~~~~~~~~~~~            

Post #6139
Posted 5/12/2008 6:36:32 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Yesterday @ 5:59:55 AM
Posts: 578, Visits: 882
Hi,

Could you please check that you are using (Imports) InfoSoftGlobal namespace. It might be that the file FusionCharts.dll is not properly placed or accessible from the Application BIN folder.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #6219
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:55am


Execution: 0.156.