The Temple of Fu

code, systems and games

Archive for July 2012

Visual Studio – Method Auto Comment (XML Documentation) Not Working

with one comment

Opened up a project that was started by a fellow developer at work, I got_set_to_write_code and wanted to do what all good developers do, they comment their code! 🙂
I needed to add a method comment which can be triggered by typing three ticks ”’. It stubs out

But it didn’t work, grrr. The fix:
1. Go into project properties
2. Select the Compile tab.
3. Check ‘Generate XML documentation file’

Now the auto comment shortcut should work.

Advertisements

Written by lordfu

July 31, 2012 at 10:33 am

Browsing, DNS and duplicate IPs Oh My!

leave a comment »

I recently upgraded to current and also more recently have built a new Windows server to use for work and development with my Slackware box being a virtual desktop running on a Windows 7 host . The last few weeks since I built my new server and upgraded my desktop to current have been a mixture of either being away for work or being without power for a little over 6 days due to massive Midwest storms. Both of these have left me without a chance to really configure everything fully to my liking.

So the last couple days I have been home and able to spend more time on my desktop and I noticed something any application which required network access was painful to work with. Everyone of them would ‘sputter’, sometimes work great for a few minutes and then freeze for a few then work great again etc but my host had no networking problems at all. I ran ping tests and noticed the same thing there, so I began troubleshooting and did the following
1. Check resolv.conf for valid nameservers
2. Disabled loading of IPV6 module.
3. Disabled IPV6 in Moz
4. Checked interface settings, then it hit me.

What’s the interface settings look like on my new Windows Server? Whammo, duplicate IP addresses. Once I adjusted the IP address on the server everything began working perfectly. This was an easily avoidable configuration error and took a couple hours to fix because I was certain it was due to the Upgrade to current or this being a weird issue with 64b Slack and so time was wasted researching that instead which I never should have assumed.

Hope this helps!

Written by lordfu

July 15, 2012 at 10:32 am

Posted in Linux, Other, Slackware, Windows

Dell Inspirion 6000 – ATI Mobility Raedon x300 (M24) – Windows Server 2008

with 2 comments

So I received a laptop from work that they were tossing around a year ago. It came with Windows 7 and was all setup and good to go, so it remained that way for a year. I went to install SQL Server 2005 the other day to do some development and wham, can’t install onto Windows 7, it must be a server class OS. I have Windows Server 2008 so I began the re-install. That went well picked up 99.9% of my hardware and Windows happily installed a Standard VGA Adapter driver for my ATI card which is an ATI Mobility Raedon x300. The problem with that is that it is a terrible driver and offers no good resolutions, 1024×768 was my best bet at 32bit. So off I went to find drivers. Did Dell offer any? NO!

As far as I know Dell has a deal worked out where they force customers to use their drivers, you know the CD that comes with your laptops? Well I have Windows 2008 on here and they are not to be found anywhere. This is how I made this work using legacy drivers and Mobility Modder. Mobility Modder is an application which will ‘mod’ your inf files to work with an updated and ‘unsupported’ OS (you know that deal between ATI and Dell).

1. Go download the legacy ATI drivers from http://support.amd.com/us/gpudownload/windows/Legacy/Pages/radeonaiw_xp.aspx

2. Download Mobility Modder from http://www.hardwareheaven.com/modtool.php.

3. Extract the legacy drivers. This is done by double clicking the installation executable and once it gets past the extraction point, cancel the installation. The legacy drivers are extracted to C:\ATI\Support\10-02_legacy_xp32-64_dd_ccc

4. You then install Mobility Modder and it’s requirements XML 6.0, .Net Framework (which on most modern systems are already installed). Also select turn off UAC, this does require a reboot.

5. Once MM is installed run the program and Browse to C:\ATI\Support\10-02_legacy_xp32-64_dd_ccc and click Modify (this can take a few minutes)

6. Once that is done you need to update your driver manually. This is done by

  • Device Manager
  • Select your Display Adapter
  • Right Click ‘Update Driver Software’
  • Browse My Computer for driver Software
  • Let me pick from a list of device drivers on my computer
  • Have Disk
  • Browse to C:\ATI\Support\10-02_legacy_xp32-64_dd_ccc\Driver\XP_INF
  • Select CX_95952.inf
  • Say Ok all the way out.
  • Say Yes if it complains that this driver is not digitally signed.
  • Reboot

Once you are rebooted you can verify you are using the ATI drivers and set your resolution,Voila!

Notes:

Once Mobility Modder has modified your .inf file you can search the file and verify your hardware is found. If you do not know how to find the hardware id. You go to the details section of your card properties, found under device manager and select from the dropdown Hardware Id’s. The following screenshot shows mine.

Image

Hope this helps!

Edit:

I also had to update the sound card which is a SigmaTel – Sound – SigmaTel C-Major Audio.

1. Download the cab file http://catalog.update.microsoft.com/v7/site/Search.aspx?q=VEN_8086%26DEV_266E%26SUBSYS_01881028

2. Extract cab

3. Update the driver in the same manner as above by browsing to the folder that contains the extracted files.

Resources:

http://www.hardwareheaven.com/modtool.php

http://support.amd.com/us/gpudownload/windows/Legacy/Pages/radeonaiw_xp.aspx

http://www.sevenforums.com/graphic-cards/31442-ati-radeon-drivers-install-but-fail-initialize.html

Written by lordfu

July 4, 2012 at 6:11 pm

SQL Server 2005 – No Management Studio

leave a comment »

This happens to me all the time. The order usually goes along the lines of.

1. Install Windows
2. Get updates including .Net framework
3. Install Visual Studio
4. Install SQL Server
x. Check for SSMS and it is not there.

What happens is at some point SQL Server Express or some_other_installation causes SQL Server 2005 to not install the Client Components. Even re-running the installation and selecting Client Tools will not get them installed.

There are two ways that I know of to get them installed.
1. Install SQL Server 2005 before all updates and installing Visual Studio.

2. Run it in maintenance mode. To do this go to “Add or Remove Programs”, find the entry for “SQL Server 2005”, select it and hit the Change button. Under the section for “SQL Server 2005 Common Components” you’ll see an entry for “Workstation Components”, select it and hit the next button. Keep following the dialogs until you come to one called “Change or Remove Instance”, be sure to select “Change Installed Components”. The Feature Selection dialog will appear. Expand the “Client Components” node, select “Management Tools” and click next. Follow the remaining dialogs. After setup runs you should find “SQL Server Management Studio” in the Start menu.

Written by lordfu

July 4, 2012 at 1:57 pm

Posted in Database, MSSQL, Windows