I have been playing around with the CloudKit JS Example app from Apple in order to get a better understanding of how it works. I have wanted to also be able to access that data from a website. So I decided to use the website by hosting it on my server.
I played around with it for hours trying to get it to work with no luck. I thought I was doing everything as instructed but I could not connect to the CloudKit server via the code supplied in the example.
I did everything (or so I thought) according to the instructions. I changed the containerIdentifier to point to mine. I changed the webToken to the one from the CloudKit Dashboard. I was really at a loss as what to do next. Then it dawned on me. I was following the Apple Example but it was missing something. The full name of the container is actually “iCloud.com.example.apple-samplecode.cloudkit-catalog”. Here is the corrected code. Remember to Capitalize the “C” in iCloud or it still won’t work right.
I hope this helps someone else save some time and energy.
Can’t wait for Teamstudio’s webinar with Brian Gleeson and Martin Donnelly on XPages today. Thanks for hosting these Teamstudio .
Computers are supposed to simplify our lives…..not make them harder. I am here to help you get rid of your pain points.
Do you have a process that should be a button? Do you spend hours compiling data that should be a mouse click?
Let me put some workflow into your spreadsheet or database. Let me help you get information into the right hands without you having to work your fingers to the bone.
I offer cost effective computer programming on a variety of platforms. Send me your wants, needs and have to haves on the form at the link below and let me start giving you back your day.
Thank you for your time. I look forward to helping you.
Software Development Request
I got a call from a client about a week ago that my application had quit working. She was getting this error when the application was loading.
After a bunch of trouble shooting I found that Microsoft SQL Server Management Studio (SSMS) could not could not connect to the SQL server either.
I thought initially that it was something to do with the server patches that were installed earlier that week. After a bit more troubleshooting I figured out that if I set the connection timeout to 0 or 30 the connection would be made.
This has worked fine for SSMS but it is a pain to have to remember to set the time out. As for my application I had to add a Connection Timeout = 30 to the connection string.
I only had two users of my application that were affected by this problem. I did some more troubleshooting of my application and found that it worked on my test machines but not my development box. I then started looking at the differences between the machines and what what patches were installed. I narrowed it down to two security patches and the .Net Framework 4.6.1 update.
I had one of the test boxes that the problem was happening on so I decided to use it as the test environment to see what would fix the problem. I uninstalled the 4.6.1 framework from that machine and that just totally broke the app. I had to reinstall the 4.5 framework to get the app running and at that point it did connect successfully to the SQL Server. So if you run into this problem I hope this helps.
I found some more information on this problem at this site.
Connection to remote SQL server breaks when upgrading web server to .net framework 4.6.1
So it looks like using the Fully Qualified Domain Name (FQDN) takes care of this problem. Whether you are using it in your connection string or entering it in the Connect to Server dialog box.
I tested this out with Power BI that was not working using the IP address and Windows Authentication and then using the FQDN and Windows Authentication. It worked with FQDN and not the IP.
Congratulations to the Denver Broncos! I was glad to see Peyton win another ring. As a Houston fan I sure wish that Gary Kubiak and Wade Phillips could have done that for the Texans.
As for the Panthers. You guy’s had a great season. Congratulations on making it to the big game.
Everyone always does a review of the previous year about this time. So I am going to be different and do a preview of the year. This is not going to be a prediction of what will transpire but more of what I want to accomplish in the coming year.
I have long been a Lotus Notes developer and I have built some really useful tools over the years. I have always played around with other technologies and I am always trying to learn more. I started (in earnest) to learn the Swift Language and iOS/tvOS programming last year. I will continue down that path and my goal here is to publish at least two applications on the App Store this year.
Physical Fitness has always been a part of my life. For the twenty years I was in the Marine Corps they made sure I stayed in good physical condition. I embarked on a task to return to that level of physical fitness last year and am going to continue with it in 2016. I had a lot of back problems last year that I attributed to sitting too much. I had been going to a chiropractor and that did not seem to work. I joined a Fitness Center near where I live and that has been a God send. I feel much better and most of the back pain is gone. The up side is I also feel 100% better all around.
I could go on about the things I want to accomplish this year but these three are the main places I want to continue to improve. I hope you will stay tuned and get something from my writing as I have from so many others. In the mean time I hope you have a great and prosperous 2016 and I hope you see you around.