473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

asp.net project not compiling after conversion

I am still struggling to convert my .NET 1 project and running into all
sorts of issues.

At this point, the only thing that is saying is.

"/MyWebSite/permits_webgrid.ascx has a circular reference!

Do you have any suggestion on where to begin? It is not pointing to my
code, but rather to the ascx page. Can't really see what the issue is,
because that page has just one control. In this case it is a third
party control, but I tried to reproduce it by writing a stripped down
web application and converting it, but I cannot reproduce it.

Here is the content of the ascx file if you would like to delve in.

<%@ Reference Page="~/permit_viewedit.aspx" %>
<%@ Reference Control="~/uwebgrid_base.ascx" %>
<%@ Control Language="c#"
Inherits="Belshire.Petrotools.Web.permits_webgrid"
CodeFile="permits_webgrid.ascx.cs"
CodeFileBaseClass="Belshire.Petrotools.Web.uwebgri d_base" %>
<%@ Register TagPrefix="cc1"
Namespace="Infragistics.WebUI.UltraWebGrid.ExcelEx port"
Assembly="Infragistics2.WebUI.UltraWebGrid.ExcelEx port.v6.1,
Version=6.1.20061.28, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
%>
<%@ Register TagPrefix="igtbl"
Namespace="Infragistics.WebUI.UltraWebGrid"
Assembly="Infragistics2.WebUI.UltraWebGrid.v6.1, Version=6.1.20061.28,
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
<table>
<tr id="trExcelRecordCountRow" runat="server">
<td align="right" width="50%">
<asp:ImageButton id="btnExcelExport"
runat="server"></asp:ImageButton></td>
<td width="50%">
<asp:Label id="lblRecordCount" runat="server"></asp:Label></td>
</tr>
<tr>
<td colspan="2">
<igtbl:UltraWebGrid id="wgPermits" runat="server">
<DisplayLayout RowHeightDefault="20px" Version="4.00"
BorderCollapseDefault="Separate" Name="xctl0UltraWebGrid1">
<AddNewBox>
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White">
</BorderDetails>

</Style>
</AddNewBox>
<Pager>

<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White">
</BorderDetails>

</Style>
</Pager>
<HeaderStyleDefault BorderStyle="Solid" BackColor="LightGray">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White"></BorderDetails>
</HeaderStyleDefault>
<FrameStyle Width="325px" BorderWidth="1px" Font-Size="8pt"
Font-Names="Verdana" BorderStyle="Solid"
Height="200px"></FrameStyle>
<FooterStyleDefault BorderWidth="1px" BorderStyle="Solid"
BackColor="LightGray">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White"></BorderDetails>
</FooterStyleDefault>
<EditCellStyleDefault BorderWidth="0px"
BorderStyle="None"></EditCellStyleDefault>
<RowStyleDefault BorderWidth="1px" BorderColor="Gray"
BorderStyle="Solid">
<Padding Left="3px"></Padding>
<BorderDetails WidthLeft="0px" WidthTop="0px"></BorderDetails>
</RowStyleDefault>
</DisplayLayout>
<Bands>
<igtbl:UltraGridBand></igtbl:UltraGridBand>
</Bands>
</igtbl:UltraWebGrid></td>
</tr>
</table>
<cc1:UltraWebGridExcelExporter id="excelExporter"
runat="server"></cc1:UltraWebGridExcelExporter>

Oct 12 '06 #1
1 2915
The asp.net page model has changed in ASP.NET 2.0, as a result if
usercontrols have to reference each other, then you must go about it
another way, like passing interfaces around rather than add a reference
directive to each page, as that would give you the error message you
are receiving

I could go into detail, but I am tired so I will refer you to a page on
MSDN that describes common ASP.NET 2.0 conversion problems, the link
sends you right to the portion on circular references:

http://msdn2.microsoft.com/en-us/lib...12.aspx#issue3

I would take the time to read through the whole thing, because when you
get your circular references out of the way, you'll probably run into
some of the other problems they mention in there.

Hope that helps!

Sean
pr********@gmail.com wrote:
I am still struggling to convert my .NET 1 project and running into all
sorts of issues.

At this point, the only thing that is saying is.

"/MyWebSite/permits_webgrid.ascx has a circular reference!

Do you have any suggestion on where to begin? It is not pointing to my
code, but rather to the ascx page. Can't really see what the issue is,
because that page has just one control. In this case it is a third
party control, but I tried to reproduce it by writing a stripped down
web application and converting it, but I cannot reproduce it.

