Xamarin and Maui Sql Server (SSMS) Connection

Xamarin and Maui Sql Server (SSMS) Connection

Xamarin Guy

2 года назад

36,130 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Raja Sundaram
Raja Sundaram - 16.07.2023 19:04

nice work it
🥳🥳🥳

Ответить
David santiago G
David santiago G - 01.06.2023 06:38

my friend do you really was saved my life with you tutorial because i was search for hours one video who can explain that like this and men , you are the best ! thanks again my friend

Ответить
ISLAMIC STATUS OFFICIAL
ISLAMIC STATUS OFFICIAL - 23.05.2023 10:46

Thanks a lot. best tutorial

Ответить
Aras Tuna Şimşek
Aras Tuna Şimşek - 10.05.2023 17:10

the new maui doesnt support fucking system.data.sqlclient. ı take this error always. I'm gonna break my computer ı swear !!!!! Microsoft.Data.SqlClient.SqlException: 'A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)'

Ответить
yasser swap-solutions
yasser swap-solutions - 13.12.2022 02:42

this not working om maui it works in xamarin forms only have you tested it on maui

Ответить
Rıdvan Sünger
Rıdvan Sünger - 06.11.2022 11:29

using System.Data.SqlClient; not working in .NET MAUI for net6.0-android

Ответить
Vali Maties
Vali Maties - 20.09.2022 08:33

A lot of wrong explanations here... Hard coded strings of connection is a WRONG approach, using Open() instead of OpenAsync() (why do you use Open()????), wrong settings for SqlServer as well... I don't know what to say about your video, but definitely, it is not a good setup!

Ответить
Gyani Sharma
Gyani Sharma - 17.09.2022 18:24

Please help me

Ответить
Gyani Sharma
Gyani Sharma - 17.09.2022 18:24

My machine is not working SQL connection with visual studio and xamarin

Ответить
Gyani Sharma
Gyani Sharma - 17.09.2022 18:22

Namaskar sir

Ответить
Angel Osei-Ansah
Angel Osei-Ansah - 23.08.2022 11:24

