I downloaded all of my files and ftp'd them to the new server. Changed the db info and I get this:
Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Source Error:
Line 39: </customErrors> Line 40: <trace enabled="true" pageOutput="true" /> Line 41: <compilation debug="false" targetFramework="4.0"> Line 42: <assemblies> Line 43: <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
The host made some changes to the server and I now get this
Server Error in '/' Application. No database instance Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ApplicationException: No database instance
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ApplicationException: No database instance] Nop.Data.Initializers.CreateTablesIfNotExist`1.InitializeDatabase(TContext context) in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Data\Initializers\CreateTablesIfNotExist.cs:70 System.Data.Entity.<>c__DisplayClass2`1.<SetInitializerInternal>b__0(DbContext c) +75 System.Data.Entity.Internal.<>c__DisplayClass5.<PerformDatabaseInitialization>b__3() +19 System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action) +72 System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization() +169 System.Data.Entity.Internal.LazyInternalContext.<InitializeDatabase>b__4(InternalContext c) +7 System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input) +118 System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action) +190 System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase() +73 System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +27 System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() +62 System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext() +15 System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider() +37 System.Linq.Queryable.OrderByDescending(IQueryable`1 source, Expression`1 keySelector) +66 Nop.Services.Tasks.ScheduleTaskService.GetAllTasks() in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Services\Tasks\ScheduleTaskService.cs:66 Nop.Services.Tasks.TaskManager.Initialize() in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Services\Tasks\TaskManager.cs:41 Nop.Web.MvcApplication.Application_Start() in f:\Own\NopCommerce\Sources\src\Presentation\Nop.Web\Global.asax.cs:56
The err message is somewhat obvious "No database instance" Your connection string (Settings.txt) is probably wrong. On some hosts you may need to use an IP or "localhost". How did you transfer your database to new server?
Backed up on the old server, downloaded the backup.bak to my desktop. Then ftp'd the backup.bak to the new server. Created a database and did a restore. Changed the settings.txt with the new database location, name etc.