A day or so after I reported it had been awhile since the errors occurred, we continued having the original errors again.
I followed the advice given above about registering the EntityFramework.dll into the Global Assembly Cache, and cleared my application logs to watch for the errors. No errors in log for over 20 hours now, but without having realized it immediately, doing so has caused my development site to fault...this is the error in the Windows application log whenever any page on my development site is accessed:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/28/2014 4:10:52 PM
Event time (UTC): 4/28/2014 11:10:52 PM
Event ID: 493d7027738b4f36b9a3b9f03c7921e2
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/11/ROOT-1-130432002326878750
Trust level: Full
Application Virtual Path: /
Application Path: C:\inetpub\wwwroot\MFS_DEV_3point3\
Machine name: WIN-DDE4FB9847H
Process information:
Process ID: 5740
Process name: w3wp.exe
Account name: IIS APPPOOL\MFS_DEV
Exception information:
Exception type: HttpException
Exception message: An exception was thrown while executing a resolve operation. See the InnerException for details. ---> An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct. (See inner exception for details.)
at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
..................(more here..removed to shorten)
The provider did not return a ProviderManifestToken string.
at System.Data.Entity.Core.Common.DbProviderServices.GetProviderManifestToken(DbConnection connection)
at System.Data.Entity.Utilities.DbProviderServicesExtensions.GetProviderManifestTokenChecked(DbProviderServices providerServices, DbConnection connection)
Method not found: 'System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher System.Data.Entity.Infrastructure.Interception.DbDispatchers.get_Connection()'.
at System.Data.Entity.SqlServer.SqlProviderServices.GetDbProviderManifestToken(DbConnection connection)
at System.Data.Entity.Core.Common.DbProviderServices.GetProviderManifestToken(DbConnection connection)
Request information:
Request URL: http://64.239.149.226/
Request path: /
User host address: 10.10.10.28
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\MFS_DEV
Thread information:
Thread ID: 6
Thread account name: IIS APPPOOL\MFS_DEV
Is impersonating: False
Stack trace: at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
I verified my connection string is perfect, and I can manually connect to the database with no problems...how do I fix this?
Thanks,
Steve