473,507 Members | 8,054 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server Error in '/' Application.

1 New Member
I am getting the following message: Index and length must refer to a location within the string.
Parameter name: length

It says the error is in Line 68



Line 66: <td align="center" valign="top">
Line 67: <asp:HyperLink runat="server" CssClass="animallink" ID="lnkAnimal" NavigateUrl='<%# "animal_detail.aspx?ID=" & DataBinder.Eval(Container.DataItem, "ID") %>' Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>'></asp:HyperLink><br />
Line 68: <asp:Label ID="Label1" runat="server" style="color:Black;" Text='<%# DataBinder.Eval(Container.DataItem,"Notes"). ToString().Substring(0, 60) & "..." %>'></asp:Label>
Line 69: <asp:HyperLink runat="server" CssClass="animallink_sm" ID="HyperLink1" NavigateUrl='<%# "animal_detail.aspx?ID=" & DataBinder.Eval(Container.DataItem, "ID") %>' Text="View More"></asp:HyperLink>
Line 70: </td>
Dec 22 '10 #1
0 1117

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1461
by: Krishnamoorthy | last post by:
have a website which is running under asp. I have created a folder and declared as Virtual directory from webspace provider. Now i placed files which are generated at a time of creating new...
6
635
by: Javier Cortés Cortés | last post by:
i am getting this error when i am trying to access any file(with the ext. aspx) from my remote server. the error is : Server Error in '/' Application....
4
5374
by: tommy | last post by:
hello everbody, i write a little asp-application with forms-authentication. i copy my aspx-files with web.config to my webspace and i get the error above... i tried to set the...
6
3480
by: AlanS | last post by:
I have used Visual Studio for about 8 months. I have developed some ASP solutions. I had to get on with some other things and have not worked with ASP.NET for a couple months. In the meantime, I...
0
1660
by: Darren | last post by:
Hi, I get the above error message when I try to run my page on the remote server. As I am a newbie with .net, I chose Project | Copy to copy the files needed to a seperate local directory then...
12
26771
by: Kevin Farless | last post by:
Hi all, I'm having trouble viewing any .aspx pages on my hosting company's server. The server is a new box running Windows Server 2003 default installation. I'm the first client to try using...
2
2029
by: news.microsoft.com | last post by:
hi, I am new in ASP.NET i make a page using Visual Studio.net compile and successfully run on local system but when i upload it on my internet live server it always gives me the same error if...
0
2241
by: Joergen Bech | last post by:
Fairly new to ASP.NET 1.1. Getting the error below when running application on a web server outside of my control, but only the first time I run it: 1. After a long period of inactivity (or...
5
1773
by: Lara | last post by:
Hi, I am getting the following error. All the files are stored in a directory named 'web' as told by the Server Administrtor can anyone help me Server Error in '/' Application....
0
1221
by: Drushti Avarani via .NET 247 | last post by:
(Type your message here) Hi All, Probably I am posting the message under wrong heading i.einstead of ...languages.vb ,it should be ...languages.C#. I havemade a project in C# language using VS.NET...
0
7223
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
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7030
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
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.