Dreamweaver data source won't work after the first try on Mac OS X - sqldatasource

I have a problem with the Adobe Dreamweaver CS5 version 11.
I am running Mac OS X Leopard.
One fine day I found out about Adobe Dreamweaver's quick (& dirty) automated back-end programming.
I defined a data source and it worked as advertised. I setup a lot of pages and it was all fuzzy and romantic.
Next day I found out that I can't define Record-sets any more. I even tried setting up new data sources but all I get is this message:
This error message is obviously a great help... but I still thought I would consult my friends at stackoverflow!!
cheers!
Marci
Update #1
I just found out I get the same message even when I am trying to connect to a mysql database on the localhost! (I have the latest MAMP installed on my Mac Pro)

Related

iOS unit testing on a Mac running Mountain Lion (OS X 10.8.5)

I have an iOS project that comes from an older Xcode (4.6.3) and that did not include a test target by default, as projects in latest Xcode versions seem to include. I now have Xcode 5.1.1. on a Mac that is running OS X 10.8.5. I've reading this Apple's document regarding unit testing in Xcode, but it looks like you need OS X Mavericks, at least for installing and configuring OS X Server, don't you?
I'd appreciate some guidelines to follow to add a test target to my project and how could I integrate a testing process in my workflow if I do not have OS X Maveriks.
Thanks in advance
EDIT: Is there anyway of run tests in normal running of the app? I mean, I need to test some cases that involve the update of data at certain hours, and the update of some parameters and the GUI after that data update... how could I do this? Thanks
You need Mavricks if you wish to use the Xcode service, which is Apple's continuous integration server. You do not need Mavricks to run unit tests, however you will miss out on the pretty in-xcode reports.
Without Mavericks, you can run unit tests manually by pressing CMD+U or going to Product->Test.
You can also setup your own continuous integration service and run the unit tests with a command line script. You'll have to pick a CI server, something like Jenkins or many alternatives, and look up a how-to for that system.
Do you redirect NSLog/stderr anywhere?
I encountered this problem too with no red marks and failing test of '1 == 1'.
My app was catching NSLog calls to a file and not letting the system get them. Once I disabled the redirecting of logs freopen(filepath, "a", stderr) test started passing and green checks and red crosses appeared.
I did this for an external accessory device that hooked up through the lightning port and couldn't send the logs to the mac. You mentioned how you want to run the test during the normal running of you app, so I figured you may have saved the logs so you could read them away from you mac.

Brother Label Printer SDK bPac 3.1 Failed to print

