ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » IIS6.0 & Win Server 2003 configuration issue

Post new topic  Reply to topic
 IIS6.0 & Win Server 2003 configuration issue « View previous topic :: View next topic » 
Author Message
satishpkumarin
PostPosted: Fri Feb 19, 2010 7:11 am    Post subject: IIS6.0 & Win Server 2003 configuration issue Reply with quote

Newbie

Joined: 19 Feb 2010
Posts: 6

Hi All,
I am very very new to the MQ.

I have published an web app in IIS6.0 that is installed in WindowsServer2003, which calls MQ and pushes data into it. the following error I gets.. pls help

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 2/19/2010 8:49:28 AM

Event time (UTC): 2/19/2010 2:49:28 PM

Event ID: eae3d0b4d5d247d9bfd2b3f1aecaa71e

Event sequence: 4

Event occurrence: 1

Event detail code: 0


Application information:



Trust level: Full

Application Virtual Path:


Process information:

Process ID: 4332

Process name: w3wp.exe

Account name: NT AUTHORITY\NETWORK SERVICE


Exception information:

Exception type: BadImageFormatException

Exception message: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)


Request information:



User host address:
User:

Is authenticated: False

Authentication Type:

Thread account name:

Thread information:

Thread ID: 1

Thread account name:
Is impersonating: False

Stack trace: at IBM.WMQ.MQClient.MQCONNX(String qMgrName, MQCNO& mqcno, Int32& pHconn, Int32& pCompCode, Int32& pReason)

at IBM.WMQ.MQClientConnector.MQCONNX(String qMgrName, MQConnectOptions& cno, Int32& hConn, Int32& compCode, Int32& reason)

at IBM.WMQ.MQQueueManager.Connect(String queueManagerName)


at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

at System.Web.UI.Control.OnLoad(EventArgs e)

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 19, 2010 7:32 am    Post subject: Re: IIS6.0 & Win Server 2003 configuration issue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

satishpkumarin wrote:

I have published an web app in IIS6.0 that is installed in WindowsServer2003, which calls MQ and pushes data into it. the following error I gets.. pls help


To get better help, please use the code tags when posting that sort of output onto the forum - much easier for us to read!

How does your app assemble the message & it's data? How did you arrive at that method (sample code, link, etc)? Have you reviewed that error code against your code?

Also what version of WMQ are you using? Win2003's rather old & I wonder if your WMQ is old too, and whatever you're using for reference to write the code is designed for a newer version of WMQ.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
satishpkumarin
PostPosted: Fri Feb 19, 2010 10:39 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2010
Posts: 6

Hi
The versionof MQ is 6.0.1, the reason for using windows server 2003 is, it is our production box.
The code works fine in my local box with out any error, but when i tried to push on server, then I get this error.

Exception type: BadImageFormatException
Exception message: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Stack trace: at IBM.WMQ.MQClient.MQCONNX(String qMgrName, MQCNO& mqcno, Int32& pHconn, Int32& pCompCode, Int32& pReason)
at IBM.WMQ.MQClientConnector.MQCONNX(String qMgrName, MQConnectOptions& cno, Int32& hConn, Int32& compCode, Int32& reason)
at IBM.WMQ.MQQueueManager.Connect(String queueManagerName)

The MQ client is installed on the production box too..


Last edited by satishpkumarin on Fri Feb 19, 2010 10:49 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 19, 2010 10:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

satishpkumarin wrote:
The code works fine in my local box with out any error, but when i tried to push on server, then I get this error.


I bet your local machine isn't Win2003.

When you say

satishpkumarin wrote:
The version I am using is 6.0.1


do you mean that's the version of client you're using? Or the version of WMQ on the local box that you're clienting onto? If so, is that the version on the production box? If they've not bothered to update from Win2003 I remain unconvinced (as I intimated in my previous post) they're running anything as new as WMQv6 on it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
satishpkumarin
PostPosted: Fri Feb 19, 2010 11:01 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2010
Posts: 6

IBM WebSpherne MQ Version 6.0.1, is the actual MQ, we are clienting too.

This MQ is installed on a seperate box, not the one in our discussion win 2003 server.

We have created an application that pushes the data into this queue.
this application, runs on my local box which is xp system, and client is also installed in this system. When I say the application is working fine means it is pushing data to the queue from my application in this local box.

When I moved my application onto windows server 2003(production box), which has MQ client installed too, and installation is set up correctly, but from the application I cannot sent the data and I could see the error.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 19, 2010 12:11 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

satishpkumarin wrote:
When I moved my application onto windows server 2003(production box), which has MQ client installed too, and installation is set up correctly, but from the application I cannot sent the data and I could see the error.


And you're certain it has the same version of client as your XP machine?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
satishpkumarin
PostPosted: Sat Feb 20, 2010 9:42 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2010
Posts: 6

Yes, in the windows server 2003 we have installed the same MQ client that was installed on XP box.
Back to top
View user's profile Send private message
Vitor
PostPosted: Sat Feb 20, 2010 1:08 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

satishpkumarin wrote:
Yes, in the windows server 2003 we have installed the same MQ client that was installed on XP box.


Then logically it's Win2003 that's not enjoying the experience. I can't say I'm astonished by this. If Win2003 is on the list of platforms IBM supports v6 on you could raise a PMR.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » IIS6.0 & Win Server 2003 configuration issue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.