I was getting this error and tried a few of the earlier suggestions. Then I checked the Inner Exception and noticed I was getting a simple SQL login failure for the user. Just something else to check.
More Related Contents:
- What is the best way to read/parse the XML files [closed]
- Are Parameters really enough to prevent Sql injections?
- Howto? Parameters and LIKE statement SQL
- Preventing SQL Injection in ASP.Net
- Images in database vs file system
- what’s the issue with AttachDbFilename
- I just discovered why all ASP.Net websites are slow, and I am trying to work out what to do about it
- Generating an Excel file in ASP.NET [closed]
- How can I manually create a authentication cookie instead of the default method?
- Return XML from a controller’s action in as an ActionResult?
- Why do I get “Cannot redirect after HTTP headers have been sent” when I call Response.Redirect()?
- Enable ASP.NET ASMX web service for HTTP POST / GET requests
- How to remove returnurl from url?
- How can I JSON encode an array in VB.NET?
- Sharing cookies across different domains and different applications (classic ASP and ASP.NET)
- “Retrieving the COM class factory for component…. error: 80070005 Access is denied.” (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
- asp.net c# redirecting from http to https
- HttpServerUtility.UrlPathEncode vs HttpServerUtility.UrlEncode
- How to implement oauth2 server in ASP.NET MVC 5 and WEB API 2 [closed]
- Allow anonymous authentication for a single folder in web.config?
- Long-running ASP.NET tasks
- Page_ClientValidate is validating multiple times.
- Streaming large file uploads to ASP.NET MVC
- set cookie to expire at end of session? asp.net
- Implement JQuery Datatable in ASP.NET GridView
- what is the use of Eval() in asp.net
- IIS Session Timeout vs ASP.NET Session Timeout
- ASP.NET session state and multiple worker processes
- How to detect/track postback in javascript?
- Canceling the default submit button in ASP.NET