Working with Websphere MQ and the MQSC adapter is quite new for me and I have been struggling with a couple of problems which have been very difficult to find solutions to. One of our main issues has been getting the correct character encoding of outgoing messages to MQ. BizTalk would output the message with the correct encoding (using a file send port to verify) and it looked like the messages on the WebSphere MQ [...] Read more »
Remove Byte Order Mark from a BizTalk 2006 outgoing messages
The BOM is a two to four byte sequence at the start of an encoded file which tells the recipient if the characters are encoded using big-endian or little-endian byte order. In BizTalk generally the byte order mark is added when a file is UTF-8 or UTF-16 encoded using an XML assembler in a send pipeline. Sometimes applications cannot handle the initial bytes and you don’t want them to be added to your message. I [...] Read more »
URL Rewrite Does Not Work on Vista
While trying out a complex URL rewriting scenario in ASP.Net I ran into a pretty strange problem that resulted in a 404 error: Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested Url: /6.aspx/t.aspx My code is very similar to a solution that I [...] Read more »
Remember to always have a static customErrors page
I was just surfing around on http://forums.microsoft.com and got a yellow screen of death! I must say I was slightly surprised. In web projects that I have been involved in we have always added two customErrors pages one to handle generic errors which redirects to an errorpage.aspx page and then a static html page errorpage.html which is only used when an error occurs on the dynamic error page… A sample configuration using location follows: <configuration> [...] Read more »
Duplicate User Accounts in Active Directory
We have just had a major Active Directory issue that has affected the Team Foundation Server instance that all the developers at the client that I am working at use. The problem occured when some users where erased in the Active Directory and were subsequently recreated with the same user names. These new user accounts cannot access the Team Foundation Server. A large part of the problem was solved by just removing users from TFS [...] Read more »
Java Web Service Client problems
I have been having some trouble lately trying to debug a .Net web service that I have constructed for a proof of concept. The scenario is that we have a Java application that calls a web service and the web service passes the call on to BizTalk for processing. Not a terribly complex scenario so I wasn’t expecting much trouble setting up the POC. Unfortunately we have experienced some really strange problems. Calling the web [...] Read more »
Getting aggregator pings to work with medium trust
I seem to have managed to get server pings from dasBlog to work in medium trust! This has been a major issue for me previously, not as much of an issue now that I primarily use off-line tools but it is still great to have it. The key is that originUrl in the medium trust settings supports regular expressions! More info on Haacked, which is where I found the solution. Just to make things clear: [...] Read more »
Finished update to 2.0
It turns out that it really was very simple to upgrade to dasBlog 2.0 and ASP.Net 2.0. I did the ASP.Net upgrade first simply by changing which version of .Net to use. dasBlog 1.9 seemed to keep on working without a hitch which meant I could proceed with the upgrade process locally. I followed the instructions and uploaded all the files to my server… Unfortunately I had missed a section that I had changed in [...] Read more »
Moving dasBlog to 2.0
I am preparing to upgrade my blog to 2.0. Thats both dasBlog 2.0 and .Net 2.0. It looks like this version should fix all of my previous issues with my setup, unless my host has done some weird .Net 2.0 medium trust setup, you never know… There is a guide on doing the upgrade install here. As far as I can see the process seems to be: Download & place all the files for you [...] Read more »
Strange ASP.NET Web Parts database exception.
Recently I was working on ASP.Net 2.0 Web Parts in a Virtual PC environment and ran across a strange exception. I had read that the Web Parts personalization database is separate from the membership and profiles databases but had not really thought about it further. Previously everything just seemed to work once I ran “aspnet_regsql” to create the aspnetdb database to handle all the data for the services. In the VPC there was already a [...] Read more »