This is great but i get an error message and can't get around it. Please assist
---- System.Data.SqlClient.SqlException: 'System.Net.Security.Native assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Interop+NetSecurityNative.ImportPrincipalName(Interop/NetSecurityNative/Status&,string,int,Microsoft.Win32.SafeHandles.SafeGssNameHandle&)
at Microsoft.Win32.SafeHandles.SafeGssNameHandle.CreatePrincipal (System.String name) [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/Microsoft/Win32/SafeHandles/GssSafeHandles.cs:39
at System.Net.Security.SafeDeleteNegoContext..ctor (System.Net.Security.SafeFreeNegoCredentials credential, System.String targetName) [0x0001c] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/System/Net/Security/Unix/SafeDeleteNegoContext.cs:46
at System.Net.Security.NegotiateStreamPal.EstablishSecurityContext (System.Net.Security.SafeFreeNegoCredentials credential, System.Net.Security.SafeDeleteContext& context, System.String targetName, System.Net.ContextFlagsPal inFlags, System.Net.Security.SecurityBuffer inputBuffer, System.Net.Security.SecurityBuffer outputBuffer, System.Net.ContextFlagsPal& outFlags) [0x0000b] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/System/Net/Security/NegotiateStreamPal.Unix.cs:166
at System.Net.Security.NegotiateStreamPal.InitializeSecurityContext (System.Net.Security.SafeFreeCredentials credentialsHandle, System.Net.Security.SafeDeleteContext& securityContext, System.String spn, System.Net.ContextFlagsPal requestedContextFlags, System.Net.Security.SecurityBuffer[] inSecurityBufferArray, System.Net.Security.SecurityBuffer outSecurityBuffer, System.Net.ContextFlagsPal& contextFlags) [0x00037] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/System/Net/Security/NegotiateStreamPal.Unix.cs:240
at System.Data.SqlClient.SNI.SNIProxy.GenSspiClientContext (System.Data.SqlClient.SNI.SspiClientContextStatus sspiClientContextStatus, System.Byte[] receivedBuff, System.Byte[]& sendBuff, System.Byte[] serverName) [0x0006b] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/SNI/SNIProxy.cs:113
at System.Data.SqlClient.SNI.TdsParserStateObjectManaged.GenerateSspiClientContext (System.Byte[] receivedBuff, System.UInt32 receivedLength, System.Byte[]& sendBuff, System.UInt32& sendLength, System.Byte[] _sniSpnBuffer) [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/TdsParserStateObjectManaged.cs:240
at System.Data.SqlClient.TdsParser.SNISSPIData (System.Byte[] receivedBuff, System.UInt32 receivedLength, System.Byte[]& sendBuff, System.UInt32& sendLength) [0x00007] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/TdsParser.cs:6488
System.Net.Security.Native assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Interop+NetSecurityNative.ImportPrincipalName(Interop/NetSecurityNative/Status&,string,int,Microsoft.Win32.SafeHandles.SafeGssNameHandle&)
at Microsoft.Win32.SafeHandles.SafeGssNameHandle.CreatePrincipal (System.String name) [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/Microsoft/Win32/SafeHandles/GssSafeHandles.cs:39
at System.Net.Security.SafeDeleteNegoContext..ctor (System.Net.Security.SafeFreeNegoCredentials credential, System.String targetName) [0x0001c] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/System/Net/Security/Unix/SafeDeleteNegoContext.cs:46
at System.Net.Security.NegotiateStreamPal.EstablishSecurityContext (System.Net.Security.SafeFreeNegoCredentials credential, System.Net.Security.SafeDeleteContext& context, System.String targetName, System.Net.ContextFlagsPal inFlags, System.Net.Security.SecurityBuffer inputBuffer, System.Net.Security.SecurityBuffer outputBuffer, System.Net.ContextFlagsPal& outFlags) [0x0000b] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/System/Net/Security/NegotiateStreamPal.Unix.cs:166
at System.Net.Security.NegotiateStreamPal.InitializeSecurityContext (System.Net.Security.SafeFreeCredentials credentialsHandle, System.Net.Security.SafeDeleteContext& securityContext, System.String spn, System.Net.ContextFlagsPal requestedContextFlags, System.Net.Security.SecurityBuffer[] inSecurityBufferArray, System.Net.Security.SecurityBuffer outSecurityBuffer, System.Net.ContextFlagsPal& contextFlags) [0x00037] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/System/Net/Security/NegotiateStreamPal.Unix.cs:240
at System.Data.SqlClient.SNI.SNIProxy.GenSspiClientContext (System.Data.SqlClient.SNI.SspiClientContextStatus sspiClientContextStatus, System.Byte[] receivedBuff, System.Byte[]& sendBuff, System.Byte[] serverName) [0x0006b] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/SNI/SNIProxy.cs:113
at System.Data.SqlClient.SNI.TdsParserStateObjectManaged.GenerateSspiClientContext (System.Byte[] receivedBuff, System.UInt32 receivedLength, System.Byte[]& sendBuff, System.UInt32& sendLength, System.Byte[] _sniSpnBuffer) [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/TdsParserStateObjectManaged.cs:240
at System.Data.SqlClient.TdsParser.SNISSPIData (System.Byte[] receivedBuff, System.UInt32 receivedLength, System.Byte[]& sendBuff, System.UInt32& sendLength) [0x00007] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Data.SqlClient/src/System/Data/SqlClient/TdsParser.cs:6488 '

Ответить
Abdul Aziz
Abdul Aziz - 14.07.2022 18:56

can you help to get the same connection in Blazor MAUI I TRIED BUT ITS NOT WORKING

Ответить
Emre Kabaşanoğlu
Emre Kabaşanoğlu - 24.06.2022 12:56

using System.Data.SqlClient; not working in .NET MAUI for net6.0-android

Ответить
M Dot Tech
M Dot Tech - 25.04.2022 08:56

Excuse Me Bro I am Getting this Error Can You Please help me to Fix this Problem Thanks A lot , I am Using With .net Maui Project.. "A connection was successfully established with the server but then an error pre-login handshake "

Ответить
M Dot Tech
M Dot Tech - 23.04.2022 11:52

Superb way to explain , Very nice keep it up bro

Ответить
TheJetSettR
TheJetSettR - 17.03.2022 03:59

Hello. Will it also work with the 'Developer' version of SQL Server?

Ответить
K Nad
K Nad - 23.02.2022 02:48

This is so underrated. You're amazing

Ответить
Bartosz Polak
Bartosz Polak - 18.02.2022 12:58

Why you dont show if his works?

Ответить
Ferenc Ferenc
Ferenc Ferenc - 17.02.2022 22:23

Unfortunately it does not work with iOS devices. :(

Ответить
Suresh Babu
Suresh Babu - 23.12.2021 12:56

Shall I create APK and use in mobile

Ответить