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.
|
 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
|
 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
|