Skip to content

IntelliTrace debugging is available only for x86 applications

15-Feb-10

It appears the new IntelliTrace feature of Visual Studio 2010 is only available for x86 applications?!

Don’t ask me, there is an article with more info, but Habib Heydarian shed some light on the workaround here.

It appears to get around this problem, you must set your project to a configuration platform of x86, enabling it to run as a 32-bit process.

You can do this by dropping down the “Solution Platforms” combo usually stating “Any CPU” next to your “Run” option on the menu bar and selecting “Configuration Manager”.  From there it’s just a matter of selecting “Platform” -> “New” and adding a new platform type “x86″ and you’re right to go.  IntelliTrace should now work.

Don’t forget to set this back to “Any CPU” when you are done to target both x64 (64-bit) and x86 (32-bit) platforms.

http://blogs.msdn.com/habibh/archive/2009/10/22/intellitrace-is-not-available-why.aspx
VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Disable/turn off ‘Attach Security Warning’ in Visual Studio 2008/2005

20-Jan-10

If you are fed up with continually having to press “Attach” to attach to the IIS w3wp.exe to enable debugging in Visual Studio for IIS as seen in this screenshot:

Visual Studio Debugging Attach Security Warning for IIS

Then never fear, this is a way around it.

All you need to do is adjust the registry setting (via regedit.exe) as Visual Studio wasn’t kind enough to supply as a checkbox for us on the dialog:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger | DisableAttachSecurityWarning = 1

The same setting can be found for Visual Studio 2005 under:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Debugger | DisableAttachSecurityWarning = 1

*** Make sure you make this change after you have closed Visual Studio, or it may not save properly! ***

Hope that has helped ya.

PS. I’ve been swamped will full time work lately, but I have a bunch of drafts I want to inevitably publish on this blog, so stay tuned.

VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Twitter Weekly Updates for 2009-11-22

22-Nov-09
  • My day is made. Happy jQuery developer now. http://bit.ly/qlHLq #jQuery #datatables #
  • Now I've seen everything. Is everyone bored on the Internets? RT @shanselman: Madness.Truly.Who cares? RT @lachlanhardy: http://bit.ly/TIOaz #
  • Tooo much work today and no play :( #
  • MY FACE MY FACE ᵒh god no NO NOO̼O​O NΘ stop the an​*̶͑̾̾​̅ͫ͏̙̤g͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̟̍ͫͥͨe̠̅s ͎a̧͈͖r̽̾̈́͒͑e n​ot rè̑ͧ̌aͨl̘̝̙̃ͤ͂̾̆ ~! #
  • http://bit.ly/4c4n5f #
  • One day I'll make it to #PDC……. #
  • lol RT @PDC09: Visit the Visual Studio booth in the Big Room for your ULTIMATE Developer henna tattoo! Mon & Tues, 2-5pm #visualstudio #
  • Never gets old… :) http://bit.ly/QHZJB #StarWarsKid #
  • Waiting for #Steam to login on my shaped #TPG account, this could take a while….. #
  • A help listener web server to boot up #VS2010 F1 Help? I'm scared. #
  • A site any budding entrepreneurs should add to their list. http://bit.ly/1d4Wyf #
  • Yaaaaaaah #JBL LSR 2328P's have arrived!! .. unboxing .. !!! #
  • What's everyone using for backing up/ripping #DVD's now a days? #GordianKnot? Something else? .. Such a time consuming mission! #
  • Last day of shaped Internet rubbish! #
  • Go away sore throats! Leave @goneale and @koneale alone! #
  • http://www.ultimatetypingchampionship.com/ But it's U.S. Only! :( #
VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

This SQL Server Version (10.0) Is Not Supported

21-Nov-09

You may receive an error:

Running transformation: Microsoft.SqlServer.Management.Smo.FailedOperationException: SetParent failed for Database ‘XXXX’.  —>
Microsoft.SqlServer.Management.Common.ConnectionFailureException: Failed to connect to server XXXX. —>
Microsoft.SqlServer.Management.Common.ConnectionFailureException: This SQL Server version (10.0) is not supported.

When attempting to connect to a SQL Server 2008 database when working with T4 templates or simply accessing an SQL Server directly using the SQL Server SDK via SMO.

What I found was, my code was attempting to connecting using SQL Server 2005 reference assemblies for connection, and you must ensure that your referencing the correct SQL Server (10.0) 2008 Version assemblies. If this doesn’t sound like your problem, another one could be you are attempting to restore a SQL Server 2008 database onto an SQL Server 2005 instance, this also does not work as it’s not backwards compatible. Try scripting your schema + data instead.

