Node library for TDS 7.0 (SQL Server 7) - node.js

Has anyone successfully connected to Sequel Server 7 (TDS 7.0) with node.js? How did you do it?
I've tried tedious and node-mssql, but the lowest version of the TDS protocol that they use is 7.1. I need to access a SQL Server 7 database, which only speaks TDS 7.0. (Ancient, I know . . .)
The only library I've found that looks like it works is node-tds, but it was abandoned long ago, so getting help with it is pretty unlikely. I get TypeError: invalid_argument when trying to connect, and there is no documentation on the connect() function. :(

Well, I got it to work, but it wasn't as simple as installing a single node module that contained all the necessary pieces. I ended up using node-odbc. You just have to install and configure a couple pre-requisites (unixODBC and FreeTDS). This was always a pain when I'd had to do it in the past, but this time around I found some instructions for installing both via Homebrew. It's probably just as easy with your package manager of choice. Configuring the setup was a little bit of work, but manageable by following the instruction guide at freetds.org.

Related

Parsec Connection Failure Error -10 and -11

After fresh installing Windows 10, I was not able connect to a Parser Host using another Windows PC.
The error was:
Error: Client Connection Failure (-10)
According to the docs, this refers to DECODE_ERR_INIT
There might be several reasons for these two errors, however the Parsec docs does not give possible solutions.
In my case going to App & Features > Optional Features > Add Feature and then look for Media Feature Pack and install it, reboot and should work.
I was able to discover this issue due to Rainway and Dixter failing because a .dll was missing regarding this precise feature.

AHBot in an AzerothCore 3.3.5 Server

Does anyone have a guide on setting up AHBot in an AzerothCore 3.3.5 server? I can find no mention of ahbot in the world.conf and no DB tables like auctionhousebot in the database or any references. It is included in TrinityCore so all the google references that I find point me back there.
Our server is just two of us and it would be nice to have some items on the auction house. At the moment, if you need a silver bar you have to go out in the world and find it. That was exciting the first couple of times... but gets old.
I followed the guide to install off github: https://www.azerothcore.org/wiki/Installation and am using the latest release under Ubuntu linux.
Thank you for any help. You are my last hope...
AHBot is not currently an 'official' supported module of AzerothCore (which would be why you aren't finding any settings in the worldserver or anywhere else regarding it).
There is a module in development that isn't currently part of the AC list, but I've gotten it working on my personal server: https://github.com/AyaseCore/mod-ahbot Note that this is a bit different than a normal module as there is also a git patch that needs to be applied manually.
Theres a module in azerothCore repository you have to apply patch manually but it wont compile on Win x64 and unix x64 comes up with an error about 9 arguments, but seems to compile for some

Dreamweaver Database connection to phpmyadmin not working

So, I realise there are a lot of threads with this topic already but I have went through every single one of them (Majority of them are the exact same) and nothing seems to work.
**As a note, I am using a trial version of Dreamweaver cc 2015, and I am using WAMPSever.
So, I have a testing server working. The problem I am having is creating a MySQL connection from Dreamweaver to phpmyadmin. The error that persists is the:
HTTP ERROR CODE 404 File not found. Here are some possible reasons for the problem:
1) There is no testing server running on the server machine.
2) The testing server specified for this site does not map to the. Verify that the URL in the prefix maps to the root of the site.
I have moved the MMHTTPDB.php and mysql.php into the right folder. I have also selected the server model to be PHPMYSQL.
This is my site:
This is the testing server:
I am fairly new to using Dreamweaver but I have not been more frustrated with anything in my entire life.
Any help would be much appreciated.
I was in a similar situation a week ago and spent sleepless nights trying to find a solution. Like you, I have never been frustrated as I was by this. Finally, I had to downgrade my XAMPP version because I learnt that if you're using the deprecated server behaviors in Dreamweaver, they won't work with the latest version of XAMPP.
I downloaded an older version and I am okay now.

solr 1.4.1 solrj client with solr 3.6.2 server?

