microsoft, asp.net 2.0, 2005, circular file references are not allowed

my solution is actually in Visual Studio.NET 2003, and i convert it in Visual Studio.NET 2005, and there're some error message like "circular references are not allowed" and when i double click on one of the error message, it appears <%@ Reference page="~/a.aspx" %> in b.ascx.

when i run the application , its running fine, when i am going to publish this its giving error.
devdeptAsked:
Who is Participating?
 
Gyanendra SinghConnect With a Mentor ArchitectCommented:
i have some question for you

1. Are you using b.ascx. user control in a.aspx page ?
2. What part for code or why you referring a.aspx page in user control ....  
0
 
Gyanendra SinghArchitectCommented:
i guess you are using b.ascx. user control in a.aspx page .... can't you remove <%@ Reference page="~/a.aspx" %> in your user control ...
0
 
devdeptAuthor Commented:
no ,
i can't remove this <%@ Reference page="~/a.aspx" %> from  user control ...
any other solution...

0
All Courses

From novice to tech pro — start learning today.