SAS University Edition - local host 10080 really long time initalizing - sas

I am trying to use the SAS University Edition for the first time. I followed the instructions given from the download page, using Linux Ubuntu and VirtualBox. Everything worked fine, I started the virtual machine and then opened Localhost 10080 in Mozilla Firefox 77.0.1 for Ubuntu. The thing is SAS studio takes really long time initializing - haven't gotten passed the Initializing state after 10 minutes, that can't be normal?
UPDATE: Partially solved, could load SAS University Edition in Chrome. Still, a mystery to me why I couldn't use Firefox.

Ensure you have adequate RAM atleast 3GB is good. Do not put numerous plugin in the browser. If possible, download a fresh browser and use it only for that purpose. I have also faced the issue.

Related

Visual Studio 2017 installer extremely slow

I tried to install the latest VS 2017 Update yesterday and since then I cannot get it to finish this.
This worked pretty fine in the last months and stopped working yesterday.
I already tried to do the following:
Uninstall VS 2017
Remove folder %PROGRAMFILESx86%\Microsoft Visual Studio\2017
Remove folder %PROGRAMDATA%\Microsoft\Visual Studio
Restart machine
I have a 50 MBit/s download rate and all other apps are working just fine. If I look into the logs I can see failed downloads when I abort the instalation. When I pick one of the URLs there and just download the vsix directly via the browser it just works.
Is there any caching or network setting that might be useful in this case?
UPDATE
I have tried 2 downloads (WLAN) from MS servers right now:
Has MS issues on certain download servers maybe and what to do or whom to tell in those cases?
I had the same problem with VS2017 Preview. I disabled IPV6 in the network adapter properties. After that the installer ran with full download speed.
After some heavy investigation and because of the feedback of trinitrotoluol I solved the issue by using an external VPN endpoint. That means, that my German hoster (Telekom) has got problems with some Microsoft download-servers. We contacted them but (not very suprisingly) there is no way to encourage them to examine their network a little bit deeper. So turns out that we have to wait until they fix this back or use a VPN client for such cases.
change download location via hosts (C:\Windows\System32\drivers\etc) entries:
I checked alternative servers with ping-test.ru
For example:
93.184.215.201 download.visualstudio.microsoft.com
or
68.232.34.200 download.visualstudio.microsoft.com
or
192.229.232.200 download.visualstudio.microsoft.com
or
27.22.54.160 download.visualstudio.microsoft.com

Running watir-webdriver on a server

I've been running watir-webdriver locally on my computer to auto submit some forms, but would like to move watir-webdriver from my local computer to a server somehow. I can't find any info of whether that is possible though.
How and where can you run watir-webdriver on a server online? Would you use AWS, Digital Ocean?
Its definitely possible.
http://watirmelon.com/2011/08/29/running-your-watir-webdriver-tests-in-the-cloud-for-free/
The link is a few years old, but should at least be a good starting point.

Trying to connect a remote MySQL Database to Visual Studio 2010 Pro (C++)

Ok guys, I've been trying to get this working for a few weeks in my spare time, and all day today, and I have nothing to show for it, so here's my question.
First off, the end goal for this is to read and write basic information (id #s, names, etc.) from a remote mysql database, to a C++ program written in Visual Studio 2010 Pro, or something equivalent (and free). I access the server from my laptop with SSH, and I can call family members to mess with router settings and such.
I'm trying to use a MySQL database on a Ubuntu Server machine that I access remotely from a Windows 7 laptop. I have installed MySQL Connector C++ from the MySQL website (the msi installer). NOTE: I have not done anything with the Connector install except run the exe I downloaded. Didn't think I needed to compile anything, but I'm wrong a lot. I have created a database, a user who has privileges to the database, and this user can (in theory) connect from any ip, because it is declared as 'username#'%'. I also changed the my.cnf file so that the bind-address line is commented out. I used 'mysqladmin ping -h serveraddress -u username -p' and that gave me 'mysqld is alive', so I'm assuming the database is accessible from any ip remotely. So, I opened up VS 2010 Pro, made a new project, went to tools, and then 'Connect To Database'. I selected Microsoft MySQL Server and put in the information exactly as I did for mysqladmin. I clicked Test Connection and I get an error box that ends with 'provider: Named Pipes Provider, error 40 - Could not open a connection to SQL Server'. Sorry for the block of text, just want to give all the details I can.
Hopefully I'm close to making this work, I'm not pressed for time but I'm really tired of not being able to work on anything else in the project, since it all branches from this database connection.
Thanks you all! I'll reply with whatever you need me to during the day, I'm not much of a night owl anymore =)
UPDATE:
I have the sample code from the mysql site compiling correctly, it was just a matter of finally getting a few hours to sit down and fix linker/library errors one at a time, downloaded the boost libraries, and changed include directories to direct paths when I could get them to work correctly. Now all I need to do is learn how to use it lol
Thanks all!
Not sure if this is the problem but be sure to use the 32 bit ODBC Administrator if you are building a 32 bit application. If you are on a 64 bit PC, by default you are going to be using the 64 bit ODBC Administrator and consequently your 32 bit application won't actually see the DSN that you've created. Run the 32 bit ODBC Administrator using this path: C:\Windows\SysWOW64\odbcad32.exe and then create your DSN.

