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

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
 
D

Dmitriy Lapshin [C# / .NET MVP]

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).
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top