TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Justin Bode
NA
5
5.7k
dllnotfoundexception when trying to install c# application on a different computer
Dec 6 2010 1:40 PM
I have written a c# application using .net 3.5 that uses a dll I wrote in c. On my development computer i have been able to create an installer, install and run the application without any problems. However, when I run the same installer on another computer that does not have microsoft visual studio 2010 on it, I get a dllnotfoundexception and the application crashes. The program runs fine on all computers that have visual studio 2010 installed (At least that I have tested).
Dependency walker says that two dll's are at fault. ieshims.dll and wer.dll. Both of these dll's are not found on the target computer. This is where it starts getting weird for me. ieshims.dll and wer.dll are also not found on my development computer which runs the application just fine. I have tried running process monitor to see where the fault is but am having trouble discerning what is the actual fault that causes the program to crashes.
On the target computer I have tries reinstalling .net 3.5, installing the visual studio runtime libraries, and updating the system with the latest microsoft updates.
Both computers are windows xp service pack 3.
I am using a trial license of visual studio 2010 while my company purchases a license for me.
This is all the information I can think of that's peritent to the problem. If someone could please help me figure out why my application won't run on a computer that doesn't have visual studio 2010 installed.
Reply
Answers (
5
)
C# socket client question
how to set fax number using print object