connect

Unable to connect using pymssql with windows authentication

匿名 (未验证) 提交于 2019-12-03 00:59:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: While trying to connect to MSSQL Server 2012 using pymssql, I get the following error. My server name in Windows Authentication is SARATH,User Name is Sarath\SarathShanker and I did not set a password. Code: mssql_conn=pymssql.connect(host='SARATH',user='Sarath\SarathShanker',password='',database='matrix') Error: Traceback (most recent call last): File "", line 1, in File "pymssql.pyx", line 556, in pymssql.connect (pymssql.c:7990) pymssql.OperationalError: (18452, 'Login failed. The login is from an untrusted domain and cannot be used with

Handling text/plain in Express (via connect)?

匿名 (未验证) 提交于 2019-12-03 00:58:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Express 3, and would like to handle text/plain POSTs. Express 3 uses connect's bodyParser now (I think the old Express code got moved to connect). The documentation for bodyParser gives some details about how to make it support additional file types. And I found an excellent blog post about how handling text/plain was done in old versions of Express ). Should I explicitly require connect (and let node's require cache the modified version)? Or is connect exposed via express somewhere? connect.bodyParser does not have a 'parse' key.

Cannot connect to Jupyter notebook server running on Xubuntu inside VirtualBox

匿名 (未验证) 提交于 2019-12-03 00:58:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a recent install of Jupyter running on Xubunut inside VirtualBox. I have no problems accessing it within the guest. Copy/paste this URL into your browser when you connect for the first time, to login with a token: http://localhost:8888/?token=e7e0676d331f8c7a52cd8918217d51496c2b38cc1aa1c107 However, I cannot get this URL to work from my host environment, Windows 10. At first, I thought there must be some problem with port forwarding, so I installed openssh-server to test. Much of the advice I've found said that the guest IP should be

Error:The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect

匿名 (未验证) 提交于 2019-12-03 00:58:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Windows 7 Netbeans IDE 7.1.2 SQL Server Management Studio Express 2005 JDK1.6 I am getting the below error while connecting to the database: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect My connection string is: Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); Connection connection = DriverManager.getConnection( "jdbc:sqlserver://127.0.0.1:1433;databaseName=dbcm;" + "user=sa;password=sa"); I've checked below things

Web2Py won't connect to MSSQL

匿名 (未验证) 提交于 2019-12-03 00:57:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm unable to get web2py to connect to mssql. <type 'exceptions.RuntimeError'>(Failure to connect, tried 5 times: 'NoneType' object has no attribute 'connect') My connection string is: db = DAL('mssql://testUser:password1@localhost/testDB') Environment I've tested that I can connect using the pyodbc. The following code works: import pyodbc cnxn = pyodbc.connect('DRIVER={SQL Server};SERVER=localhost;DATABASE=testDB;UID=testUser;PWD=password1') cursor = cnxn.cursor() cursor.execute("select * from tbUsers") rows = cursor.fetchall() for row in

Can&#039;t connect to Redis server using ASP.NET Session State Provider

匿名 (未验证) 提交于 2019-12-03 00:57:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have been attempting to replace ASP.NET Session with Redis for some time now. Multiple hours with the Microsoft ASP.NET Session State Provider for Redis have been fruitless. We have an on-premises Sentinel configuration for Redis. Originally I thought this was not working due to the Provider not supporting Sentinels. I switched my connection string to use the master, in hopes that I would at least be able to establish a connection. Still nothing. I have tried multiple configurations for this provider and continually receive either "No

what is the difference between bounded and unbounded device?

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I’m new to both iOS and BLE, so kindly bear with me if this question is very basic. What is the distinction between bounded and unbounded devices? I’m working with CBCentralManager for BLE in iOS, and I’m trying to figure out how to pair them through CBCentralManager . 回答1: You don't need to do anything different app, iOS will handle the binding if required. Bounded connections are in a way "paired" to the iOS device. Once bounded they will not communicate to any other device. Bounding is controlled by the operating system (iOS).

neo4j-shell can not connect to neo4j Server

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using docker version of neo4j (v3.1.0) and I'm having difficulties connecting to neo4j server using neo4j-shell. After running an instance of neo4r:3.1.0 docker , I run a bash inside the container: $ docker exec -it neo4j /bin/bash And from there I try to run the neo4j-shell like this: /var/lib/neo4j/bin/neo4j-shell But it errors: $ /var/lib/neo4j/bin/neo4j-shell ERROR (-v for expanded information): Connection refused -host Domain name or IP of host to connect to (default: localhost) -port Port of host to connect to (default: 1337) -name

How do I connect to SQL Azure from NodeJS/Tedious?

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a SQL Azure database that I'm trying to connect to from a NodeJS application running in an Azure Linux VM. Everything works fine when I'm on a local SQL Database/and local machine for NodeJS. However, when I run from my vm, I get the following output (My trace output plus the Tedious debug event): connected to XXXXXXX.database.windows.net:1433 State change: Connecting -> SentPrelogin State change: SentPrelogin -> SentLogin7WithStandardLogin connection to XXXXXXX.database.windows.net:1433 closed State change:

Azure Redis unable to connect to Redis servers

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using StackExchange.Redis.StrongName 1.0.394 And I'm trying to connect to my Azure Redis, but I keep getting this error when I run my project: RedisConnectionException: It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on PING Oddly enough, if I use StackExchange.Redis 1.0.394 everything works fine, but I need StrongName version in order to use RedisSessionStateProvider. Here is code for connecting to Redis: private static ConnectionMultiplexer