Requested registry access is not allowed -FIXED

Today I got so mad at my VS 2008 I desided to fix this problem I have had for some time now. I wrote another blog post about it alittle while ago.

TODAY I FINALLY FOUND A SOLUTION TO THE PROBLEM! :)

I found this blogpost about how to fix it. It is actually very easy to do.

Here is what you need to do:

Download “subinacl” here. This is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain.

After installing subinacl.exe (it will be in the C:\Program Files\Windows Resource Kits\Tools folder.), drop to a command prompt and run the following batch file, which you have saved in the same folder with the filename “FIX.bat”:

subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=system=f

 

Enjoy!

 

UPDATE: I just found out that this only solved half my problem :( Before I couldn’t create an new Silverproject or add an file to any project at all. I tried out this fix, and it solved the problem where i couldn’t add files to an project. Sadly didn’t solved my Silverlight problem…need to reinstall Vista I think…

Collision with Farseer Physics Engine (1.0.0.6)

Brandon Trabon wrote me (a comment on this post) the other day and said thanks for my “simple-samples” for the Farseer Physics Engine. It had helped him getting started with the engine, which makes me very happy to hear, as that were the exact reason I created them.

Thanks Brandon.

As a bonus Brandon have made similar sample with collision too, so I have put this on my blog too.

Note: I haven’t been able to test this my self due to my Silverlight 2 beta 2 problems, but I’ll put it up anyway with this disclaimer :)

Download the sample with collision of the Farseer Physics Engine 1.0.0.6 here

Got my iPhone 3G

Last night I got my iPhone 3G after being in queue for about 8 hours. Just before it became my turn they told us that the 16 GB black were sold out :(

So I had to buy a 8 GB black instead, couldn’t leave without it after 8 hours in the rain. Now I just need to play around with it and learn how it works.