Wednesday, January 25, 2006

{"The request failed with HTTP status 401: Unauthorized."}

while trying to use the BamQueryService web service to create a custom BAM interface in BizTalk 2006 i ran into:

{"The request failed with HTTP status 401: Unauthorized."}

I tried giving IUSR_*** permissions to the BAM site but that did not work for me.
I found out that the web user credentials have to be given to the service before.
To fix this I added:


localhost.BamQueryService oBQS = new localhost.BamQueryService();

THIS LINE: oBQS.UseDefaultCredentials = true;

oBQS.GetInstanceData("ManagerView", "Watch Cert", query, 60);

I just wanted to add a solution to this other than the ones I've seen online, just in case someone runs into it.
g'luck

Wednesday, January 11, 2006

why blog?

I have been blogging for about 2 years now although I do not really have a writing style. In fact, people are annoyed that my style sounds "chatty".
Currently I started a new job as a Jr. consultant. My intention is to document my notes about the job, management, and technologies that I work with. Later, say in a couple of years, I want to compare my knowledge, my writing, and my understanding of both technical and managerial aspects of the job!
I will be talking about .NET, BizTalk Server, SQL Server and other computer-related Microsoft, and non-MS technologies..
If you are reading this bare with me for a while (a couple of years!)

Regards,