|
|
|
|
|
 |
|
 |
|
Invalid attempt to read when no data is present.
Server Error in '/' Application.
Invalid attempt to read when no data is present.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Invalid attempt to read when no data is present.
Source Error:
Line 37: <p class="most_wanted"><%=i+1%>.</p>
Line 38: </td>
Line 39: <td width="175"><p class="most_wanted"><a class="most_wanted" href="javascript:nextPage('order.aspx?content_id=<%=latestRT["content_id"]%>&type=<%=p.rt_code%>&name=<%=latestRT["artist"].ToString().Replace("'", "") + " - " + latestRT["track"].ToString().Replace("'", "")%>')"><strong><%=thisPage.rtLen(latestRT["artist"].ToString())%></strong><br><%=thisPage.rtLen(latestRT["track"].ToString())%></a></p></td>
Line 40: <td><% if (p.preview == "midi") { %><a href="javascript:nextPage('stream_snd.aspx?filename=<%=latestRT["filename_midi"]%>')"><img src="images/mono_play.gif" border="0" alt="Sonar Ringtone"></a><% } else { %><a href="javascript:nextPage('stream_snd.aspx?filename=<%=latestRT["filename_mp3"]%>')"><img src="images/poly_play.gif" border="0" alt="Sonar Ringtone"></a><% } %></td>
Line 41: <td><a href="javascript:nextPage('order.aspx?content_id=<%=latestRT["content_id"]%>&type=<%=p.rt_code%>&name=<%=latestRT["artist"].ToString().Replace("'", "") + " - "+ latestRT["track"].ToString().Replace("'", "")%>')" class="orange"><img src="images/orange_buy.gif" border="0" alt="Compra Ringtone"></a></td>
|
Source File: d:\Sites\mxv2\includes\latest_ringtones.inc Line: 39
Stack Trace:
[InvalidOperationException: Invalid attempt to read when no data is present.]
System.Data.SqlClient.SqlDataReader.PrepareRecord(Int32 i) +201
System.Data.SqlClient.SqlDataReader.GetValue(Int32 i) +27
System.Data.SqlClient.SqlDataReader.get_Item(String name) +20
ASP.ringtones_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in d:\Sites\mxv2\includes\latest_ringtones.inc:39
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Page.ProcessRequestMain() +1926
|
Version Information: Microsoft .NET Framework Version:1.1.4322.2443; ASP.NET Version:1.1.4322.2407
| | |