Login failed for user "domainname\\username" error in asp.net - sql-server-2008-r2

I am getting following error at connection open step
if (con != null && con.State != System.Data.ConnectionState.Open)
con.Open(); //getting error here
Message: Login failed for user "domainname\username"
Number: 18456
Then I check solution at Click here and found that already SQL Server and Windows Authentication mode is selected then what would the problem.
Please suggest.

In connectionString Integrated Security value was True. I set it to False. It's working now.

Related

How to overcome the error failed: missing) after argument list

it shows like thisUsing selenium IDE as source
For login questions authentication i used if else condition. Getting error failed missing) after argument list
Thanks

Unable to create a connection between Cloudpak and Box

Followed steps from below link:
https://dataplatform.cloud.ibm.com/docs/content/wsj/manage-data/conn-box.html
When trying to configure box to Cloudpak from the above information, getting below error
The test was not successful
The assets request failed: CDICO0100E: Connection failed: Null pointer error

moodle invalid response after successful userlogin

i was facing issue in moodle user was not able to logged in so i change the DB collation and user is now able to login into dashboard but i am also getting this error.
Now user is able to login but this popup error is coming.
invalidresponse
Invalid response value detected
File: /lib/externallib.php
Line: 425
Stack trace:
Error in response - Missing following required key in a single structure: tourconfig
Error code: invalidresponse
* line 425 of /lib/externallib.php: invalid_response_exception thrown
* line 250 of /lib/externallib.php: call to external_api::clean_returnvalue()
* line 59 of /lib/ajax/service.php: call to external_api::call_external_function()
For me, user was not able to login into Moodle and it was the dmlwrite exception. So i changed the DB collation of user table and it's started throwing an error after user logged in.
We are running this whole setup on digital ocean and due to some issue in CPU & Memory, i recycle my whole kubernetes cluster and error resolve automatically.
So as #adrian-sărmaș suggested clear cache and give it try for me maybe it was only issue of caching.

finished with error - code: -1009 when internet there is no connection

We are using Google SDKs like SignIn,maps and Analytics.
Facebook SDK for signIn.
Alamofire and ObjectMapper for Networking and JSON parsing.
Realm for DB.
When there is no internet connection I am getting following error on console. I have verified these are not our App Errors .
TIC TCP Conn Failed [45:0x1c8178240]: 1:50 Err(50) Task
<293866EE-82E6-4740-AEAF-83A1BB11E98A>.<1> HTTP load failed (error
code: -1009 )
Can anyone explain which framework is logging this error.
-1009 is actually NSURLErrorNotConnectedToInternet from here
The log is coming from OS and you can turn it off if you set OS_ACTIVITY_MODE environment variable to disable
Product -> Scheme -> Edit Scheme -> Run -> Arguments -> Environment Variables

InitializeServiceContext in Initializer.cs has started throwing "Unauthorized" in my test app

Using the c# devkit against qbo. When i left yesterday everything was working, however today attempting to initialze the servicecontext in my test application I started getting the "Intuit.Ipp.Exception.InvalidTokenException: Unauthorized" error.
ServiceContext context = Initializer.InitializeServiceContext(oauthValidator, realmId, string.Empty, string.Empty, dataSourcetype);
and the error is here in the InitializeServiceContext:
context = new ServiceContext(oauthValidator, realmId, intuitServiceType);
I registered my test company yesterday (i.e. I now have a paid quickbooks online account) am i not allowed to continue testing against a real account? Or have i made a bigger error somewhere.
Thanks
Edit:
When trying to log into my test app on the Intuit Developer Playground I'm getting the following error:
Oops! An error has occurred.
Please close this window and try again.
Error Code: internal_error
Message: Error Authorizing Request Token: <redacted-token>
Your OAuth tokens are no longer valid. Initializing the ServiceContext object for QBO retrieves the base URL for the realm, which requires authorization and is throwing the unauthorized error as a result.