I've got the printer driver, P-touch Editor, b-PAC 3.1 and client tools, all 64-bit, downloaded from the Brother website and installed on my 64-bit Windows 7 laptop. The P-touch Editor works/prints fine.
However, b-PAC failed, and none of the samples worked. I debugged the code:
bool b = doc.PrintOut(1, bpac.PrintOptionConstants.bpoDefault);
where b is false. What could be wrong?
I was hitting the same problem, everything appears to work right up to the point where I called "PrintOut", which fails with error 11, "The currently specified printer is not supported".
It turns out the problem I had was with the driver. I had installed the printer driver from the CDROM that came with the label printer. Windows 7 also comes with an "in-box" driver for the printer and in fact this is the one you should install (it's marked with an "LE" at the end).
To fix the problem, all you need to do is go to the "Devices and Printers" dialog, select the printer, right click on it and select "Printer properties", select the "Advanced" tab and click "New Driver". Find the printer in the list that matches yours but with an "LE" at the end and click OK.
Printing is possible with either of the drivers using the P-Touch editor. Odd thing is, "LE" appears to stand for "Light Edition", but the "Heavy" version doesn't work!... strange.
On my Windows 10 x64 machine, I've had a similar issue using Ruby to print through the bPAC SDK (using win32ole). My code worked on another machine, but not mine.
After fighting with this for a long time, I figured out that all was fine and dandy when using the 32 bit version of the bPAC SDK (and Ruby). Don't know exactly what went wrong here, but it might be that the 64bit SDK is just broken.
I had a similar problem, so I added this after the printOut to see which code I was getting.
string sError = doc.ErrorCode
It returned Error 11, which corresponds to "Device is not supported", but the device was a QL-570 which IS supported.
To get it working, I used the following steps:
Side-install the 32bits sdk.
Open your 64bit sample.
Change target configuration platform from "any cpu" to "x86"
Compile
See also: Label printing development using b-pac SDK in a C# application
The important thing is the application that you uses.
If your app is a 32bitapp (inclusive excel) you need the bPAC SDK for 32bit even when they are running on 64-bit Windows OS.
Some printers only support 32-bit b-PAC SDK ver.
(even if you use windows 10 64-bit with Excel 64-bit)
please check:
https://support.brother.com/g/s/es/dev/en/bpac/environment/index.html
I had the same problem (printOut gave me the error code 11).
The error appeared after switching from the printer PT-9800 to PT-P950.
Trying 32 and 64bit did not work for me.
What fixed it was uninstalling the driver of the PT-9800. I found a hint in the b-PAC 3.4 SDK Help in the section Troubleshooting: "if the old label printer will no longer be used, we recommend deleting the printer driver."

Why am i getting this error trying to compile an asp.net-mvc app using Parallels on my MacBook

I posted a question on the apple site but someone suggested that I might get a better response on stackoverflow directly since its a visual studio related issue.
I installed parallels on my macbook pro and i installed windows 7 iso via a DVD. at first everything looked fine exception now I am now trying to compile an asp.net-mvc app in visual studio and i get this error over and over
No matter what i click it will eventually progress but this is quite annoying. The same question was asked here but no good answer was given. It almost seems like it think it needs to depend on something from the DVD drive (which it shouldn't)
Can someone please explain why devenv.exe would need the ISO dvd to be connected to my laptop at this point?
after rebooting this problem seems to go away

vmware player install hangs? vista 32bit

Hi
I am a noob trying to setup my computer so i can make a social networking website.
Sorry if its not kosher to ask here, but Hopefully one of you smart guys can help me.
I want to test some CMS (content management systems), firstly Elgg and then some others.
As far as ive read i can do this by using a virtual machine like VMware Player.
Now originally i wanted to try out Insoshi so i tried to use Cygwin and GitBash (also Putty tools) to download it (with no success). This involved me installing those programs and also trying to get an ssh environment variable working. So i gaveup on that (seeing that Elgg has more support anyhow i thought id try to try that). I uninstalled these programs, deleted leftover directories and deleted the added environment variable.
I also uninstalled DaemonTools (cos i thought it may be conflicting).
Im running Windows Vista 32bit and have always downloaded relevant installs for that system.
My problem is the VMware Player installer isn't doing anything. I launch it and it seems to hang straight away see pic
Am i missing something here?
Vmware page also suggests a virtual appliance (for cloud stuff) which i dont know much about yet. And i think that appliance is installed via the player else an image loader like Daemon Tools. Do i need this appliance first?
Why is the player not installing?
Ive tried both 3.14 and 3.13 build with same result?
I have about 4 gig of space left on my hd and have 3gig of ram.
I have looked at the programs installed on my computer and cant seem to find anything else that might conflict (but i am a n00b) and i also tried pausing my kapersky pure protection. Any help is severely appreciated, thanks.
As I recall there were a couple of conflicts with vmware
A quick look through the vmware forums I see:
visualsvn
virtualPC (no surprise)
nvidia 270.18 beta driver
avg
I also remember there being talk on the forums about a specific executable name which caused issues, but Im struggling to remember what it was.
start regedit.exe
Browse to the following sub-key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\
You should see keys named 0, 1, 2, 3 and 4. In my case I had a folder named "L" before the 0.
Remove the key with "L" (actually it is "└", unicode #2514)
P.S. This is due to Microsoft screws up the registry Internet Zone settings in the registry. With the "└" key, it cause Javascript not to be called from an application.
Got it from here.

Where can I download Xcode for Mac OS X 10.4

I'm running Mac OS X v 10.4.11 and I want to install Xcode to compile and run ruby on rails. When I go to apple site I must download latest version of Xcode which does not run on my version of OS X. Where can I download a version of XCode that i can install in my environment. Can anyone provide me with a link?
You have to register on their developer site.
http://adcdownload.apple.com/Developer_Tools/xcode_2.5_developer_tools/xcode25_8m2558_developerdvd.dmg
[New Link as of 01/21/2012:]
https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_2.5_developer_tools/xcode25_8m2558_developerdvd.dmg
step 1: make a free account here:
connect.apple.com
step 2: go to this link and download:
http://adcdownload.apple.com/Developer_Tools/xcode_2.5_developer_tools/xcode25_8m2558_developerdvd.dmg
image size is 900 Megabytes+
so enjoy :)
For those that may want to download Xcode for MacOS X 10.4 (Tiger), you may opt for a "side-channel" solution of downloading the disk image from other sites (e.g., like via torrent sites), since it is quite likely that Apple breaks any of the URLs given above at any point in time and/or puts it so buried down their site that it is virtually "unfindable".
In this case, the following data may become handy to ease the pain of future searchers:
name: xcode25_8m2558_developerdvd.dmg
size: 946768492 bytes
SHA1 sum: 30884704b0a4b098f02ccbb753958cd5331b8982
MD5 sum: 3bd6c24d8fbbdf9007e15861d173764d
As I am trying to breathe new life to an iBook G3 with Tiger (that works perfectly fine, also with Debian installed), I will use a version of Homebrew called Tigerbrew, which, of course, depends on Xcode being installed.
XCode is distributed with MacOs, somewhere in additional tools folder or something like that on installer dvd.
Xcode 2.5 is the newest version for mac OSX 10.4 (Tiger)
Here's the new link (tested today), the old one is broken:
http://developer.apple.com/mac/scripts/downloader.php?path=/Developer_Tools/xcode_2.5_developer_tools/xcode25_8m2558_developerdvd.dmg
If you don't have installation disks, I can upload from mine, but not until tomorow :(. Meanwhile, i recommend You to try NetBeans (whether Ruby, or full version) http://www.netbeans.org/downloads/index.html. I was developing ruby on rails application for my company a year ago, and NetBeans proved to be the best solution for me.
That url works as for 10-2010: http://adcdownload.apple.com/Developer_Tools/xcode_2.5_developer_tools/xcode25_8m2558_developerdvd.dmg

Resources