an attempt was made to load a program with an incorrect format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have created a com+ component using vb dot net running on win 2k.
This works fine on our test server.
Recently we bought a new server with win2k on it and installed the
application on it
Now when trying to access the component we get
"an attempt was made to load a program with an incorrect format"
Any ideas

Tia

Stu
 
Hi,

Do you have .NET Framework installed on the new machine?
I also remember COM+ components created in vb.net require special
registration, check out MSDN docs on installutil.exe and COM+ deployment
(for example the "Understanding Enterprise Services (COM+) in .NET"
technical article).
 
Hi,

Yes we do have the dot net framework installed
With the com+ we call regsvcs to register it

Dmitriy Lapshin said:
Hi,

Do you have .NET Framework installed on the new machine?
I also remember COM+ components created in vb.net require special
registration, check out MSDN docs on installutil.exe and COM+ deployment
(for example the "Understanding Enterprise Services (COM+) in .NET"
technical article).

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

Stu said:
Hi,

I have created a com+ component using vb dot net running on win 2k.
This works fine on our test server.
Recently we bought a new server with win2k on it and installed the
application on it
Now when trying to access the component we get
"an attempt was made to load a program with an incorrect format"
Any ideas

Tia

Stu
 
Back
Top