Monday, March 07, 2011

Friday, March 04, 2011

Thursday, February 17, 2011

Monday, November 15, 2010

Tuesday, November 09, 2010

forgatas Silverlight-ban

Az volt a feladat, hogy egy videot kellett 90 fokkal elforgatva megjeleniteni Silverlight-ban.

Erre van a PlaneProjection (msdn) ami 3D-ben tud forgatni, de nekunk eleg volt a RotationZ.

Tovabbi peldak:

Thursday, September 09, 2010

David Mendez: Start, Stop, and Restart Windows Services from Mac OS X

Innen.

Mac OS X includes Samba support by default, and this is really handy if you’d like to remotely restart and monitor services running on a Windows machine.

To list services running on the Windows machine, use this command:
net rpc service list -I IPADDRESS -U USERNAME%PASSWORD
A practical example would be:
net rpc service list -I 192.168.0.115 -U Windows%myPassword

After identifying the service you want to restart, you issue the following command to stop the service:
net rpc service stop SERVICENAME -I IPADDRESS -U USERNAME%PASSWORD

Then you can restart (or start) the service by using the following command:
net rpc service start SERVICENAME -I IPADDRESS -U USERNAME%PASSWORD

This is tip that I found on Lifehacker that was aimed at Linux users, but considering Mac OS X has a unix underbelly equipped with samba the command works just the same on a Mac.

Wednesday, June 09, 2010

readerQuotas

Itt kell beallitani, hogy mekkora tombok mehetnek fel-le.

maxArrayLength:
A positive integer that specifies the maximum allowed array length of data being received by Windows Communication Foundation (WCF) from a client. The default is 16384.

maxBytesPerRead:
A positive integer that specifies the maximum allowed bytes returned per read. The default is 4096.

Es a web.config-ban ide kell tenni:
configuration\system.ServiceModel\bindings\customBinding\binding\binaryMessageEncoding\readerQuotas

Friday, May 14, 2010

Thursday, May 13, 2010

Scott Guthrie: Silverlight 2 End to End Tutorial

Silverlight 2 End to End Tutorial: Building a Digg Search Client

To help people come up to speed with Silverlight 2, I've written a simple Silverlight application and put together a series of step by step tutorials that explain the different programming concepts behind it (controls, layout management, networking, data-binding, styles, user controls, templates, etc). I also added a tutorial post that demonstrates how to migrate the application outside of the browser and enable it to run as a desktop application using WPF and the full .NET Framework.

Below are the pointers to the 8 tutorials I've put together:

Wednesday, March 03, 2010

kepek keresese: TinEye

Ha van egy kep valahol es ugyanolyat akarok talalni akkor remekul mukodik a TinEye. Legalabbis filmekbol kivett kepkockaknal.

Wednesday, February 10, 2010

Ha a Finder nem mutatja a kulso meghajtokat

Finder > Preferences.. > Devices / External disks

Tuesday, January 26, 2010

Zulfiqar: DataContract Serializer and IsReference property

Itt van egy pelda a DataContract Serializer IsReference property-jenek hasznalatara.

Tuesday, December 01, 2009

System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

Login failed for user 'NT AUTHORITY\NETWORK SERVICE' hibara itt van egy leiras a netomatrix-rol:

Dependig on the operating system this user account is either Network Service or ASPNET. On Windows 2003 ASP.Net process runs under context of 'Network Service' account and on Windows XP or prior the process runs under context of 'ASPNET' user account.

The error message gives all the clues that you need to figure out what the problem is. Your application is trying to open connection with SQL server and SQL Server is not authenticating the user context. ASPNET or Network Service is not some user account that you could have created. So first clue is that it is some built-in windows account that is trying to connect to SQL Server. That tells you that your connection string is using Integrated Security meaning it wants to use the login user's credentials to connect to SQL Server. This leads to next clue that you intended to use Windows authentication for ASP.Net application. Based on this forensic data and clues following is a list of things that could have gone wrong.

  • Your connection string is wrong. Meaning you wanted to use SQL authentication but for some reason it is using Integrated Security
  • Your settings in Web.config are wrong. Meaning that you wanted to use authentication mode to be windows but it is set to none.
  • Your IIS settings for web application or virtual directory are not correct.
  • You forgot to add these Windows accout to SQL Server users list

Based on above list, you can do the following to fix the problem.

  • If you intended to use SQL authentication and not Integrated security then fix your connection string.
  • Fix authentication mode in Web.config and set impersonation on if you intended to use Windows authentication for ASP.Net web application. Also make sure that you have turned off anonymous access in IIS for your ASP.Net web application
  • You can grant 'Network Service' or 'ASPNET' user accounts permissions to connect to database.