The error is clear, the file 
c:\inetpub\wwwroot\WebApplication2\webform3.ascx" doesn't exist.

The web page file needs to know where the webcontrol file (.ascx) is. As you 
have it set up the page file expects .ascx file in the same directory. 

<%@ Register tagprefix=" tyaspnet " tagname="webform3" src="webform3.ascx" 
%>

set the src attribute to tell the page where the control is. Note that it 
needs to be part of the same application.

On 8/30/05, urmila nalla <[EMAIL PROTECTED]> wrote:
> 
> Hi
> i am trying to create a simple user control which has two textboxes and 
> one button and one label in which we display the addition of two numbers...i 
> want to use these usercontrol in another webform...but i am getting error in 
> getting usercontrol in new webforms...see the following error...if any body 
> know about this error please tell me...
> byeurmila.Parser Error Description: An error occurred during the parsing 
> of a resource required to service this request. Please review the following 
> specific parse error details and modify your source file appropriately.
> 
> Parser Error Message: Could not find file 
> "c:\inetpub\wwwroot\WebApplication2\webform3.ascx".
> 
> Source Error:
> 
> 
> Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="
> WebForm4.aspx.vb" Inherits="WebApplication2.WebForm4"%>Line 2: <%@ 
> Register tagprefix=" tyaspnet " tagname="webform3" src="webform3.ascx" 
> %>Line 3: Line 4: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 
> 4.0Transitional//EN">
> 
> Source File: c:\inetpub\wwwroot\WebApplication2\WebForm4.aspx Line: 2
> 
> 
> ---------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032; 
> ASP.NET <http://ASP.NET> Version:1.1.4322.2032
> 
> 
> ---------------------------------
> Start your day with Yahoo! - make it your home page
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 


-- 
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to