I've been trying to work through an issue that developed while attempting to upgrade our testing environment from 12.04 to 14.04 ubuntu on aws. Prior to this, the Package repository version of solr was 1.4.1 which matched our 1.4.1 solrj client integrated with our application.
Changing the base AMI to the 14.04 latest and running our default deploy caused solr 3.6.2 server to be installed. It appears it was accepting our configs without issue, however when our client tried to connect we received different errors:
The first was an unknown custom field, which we traced back to our deployment scripts not moving our schema.xml and solrconfig.xml to /etc/solr/conf/ but keeping it in the base directory.
We corrected this issue, and then ran into the following:
'exception: Invalid version or the data in not in 'javabin' format'
This was generated by a wrapper ontop of solrj, but I'll be honest and say I know nothing regarding Solr and that this may be on our end. I've asked our dev team to look at 2 options:
1) enabling: 'server.setParser(new XMLResponseParser());'
Which is the recommendation on the backwards compatibility for an older client.
2) updating our client in the application to 3.6.2
-I know less about the requirements on this.
My fall back is to revert to 1.4.1, but it appears it hasn't been touched since 2011, which makes me hesitant.
Any thoughts / suggestions would be appreciated!
Thanks!
I think the best option is to maintain the same version of Solr and Solrj.
I used for a lot of time Solr 1.4.1 and, while as you said, the most part of it works with newer versions without any problem, actually a lot of things have been changed since 1.4.*
I did your same porting last year, (from 1.4.1 to 3.6.1) and I can confirm you that the 2nd way is the right one: all changes you must do in your client code are just "formal" and very very quick.
Any workaround you could do for being able to communicate with a different version (between Solrj and Solr) is just, as the word says, a "workaround" and it could lead to unexpected (hidden) side-effects later.

wamp like environment for node.js

I'm looking to do some learning with node.js, but I'm having difficulty getting the basic environment setup correctly. I was hoping someone could point me toward a prebuilt stack like WAMP or at least some thorough instructions on building one.
I'll looking for node.js with mysql (or similar sql implementation), I don't need anything more than a learning environment, so things like security are not currently a concern. If I get php on the same stack, that's an optional bonus.
I have some experience with servers and the command line, but I'm not an expert.
you can use this software its for windows only http://winginx.com/en/ it has nodejs and mongoDB
For learning Node Js ,
As i see you in windows , i would recommend you to go through these steps
Step 1 ,
Download and Install the latest version of Sublime Text 3.Please use the latest version only#Build 3065
Step 2 ,
Set Sublime text to use it in command line #"subl / subl.exe"
Step 3 ,
Download Cygwin So that you can use Linux Commands on windows
Step 4 ,
Watch this video(https://www.youtube.com/embed/hh-V6el8Oxk)as it will help you to install cygwin , download important packages , and set it to the path of environment variables
Step 5 ,
Download Node.js
Step 6 ,
Watch an Introduction by Ryan Dahl , the nodejs creator
Step 7 ,
Watch this Video Tutorial Playlist for learning Node . Please note that in this tutorial he is helping on how to install node.js on linux , windows and mac each respectively but gonna use mac for teaching and
will use emacs editor (emacs) or Vim editor (vim) but as you on windows
you would be using Sublime Text 3 (subl) on the command line !
I Hope thats help , lil tough to see from outside but actually not #personal experience
Else , If you like my guidance , please vote me , thanks !
The solutions like WAMP, XAMPP, ... have been created to simplify the configuration activity of a full stack Web Server (install and Configure Apache from Scratch is not an easy task).
Setting up a nodejs web server is so easy that nobody felt the need of creating full-stack solutions.
So my advice is to start from the easiest tutorial you find online: I found very useful this one http://cwbuecheler.com/web/tutorials/2013/node-express-mongo/ which illustrates the steps to build a web server with nodejs+Express+mongodb.
And yes, I suggest you to work with mongodb unless you need a db for a strong relational model.

Resources