Try our conversational search powered by Generative AI!

Episerver Migration from 5.2R2 to 7.0

Vote:
 
I have successfully completed the migration of EPiServer5.2 to EPiserver6.0 and then 6.1.
But when I am migrating it from 6.1 to 7.0 getting below mentined error in code.

The type or namespace name 'LogGenerator' does not exist in the namespace 'EPiServer.Web.WebControls' (are you missing an assembly reference?) 
 1. We are using Log4Net extensively for logging purpose. Is Episerver.Web.WebControls.LogGenerator class is used with Log4Net?
2. From your forums we came to know that 'LogGenerator' class is obsolete in Episerver 7.0 version. So is there any replacement class available for same functionality?
Can you help us to resolve the issue asap?

v%MCEPASTEBIN%

#87685
Jun 19, 2014 12:55
Vote:
 

Do you have custom code in the project that uses this LogGenerator class?

#87687
Jun 19, 2014 13:09
Vote:
 

If you do, remove it :)

#87689
Jun 19, 2014 13:15
Vote:
 

LogGenerator is used in older versions for generating statistics on how many page views you have per page on your website. Normally you don't use it...

You don't need it for using log4net no...

To get statistics on usage, use GA (Google Analytics) instead...free, and a thousand times better. There is a nice addon to give Editors information about statistics directly in edit mode and on dashboard. 

Hope that helps!

#87690
Edited, Jun 19, 2014 13:18
Vote:
 

Thank you so much Daniel for your quick support!

#87694
Jun 19, 2014 13:44
Vote:
 

If it helped you, feel free to mark it later as answered to let others know it. Good luck!

#87695
Jun 19, 2014 14:06
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.