Solutions
Microsoft claims that it is easy to setup multiple member and role providers in .NET. While that appears to be relatively true for configuration, getting Forms Authentication (most particularly, the ASP.NET Login control) to respect the multiple providers is much more difficult. I spent probably 3 hours this weekend trying to find good solutions to this problem… Many were present, but no single one solution provided the behavior I was looking for. (more…)
Salestraining offer sales training courses and sales training programs throughout India.
I recently updated our company’s JIRA installation to the latest version, JIRA 5. I was very excited to see the new sharing/mentioning features in JIRA. Unfortunately, I found that I had some initial problems getting the new features to work with our Exchange environment.
Here are the solutions to those problems. (more…)
I have an IIS7 machine that is redirecting traffic for a tomcat application on our network. It was working fine until I realized that the webdav module of the application wasn’t authenticating. However, the un-proxy’d URL works just fine, so I figured it had to have something to do with IIS proxying the request.
As it turns out, I was right. A huge amount of digging led me to find that basic authentication can’t be turned on in the website that is proxying requests for other applications that use basic authentication. It seems that IIS gets confused thinking that it should authenticate on the host machine, rather than the machine that it is proxying requests to.
Once I turned off basic authentication on the IIS website, basic authentcation passed without any problems to the application being proxied. Hopefully I never need to use basic authentication on the website that is proxying for these other applications though, or I will be out of luck.
This last week I was working a lot with MySQL databases… Trying to upgrade Confluence and JIRA. In the process of doing so I ended up having to backup and restore the MySQL databases a number of times to try and get the upgrades to work correctly (in my dev environment of course). However, I ran into an odd issue which (for the longest while) stumped both Atlassian Support and myself…
What was happening, was that whenever I would attempt to upgrade Confluence or JIRA, it would fail saying it could not create a table. The error from the MySQL driver was not very specific at first and I could NOT figure out why the error was occurring. Eventually I found some logs saying that the table already existed. Of course, I restored the database and performed a “show tables” and did see the table in the list. (more…)
The other day I checked out the FTP logs on my server and found that there had been thousands of hits on random usernames like “Administrator”, “Anonymous” and “Guest”. I figured surely there was something built into Windows Server 2003’s IIS that supported brute force prevention, but sadly I came up with nothing.
However, I did discover someone has made some custom code that goes through the IIS FTP logs and determines who brute-force hackers are, and subsequently adds them to the the block list. (more…)
A while back when I was using Outlook 2007, the contacts from Outlook would show up in Skype with a different icon so that I knew they were Skype contacts. This worked really well for me because I keep all my contacts in Exchange and Outlook (synch’d to google) and it made it very easy to simply double-click on someone’s name in Skype and have them dial their phone number that was stored in Exchange/Outlook. Best of all, any updates I would make on my phone to contacts would automatically get synch’d up with Outlook and as a result, Skype as well.
However, when I upgrade to Outlook 2010 it didn’t seem to work any more. Regardless of the Skype settings, Outlook would not pick up my Outlook contacts. Finally, I found the reason:
The reason was because I had installed the web-installer version of Outlook 2010. When you purchase Outlook 2010, they give you the option to do a quick install via their web-installer (which downloads the Outlook files necessary based on what installation options you select) or they give you the option to download the entire Outlook 2010 package at once. Aparently the two different installation options (web-install versus full download) get registered differently after you install; I guess they are technically different versions. Skype was not smart enough to recognize that I had the web-installer version of Outlook and therefore did not look for Outlook contacts. Once I downloaded the full version of Outlook 2010 and installed it contacts started showing up right away.
Note to Skype: Fix this. It’s annoying.
I performed a fresh install of Windows Server 2008 about two weeks ago. Although the setup was easy as can be, I ran into some issues with IIS/FTP. First off, the FTP that is packaged with the server is garbage, don’t even bother.
After IIS is installed (without the FTP service role), go to an article on learn.iis.net and download the FTP service for IIS 7.5. It is much easier to use and incorporates itself right into the IIS 7.5 management console. You can then install FTP right on top of your already existing websites and they act more like a combined website/ftp project rather than having to deal with two separate management consoles, two separate sites, etc.
I have been using Outlook since the beginning of time. It has always been good to me. I even hopped on the Office 2010 beta and eventually purchased Office 2010 when it was released. I have several machines, not including my smart-phone (previously a windows mobile phone, now the DROID 2), so naturally I wanted to be able to sync all of my contacts, tasks, notes and of course mail between my systems. Because of my fondness for Outlook I had decided to purchase a $10/mo exchange mail box hosted by myhosting.com. This worked great for a long while. Eventually, however, I decided to investigate new approaches (getting tired of paying $10 for a single mailbox for functionality I believe should be freely available at this day in age.
Enter Google Apps. I had a debate with an open-source person a while back who was saying they hated exchange and thought there was no reason everyone shouldn’t use google apps. I decided to investigate google apps a couple weeks later. Now, I’m not “against” google apps any more than I am “for” MS exchange. The only thing I am truly a proponent of is the stuff that has the most functionality, that works the best and that costs the least.
Working with SOAP so much often leaves me needing to view the entire SOAP message that is being sent to (or from) my WCF services. For a long while I had the chunk of XML configuration code stored away on my machine knowing that I would have to use it again. Unfortunately, I lost it.
Yesterday, when searching the web for how to get the full SOAP message logged in trace logs I had to go through (in my opinion) too many articles to find what I eventually needed.
So, although this may be repeated information from other posts you may find, it is better to have too much info on the web rather than too little (imho). (more…)
Validating CDA documents in C# seems to be a bit tricky… At first, I started out just copying the infrastructure and processable schemas to a project and creating the code to use those schemas to validate. Unfortunately, I kept getting errors like “Missing complexType ‘II’ used in restriction base”. The II type is defined in datatypes-base, and the element it was error out on was the POCD_MT000040.InfrastructureRoot.typeId complex type. (more…)
