I think this is the correct location for this posting - please let me
know if it's not :-)
Am using Visual Studio 2005 on Vista x64.......my little project works
fine using the local asp.net Development Server but fails with the
above message when published to the webserver (IIS 6; Microsoft .NET
Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 ).
This is a copy of the stack trace:
[ArgumentException: Argument 'Length' must be greater or equal to
zero.]
Microsoft.VisualBasic.Strings.Left(String str, Int32 Length)
+149751
NewIntelAMT._Default.Page_Load(Object sender, EventArgs e) in \
\filespace\shared\AppServ\Source\00.VB2005\NewIntelAMT\NewIntelAMT
\Default.aspx.vb:11
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1061
I can see that the error is based on this line
NewIntelAMT._Default.Page_Load(Object sender, EventArgs e) in \
\filespace\shared\AppServ\Source\00.VB2005\NewIntelAMT\NewIntelAMT
\Default.aspx.vb:11
because the path \\filespace\shared\etc is source the path of my
project!!
In my naivity I would have thought that this would have been updated
by publishing to the web server.
I can find no trace of this pathname in any of the project files and
am now stumped!!
Anyone met this before or have any ideas?
To-date Googling has drawn a blank :-(
Many thanks in advance
Greg