PC File server variable performance when importing from Access MDB

I've got some code that runs in Enterprise guide (SAS Enterprise build, Windows locally, Unix server), which imports a large table via a local install of PC File server. It runs fine for me, but is slow to the point of uselessness for the system tester.
When I use his SAS identity on my windows PC, the code works; but when I use my SAS identity on his machine it doesn't, so it appears to be a problem with the local machine. We have the same version of EG (same hot fixes installed) connecting to the same server (with the same roles) running the same code in the same project, connecting to the same Access database.
Even a suggestion of what to test next would be greatly appreciated!
libname ACCESS_DB pcfiles path="&db_path"
server=&_CLIENTMACHINE
port=9621;
data permanent.&output_table (keep=[lots of vars]);
format [lots of vars];
length [lots of vars];
set ACCESS_DB.&source_table (rename=([some awkward vars]));
if [var]=[value];
[build some new vars, nothing scary];
;
run;
Addenda The PC files server is running on the same machine where the EG project is being run in both case - we both have the same version installed. &db_path is the location of the Access database - on a network file store both users can access (in fact other, smaller tables can be retrieved by both users in a sensible amount of time). This server is administered by IT and not a server we as the business can get software installed on.
The resolution of your problem will require more details and best solved by dialog with SAS Tech Support. The "online ticket" form is here or you can call them by phone.
For example, is the PCFILES server running locally on both your machine and your tester's machine? If yes, is the file referenced by &db_path on a network file server and does your tester have similar access (meaning both of you can reach it the same way)? Have you considered installing the PCFILE server on your file server rather than on your local PC? Too many questions, I think, for a forum like this. But I could be wrong (its happened before); perhaps others will have a great answer.

Opening a vpc image with vmware?

I have found articles saying this is possible, but what are the issues? Is it 'always' straightforward as shutting down your vpc and then opening it with vmware?
From this link which is nearly 3 years old it says you can but you have to copy some windows files into the vpc before shutting it down, is that still valid?
Update 1
Found this link which goes through the mouse driver issues
I'm the guy who wrote that article. I hadn't tried converting any images recently (once I moved off Virtual PC, I never looked back), but I tried again tonight to see if anything had changed. It turns out that not much has changed at all.
I grabbed a virtual disk that Microsoft published to test IE6, tried to concoct a VPC to go with it, and ended up using VMWare's converter to convert this virtual disk to a VMWare disk. It opened just fine in VMWare Server, and when I powered up, the machine discovered some new hardware devices and asked for the drivers from the XP disk, just as I'd seen before. This, I believe, is due to the emulation differences between Virtual PC and VMWare.
I haven't gone and tracked down the drivers this VM is looking for, because I don't plan to keep it around for long, but my recollection is that once these are set up, the VM will work just fine.
Just use the VMware Converter.
The one thing that you'll probably want to do is uninstall all the VPC drivers before shutting down. The VPC and VMware mouse drivers conflict and it gets all ugly and degenerates into a bunch of registry hacking to get the mouse working again if you don't do that.
Otherwise, yep. It's that simple. I converted a whole bunch of VPC machines last year (not knowing about the mouse driver issue at the time) and it was a pretty smooth process.
Once you convert your vpc to vmware you no longer need Virtual PC. VMware Workstation is much better. If someone only needs to use an existing image they can use the free VMware player.
I did this recently. Here is what you do:
Uninstall Virtual PC Add-ins from your Guest.
Create a new VMWare based image and when it comes to selecting or creating a new Virtual Hard Drive - Select your VHD File.
Works like a charm.