I'm trying to learn MVC and need to query a MySQL database using PDO and ORM but I can't seem to get it right, here is the code:
use system\database\ORM as ORM;
class Product extends ORM {
private $prod_data;
private $con;
private $data;
public function Product(){...
I'm using VS 2008 SP1 trying to create a SSIS package but hit a wall.
String DBName = (Dts.Variables["User::DBNames"].Value).ToString();
This code should return a string with the DB name but instead returns the variable data type System.__ComObject.
Any ideas?
AL Almeida
CIO...
The issue with this, is the onclick behavior that does not cause the result to be selected and subsequently fill in the "id" and "find" text fields.
Bellow the javascript part:
// Ajax Functions
$('document').ready(function(){
$('#loading').hide();
$('#find').click(function(){...
I'm having an issue with Ajax using a JQuery (to query MSSQL 2K8) to populate 2 text fields as you can see in the code below I have two PHP pages.
The main page that have a form with 2 text fields that need to be field with the selected result from the second page Ajax JQuery query.
I'm not...
I'm having an issue with Ajax using a JQuery to populate 2text fields as you can see in the cold below I have two PHP pages.
The main page that have a form with 2 text fields that need to be field with the selected result from the second page Ajax JQuery query.
I'm not being able to make the...
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {58968145-CF05-4341-995F-2EE093F6ABA3} failed due to the following error: 80040154.
I made a program with Visual C# 2008. There are 2 forms in the program. The program works well...
Unable to cast object of type 'System.Data.Linq.Binary' to type 'System.Byte[]'.
Another C# Linq to SQL issue this time with Image datatype conversion.
The situation is this:
I add an image to a database table to a column that is type Image using the folowing process:
/// <summary>
///...
I'm new to C# and am trying to create a WFA where I have the need to go from form 1 to Form2 and back.
My problem is coming back from form2 to form one.Bellow is the code on form2:
public partial class form2 : Form
{
public Object CallingForm;
public Form frm2...
All,
I'm able to upload a file and latter insert a description to this file in my database but when I attempt to upload the file and it's description on the same form it fails to send the file posting only the description.
Is there a way to make it possible for the same form to post the file...
I'm building this WF app and am trying to insert new data to my table (tbl_registro) but am not able to commit the insert to the database. I'm using a local database file (SQLExpress). This insert seems to stay in memory until I close the debug but it does not make into the database.
Here is the...
There is a table that matches URL to a specific company the problem lies when a company has more than one URL.
Table tbl_company
Comp_Id Comp_Name Comp_URL
10 CompA www.compa.com
20 compB www.compb.com, www.compb1.net
Initially I thought I could identify the company by the URL the user came to...
This is really odd and it seems to affect the Win32 version of PHP5.2.8 running on Windows 2003 and IIS6.
require_once('Connections/MySQLDb.php');
if (!isset($_SESSION)) {
session_start();
session_register($_compname);
session_register($_compID);
}
$MM_Company_rs_company =...
I have a SSIS package that is giving me a weird error message:
Error Message: Executed as user: DEV\SQLAgent. Microsoft (R) SQL Server Execute Package Utility Version 10.0.1600.22 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Option " /SERVER" is not valid. The...
I have a SSIS package that is giving me a weird error message:
Error Message: Executed as user: DEV\SQLAgent. Microsoft (R) SQL Server Execute Package Utility Version 10.0.1600.22 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Option " /SERVER" is not valid. The...
All,
I came across the need to clean up some databases, and I'm in need of a Stored Procedure or process that would determine which stored procedures have not been used since the last restart of the server.
Does anyone have anything like this?
AL Almeida
Senior DBA
http://www.ajmedia.net/...
I've been trying to create a query that would return me the drop and create Foreing Key constraints on every table of a database
I was able to create the Script to drop constraint but I've not been able to create the script to recreate the constaint because
I cannot find the table and column...
I've been trying to create a query that would return me the drop and create Foreing Key constraints on every table of a database
I was able to create the Script to drop constraint but I've not been able to create the script to recreate the constaint because
I cannot find the table and column...
I have a sproc that goes to all DBs in the server and makes a list of all objects, but recently it started to fail with (Error 15234) Object is stored in sysprocedures and has no space allocated directly. [SQLSTATE 42000] (Error 15234). Does anyone have seen this before? and how can it be...
Folks,
we upgraded some of our servers to SQL SP4 and noticed some increase in the CPU ussage. Does any one know how to fix this issue? did anyone else found any other issues with SP4?
AL Almeida
Senior DBA
http://www.saxotech.com/
"May all those that come behind us, find us faithfull"
I set up a Snapshot Replication and added 9 subscribers and the snapshot worked great on 7. On 2 however the Agent History shows 'No Replicated Transactions are available' even though data have been changed on the tables. It appears to be firing on schedule, but that is the message every time it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.