IIS Server - Strange error when deploying site

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > June 2005 > Strange error when deploying site





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Strange error when deploying site
Nathan Sokalski

2005-06-24, 8:48 pm

I am trying to move my ASP.NET site from my XP Pro desktop to the webhosting
service where I make it public. The site runs great on my desktop, where I
have it in the root directory of XP Pro's IIS. However, when I move it to
the webhosting service (which uses Windows Server 2003) all the pages bring
up the following error:

[ArgumentException: Argument 'Index' is not a valid value.]
Microsoft.VisualBasic.Collection.get_Item(Object Index) +265
localhost.index.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +739

Why does the site work on my machine but not on my webhosting service when
they both support the .NET Framework 1.1, and what exactly does the error
mean (I was never 100% sure what to do with errors like this when the cause
was not obvious)? Any help would be greatly appreciated. Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/


stand__sure

2005-06-25, 2:48 am

can you give us the code of the page please?

Nathan Sokalski

2005-06-26, 2:47 am

I have attached a zip file with the index.aspx and index.aspx.vb files as
well as the user controls necessary. I also included the Global.asax,
Global.asax.vb, and Web.config files. There is also one .vb file which
contains a class I wrote which is used. I did not include the graphics or
css files. If there are any files you need that I did not include, let me
know. Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

"stand__sure" <stand__sure@hotmail.com> wrote in message
news:1119681600.109567.260400@g14g2000cwa.googlegroups.com...
> can you give us the code of the page please?
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com