First 6 batches of 2001 addresses were fine then I started getting this error......
Microsoft OLE DB Provider for SQL Server error '80040e2f'
Cannot insert duplicate key row in object 'tblNPMembers' with unique index 'ID_Code'.
/newspad/admin_import_subscribers.asp, line 278
Also if you receive this error when importing......
Active Server Pages error 'ASP 0113'
Script timed out
/newspad/admin_import_subscribers.asp
The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.
Replace:-
Session.Timeout
With:-
Server.ScriptTimeout
and give it a larger value than 1400 (the default in the script I had), I set IIS asp script time out to the maximum 2000000000 and my Server.ScriptTimeout in the script to 2000 as below
'Set the script timeout to 24 hours incase there are lots of emails addresses to import
Server.ScriptTimeout = 2000