After migrating umbraco to other, it got an error to load an user control. Options
cppeng
Posted: Wednesday, November 21, 2007 4:03:48 AM
Rank: Newbie

Joined: 11/21/2007
Posts: 2
Hi All,

I migrated the umbraco from the testing machine to production machine with database and files. On the production machine, the umbrco loaded well. But I met an error when umbrco loaded a user control.

Error creating usercontrol (/usercontrols/nbv/updateregistration.ascx)
Exception has been thrown by the target of an invocation.
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Web.HttpRuntime.CreatePublicInstance(Type type)
at System.Web.UI.TemplateControl.LoadControl(Type t)
at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
at umbraco.macro.loadUserControl(String fileName, Hashtable attributes, page umbPage)
Could you give me some advince?

Thanks.
tkahn
Posted: Thursday, November 22, 2007 9:14:08 PM

Rank: Fanatic

Joined: 11/24/2006
Posts: 323
Location: Stockholm, Sweden
Could it have something to do with the permissions on the usercontrols folder on the new server? Make sure that the user NETWORK SERVICE has modify permissions or full control on the usercontrols folder and all files in it.

Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
tkahn
Posted: Thursday, November 22, 2007 9:15:50 PM

Rank: Fanatic

Joined: 11/24/2006
Posts: 323
Location: Stockholm, Sweden
Also check that you didn't forget to copy the corresponding dll to the bin folder.

Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.