It now thinks its corrupt when I browse to my site. (although i can view table data in VS2010 still)
I am also a bit confused why the error message references a folder location where my original download of the source code was done. I have a folder in inetpub which holds my files and I thought the site was running from there.
I'm a bit confused with what is going on and hoping someone can help!
Here is the error page it was spitting out:
Server Error in '/' Application.
The database file may be corrupted. Run the repair utility to check the database file. [ Database name = C:\inetpub\wwwroot\vhosts\mywebsite.co.uk\httpdocs\App_Data\Nop.Db.sdf ]
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.Data.SqlServerCe.SqlCeException: The database file may be corrupted. Run the repair utility to check the database file. [ Database name = C:\inetpub\wwwroot\vhosts\mywebsite.co.uk\httpdocs\App_Data\Nop.Db.sdf ]
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:
[SqlCeException (0x80004005): The database file may be corrupted. Run the repair utility to check the database file. [ Database name = C:\inetpub\wwwroot\vhosts\mywebsite.co.uk\httpdocs\App_Data\Nop.Db.sdf ]]
System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr) +24
System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent) +1612
System.Data.SqlServerCe.SqlCeConnection.Open() +52
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +52
[EntityException: The underlying provider failed on Open.]
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +161
System.Data.EntityClient.EntityConnection.Open() +98
System.Data.Objects.ObjectContext.EnsureConnection() +81
System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +46
System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +44
System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +182
System.Data.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__1(IEnumerable`1 sequence) +41
System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle(IEnumerable`1 query, Expression queryRoot) +59
System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute(Expression expression) +150
System.Data.Entity.Internal.Linq.DbQueryProvider.Execute(Expression expression) +60
System.Linq.Queryable.FirstOrDefault(IQueryable`1 source) +265
Nop.Services.Customers.CustomerService.GetCustomerByGuid(Guid customerGuid) in c:\Code\mywebsite.co.uk\nopCommerce_2.10_Source\Libraries\Nop.Services\Customers\CustomerService.cs:234
Nop.Web.Framework.WebWorkContext.GetCurrentCustomer() in c:\Code\mywebsite.co.uk\nopCommerce_2.10_Source\Presentation\Nop.Web.Framework\WebWorkContext.cs:107
Nop.Web.Framework.WebWorkContext.get_CurrentCustomer() in c:\Code\mywebsite.co.uk\nopCommerce_2.10_Source\Presentation\Nop.Web.Framework\WebWorkContext.cs:189
Nop.Web.MvcApplication.SetWorkingCulture() in c:\Code\mywebsite.co.uk\nopCommerce_2.10_Source\Presentation\Nop.Web\Global.asax.cs:172
Nop.Web.MvcApplication.Application_AuthenticateRequest(Object sender, EventArgs e) in c:\Code\mywebsite.co.uk\nopCommerce_2.10_Source\Presentation\Nop.Web\Global.asax.cs:122
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Any ideas as to why it thinks it is corrupt?