peaveyyyy
New member
- Joined
- Jun 9, 2009
- Messages
- 3
- Programming Experience
- 3-5
I had had this error start to pop up on all my website projects, all of which used to work fine.
Even my master page that I use for my website is throwing this error, on line 1!
repeat: this used to work! I changed nothing.
this now says:
ASP.NET runtime error: length cannot be less than zero. parameter name: length
all my pages obviously have similar code at the top and it is all now failing.
also, my App_Code files are now failing to recognise things like TextBox's and FormView's, despite having imports like this:
Imports System.Web.UI.WebControls
Imports System.Web.UI
simple code like this (which used to work):
is now saying: "type 'TextBox' is not defined"
The only thing i can think of is that I tried to install the beta of VS2010, which refused to work then caused me no end of problems getting it off my PC
I have re-installed/repaired VS2008, apparently successfully. The problem does not go away.
Thoughts?
Even my master page that I use for my website is throwing this error, on line 1!
repeat: this used to work! I changed nothing.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
this now says:
ASP.NET runtime error: length cannot be less than zero. parameter name: length
all my pages obviously have similar code at the top and it is all now failing.
also, my App_Code files are now failing to recognise things like TextBox's and FormView's, despite having imports like this:
Imports System.Web.UI.WebControls
Imports System.Web.UI
simple code like this (which used to work):
Public Shared Sub CopyOfficerTextBoxes(ByVal aFV As FormView, ByVal CheckBoxChecked As Boolean)
Dim box1 As TextBox
Dim box2 As TextBox
is now saying: "type 'TextBox' is not defined"
The only thing i can think of is that I tried to install the beta of VS2010, which refused to work then caused me no end of problems getting it off my PC
I have re-installed/repaired VS2008, apparently successfully. The problem does not go away.
Thoughts?