ManageWP

ManageWP dashboardFor the last month and a little bit I am using MaganeWP service. It is very useful administration service if you need to manage several WordPress blogs. Till now I am using free version which supports up to 5 WordPress sites.

What I find useful in ManageWP:

1) It is very easy to setup and integrate to your blogs.

2) All sites in one dashboard.

3) Important notifications emailed about your sites (including waiting updates). So you event don’t need to check them every day.

4) One click upgrades for plugins,themes and maintenance\optimization tasks for all sites at once.

These 4 things I find the most useful in the free version. Of course, there is a huge bunch of extra features in paid versions, which maybe I will try in near future.

So, if you haven’t looked yet at ManageWP, I highly recommend to give it a try.

Pandora Recovery – good tool to recover photos from SD card

Usually I copy photos from digital camera SD card to computer and leave a copy in SD card in case something will go wrong. And once it happened.

I saw, that half of photos in computer are corrupted and can’t be displayed. But somehow I didn’t copy them, but moved. So I had no backup copy left in SD card.

Firstly I looked on internet for an advice. I tried several recovery tools. The most successfully was Pandora Recovery, because other tools didn’t find deleted files on SD card or were not able to restore deleted photos.

So I highly recommend to try Pandore Recovery if your problem is similar to mine. I hope you will be lucky, because to lose your memories saved in photos for me is a tragedy

Also sometimes I use simpler tool called Simple Unrecover Deleted Files, which didn’t help in this case.

Msi setup error: installation incomplete

Recently I cleaned (format: c) my computer to make it faster. I reinstalled all software I need for .NET and web development. Suddenly I was stunned with the fact that msi setups are not working  on my machine any more!

I started getting “Installation incomplete” error without extra details.

But there is a way to enable logging for msi installation process. You just need run this command: “msiexec /i MySetyp.msi /l*v mylog.txt”.

You will get big error log with information like that (full log ):

Full log is attached:

MSI (c) (B8:04) [08:34:24:407]: Machine policy value ‘DisableUserInstalls’ is 0
MSI (c) (B8:04) [08:34:24:526]: SOFTWARE RESTRICTION POLICY: Verifying package –> ‘C:\Reaturn.CashFlowCalculationSetup.msi’ against software restriction policy
MSI (c) (B8:04) [08:34:24:526]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (B8:04) [08:34:24:526]: SOFTWARE RESTRICTION POLICY: C:\Reaturn.CashFlowCalculationSetup.msi is not digitally signed
MSI (c) (B8:04) [08:34:24:528]: SOFTWARE RESTRICTION POLICY: C:\Reaturn.CashFlowCalculationSetup.msi is permitted to run at the ‘unrestricted’ authorization level.
MSI (c) (B8:04) [08:34:24:538]: Cloaking enabled.
MSI (c) (B8:04) [08:34:24:538]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (B8:04) [08:34:24:544]: End dialog not enabled
INFO   : [03/21/2012 08:34:24:710] [CheckFX                                 ]: Custom Action is starting…
INFO   : [03/21/2012 08:34:24:710] [CheckFX                                 ]: CoInitializeEx – COM initialization Apartment Threaded…
INFO   : [03/21/2012 08:34:24:712] [CheckFX                                 ]: MsiGetPropertyW – Determine size of property ‘VSDFrameworkVersion’
INFO   : [03/21/2012 08:34:24:712] [CheckFX                                 ]: Allocating space…
INFO   : [03/21/2012 08:34:24:713] [CheckFX                                 ]: MsiGetPropertyW – Getting Property ‘VSDFrameworkVersion’…
INFO   : [03/21/2012 08:34:24:713] [CheckFX                                 ]: Property ‘VSDFrameworkVersion’  retrieved with value ‘v4.0′.
INFO   : [03/21/2012 08:34:24:713] [CheckFX                                 ]: MsiGetPropertyW – Determine size of property ‘VSDFrameworkProfile’
INFO   : [03/21/2012 08:34:24:714] [CheckFX                                 ]: Property ‘VSDFrameworkProfile’  retrieved with value ”.
INFO   : [03/21/2012 08:34:24:714] [CheckFX                                 ]: Set VSDNETMSG with the FrameworkVersion.
INFO   : [03/21/2012 08:34:24:714] [CheckFX                                 ]: MsiGetPropertyW – Determine size of property ‘VSDNETMSG’
INFO   : [03/21/2012 08:34:24:714] [CheckFX                                 ]: Allocating space…
INFO   : [03/21/2012 08:34:24:715] [CheckFX                                 ]: MsiGetPropertyW – Getting Property ‘VSDNETMSG’…

Fix: enable “IIS metabase and IIS6 configuration compatibility” as shown in print screen below:

Simple as that.

Hosting ASP websites and WCF services on GoDaddy

Recently I bought GoDaddy hosting for few purposes. Firstly, I want to integrate my web experiments into sunauskas.com domain and to keep this blog running on WordPress. Secondly, I am developing small project based on ASP.NET + WCF + DB (NHibernate ORM), so multiple users testing will be needed in near future.

I had almost no problems publishing ASP MVC website and WCF service. To make it clear, firstly I published files locally and after that just copied them to the host. Because GoDaddy at the moment doesn’t support publishing to the host directly (???). After that I came to some GoDaddy and .NET configuration issues.

Most issues occur because of the security configuration. This was that case. Locally my application is running on full trust. So I needed to be like that also on the hosting.

This is security exception which I was getting:

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application’s trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type ‘System.Security.Permissions.ReflectionPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′ failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) +31
System.Security.CodeAccessPermission.Demand() +46
System.Reflection.Emit.DynamicMethod.PerformSecurityCheck(Module m, StackCrawlMark& stackMark, Boolean skipVisibility) +248
System.Reflection.Emit.DynamicMethod..ctor(String name, Type returnType, Type[] parameterTypes, Module m, Boolean skipVisibility) +49
System.Runtime.Serialization.CodeGenerator.BeginMethod(Type returnType, String methodName, Type[] argTypes, Boolean allowPrivateMemberAccess) +53
System.Runtime.Serialization.CodeGenerator.BeginMethod(String methodName, Type delegateType, Boolean allowPrivateMemberAccess) +131
System.Runtime.Serialization.CriticalHelper.GenerateClassReader(ClassDataContract classContract) +141

Here is my ASP.NET web site and WCF service hosting configuration with full trust.

<configuration>
 <system.web>
  <trust level="Full" />
 </system.web>
</configuration>

I hope this trick will save you few hours. It can be that your applications don’t require full trust and you can try to set any other trust level.