Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / September 2006

Tip: Looking for answers? Try searching our database.

help! WebService does not work if it uses MFC.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Serg - 07 Sep 2006 15:28 GMT
Hi, all

I have a trouble.
I have a WebService that uses MCpp assembly that uses some MFC classes.
Everything perfectly works on my machine. But when i install web site on
clients machine it does not work.
Trying to open an aspx page i get error "could not load assembly or one of
its dependencies".
I think this is because of using MFC.
What should i do to make it work?
I have copied all MFC dlls to system32 it does not help.
I was trying to copy them to \bin folder it does not help.

Please help.
Thanks in adv.
Serg.
Peter Ritchie [C# MVP] - 07 Sep 2006 21:03 GMT
You should either create a deployment project that includes an MFC libraries
merge module, or install the MFC redistributables [1] on the computer where
the web service will be installed.  MFC 8 uses side-by-side native
assemblies, you can no longer just copy the DLLs.

[1]
http://www.microsoft.com/downloads/details.aspx?FamilyId=32BC1BEE-A3F9-4C13-9C99
-220B62A191EE&displaylang=en

Signature

Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#

> Hi, all
>
[quoted text clipped - 12 lines]
> Thanks in adv.
> Serg.
Serg - 08 Sep 2006 07:04 GMT
Thanks it works.

> You should either create a deployment project that includes an MFC
> libraries
[quoted text clipped - 23 lines]
>> Thanks in adv.
>> Serg.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.