วันศุกร์ที่ 16 พฤศจิกายน พ.ศ. 2555

Windows 8 Norton 360 and false notification in Action Center

I use Norton 360 for my main security but now Windows 8 Tell me I don't have any firewall and spyware on  my system. Check on Norton 360 it work fine no service stop but Windows 8 keep tell me I have no firewall and anti virus.

Ok I try to find answer about this and found this one.

http://community.norton.com/t5/Norton-Internet-Security-Norton/NIS-2013-Firewall-cannot-be-monitored-by-windows-8/td-p/811188/page/2

ref: answer


Sometimes, after you have uninstalled a firewall, antivirus or malware detection program the entry remains because the uninstaller failed to remove the entry from the Action Center either by design or just sloppy coding.  Either way, you are not stuck and this is easily fixed.
You will need to force the operating system to repair Windows Management Instrumentation, and Security Center before proceeding, create a restore point because if you mess up here, worse things can happen.
Go to the start search box and type “services” (without quotes) and press enter.
1) Double click on Security Center and Click on "Stop" button.
2) Double click on “Windows Management Instrumentation” (WMI - highlighted in red) and make note that the service status is started.
In order to proceed you will need to pause the WMI service so double click the entry and click the “Pause” button.
It will take a few seconds for Windows to pause the service so wait until it completes before proceeding.  Leave the services dialog box open.  Now you need to proceed to your Windows directory and delete a specific folder.  DO NOT delete ANY OTHER folder except the one that is specified.
Head to your “C:” drive or whichever drive Windows has been installed to and boots from.  Go to the Windows directory…
Once inside the Windows directory locate the System32 folder and proceed into it…  (make sure that you have entered the System32 folder and NOT the system folder) Inside the System32 folder you will find the wbem directory so, yes, you need to go into another one, we’re almost done. In wbem you will find a folder named Repository which contains information that is reported to the Action Center such as which programs are installed, firewall status, etc.
As I said at the beginning after installing and uninstalling different security programs, these entries can become corrupted and report false information to the Action Center.
With your Services dialog box still open, check and make sure that the Security Center is still stopped and the Windows Management Instrumentation (WMI) service is still paused, if Security Center is stopped and Windows Management Instrumentation is paused, proceed, go ahead and delete the repository folder and make sure ONLY to delete the repository folder, DO NOT delete any other entries.
Yes, I did say to delete the repository folder, see it, sitting right there, delete it, I mean it, do it now, did you do so, okay.  Now, go back to your services dialog box and remember how the Security Center is stopped , start it up again and WMI service is paused, start it up again so double click the Windows Management Instrumentation entry once more and click Resume.
These steps forces Windows to redo the inventory of your installed security applications (firewall, antivirus and the like) and rebuild the Security Center index.  It will take a few moments for the service to Resume.  Remember that repository folder you deleted, well, you will now note that it has magically been created again with a new inventory of what’s installed.
The Action Center may still be reporting the wrong information but that’s okay, sometimes you have to restart in order for all the changes to take effect.  After you have performed all these steps (and optionally restarted if the changes did not take immediate effect), you will note that the Action Center is almost barren at first, this means it is retrieving the new information and will take a few moments before the new data is displayed.  Once fully initiated, the Action Center should now be displaying the correct information as to what programs are installed and functioning.
If you have followed these instructions to the exacting letter, there should be no problems.  If you did somehow manage to mess anything up, there’s that restore point you created earlier.

This should help you to solve the problem.

   Sandro

Thanks to Sandro who save my life.

วันพุธที่ 14 พฤศจิกายน พ.ศ. 2555

Sqldeveloper change java path.

I use windows 8 64 bit and try to use my old jdk 32bit but first run sqldeveloper fail.

now install new one in here
C:\Program Files\Java\jdk1.6.0_35\jre\bin

so copy new path to
[sqldeveloper install folder]/sqldeveloper/bin/sqldeveloper.confi

in SetJavaHome

now anything work fine.

วันอังคารที่ 13 พฤศจิกายน พ.ศ. 2555

MVC4 IIS 6 and error occurred while establishing a connection to SQL Server


I use MVC 4 with My Custom Membership controller can test normally in my Localhost but when upload to Server it show when go to page that need authorize

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


I don't use any ms sql in this project so this error is wild. After  check on my code that use sql connection name "DefaultConnection" I found in 2 place
AccountModels.cs in Models
InitializeSimpleMembershipAttribute.cs in Filters
so I don't use InitializeSimpleMembershipAttribute in any place so I chnage

AccountModels.cs in line 14,15
public UsersContext()
            : base( "DefaultConnection" )
to 
public UsersContext()
            : base( "MyDBConnection" )

and now it work fine.

Hope this help.