You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/azure/virtual-machines/linux/suse-public-cloud-connectivity-registration-issues.md
+15-10Lines changed: 15 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Troubleshoot connectivity and registration for SUSE SLES VMs
2
+
title: Troubleshoot Connectivity and Registration for SUSE SLES VMs
3
3
description: Troubleshoot scenarios in which an Azure VM that has a SUSE Linux Enterprise Server image can't connect to the SUSE Subscription Management Tool (SMT) repository.
4
4
ms.date: 05/12/2025
5
5
author: rnirek
@@ -144,7 +144,7 @@ The output doesn't show the server certificate or SSL session.
144
144
145
145
This scenario usually occurs when the command crosses a Network Virtual Appliance (NVA) that performs SSL packet inspection. This inspection causes the NVA to inject its own SSL certificate into the encrypted session.
146
146
147
-
Because SUSE uses certificate pinning, another injected SSL certificate can break the pinning operation. If the pinning is broken, the SUSE repository will deny the connection.
147
+
Because SUSE uses certificate pinning, another injected SSL certificate can break the pinning operation. If the pinning is broken, the SUSE repository denies the connection.
The output indicates that a connectivity error exists. However, this is not true. This indication occurs because the error handling process in the registration scripts doesn't show the certificate errors from the old libraries.
203
+
The output indicates that a connectivity error exists. However, this indication isn't true. It occurs because the error handling process in the registration scripts doesn't show the certificate errors from the old libraries.
204
204
205
-
The script output might also mistakenly indicate that a certificate for one of the SMT IPs that's displayed in the `sudo tail /var/log/cloudregister`command output can't be found. This is also a library issue, not an issue that affects the CA list on the VM.
205
+
The script output might also mistakenly indicate that a certificate forone of the SMT IPs that's displayedin the `sudo tail /var/log/cloudregister`command output can't be found. This issue is also a library issue, not one that affects the CA list on the VM.
206
206
207
207
### Cause
208
208
209
209
If instances aren't regularly updated, they can become incompatible with our update infrastructure API. This situation causes failure of the repositories that are required to update an instance.
210
210
211
211
### Resolution
212
212
213
-
1. Create a PAYG instance by using the same OS as the that has broken repos.
213
+
1. Create a PAYG instance by using the same OS as the one that has the broken repos.
214
214
2. Create a temporary directory:
215
215
216
216
```bash
217
217
sudo mkdir -p /root/packages/rpms
218
218
```
219
-
3. Download the following packages:
219
+
3. Download the following packages based on SLES versions of the affected VM:
description: Introduces how to open SQL Server databases by using SQL Server .NET Data Provider with Visual Basic .NET.
4
-
ms.date: 05/12/2020
2
+
title: Open SQL Database By Using VB .NET
3
+
description: Introduces how to open SQL Server databases by using SQL Server .NET Data Provider together with Visual Basic .NET.
4
+
ms.date: 07/07/2025
5
5
ms.topic: how-to
6
6
ms.custom: sap:Class Library Namespaces
7
-
---
8
-
# Open SQL Server database by using SQL Server .NET Data Provider with Visual Basic .NET
9
7
10
-
This article provides information about how to open SQL Server databases by using SQL Server .NET Data Provider with Visual Basic .NET.
8
+
#customer intent: As a developer, I want to open SQL Server databases by using the SQL Server .NET Data Provider together with Visual Basic .NET so that I can integrate SQL Server with my applications.
9
+
---
10
+
# Open SQL Server database by using SQL Server .NET Data Provider with Visual Basic .NET
This article provides information about how to open Microsoft SQL Server databases by using SQL Server .NET Data Provider together with Visual Basic .NET. You can use ADO.NET to open a SQL Server database by using the SQL Server .NET Data Provider. ADO.NET gathers all the classes that are required for data handling.
14
13
15
-
## Summary
14
+
The `System.Data.SqlClient` namespace describes a collection of classes that are used to programmatically access a SQL Server data source. You can access ADO classes through the `System.Data.OleDb` namespace to provide support for OLE DB databases.
16
15
17
-
This article describes how you can use ADO.NET to open a SQL Server database by using the SQL Server .NET data provider. ADO.NET gathers all of the classes that are required for data handling. The `System.Data.SqlClient` namespace describes a collection of classes that are used to programmatically access a SQL Server data source. You can access ADO classes through the `System.Data.OleDb` namespace to provide support for OLE DB databases.
16
+
In this article, connections are set up both programmatically and by using the Visual Studio .NET Server Explorer. The code samples in this article use the `SqlConnection`, `SqlCommand`, and `SqlDataReader`ADO.NET objects.
18
17
19
-
In this article, connections are set up both programmatically and using the Visual Studio .NET Server Explorer. The code samples in this article use the `SqlConnection`, `SqlCommand`, and `SqlDataReader` ADO.NET objects.
18
+
_Applies to:_Visual Basic .NET
20
19
21
-
## Requirements
20
+
_Original KB number:_ 308656
22
21
23
-
The following list outlines the required hardware, software, network infrastructure, and service packs that you need:
22
+
## Prerequisites
24
23
25
24
- Microsoft SQL Server
26
25
- Visual Basic .NET
27
26
28
-
> [!NOTE]
29
-
> SQL Server and Visual Basic .NET must be installed and running on the same computer. In addition, the user must be able to use Windows Integrated Security to connect to SQL Server.
27
+
> [!NOTE]
28
+
> SQL Server and Visual Basic .NET must be installed and running on the same computer. Additionally, the user must be able to use Windows Integrated Security to connect to SQL Server.
30
29
31
30
This article assumes that you're familiar with the following topics:
32
31
33
32
- ADO.NET concepts
34
33
- SQL Server concepts and Transact-SQL (T-SQL) syntax
35
-
-*Northwind* sample database
34
+
-The _Northwind_ sample database
36
35
37
36
## Create Visual Basic .NET Windows application
38
37
39
-
1. Start Visual Studio .NET, and create a new Visual Basic Windows Application project named *SQLDataAccess*.
40
-
2. Open Form1. In the first line of *Form1.vb*, add a reference to the ADO.NET namespace as follows:
38
+
1. In Visual Studio .NET, create a Visual Basic Windows Application project, and name it _SQLDataAccess_.
39
+
2. Open Form1.
40
+
3. In the first line of _Form1.vb_, add a reference to the ADO.NET namespace, as follows:
2.Dragthe**FirstName**and**LastName**databasefieldsfrom`Employees` tableinServerExplorer,anddropthesefieldsontoForm1.A`SqlConnection` and `SqlDataAdapter` objectarecreatedontheform.
0 commit comments