Archive

Archive for the ‘Programming’ Category

How to Add Glassfish Development into Netbeans 6.8

June 14th, 2010 ayah No comments

By default, if you installed netbeans 6.8, it will have glassfish v3 installed automatically. But there’s sometime when you accidentially delete or missing the server, netbeans will asked you to resolve the problem.

By using ordinary method, is impossible to add the glassfish server. It will have blank domainwhere supposed to be filled with domain1 name.

If you’re having issues like these, you can solve it by doing following steps

1. Tools > Server
2. Remove the glassfish server from the list and click Close
3.Shutdown Netbeans.
4. Right click on the netbeans icon and click on “Run as administrator”
5. Right click on your web app project and Click on Resolve missing server.
6. Add the Glassfish server again.

The type ‘System.Func‘ exists in both ‘c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll’ and ‘c:\WINDOWS\microsoft.net\Framework64\v4.0.30319\mscorlib.dll’

May 31st, 2010 ayah No comments

if your having trouble like this with your Visual Studio 2010 while you have to target .net 3.5, you can do following steps

1. Unload your project within visual studio 2010

2. Edit your project

3. add below code within your project

<Reference Include=”System” />
<Reference Include=”System.Core”>
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>

Categories: C#, asp.net Tags: , ,

Analytics Doesnt Track your WordPress Pages?

May 28th, 2010 ayah No comments

1.Please do ensure that any of your google analytics plugins already activated

2. Do setting including your urchin code

3. Make sure that your footer template (usually footer.php) called wordpress function which is wp_footer.

<?php
wp_footer();
?>

Elmah + System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139′ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0×80131040)

May 22nd, 2010 ayah No comments

if your having this message, just add below code in your web.config

<dependentAssembly>
<assemblyIdentity name=”System.Data.SQLite” publicKeyToken=”db937bc2d44ff139″/>
<bindingRedirect oldVersion=”1.0.61.0″ newVersion=”1.0.66.0″/>
</dependentAssembly>

It tells you to redirect all of your SQLite DLL version 1.0.61.0 into somethin newer,for this example 1.0.66.0

For further info, check this

1.DLL redirection in web.config
2.Issue regarding elmah

Categories: C#, Uncategorized, asp.net Tags: ,

IIS7, WordPress and Cant Upload

May 17th, 2010 ayah No comments

If you have problem with WordPress problem within IIS7 or IIS7.5, maybe you have trouble with your directory security access. To solve actually easy, but I need sometime to try and search.
Under default application pool identity user, to allow this you have to make Users (<Computer Name\Users) and IIS_USRS(<Computer Name\IIS_IUSRS) have Full permission access (including write) within folder wp-contents and also its subdirectories.

Categories: PHP Tags: , ,