A Site by Jaysam Thanki, Web Architect

Archive for the ‘Techie Stuff’ Category

Quick way to enable Visual Studio Permissions using Caspol.exe

Monday, June 30th, 2008

I’ve ran into this a few times, where i’ve started building console/windows apps in Visual Studio 2005/2008 and the development machine i’m running on, doesnt have permissions to execute programs from a network share and access (for example) the registry or a sql server. The solution is to tell .net that its ok to let things running from that network share, to access the registry or sql server.

The normal, and proper way to do it is using the .net 2.0 SDK and tell it the paths which are allowed full trusts, however, the .net 2.0 SDK isnt fully installed with VS2k5 or VS2k8, and thus you are stuck.

No more, type in the following, replacing <PATH> with either a drive\directory or a \\share\directory and you’re set.

caspol -m -ag 1 -url <PATH> FullTrust

Update: easy quick way to let your local servers get fulltrust

caspol -m -ag 1 -zone intranet FullTrust

Fedora 9 and Dell T105′s

Wednesday, May 14th, 2008

Yay! Fedora 9 is out, and it finally installs fine using on a Dell T105 with a SATA DVDRom. The previous version of fedora (8) on x64 didn’t properly recognize the install dvd.

Outlook 2007 – “A Dialog Box Is Open”

Wednesday, April 23rd, 2008

Today i got a call from a customer stating that Outlook 2007 was starting, but giving an error message “A Dialog box is open” trying to open or compose new emails. The problem was that Outlook started on a new user profile, and the usual Outlook/Word dialog that asks you for your Name/Initials was gettign hidden someplace (since word starts silently in outlook).

Solution is to close everything, and start Microsoft Word first. Enter your name and initials, and then you’ll be able to start outlook.

Update
Bill pointed out that if you don’t have the full Office installed, you won’t be able to launch Word. So to fix it, you’ll have to temporarily remove a Microsft Update item number KB946983. Use the control panel to remove this update, start Outlook, then windows will apply the update again at a later time.

Exchange Remote Wipe Admin

Friday, April 18th, 2008

Just a note, mainly for myself, on the location to get the Remote Wipe MobilAdmin utilities for Microsoft Exchange. They can be gotten here

I find it useful that the exhcange server can sever relations between a mobile device and the exchange server, especially if you’re about to fire someone and they have their own device syncing in.

Techie MailServer Notes

Saturday, April 5th, 2008

Hi,

Haven’t had a chance to nice n up my mail server how to yet, and i’m sure some of you are tying to install thing thing on newer distributions. So, here are my notes about installing the techie mail server, its all rough notes, i know in my head what it is, but the description may not be there. feel free to use as is – no support, no guarantees.

(more…)

Dell Utility Partition Quick Removal

Tuesday, April 1st, 2008

Just a quick post on how to quickly remove the Dell Utility Partition. I just received some Poweredge T105 boxes (quiet nice actually ,very quiet, very efficient – only 70W power consumption idle with 2 80gb drives). I was bummed to find out that the bios didnt come with a SATA raid option, but oh well.

So to remove partition. Boot up from your XP/2003 CD/DVD, and then go into the Console Recovery mode. Login to your partition , then use “DISKPART” to open up the partition manager, and then simply remove the 55mb partition.

Done.

OSX VPN Problems

Saturday, March 29th, 2008

Hello,I’ve noticed this for a while, but finally blogging it to grab peoples attention. I use a Microsoft PPTP server at the office to connect to using PPTP. From Windows it works perfectly fine and i’m able to remain connected and go about my work. However, from OSX,  it works fine for a while – then if there is no activity on the connection, it kinda drops the connection – but not completely. Pinging anything at the office sometimes gives aping: sendto: No buffer space availableafter a while of pinging, it’ll stop and everything will resume. If after i connect, i leave a ping going this doesnt happen.Wonder whats going on…. 

New Leopard Feature…

Friday, March 28th, 2008

So, i was working on my new Leopard install on my Macbook Pro and needed to Remote Desktop into a server at my office to start a Scheduled Task.Being a new laptop, i went to www.rdesktop.org, downloaded the source, opened up a new terminal, typed incd Downloadstar -xzf rdesktop* cd rdesktop*./configuremakesudo make installrdesktop servername and i did my work with the scheduled task, apple-w to close and i was done. Hang on a minute. My brain stopped for a second and thought about what had just happened. Did i just run “rdesktop” from the OSX terminal, and go straight into my server? Did Leopard actually spawn X11 for me, and run rdesktop within that ?Wow. Thanks Apple. 

Word 2007 Hanging up on Vista?

Friday, March 14th, 2008

Had an unusual problem with Word 2007 and Vista today which lead to Word freezing up after a document was opened up by double clicking on it.

My suspicions were that an “add-in” had gone crazy and taken over Word and wasn’t letting it complete its start up, and to call them out, i’m pretty sure it was Acrobat Professional with their really bad product.

The fix is relatively simple, its a registry edit of one, or possible two keys depending upon the severity.

Open up Registry Editor (windows key+r, “regedit”, enter) and look for

CURRENT_USER/Software/Microsoft/Office/Word
Rename Addins -> oldAddins

Then restart word, if it works, you’re good to go. If it doesnt, edit this other one as well

CURRENT_USER/Software/Microsoft/Office/12.0/Word
Rename Data -> oldData
Rename Options -> oldOptions

That should do it!

TNMailServer 3

Thursday, March 13th, 2008

Hi,

Just an update. TNMailserver 3, is around the corner. This time its based on Fedora 8 and is much easier to install and keep up to date, but works iwth the same charm as the Slackware version. It will also be renamed to “Techie MailServer”