Skip to content
Register
Login
Home
iFinity
Home
Services
Software Development
Website Development
DotNetNuke Consulting
Contracting Work
Products
Url Master
Product Details
Reviews and Testimonials
Pricing and Licences
FAQ
Downloads
Blog Module Url Provider
News Articles Url Provider
Tagger
FAQ
Downloads
Product Details
Instruction Video
Free Downloads
Inline Link Master
Product Details
FAQ
Support Forums
Knowledge Base
Url Master
News Articles Friendly Url Provider
Tagger
Contact
Blog
Licensing
Support
iFinity Blogs
Search
Creating a simple Sql Server Express Database Backup
By Bruce Chapman on
Friday, January 22, 2010 4:36 PM
A lot of people use Sql Server express for the reason of it’s generous licensing. One of the drawbacks of Sql Server express is that it comes without the Sql Agent – which is the batch-running part of Sql Server. Sql Agent is used to run jobs to do all sorts of things with Sql Server, and one of the most common jobs is to run a backup schedule. And, as everyone knows, you need to have a daily backup schedule on your database, or one day, you’re going to pay for it.
This blog post will cover how to setup a backup procedure which will backup databases, zip them up, copy them to a location, ftp them to a backup server for long term storage, and clean up after itself. I’ve done this without purchasing a single piece of backup software, and relied on in-built tools or shareware.
It’s targeted towards people who are running their own web server, whether it’s co-located, hosted or a VPS. If the thought of command line utilities, scheduled tasks and file permissions stresses you, then I’d suggest the...
Read More »
Comments (3)
Crafty Code
Thoughts on Debugging when you have no debugger
By Bruce Chapman on
Tuesday, January 12, 2010 1:24 PM
This is a philosophical post targeted at anyone who messes about with code, and from time to time comes across intractable problems that they just can’t get around.
When I first started writing code for a living (as opposed to messing about) I had a mentor who got placed into the role by simple fact that she sat at the desk behind me in my very first job. As the newbie on the team, I was pretty much less than useless, because not only could I not produce anything worthwhile, I actively took up peoples time trying to figure out why I couldn’t produce anything worthwhile. I knew this for a fact when I was assigned to ‘tidy up the team bookshelf’ – then a mess of programming and system manuals in those natty clip-open binders, so you could plug in the latest updates. Remember those?
Anyway, my self-appointed mentor (shamefully I can’t remember her name, though I’d run with Christina) basically got to the point where she told me “you can solve the problem, just keep tracing it until it presents itself”. ...
Read More »
Comments (0)
Crafty Code
Keeping Querystring values out of the Friendly Url Path in DotNetNuke with Url Master
By Bruce Chapman on
Friday, January 08, 2010 11:03 AM
This blog post is going to cover a pretty small subset of problems that people have with auto-generated Urls using Friendly Urls in DotNetNuke. All Friendly Url solutions in DNN, regardless of what module used to generate them, approach the problem of making Urls better by converting some of the querystring values into the actual Url path.
Explained simply, a url which looks like this :
/default.aspx?tabid=64&key=value&text=description
will be converted to a url which looks like this (assume tabid 64 is ‘DNNPage’)
/Tabid/64/DNNPage/key/value/text/description/default.aspx or /DNNPage/key/value/text/description.aspx
The differences between the DNN Friendly Url Provider and the Url Master module is that the DNN provider will keep the tabid and the /default.aspx on the end, whereas the Url Master disposes of these parts of the Url. However, the main similarity remains : the querystring items are converted to be part of the Url path.
In most cases this is advantageous,...
Read More »
Comments (7)
Crafty Code
Converting PayPal Dates to .Net DateTime using Regex
By Bruce Chapman on
Wednesday, January 06, 2010 6:27 PM
I recently had a problem writing a PayPal Instant Payment Notification (IPN) listener. The problem was that the PayPal Sandbox environment (now puzzlingly called x.com) would process my IPN requests OK, but any ‘live’ request that came through my site ended in error.
Now the PayPal support people assured me that this wasn’t possible, but after dumping most of the actual code out of my module, and replacing it with highly-sensitive ‘gotcha’ error capturing code, I worked out the problem was due to a slight difference in the date formats between the Sandbox and Live environments.
The Sandbox date looked like this:
22:40:29 Dec. 16, 2009 PST
The live date looked like this:
13:02:26 Dec 21, 2009 PST
Eagle eyed readers will detect the difference straight away. It was a bit more difficult for me, as I was looking through raw logs and all I could see was 22%3A40%3A29+Dec.+16%2C+2009+PST as the values are encoded. It was a surprise for me, but I guess I should have been more...
Read More »
Comments (5)
Crafty Code
Hi, I'm Bruce Chapman, and this is my blog. You'll find lots of information here - my thoughts about business and the internet, technical information, things I'm working on and the odd strange post or two.
Share this
Get more!
Subscribe to the Mailing List
Email Address:
First Name:
Last Name:
You will be sent a confirmation upon subscription
Follow me on Twitter
Follow @brucerchapman
Stack Exchange
Klout Profile
Page Tags
301
content
domain
DotNetNuke
Duplicate
Redirects
Archive
<
January 2010
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Monthly
January, 2012 (1)
December, 2011 (3)
November, 2011 (5)
October, 2011 (7)
September, 2011 (2)
July, 2011 (6)
June, 2011 (2)
May, 2011 (1)
March, 2011 (3)
February, 2011 (2)
January, 2011 (3)
December, 2010 (1)
November, 2010 (4)
October, 2010 (2)
September, 2010 (2)
August, 2010 (2)
July, 2010 (1)
June, 2010 (4)
May, 2010 (2)
April, 2010 (1)
March, 2010 (3)
February, 2010 (3)
January, 2010 (4)
December, 2009 (1)
October, 2009 (1)
September, 2009 (3)
August, 2009 (1)
July, 2009 (2)
June, 2009 (3)
May, 2009 (3)
April, 2009 (1)
March, 2009 (2)
February, 2009 (3)
January, 2009 (2)
November, 2008 (4)
October, 2008 (2)
August, 2008 (2)
July, 2008 (2)
June, 2008 (3)
May, 2008 (2)
April, 2008 (3)
March, 2008 (5)
February, 2008 (5)
September, 2007 (1)
August, 2007 (2)
July, 2007 (1)
June, 2007 (1)
November, 2006 (1)
October, 2006 (4)
August, 2006 (1)
July, 2006 (1)
June, 2006 (3)
Go
All Blogs
Bruce's Blog
Crafty Code
Keywords
Phrase