FusionCharts Forum: Free Chart works locally but not on web - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Free Chart works locally but not on web Namespace "InfoSoftGlobal" cannot be found

#1 User is offline   Harrison 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 01-March 08

Posted 01 March 2008 - 09:16 PM

I more or less copied one of the first samples from the docs and it works fine on localhost as well as on a web server behind my firewall; but when I posted the code (simple copy) to a public web server (two of them actually) I get the following error response:

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: CS0246: The type or namespace name 'InfoSoftGlobal' could not be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 1:  <%@ Page Language="C#" %>Line 2:  <%@ Import Namespace="InfoSoftGlobal" %>Line 3:  Line 4:  <HTML>


Source File: d:homepagesd101476527FUSIONDefault.aspx Line: 2

anyone have any idea what's going on here?  thanks in advance ...


 

--------------

Harrison

--------------
0

Other Replies To This Topic

#2 User is offline   Arindam 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 730
  • Joined: 14-September 07

Posted 03 March 2008 - 04:25 AM

hi,

did you copy FusionCharts.dll file on your webserver's bin folder?
Thanks,

Arindam
0

Other Replies To This Topic

#3 User is offline   LangHC 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 04-January 09

Posted 04 January 2009 - 06:31 PM

I just recently started with the Free Fusion Charts and am very impressed.  I spent the weekend building up a website with Visual Web Developer and the charts render fine locally, but when I sent it to my web server, I had a few issues.  The first reason the page would not load was because the web.config authentification mode was set to "Windows".  After some research, I learned that with nested web.config files (I have a web.config in root directory of server) cannot have any authentification, so I commented it out.  The second issue/current issue, is similar to the above issue, I continue to recieve a Compile Error, centered around the "using DataConnection" and I'm pretty sure "using InfoSoftGlobal" would also produce an error.  I have placed the FusionCharts.dll file in almost every folder in the project with no success.  I have done a service restart and then a computer restart, still no luck.  Is there any connection between the web.config file(s) and the namespace declarations?  Please help.
0

Other Replies To This Topic

#4 User is offline   Rahul Kumar 

  • Supreme Being
  • Group: Moderators
  • Posts: 1041
  • Joined: 18-March 08

Posted 05 January 2009 - 04:26 AM

Hi,
 
Could you please make sure that your WEB SERVER is also running on ASP.NET v2.0?

Regards,
Rahul Kumar
Software Engineer

A byte of magic.

 
0

Other Replies To This Topic

#5 User is offline   LangHC 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 04-January 09

Posted 05 January 2009 - 08:10 PM

Thanks for the quick response.  I am sure that I am using ASP.NET 2.0.  The webserver I am using is from Homeseer, you may have heard of it.  In fact, it is quite easy to successfully add a page that I built using Notepad++ as an aspx page.  I ran into the problem when I tryed copying the new chart project to the html directory of the homeseer web server.  I have many pages in that directory that I access remotely on a daily basis.  It just continues to get hung up on the following...
0

Other Replies To This Topic

#6 User is offline   Rahul Kumar 

  • Supreme Being
  • Group: Moderators
  • Posts: 1041
  • Joined: 18-March 08

Posted 05 January 2009 - 11:45 PM

Hi,
 
If you are using database connection then you would need to copy DBHelper.cs/DBConn.cs file into App_Code directory (in ASP.NET Folders). Otherwise you may delete the entry "Using DataConnection;".
 
Please let us know if this works for you.
Regards,
Rahul Kumar
Software Engineer

A byte of magic.

 
0

Other Replies To This Topic

#7 User is offline   LangHC 

  • Forum Newbie
  • Group: Members
  • Posts: 8
  • Joined: 04-January 09

Posted 06 January 2009 - 05:51 AM

Perfect!  That worked.  DBConn.cs needed to be in the root directory.  Thanks much for the help.
0

Other Replies To This Topic

#8 User is offline   mgupta 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 04-June 10

Posted 04 June 2010 - 03:07 PM

I am still getting below error after copying FusionCharts.dll to bin folder. Please help. Thanks.



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: CS0246: The type or namespace name 'InfoSoftGlobal' could not be found (are you missing a using directive or an assembly reference?)



Source Error:







Line 10: using System.Web.UI.HtmlControls;

Line 11: using System.Text;

Line 12: using InfoSoftGlobal;

Line 13:

Line 14: public partial class _Default : System.Web.UI.Page
0

Other Replies To This Topic

#9 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 07 June 2010 - 01:12 AM

Hi,

Could you please let us know the version of the .Net Framework that you are using?

Awaiting your reply.

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic