Relative References in a VS project

I have been looking for a solution for this problem….


I would like to use relative Path’s in the references of a solution.
Does anybody know if this is possible   ????


All I want is a checkout to location xyz and all the references should begin with xyz…


I want to be able to compile the projects without modifying all the references over and over again…….


 


 

Can’t delete service instances from the HAT or why you shouldn’t rename a SQL Server

Well for sure everybody knew this but I found out the hard way.


We were running a biztalk server and when things went right everything was fine. But every now and then we had to terminate a running orchestration. That would leave us with a entry in the HAT that we could not get rid of…….The only solution to get rid of these entries, was running config framework again…….If we tried to delete the entry from the HAT, we would get a message in the eventlog like the one below:


Event Type: Error
Event Source: BizTalk Server 2004
Event Category: BizTalk Server 2004
Event ID: 6912
Date: 11/11/2004
Time: 9:53:55 AM
User: N/A
Computer: XXXXXXXX
Description:


The following stored procedure call failed: ” { call [dbo].[bts_AdminPreemptiveOperateOnInstances_BizTalkServerApplication]( ?, ?, ?, ?, ?)}”. SQL Server returned error string: “The statement has been terminated.;Cannot insert the value NULL into column ‘strDBServer’, table ‘BizTalkMsgBoxDb.dbo.TrackingData’; column does not allow nulls. INSERT fails.;The statement has been terminated.;Cannot insert the value NULL into column ‘strDBServer’, table ‘BizTalkMsgBoxDb.dbo.TrackingData’; column does not allow nulls. INSERT fails.;The statement has been terminated.;Cannot insert the value NULL into column ‘strDBServer’, table ‘BizTalkMsgBoxDb.dbo.TrackingData’; column does not allow nulls. INSERT fails.”.


Today I finally found out what had happened….


This stored procedure ( or one of the sub sub sub stored procs) get’s some data from the sysservers table, and this table is completely empty on the production server. I don’t know why this is but an incorrect server entry would have the same results…. And renaming a server would never update this table. I have a dark brown (dutch expression) suspicion that the server was renamed once in it’s lifetime.


So there it is, this is why you should NEVER rename a SQL server !!!!!


I would like to thank Sijmen Koffeman from Microsoft who figured this out !

Ok Very BASIC .NET Question

Ok to all the WASABI guru’s out there that complain there is too much Biztalk on Wasabi.


Is there a way I can place a text over an image in ASP.NET ?


I tried several things. But let me explain a little…….


I have a picture say 3 pixels wide and 200 pixels long, quite like a cigarette. The picture itself is a gradient going from white to blue or whatever colors you fancy. The problem is that only an image control can stretch the image horizontal and repeat vertical.


I want to place text over this image and keep the gradient intact ( where the gradient is stretched over the full 1024 pixels).


I can do this by drawing a table of one cell and give it a background picture. Then put a label in this table and voila. Problem is the image doesn’t stretch.


I have seen zillions of solutions that generate an image with the text in it, but after a screen resize it looks really afwull. How hard can it be to put some text on an image ?


I also tried stuff with

and that worked but then I had to absolutely position the control making it useless for my project.
Tried the CSS but couldnt find what Í was looking for.


Is there any ASP.NET guru/Stylesheet Guru/GuruGuru that can help ?


 

Media Center Rocks !

November 2, 2004 / Comments Off on Media Center Rocks !

Well something else this time…..


I got a Media Center Remote last week so I tried an install of Mediacenter on my Media PC. My Media PC is hooked up with a SPDIF (optical cable) to my DVD player so I can get nice Dolby Surround with the movies I watch with the PC.


The remote from media center makes everyting a lot easier then before and navigating is MCE is very easy. I gave the remote to my Girlfriend and didn’t got it back for a few hours. Before I knew it, she was uploading all her favorite CD’s into the Media Center PC.


But there was one problem. Since I use SPDIF the remote control couldn’t manage my volume. SPDIF is a digital signal and doesn’t have volume control on it. So as happy as I was, there was a new problem. I had to use the DVD remote control to operate standby and volume on my DVD and the MCE remote control for the rest.


But I found out that the MCE remote was a programmable remote. I looked around on the internet and found the manual of the remote. I reprogrammed the volume buttons and the standby of my DVD and could do away with the remote of my DVD player.


The programmable buttons (only three buttons can be programmed) were EXACTLY what I needed. How many times do you see a product that meets 100% of the customers need.


I can only say Bravo Microsoft !!!!!!!!!!!


 

  • Recent Posts
  • Recent Comments
  • Archives
  • Categories
  • Meta