I just came across the problem while publishing web site for one of my client in which I used "Web User Control" ASCX control and that was giving me the
"ASP Namespace Not Found Error".
Reason for the Error:
your ascx control is being converted to the DLL which won't be able as it is after the publishing.
Resolution for the Problem
for this you try to Publish the same website with the following Command (which I used)
and I got the things working after publishing the website.
Feel free to query me for other issues i will be posting that to my website..
Put on the comments if You got your problem solved with the same solution.
UserControlWebUserControl Databindcontrol-databoundweb controlserver controluser controlcontrolcustom controlasp.net 2.0Control IDascxuser control contentweb control propertiesuser control propertyserver control designer propertiesc#Server ControlsCustom Control properties child controlscustom server controluser controlsajax webcontrolusercontrol eventsconfigurationcustom control events designUserControl uniqueID RegisterAsyncPostBackControlWeb control Innerdefaultpropertycustom controlsweb custom controlUserControlsComplex User Control PropertiesControlBuilderWebUserControlControls CollectionCustom Client ControlServer Control Propertiescustom datasource controlProblemcustom panelCustom User ControlASP .net 2.0"asp.net"server control vs. user controlserver control vs. othercompile Errorpublishing error
Member
130 Points
38 Posts
ASCX publishing problem
Dec 25, 2008 05:16 AM|tarak4v|LINK
I just came across the problem while publishing web site for one of my client in which I used "Web User Control" ASCX control and that was giving me the "ASP Namespace Not Found Error".
Reason for the Error:
your ascx control is being converted to the DLL which won't be able as it is after the publishing.
Resolution for the Problem
for this you try to Publish the same website with the following Command (which I used) and I got the things working after publishing the website.
aspnet_compiler -p <Project Name> -v myApp -fixednames <Destination Folder path>
Resolution idea retrieved from :
http://blogs.msdn.com/davidebb/archive/2005/10/30/487160.aspx
Feel free to query me for other issues i will be posting that to my website..
Put on the comments if You got your problem solved with the same solution.
UserControl WebUserControl Databind control-databound web control server control user control control custom control asp.net 2.0 Control ID ascx user control content web control properties user control property server control designer properties c# Server Controls Custom Control properties child controls custom server control user controls ajax webcontrol usercontrol events configuration custom control events design UserControl uniqueID RegisterAsyncPostBackControl Web control Innerdefaultproperty custom controls web custom control UserControls Complex User Control Properties ControlBuilder WebUserControl Controls Collection Custom Client Control Server Control Properties custom datasource control Problem custom panel Custom User Control ASP .net 2.0 "asp.net" server control vs. user control server control vs. other compile Error publishing error
Er. Tarak
http://Er-Tarak.BlogSpot.Com