Strange error when deploying site

N

Nathan Sokalski

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.
 
N

Nathan Sokalski

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,222
Latest member
patricajohnson51

Latest Threads

Top