Hello,
I have a asp.net application that works fine locally, but when I try
and deploy it, it breaks with the error
Type 'List' is not defined
on the line
Public allFields As List(Of FormField) = New List(Of FormField)
I have imported generics Imports System.Collections.Generic
I have recently installed AJAX extensions and aspnet futures. I think
this might have caused a problem with a namespace?
Any ideas?
Thanks in advance.
Jon Skeet [C# MVP] - 19 Dec 2007 18:31 GMT
> I have a asp.net application that works fine locally, but when I try
> and deploy it, it breaks with the error
[quoted text clipped - 10 lines]
>
> Any ideas?
Does the target server have .NET 2.0 installed?

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Mohamad Elarabi [MCPD] - 21 Dec 2007 06:19 GMT
Make sure of the following:
1- Production server has .Net 2.0 Framework.
2- On the server go to IIS (MMC)\Right click the Site\Properties\ASP.NET
Tab\ASP.NET Versio is set to 2.0.50727
Stop and start the site,
or Start\Run\IISReset <-- This will take down all sites on the server then
bring them back up. Only use in desperate times.

Signature
Mohamad Elarabi
MCP, MCTS, MCPD.
> Hello,
>
[quoted text clipped - 14 lines]
>
> Thanks in advance.