Here is the content of the ascx file if you would like to delve in.

<%@ Reference Page="~/permit_viewedit.aspx" %>
<%@ Reference Control="~/uwebgrid_base.ascx" %>
<%@ Control Language="c#"
Inherits="Belshire.Petrotools.Web.permits_webgrid"
CodeFile="permits_webgrid.ascx.cs"
CodeFileBaseClass="Belshire.Petrotools.Web.uwebgri d_base" %>
<%@ Register TagPrefix="cc1"
Namespace="Infragistics.WebUI.UltraWebGrid.ExcelEx port"
Assembly="Infragistics2.WebUI.UltraWebGrid.ExcelEx port.v6.1,
Version=6.1.20061.28, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
%>
<%@ Register TagPrefix="igtbl"
Namespace="Infragistics.WebUI.UltraWebGrid"
Assembly="Infragistics2.WebUI.UltraWebGrid.v6.1, Version=6.1.20061.28,
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
<table>
<tr id="trExcelRecordCountRow" runat="server">
<td align="right" width="50%">
<asp:ImageButton id="btnExcelExport"
runat="server"></asp:ImageButton></td>
<td width="50%">
<asp:Label id="lblRecordCount" runat="server"></asp:Label></td>
</tr>
<tr>
<td colspan="2">
<igtbl:UltraWebGrid id="wgPermits" runat="server">
<DisplayLayout RowHeightDefault="20px" Version="4.00"
BorderCollapseDefault="Separate" Name="xctl0UltraWebGrid1">
<AddNewBox>
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White">
</BorderDetails>

</Style>
</AddNewBox>
<Pager>

<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White">
</BorderDetails>

</Style>
</Pager>
<HeaderStyleDefault BorderStyle="Solid" BackColor="LightGray">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White"></BorderDetails>
</HeaderStyleDefault>
<FrameStyle Width="325px" BorderWidth="1px" Font-Size="8pt"
Font-Names="Verdana" BorderStyle="Solid"
Height="200px"></FrameStyle>
<FooterStyleDefault BorderWidth="1px" BorderStyle="Solid"
BackColor="LightGray">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White"></BorderDetails>
</FooterStyleDefault>
<EditCellStyleDefault BorderWidth="0px"
BorderStyle="None"></EditCellStyleDefault>
<RowStyleDefault BorderWidth="1px" BorderColor="Gray"
BorderStyle="Solid">
<Padding Left="3px"></Padding>
<BorderDetails WidthLeft="0px" WidthTop="0px"></BorderDetails>
</RowStyleDefault>
</DisplayLayout>
<Bands>
<igtbl:UltraGridBand></igtbl:UltraGridBand>
</Bands>
</igtbl:UltraWebGrid></td>
</tr>
</table>
<cc1:UltraWebGridExcelExporter id="excelExporter"
runat="server"></cc1:UltraWebGridExcelExporter>
Oct 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: joe | last post by:
i am trying to compile a port with zebedee of vnc with bcc32 So far i am still trying to get the viewer running. I am using the bcc32 compiler. and I get a couple of errors with the zebedeelib.c....
3
by: Rob F | last post by:
I am trying to compile a string class which was working before but subsequent attempts to make it more 'object orientated' (privatizing the member variables and implenting query functions) it...
2
by: Maurice Santor | last post by:
I'm trying to move to VS .NET 2005 so I'm starting by opening the VS 6 project. The transformation of the project file worked fine. When I build the project I receive the following 2 errors which...
0
by: Rich | last post by:
(1) Is there a better place to pose the question below? (2) I am starting to convert my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 Professional (.NET v2.0.50727). The entire...
0
by: the.frapster | last post by:
HI, I hope you all can help me, or at least point me in the right direction. I am not a programmer, I am just trying to help some students in a programming class with this issue, I am the lab...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
2
by: Manikandan | last post by:
Hi, I have a program written in .Net Framework 1.1 using Visual studio enterprise edition 2003. I tried compiling the same program in visual c# express edition 2005. I'm getting following...
63
by: Kapteyn's Star | last post by:
Hi newsgroup The program here given is refused by GCC with a error i cannot understand. It says rnd00.c: In function ‘main’: rnd00.c:26: error: expected expression before ‘]’ token ...
6
by: msb_6 | last post by:
Currently I have a PHP extension thats all written and compiles under windows, but the PC I'm going to end up putting it on is running Ubuntu 8.04 (g++ 4.2.3). I've delved into PHP documentation...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.