Wednesday, September 18, 2013

JQuery - Get the value of a drop down list


Use this code if you need to get the value of a selected drop down list:

//
// Include a reference to the Jquery library





JQuery Change the form's action url


To change the action form url use the next code:


     



Friday, September 13, 2013

The junk E-mail filter is not available for your account....


If you get the next error when when clicking "Block Sender" on an email:

The Junk E-mail Filter is not available for your Microsoft Exchange Server e-mail account because you are working online. To enable the Junk E-mail Filter for this account, switch to Cached Exchange Mode.



What you need to do is recreate the outlook profile:

  • Go to control panel and open the Mail


  • Click on show profiles
  • Click on Add
  • Type a name from the new profile then click the OK button

  • Open Outlook using your new profile, now you should be able to send senders to the blocked list



Tuesday, August 20, 2013

-- The application-specific permission settings do not grant Local Launch permission for the COM Server application with CLSID {24FF4FDC-1D9F-4195-8C79-0DA39248FF48}

If you see the next error on your logs periodically, the Network Access Protection Agents is not running and a program is trying to use it:

 The application-specific permission settings do not grant Local Launch permission for the COM Server application with CLSID
{24FF4FDC-1D9F-4195-8C79-0DA39248FF48}
 and APPID
{B292921D-AF50-400C-9B75-0C57A7F29BA1}
 to the user NT AUTHORITY\SYSTEM SID (S-1-5-18) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.


 If you look in the registry for the key:
HKEY_CLASSES\CLSIC\{24FF4FDC-1D9F-4195-8C79-0DA39248FF48}

The class creating the error in this case is Quarantine Private SHA Binding which which is a Kaspersky Anti-virus product.

The id of this APP:
{B292921D-AF50-400C-9B75-0C57A7F29BA1}
corresponds to the DCOM NAP Agent Service, which in turn is part of the Network Access Protection Agent service.You can see this in the Component Services


The DCOM error is being generated because the application’s SHA encryption module is trying to register with the NAP Agent but the  NAP service is not running.

To solve this problem, just enable the Network Protection Agent service.


Wednesday, May 8, 2013

JQuery - Get the value of a text box with JQuery


Use this if you need to extract the value of a text box

//
// Include a reference to the Jquery library



JQuery - How to veify JQuery was loadded on the web page



Use this code to verify JQuery was loadded property to your web page.
 

//
// See if the jQuery was loadded
if (jQuery) {  
    alert("jQuery is loaded");
} 
else {
    alert("jQuery is not loaded");
}
//
//

Monday, May 6, 2013

Invalid Lowe's hierarchy based on Publication information



If you get the error:

Description:
Lowe's accepts only the following eight combinations of Hierarchical Level(s): a) BASE_UNIT_OR_EACH b) CASE c) BASE_UNIT_OR_EACH + CASE d) BASE_UNIT_OR_EACH + PALLET e) CASE + PALLET f) BASE_UNIT_OR_EACH + PACK_OR_INNERPACK + CASE g) BASE_UNIT_OR_EACH + CASE + PALLET h) BASE_UNIT_OR_EACH + PACK_OR_INNERPACK + CASE + PALLET
Steps to Rectify:
Verify that the information provided on the Publication tab is correct.
Item Number
GTIN
Retailer
Market
Invalid Data
50019374970630
0828439000008
US
Invalid Hierarchy for Lowe's: Published GTIN = 50019374970630

It is because you are including the in the publication tab and invalid level (like master pack), by removing the GTIN invalid from the publication tab, the problem is solved.

Tuesday, April 9, 2013

-- Macola - Error MACCRVWR.EXECUTE 372 when running crystal reports inside of macola


Symptom:
      When trying to run a crystal report the next error is generated:

            MACCRVWR.EXECUTE 372



      This happens when you install Crystal on the same machine where Macola is installed and the version of the Crystal    Viewer that is installed is not the same one installed by Macola Progression. 
      Your copy of Crystal Reports is not the Macola OEM version, it creates incompatibility. 
      The Version used by Macola OEM is 7.0.

Solution:
      Reregister the DLLs from crystal report

