Quantcast
Viewing all articles
Browse latest Browse all 12963

exe called in SP

Hi,

I have an exe that is been called from an SP using

EXEC master..xp_cmdshell  m_Command.exe.

when i execute this command Shell on my server that is a SQl Server 2005 Ent x64 machine

NULL

Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format.

File name: 'Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483fxxxxxxx342'

   at XXX.DataLayer.DynamicTierDAO.GetXXXMessage(Int32 PersonID, String xxxMessageCode, String oracleConnectionString)

   at XXXTierUpdate.Program.GetXXXMessage(Int32 PersonID, String XXXMessageCode)

   at XXXXTierUpdate.Program.Main(String[] args)

NULL

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

NULL

NULL

 But if I execute the same exe in a SQl Server 2005 Ent x32 machine I get the result set as

 2~  58~  1657~ 88343~   2~  82~  1657~124343~   2~ 106~  1657~160343~~~TIER VALIDITY - 19NOV2013

Please let me know if you have come across such issue, and how can it be resolved.


Viewing all articles
Browse latest Browse all 12963

Trending Articles