By slhilbert on 11/5/2009 11:51 AM
PowerDNN the Premium Dotnetnuke Web Hosting Company is currently running a giveaway via Twitter where if you retweet a message then you are entered into win a number of prizes. Well I did just that and today I got a call from a nice lady who said I had a choice between $100 of Omaha Steaks or an Zune HD. I picked the Zune HD of course. You can follow PowerDNN on Twitter at @PowerDNN.
|
By slhilbert on 10/30/2009 9:16 AM
Doing a little javascript these days to handle some presentation changes. I wanted to convert a State Name spelled out to the state’s abbreviations. I found a little javascript that got me started and then reworked it from there. function changeStateAbbr(theValue){
if (theValue == "Alambama"){
document.write("AL");
}
else if (theValue == "Alaska"){
document.write("AK");
}
else if (theValue == "Arizona"){
document.write("AZ");
}
else if (theValue == "Arkansas"){
document.write("AR");
}
else if (theValue == "California"){
document.write("CA");
}
else if (theValue == "Colorado"){
document.write("CO");... |
By slhilbert on 10/20/2009 1:38 PM
I have been working with the Ultra Video Gallery module a lot lately. I am not sure what the issue is, if it is the server, the way the server has been setup, or something else but I can’t seem to pass the permissions check in the Configuration Wizard. I have done everything in the manual to get around it and have also done everything suggested over at http://www.bizmodules.net/ the module developer website that created the module. What I have finally figured out is that if I give the IIS IUSR account full control on the website (it could work in a more limited way, such as just on the Binaries folder, haven’t tested it), and then propagate the permissions throughout the website, I can then pass the Permissions Check. I immediately go back and remove the full control permissions for the IUSR account and everything still works. I hope this helps someone else out and prevents them from wasting several days trying to figure it out. Technorati Tags: Ultra Video Gallery, Dotnetnuke, Module, Permissions, Configuration Wizard |
By slhilbert on 9/17/2009 7:33 AM
Here is a stored procedure I am using for a Dotnetnuke custom authentication provider that I use to get the number of failed login attempts for user. |
By slhilbert on 7/8/2009 10:25 AM
Active Directory Integration has changed a bit since DNN 4. This guide is intended to help you setup Active Directory on your Dotnetnuke 5.x website. If you are running Dotnetnuke 4.x please see this post. If you are running Dotnetnuke 3.x please see this post. Let’s get started with installing the Dotnetnuke Active Directory provider for Dotnetnuke 5.x If you haven’t installed the Active Directory Provider yet, you need to first visit the download page located here. Once you have downloaded the files you need to login to your... |
By slhilbert on 5/5/2009 9:52 AM
DotNetNuke provides those with “Host” level access a great screen to execute SQL commands against. This screen is located under the “Host” menu and is named, “SQL”. It is a simple box that you simply write your query or paste in your stored procedure script and then press, “Execute”. It is a great way to quickly looking up table information or run a delete command if your EventLog gets to full. I find myself using this box often to look up information in a table. The only problem is that I am never quite sure what the name of the table is that I am looking up. That is when I use this simple SQL command to pull out all the names of tables so I can then do some “SELECT” statements on the table I need. The command below lists all of the tables in your database. This code is a copy of the code from here. SELECT... |
By slhilbert on 4/21/2009 10:40 AM
As web developers we are often creating ways for people to upload files. Usually uploading a file is pretty trivial and there are numerous examples of how to do it across the Internet. From time to time we have the need to secure the file we are uploading, to prevent someone from directly navigating to the file and downloading it without our permission. It is at these times that we have to modify the file upload process just a bit in order to prevent direct access to our files. Of course, we still need to be able to use the files that are uploaded, so this walkthrough will show you how to upload and secure your files and also how to download your secured files. The premise of our security is that files with the file extension of “.resource” are not served by web servers, at least not by IIS. Therefore all we have to do is add the file extension of “.resource” to any file we upload. If we uploaded a file named, “Gnome.jpg”, we would store it on the server as “Gnome.jpg.resource”. If someone were... |
By slhilbert on 4/14/2009 11:51 AM |
By slhilbert on 4/9/2009 10:31 AM
I have been fighting with Installing IIS for a day or so now. I was getting a very generic error regarding that the setup failed to install the components. There was no real detail as to what the problem was. Well, I finally figured it out. You have to install the .Net Framework 3 before installing IIS or IIS won’t install. It makes sense, but I figured Vista would be smart enough to figure that out. Guess not. Technorati Tags: Vista, IIS, Install, Issue, .Net, Framework... |
By slhilbert on 4/2/2009 3:00 PM
Today I needed to grab the values of a list I have setup in Dotnetnuke
and display it in a dropdownlist. The code to do this is really quite
simple. |