When trying to build your ASP.NET project targeting .NET Framework 3.5, you receive following error: The report definition is not valid. Details: The report definition has an invalid target namespace ‘http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition’ which cannot be upgraded. After some investigation I decided to create new empty project from the scratch and then compare two web.config files to […]
Read Full Post »
Posted in Tips'n'Tricks, News on Jun 5th, 2010
Click the Tools menu.
Select Options.
Click the Under the Hood tab.
Click Change font and language settings .
Click the Languages tab.
Select the “Check spelling” checkbox if you want Google Chrome to automatically check your spelling.
Select the language you want to use in the “Spell-checker language” menu.
Click OK to save your settings.
More info: http://www.google.com/support/chrome/bin/answer.py?hl=en&answer=95604
Read Full Post »
If you expirience that Google Chrome works very slowly on localhost while debugging in Visual Studio, all you have to do is to alter the C:\Windows\System32\drivers\etc\hosts file and add a record 127.0.0.1 localhost. That will instruct Google Chrome not to use IPV6 lookup. This is also applicable to FireFox browser as well. For more details please take a […]
Read Full Post »
Posted in C#, Visual Studio, Tips'n'Tricks on Nov 28th, 2009
I’m working on Windows Forms C# app and I come across this error when starting up application and trying to read some information from app.config file. After a lot o research I came a conclusion that this error is caused by generating a malformed config file (according to schema in c:\Program Files\Microsoft Visual Studio 8\Xml\Schemas\DotNetConfig.xsd) […]
Read Full Post »
Posted in Windows Vista, Tips'n'Tricks on Nov 1st, 2009
When you open a photo in Windows Photo Gallery, it looks too yellowish (or too redish or too greenihs or too blueish), but when you open it in another picture viewer such as IrfanView or XnView, it looks quite normal and all colors are well balanced. It’s especially noticable when opening scanned documents and the paper […]
Read Full Post »
” Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It’s intended for users with multiple computers on their desk since each system uses its own monitor(s).
Redirecting the mouse and keyboard is as simple as moving the mouse off […]
Read Full Post »
When trying to download Microsoft Security Essentials you got this message: Not available in your country or region ? Don’t worry, just point your browser to this address and you’ll get your download: http://www.microsoft.com/security_essentials/?mkt=en-us. I’ve been using AVG, Avast, Antivir and others for ages, but since there was lot of positive feedback on the net I’ve […]
Read Full Post »
Posted in SQL Server, Tips'n'Tricks on Apr 19th, 2009
You did some testing on your database before deploying it and you created new record and then deleted it right away, but there is a hole in your primary key ID’s now and it shouldn’t be. How to fix that before deploying it to production environment ?
It’s quite easy, just open SQL Server Managment Studio and fix it using this T-SQL:
DECLARE @LastID […]
Read Full Post »
There’s a simple and effective way to precompile your ASP.NET application in desired folder prior to publishing it (e.g. uploading to web server via FTP):
C:\Windows\Microsoft.Net\Framework\v2.0.50727\aspnet_compiler.exe -v /WEBSITENAME -p “C:\Projects\WebSiteSource” “C:\Projects\WebSitePublished”
And, as you probably already know, adding any other uncompiled files to this precompiled version (e.g. uncompiled user controls .ascx meant to be loaded dynamically via […]
Read Full Post »
Posted in Virtual PC, Tips'n'Tricks on Nov 4th, 2008
When creating a copy of fully installed Virtual PC image with Windows XP Professional, there is a couple of tasks that has to be done in order to be able to run both VPC-s in the same workgroup or domain. These tasks are:
1. Genereting a new Security ID for a VPC (New SID) on a […]
Read Full Post »