Windows Develop Bookmark and Share   
 index > Windows Forms General > Visual Studio 2008 on target framework 2.0 Issue
 

Visual Studio 2008 on target framework 2.0 Issue

We have developed a toolbar in Visual Studio 2008 with target framework 2.0.

We have taken the setup project files setup.exe and toolbar.msi.


Client machine:
OS - Windows 2000 with SP4
Windows Installer 3.1
.NET framework 2.0

While clicking on our toolbar setup.exe file it throws the following error message

"The procedure entry point HeapSetInformation could not be located in the dynamic link library KERNEL32.dll."

But when I click on .msi file, the application install successfully.

Why setup.exe not working?

Please help me out. Its very urgent need.
Sivajothi  Wednesday, July 01, 2009 10:29 AM
I have no idea, haven't seen a machine boot Windows 2000 for seven years. The error you see clearly indicates there's something wrong with kernel32.dll on that machine. Ask these kind of questions in a Technet forum.

Hans Passant.
nobugz  Wednesday, July 01, 2009 12:51 PM

Is your application working ok when installed with the msi only ?
It seems that the setup.exe is used to verify the pre requisites for theinstallation and the msi install the application itself.

nikho  Wednesday, July 01, 2009 10:52 AM
You are awfully close to the minimum operating system that's supported. HeapSetInformation requires at least Windows 2000 SP4. That's what you got, sounds like the service pack installation didn't work out well.

Hans Passant.
nobugz  Wednesday, July 01, 2009 11:01 AM

Yes it work fine with .msi file.

We have set pre-requisites to .NET framework 2.0 in setup properties in Visual Studio 2008.


Still we are getting the problem.

Hans Passant,

Do you want me to re-install the service pack 4? or anyother settings we have to do in project solution?


Please help me out.

Sivajothi  Wednesday, July 01, 2009 12:24 PM
I have no idea, haven't seen a machine boot Windows 2000 for seven years. The error you see clearly indicates there's something wrong with kernel32.dll on that machine. Ask these kind of questions in a Technet forum.

Hans Passant.
nobugz  Wednesday, July 01, 2009 12:51 PM
OK. Thanks for your quick response.
Sivajothi  Wednesday, July 01, 2009 12:57 PM

You can use google to search for other answers

Custom Search

More Threads

• Combobox binding
• ArrayList.sort()
• System::Windows::Forms::Control::Invoke();
• How to put application settings from app.config in an external file for windows app
• XP loaded twice
• Rectangle Shape
• Windows Datagrid selectedindex
• splitter cursor
• Creating Generic UserControl
• capturing DOM events in webbrowser control