Installation and deployment
Version 3.x > Installation and deployment > dear kentico urgent please View modes: 
User avatar
Member
Member
farhat.exe-gmail - 1/6/2009 1:11:11 AM
   
dear kentico urgent please
i have just finished developing the web site and i upload the deployed files as (http://devnet.kentico.com/docs/devguide/index.html?deployment_to_the_live_server.htm)
but when i start the site i have get this error msg

Compiler Error Message: CS0246: The type or namespace name 'LegendPos' could not be found (are you missing a using directive or an assembly reference?)

Source Error:



Line 38: private Color mGraphBackgroundColor = Color.FromArgb(200, 200, 255);
Line 39: private Color mGraphChartBackgroundColor = Color.LightGoldenrodYellow;
Line 40: private LegendPos mLegendPosition = LegendPos.Right;
Line 41: private bool mNoLegend = false;
Line 42: private bool mGenerateInvalidDataGraph = false;


Source File: c:\inetpub\vhosts\professee.com\httpdocs\newportal\App_Code\CMSReporting\ReportGraph.cs Line: 40

if there are any instruction should i do in webconfig?
please reply as soon as possible

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 1/6/2009 3:10:39 AM
   
RE:dear kentico urgent please
Hello,


could you please check:

1. The c:\inetpub\vhosts\professee.com\httpdocs\newportal\App_Code\CMSReporting\ReportGraph.cs file contains the lines about 14-15:

using ZedGraph;
using ZedGraph.Web;

2. The bin folder (c:\inetpub\vhosts\professee.com\httpdocs\newportal\bin) contains the files:
ZedGraph.dll
ZedGraph.Web.dll

It should not relate to web.config.

Best regards,
Helena Grulichova

User avatar
Member
Member
farhat.exe-gmail - 1/6/2009 3:44:58 AM
   
RE:dear kentico urgent please
i checked the ReportGraph.cs and the reference is exists and the ZedGraph dll`s are exists too
and it still give me the same error
should i do any installation in the server before uploading the site

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 1/6/2009 5:15:42 AM
   
RE:dear kentico urgent please
Hello,

thank you for your reply.

Could you please also open the web site in the Visual Studio, try Website -> Add Reference -> Recent and check of there are the ZedGraph libraries, too?

If you follow the Alternative Approach of Deployment to the live server you need not any installation.

If you still meet the problem you could try the first approach with export and import as described in the same article.

Best regards,
Helena Grulichova

User avatar
Member
Member
farhat.exe-gmail - 1/6/2009 5:18:45 AM
   
RE:dear kentico urgent please
i opened the site locally and it work fine but when i upload it to the server it give me error


User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 1/6/2009 6:14:00 AM
   
RE:dear kentico urgent please
Hello,

I understand your issue but I am not sure what could cause it. We have never met the same problem before (neither customers who contact us). I wanted only to be sure that the mentioned things work because they could cause such a problem (something could fail while copying or something could damage it in the new background).

Could you please try the first (recommended) approach of deployment?

Best regards,
Helena Grulichova

User avatar
Member
Member
farhat.exe-gmail - 1/6/2009 6:57:26 AM
   
RE:dear kentico urgent please
ok thx i will try to upload the site again