But back on track, for the T4 problem, where you have your assembly import declarations at the top of your template, ensure they look like the following:

<#@ assembly name="Microsoft.SqlServer.ConnectionInfo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" #>
<#@ assembly name="Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" #>
<#@ assembly name="Microsoft.SqlServer.Management.Sdk.sfc, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" #>
<#@ import namespace="Microsoft.SqlServer.Management.Smo" #>

Hope I can help. This should now compile correctly with the specified version calls.

VN:F [1.8.3_1051]
Rating: 5.0/5 (2 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Twitter Weekly Updates for 2009-11-16

16-Nov-09
  • omg #Steam #CODMW2 preloading has begun!! #
  • "I always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone." #
  • Modern Warfare 2 Is Here: Twitter Is Noticing http://bit.ly/17nqRo (via @GadgetNewZ) #
  • OMG I want to start playing MW2 already!! Some people have copies?? Darn Australia. But props to #steam preload yeah! Now to wait. #MW2 #
  • Nigeria should be taken off the Internet. #
  • I used to be indecisive, but now I'm not so sure… (via @SaschaV) lol #
  • RT @haacked: “Woah! Mono Tools for Visual Studio. http://bit.ly/2pKTwp” -@bradwilson #
  • Just in time! #Mono #VisualStudio #
  • #COD #MW2 UNLOCKED ON #STEAM! WOOHOO!! #
  • Bandwidth Monitor frikin' rocks! http://www.bwmonitor.com/ #BandwidthMonitor #
  • But BWMonitor is still not the answer for net limiting, NetLimiter is.. so hopefully they fix the problem soon. #
  • #ns7 rocks! #
VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Twitter Weekly Updates for 2009-11-09

09-Nov-09
VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Crystal Report Blank / Empty / Not Displaying. No On-Screen Error, But Event Log ‘ConfigurationErrorsException’ Received

02-Nov-09

Nice juicy one today, of course in my unfortunate true style, that being where I couldn’t find one darn person who is suffering the same error as me on the Interwebs. I’ve had a few of these lately, so I thought maybe I might be able to at least help others.

I had wired up a Crystal Report through a Web Form (actually embedded within an ASP.NET MVC Web Application) and loaded through the CrystalReportViewer across an ADO.NET DataSet.

All was merry on my development machine, the report loaded fine with no problems.

However, when deploying to our live server which was setup with the Crystal Reports Re-distributable Package for .NET Deployment, it was a different story.

The report was blank. Due to Crystal’s “brilliant” (cough) error reporting, I had no clue why the report failed to load other than just not seeing it.  So I decided to check the Windows Event Log for any trails (as I’ve been caught out on this before) and low and behold there was our nasty exception:

Exception type: ConfigurationErrorsException
Exception message: It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. (c:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727\crystalreportviewers12\web.config line 6)

Well for me, creating the application as a .NET application in IIS, was not my issue, this had already been done.  The error after a bit of fiddling, I actually found out, was due to that Crystal Reports-issued Web.config mentioned in the exception (c:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727\crystalreportviewers12\Web.config).  It was conflicting with my application.

After spending some time with this file, I couldn’t get the error message to budge.  So I took easy street, a good ‘ole rename.  I humbly decided I did not need this file after looking through the properties, there were no mission-critical properties relevant to my app in there, so click, rename, voila, report online.

Hope this was your problem.

…Seems to me like a mildly tested Crystal Reports Re-distributable package could be to blame…

VN:F [1.8.3_1051]
Rating: 5.0/5 (1 vote cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Twitter Weekly Updates for 2009-11-02

02-Nov-09
  • You will soon be able to register your interest for #Fotochimp and opt to be a VIP beta tester! Stay tuned! #
  • Dominos pizza has burnt every pizza in store. Chaos. Remaking each one, we could be here a while. #DominosPizza #
  • my new approach to spaghetti code: add lots of tomato sauce! (via @secretGeek) lol #
  • RT @fotochimp: Fotochimp earlybird registrations are NOW OPEN and we want YOU to be a lifetime VIP member! – http://eepurl.com/exh3 #
  • Just launched @fotochimp registration form built with our favourite tools.. #dotnet3.5 #aspnetmvc #sqlserver08 :) #
  • RT @shanselman: RT @billevjen: Visual Studio 2010 Beta 2 documentation – start here – http://bit.ly/12MjW3 #
  • 10 UX Blogs You Should Be Reading – http://bit.ly/3oHmyV (via @smashingmag) #
  • Livestats – http://bit.ly/3w6b5d – a new promising web analytics application from @gosquared (via @smashingmag) #
  • Profile background image changing still doesn't work on #twitterfail #
  • Friday night is nearly here, yeeeeah… probably some dj prac tonight! woohoo! #
  • omg, I HATE Java. Three downloads later I finally find the right one… Can't use JRE, Need JDK, But not EE JDK, need SE JDK! #
  • Oh that's right and time to set my environment variables.. I'm surprised it didn't ask me if I was running Windows 95. #java #grr #
  • & non-MS Dev's complain abt the .NET Framework?! At least we dont have 2 go 2 a rubbish link & install a pkg manually & do all the legwork.. #
  • RT @bdyling: New blog post: Left 4 Dead 2 censorship comparison. http://j.mp/145bMv
    Screw the OLFC. (ping @goneale) (via @SaschaV) #
VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Our New Startup! Early-bird Registrations Have Now Opened At Fotochimp.com – And You’re Invited!

31-Oct-09
Online backup for your home computer.  Ridiciously cheap.  Super simple.

Online backup for your home computer. Ridiculously cheap. Super simple.

Hi guys, well I have some very exciting news to report today, my fiancée and I have just opened a registrations of interest form for our new online start-up hitting the waves real soon — entitled Fotochimp.

We’ve gone bananas, we’ve gone playful, fun, web 2.0 (we all sick of hearing that term yet?) with a huge aim to deliver you a simple, hassle-free online file backup service for Windows (and hopefully Mac by launch!) application suited to absolutely everybody with the aim of eliminating, unfortunately what is a much too common occurrence these days, tragic computer file data loss.

Whether it be photos, videos, documents, music, CODE – anything we guarantee you as much space as you like, and for as little in cost as we can give it to you. We believe secure online backup should be for everybody and by delivering it in a totally different light – a fun online, affordable remote backup service – we can create this as a household term.

This is not just for Australia; we are Australian, we are targeting Australians, but we are also targeting the world.  We also guarantee your data to be safe and secure due to our massive file server replication procedures coupled complete with military grade, AES-256 bit encryption.

This isn’t just going to be some “flim flam” app either, if you are not computer literate (interesting you’d be here! :P ), you will be able to pick this app up, and be backing up within minutes with it being a joy and hopefully with a surprise as to how simple it is.  However, if you are a novice to advanced user, Fotochimp will include a powerful feature set with fine-grain tuning ability you would come to expect from a premium backup service.

The best bit is… it’s going to be cheap, and we mean… ridiculously cheap, and provide an array of benefits over typical file backup and photo sharing sites one might expect to use instead.

In conclusion, as this is not meant to be a huge write-up, Fotochimp will be very heavily community focused, delivering the features that YOU want and need as a community and we will warmly welcome any, and all user feedback and provide many ways in which you can participate in helping us create the best possible solution for online file backup!

So please, feel free to check the site and register your details — by registering you will be informed of the latest developments as they happen from Fotochimp HQ and you will score yourself VIP (Very Important Primate) membership for life, granting you even greater discounts above regular users.

We want testers! If this is your thing and you would love to make your imprint on our software, don’t forget to subscribe as a tester.  This will also enable you early access to the software on beta release! .. and I’m sure I have just the audience for it here on this blog. :)

..and for those that want the low down on the goods, we’re talking.. .NET 3.5, ASP.NET MVC, WCF, Castle Windsor, MvcContrib, jQuery.. All the best bits!

Sign up now!

  • www.fotochimp.com – Online backup for your home computer.  Ridiculously cheap.  Super simple.
VN:F [1.8.3_1051]
Rating: 5.0/5 (2 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Twitter Weekly Updates for 2009-10-25

25-Oct-09
VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)
My name is Graham O'Neale and I'm a software architect from Gold Coast, Australia. I am an overtime thinker, full time coder and awake part time in the real world. I have a keen interest in software development, particularly in the realm of programming (C#, ASP.NET, ASP.NET MVC, LINQ (2 SQL), Entity Framework, Silverlight, Blend, WCF, WPF) and a keen interest in the cutting edge and innovation. I have a new found love for design patterns, ALT.NET practices and well crafted software architecture. The purpose of this blog is to express any thoughts, findings, tips and gripes along my travels in the wonderful world of coding and technology...