Procedure:
      Run the next lines in the comman prompt
            regsvr32 "C:\Program Files\Common Files\Macola Shared\craxdrt.dll"
            regsvr32 "C:\Program Files\Common Files\Macola Shared\CRPFunc.dll"
            regsvr32 "C:\Program Files\Common Files\Macola Shared\crviewer.dll"

      Note: if you have a 64 bit machine the path for the program files would be different:
            Program Files (x64)

Friday, March 15, 2013

JQuery - Get the value of a radio button


    
    


     A
     B
     C

JQuery - Hide a group of elements

Use the following example to hide a group of elements when a check box is click it using JQuery.

    

        Tmp ones

        



Please hide me!!!!

Thursday, February 14, 2013

Suspect Database in SQL Server



If your database is in suspect mode there are several possible reasons:

1. You do not have enough space available so the SQL Server can recover the database during startup
2. Your Database might be corrupted
3. Maybe there is no enough memory
4. Possible hardware failure.
5. The Database files are held by other programs

To try to solve this problem following the next steps, but before I encourage you to make a copy of your database file, because in the process you could loss some data and there is no way to go back to the previous state.

STEP 1.- Put the database in EMERGENCY mode so you can manipulate the database

USE master
GO 

ALTER DATABASE mydb SET EMERGENCY
GO



STEP 2.- Put the database in single user mode, so nobody can interfere with the process
ALTER DATABASE mydb SET SINGLE_USER WITH ROLLBACK IMMEDIATE 
GO



STEP 3.- Try to repair the data base
DBCC CHECKDB (mydb, REPAIR_ALLOW_DATA_LOSS) 
GO



STEP 4.- Return the database to a multi user so it can be accessed
ALTER DATABASE mydb SET MULTI_USER
GO


Now you database should be ready to be used; check the logs so you can fix any problems found.

Agent xps component is turned off as part of the security configuration for this server

You are going to get this error on SQL 2005 is you are trying to create a maintenance plan; the problem is that your SQL Server Agent is not running, which menas is set to run manually, so you have to change it to start automatically, so all you have to do is follow the next simple steps:

1.- Open the SQL Server Surface Area Configuration
2.- Select the Surface Area Configuration for Services and Connections
3.- Expand the SQL Server Agent
4.- On Service, change the Startup type to Automatic
5.- Click Start button
6.- Click the OK button

Now you are ready to create your maintenance plan.



Wednesday, February 6, 2013

Android Emulator is not working

Some people think the emulator of Android is not working because it shows only the Android text.

The problem is not a problem, all you have to do is wait,because the emulator takes a long time to load the first time, several minutes, and in this time only shows 'Android' in large text.

You need to wait a couple of minutes and then you should be fine, this waiting time is going to depend on your computer processor and memory Ram.


Wednesday, January 30, 2013

How to make Android's browser load desktop instead of mobile web sites

If you want your android's device (Phone or tablet), with jellybeans, honeycomb, etc, load full web pages instead of the mobile version, do the next steps:


1. Open the browser on your device

2. In the address bar, type: about:debug then press enter

3. Open the browser's settings (the icon in the top-right corner, it looks like four horizontal lines) then selecting "Settings" from the drop-down menu

4. Select the Debug section

5. On the right side of the screen, select UAString then select Desktop as the new option

6. To exit the debug mode in the browser, press the back button in your device

7. In the browser's address bar, type again "about:debug" then click enter

Now your device is ready to display full web pages, instead of mobile ones.


Thursday, January 24, 2013

The connection to adb is down, and a severe error has occured

If you get the error in Eclipse:
"The connection to adb is down, and a severe error has occured"
When trying to debug your application in your device, that means the adb server was not initialized right, to solve this problem, do the next steps:


  1. Be sure Eclipse is not running
  2. Open the command prompt in the Android SDK platform-tools directory
  3. Type the command: adb kill-server, to stop the server
  4. Restart the server with the command: adb start-server
  5. Start Eclipse 
Now you should be able to test you app in your device

Monday, January 21, 2013

Warning: the following job steps cannot be reached with the current job step flow logic


If you get this error, I would guess that you have somehow set another step instead of the first one as the starting step in the package. 

To solve this problem:
  • Right click on the Jjob and select "Properties"
  • Click on the "Steps" option
  • Below the Job list, see the "Start step" option, verify the step showed is the first one
  • Click the Ok button so save any modifications