VB.Net Application that reads sql data - mysql

I have a Point of Sale System developed by a local developer and I keep getting this error. The error results when I am using the program and hit the next button to display the next list of items in the menu. The program just crashes and closes when this occurs. The Program works though a mysql database that is running on the same computer.
Heres what my event viewer reported on the error.
EVENT ID:36876
Source: Schannel
The certificate received from the remote server has not validated correctly. The error code is 0x80092013. The SSL connection request has failed. The attached data contains the server certificate.

Related

Cannot Add data sources in SSRS

I cannot add/manage Data Sources within the SSRS when HTTPS is enabled & HTTP disabled. Everything else within the SSRS works without error.
Steps- I open the SSRS URL and select a data source. Before data source properties page can load I receive the error: Something went wrong. Please try again later.
Log file: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure
I tried installing a brand new signed CA Cert but this did not resolve the error. Any suggestions would be greatly appreciated!

Azure MySQL in App: The server is not responding

I have an Application hosted in a Windows WebApp with MySQL in APP enabled.
After realizing the application wasn't responding I could see in the logs errors about MySQL not responding.
So when I try to access the PHPMyAdmin from the console (clicking on the manage button) I got this error:
I already tried to restart my application, and also stop/start but nothing works.
I already looked for other posts here and no one help me, unfortunately.
As per your screenshot error, it is expected when we are using the Free F1 tier as you can see in my below Screenshot when i tried to reproduce the same.
Later when I changed to Standard S1 SKU and tried to access the PHPMyAdmin from the console, got the expected response from server.
Create an App service.
Go to create a web app. Left-hand side menu search MySQL. and click MySQL.
Click MySQL in App and convert off to on. and click the Save button.
Then Manage Enable and click on the Manage link. phpMyAdmin open.
Solved fixing the database port.
After checking the application's logs I realized a loop of tries to connect to the database and it got all memory and cpu of the server, doing the phpMyAdmin out of the connection. So after scaling the instance and restarting the application, I realized the MySql port had changed. So the problem was because in some time the MySQL port changed generating an infinite loop in the application and in the end making phpMyAdmin out because there was no memory available in the server.

CodeIgniter's error log doesn't seem to report all errors

I'm currently creating a web application through linux OS (debian), using php7, codeIgniter 3, Nginx and Mysql.
Few months ago, all my PHP errors used to be reported in the default nginx log error (located at : /var/log/nginx/)
But recently, I have configured CodeIgniter in purpose to report those errors inside the folder of my application.
It seemed to work, because I noticed that my current errors were repported in this new log file.
However, "some" errors don't seem to be reported. For example, I have a form in my web application, running aswell with Javascript (ajax use). Once I send the form, I can notice in my browser's console an Error 500 (internal server error). However, this error is not reported in my error log file ! (and I already checked in the former log file belonging to Nginx, there's nothing too)
What am I supposed to do ?
Thanks you.

Error when running with Fiddler4 and decrypting HTTPS alongside SSIS

I am currently using SSIS to connect to and transfer data from a Microsoft Project Online (Cloud-based) database to an on-prem SQL Server db. The issue is that the SSIS package executes as expected when not running Fiddler4.
While troubleshooting with MS techs, it has been requested we capture a Fiddler trace and decrypt HTTPS traffic. We were able to do this in months past, but as of late, it will cause the SSIS package to fail with the following error:
"Cannot acquire a managed connection from the run-time connection manager."
I have followed the instructions to remove certificates a few times, as well as a few other net suggestions, but still having the issue. We are at a point where MS cannot troubleshoot further unless I can capture a trace.
Full error:
Information: 0x4004300A at TimeSet, SSIS.Pipeline: Validation phase is beginning.
Error: 0xC020801F at TimeSet, OData Source [2]: Cannot acquire a managed connection from the run-time connection manager.
Error: 0xC0047017 at TimeSet, SSIS.Pipeline: OData Source failed validation and returned error code 0xC020801F.
Error: 0xC004700C at TimeSet, SSIS.Pipeline: One or more component failed validation.
Error: 0xC0024107 at TimeSet: There were errors during task validation.
Thanks for any and all help!
Edit: Went through my CA store and saw that the FiddlerRoot was not part of the Trusted CA list. Attempted to explicitly import the CA certificate in my security store, but the cert is still not showing in the trusted list. The Cert is named (for some reason) DO_NOT_TRUST_FiddlerRoot. Could this be part of what I have been seeing if the CA is marked to not be trusted?
Stepping back a bit: The Fiddler root certificate is always called DO_NOT_TRUST_FiddlerRoot and its name has no impact on anything (other than what is shown in the UI).
Does Fiddler properly collect HTTPS traffic from your web browsers?
If so, there are several possible explanations for what's going on here, but the most likely is that the Fiddler root certificate isn't trusted by the process that is using the connection; by default, for instance, Fiddler only tries to trust the root certificate in the per-user certificate store, but sometimes things run in a different user account (e.g. a service account) and thus the root must be placed in the per-machine certificate store.
You can try the following:
In Fiddler’s Tools > Fiddler Options > HTTPS tab, click Export Root Certificate to Desktop.
Launch mmc.exe.
Click File > Add/Remove Snap-In.
Select the Certificates snap-in and press Add.
When prompted This snap-in will always manage certificates for: choose Computer Account
Click Local Computer, then Finish, then OK.
Open the Certificates (Local Computer) node.
Right-click the Trusted Root Certificate Authorities folder and choose All Tasks > Import.
Choose the file you exported in step #1 and import it.

SSRS Report Rendering Hangs With Stored Credentials For XML data source type

In SSRS Report Server (SQL Server 2008 R2), I have a shared data source with data source type of XML. I have a report that uses a shared data set based off of the shared data source. The XML endpoint is living in an IIS-hosted Windows authentication app, and my development server is on a domain.
In Report Server, if I set the shared data source Connect Using option to Windows integrated security, the report renders quickly and as expected.
If I set Connect Using option to Credentials stored securely in the report server (with either domain or local account as configured account), the report rendering hangs indefinitely. There is no error. The "Loading... cancel" popup never goes away. The last line in the Report Server log file says:
library!ReportServer_0-6!19a4!11/22/2011-10:59:27:: i INFO: RenderForNewSession('/Test1/MyReportThatHangs')
Since Report Server caching does not work with "Connect Using" = "Windows integrated security", I'd really like to use "Credentials stored securely in the report server". Is it possible that option is not supported with the XML data source type?
The problem was SSRS was trying to load BCMLogon.dll which it didn't have permission to.
For full thread, see here: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/928cd523-9eeb-49ce-a145-e0885c76adba
I guess I didn't wait long enough to get the error this guy did:
http://completedevelopment.blogspot.com/2009/01/network-provider-issues-and-sql-server.html
Renaming c:\windows\system32\BCMLogon.dll to BCMLogon-RENAMED.dll
fixed the problem (I'm working off of a Dell laptop). I can't believe
I didn't try that before... Anyhow, I still think it's odd that
there was a System.Data.SqlClient.SqlException: Timeout expired
exception when checking "Impersonate the authenticated user after a
connection has been made to the data source" with an XML data source
(unless SqlDataClient has some mode where it can load XML from urls).
Also, it seems that reporting services isn't properly notifying
clients that the HTTP request failed and instead leaves the client
hanging (but perhaps http.sys does not allow a response that after 15
minutes).