SQL Server - Resource Temporarily Unavaiable
-
- Posts: 1
- Joined: Thu 08 Dec 2016 10:52
SQL Server - Resource Temporarily Unavaiable
Hi,
I'm trying to do a simple query directly to a online SQLServer database hosted in Azure using UniConnection and UniQuery with a mobile app:
query.Close;
query.SQL.Text := 'select [field] from [table]';
query.Open;
But the follow exception rises: 'Error on data reading from the connection: Resource temporarily unavailable. Socket Error Code: 35($23)'.
Connection configuration:
Provider: SQL Server.
ipVersion: ivIPBoth.
ConnectString: Provider Name=SQL Server;Data Source=[my_db].database.windows.net;Initial Catalog=[my_db];Port=0;User ID=[user];Password=[password];IP Version=ivIPBoth;Login Prompt=False;Pooling=True;Validate Connection=True;
Here in Brazil the app is working perfectly with all resources (select, update, delete, drop etc), but in Apple Store test (when the app subimted is waiting for approval) this simple query is rising the exception above.
What this could be? Is there some missing configuration?
Thanks!
I'm trying to do a simple query directly to a online SQLServer database hosted in Azure using UniConnection and UniQuery with a mobile app:
query.Close;
query.SQL.Text := 'select [field] from [table]';
query.Open;
But the follow exception rises: 'Error on data reading from the connection: Resource temporarily unavailable. Socket Error Code: 35($23)'.
Connection configuration:
Provider: SQL Server.
ipVersion: ivIPBoth.
ConnectString: Provider Name=SQL Server;Data Source=[my_db].database.windows.net;Initial Catalog=[my_db];Port=0;User ID=[user];Password=[password];IP Version=ivIPBoth;Login Prompt=False;Pooling=True;Validate Connection=True;
Here in Brazil the app is working perfectly with all resources (select, update, delete, drop etc), but in Apple Store test (when the app subimted is waiting for approval) this simple query is rising the exception above.
What this could be? Is there some missing configuration?
Thanks!
Re: SQL Server - Resource Temporarily Unavaiable
The specified issue is not related to UniDAC functionality. Please forward your question to Apple Store support.
Re: SQL Server - Resource Temporarily Unavaiable
I have the same problem, how can I resolve it ?
Re: SQL Server - Resource Temporarily Unavaiable
Please specify whether this error is reproduced when the property TUniConnection.SpecificOptions.Values['SQL Server.IPVersion'] is assigned the value:
- ivIPv4
- ivIPv6
- ivIPBoth
- ivIPv4
- ivIPv6
- ivIPBoth
Re: SQL Server - Resource Temporarily Unavaiable
TUniConnection.SpecificOptions.Values['SQL Server.IPVersion'] = ivIPv4
this is the default value, I have no changed it
this is the default value, I have no changed it
Re: SQL Server - Resource Temporarily Unavaiable
The described problem may occur if on the client machine where the application is running there is no access to SQL Azure through IPV4 protocol. Trace the path from the client to SQL Azure to find out at which route point the access is absent.
Re: SQL Server - Resource Temporarily Unavaiable
Can I change to ivBoth on SQL Azure ?
Re: SQL Server - Resource Temporarily Unavaiable
My actual connection string is
Provider Name=SQL Server;Provider=TDS;Data Source=XXXXXX.database.windows.net;Initial Catalog=DATAS;User ID=demos;Password=demos;MultipleActiveResultSets=True;Login Prompt=False
Provider Name=SQL Server;Provider=TDS;Data Source=XXXXXX.database.windows.net;Initial Catalog=DATAS;User ID=demos;Password=demos;MultipleActiveResultSets=True;Login Prompt=False
Re: SQL Server - Resource Temporarily Unavaiable
Apple review team Still rejected my app.
I have try multiple compilations:
- With Encrypt='True' and Encrypt='False'
- Using ipV6 and ipV4
I have created a NAT64 wifi with macs for try simulating IPV6 and app works in my test. Buy rejected when submited.
Any solutions ? Any idea ?
I have try multiple compilations:
- With Encrypt='True' and Encrypt='False'
- Using ipV6 and ipV4
I have created a NAT64 wifi with macs for try simulating IPV6 and app works in my test. Buy rejected when submited.
Any solutions ? Any idea ?
Re: SQL Server - Resource Temporarily Unavaiable
The described problem may occur if at least on one of the route points from a computer/mobile device where the app is running to SQL Azure there is no access to IPV4 protocol. To check the access, use the traceroute command on the computer/mobile device where this problem occurs.
Re: SQL Server - Resource Temporarily Unavaiable
SQL Azure require at least one route point in IPv4 ?
SQL Azure does not allow connections from ipv6 real networks ?
I don´t know bypass it
SQL Azure does not allow connections from ipv6 real networks ?
I don´t know bypass it
Re: SQL Server - Resource Temporarily Unavaiable
UniDAC supports connection to SQL Azure using both protocols - IPv4 and IPv6.
To check if client region is available for SQL Azure through IPv4/IPv6 protocol, please read the following article in Azure documentation: https://azure.microsoft.com/en-us/updat ... azure-vms/ or forward these questions to its developers.
To check if client region is available for SQL Azure through IPv4/IPv6 protocol, please read the following article in Azure documentation: https://azure.microsoft.com/en-us/updat ... azure-vms/ or forward these questions to its developers.
Re: SQL Server - Resource Temporarily Unavaiable
I think that devart should be create a demo app over ios and mac
connecting to SQL Azure, and try publish to apple store.
Because I wasted a lot of time, 1 week, without solution.
connecting to SQL Azure, and try publish to apple store.
Because I wasted a lot of time, 1 week, without solution.
Re: SQL Server - Resource Temporarily Unavaiable
The error message 'Resource temporarily unavailable' is generated not by UniDAC, but by OS. To solve the problem you should find this error cause. Clarify at the Apple Store whether there is access to SQL Azure from the computer/mobile device where this error occurs.