25
Answers

C#.net error: 80040154 in windows 7

Vijay Yadav

Vijay Yadav

13y
16.5k
1
Hi,
I am making an application in which on click of a button web camera takes picture, it is working fine with windows service Pack-3 but when i run the same application in windows7 it throws error on click of a button like below

Retrieving the COM class factory for component with CLSID {4EC4272E-2E6F-4EEB-91D0-EBC4D58E8DEE} failed due to the following error: 80040154

Please Help!
Answers (25)
0
Bhabani Prasad

Bhabani Prasad

NA 1.4k 36.2k 10y
You just include the exception details as it will be easier to find the detailed error
0
Rajagopalan R V

Rajagopalan R V

NA 422 33.2k 10y
Sorry Can't Get Meaning For Your Above Post Please Can You Explain it Clearly
0
Jasmine Nagrecha

Jasmine Nagrecha

NA 180 4.2k 10y
i need to keep ssl=false, and defaultcredentials is =false. ideally, these settings should help. but i guess its something related to machine configuration
0
Rajagopalan R V

Rajagopalan R V

NA 422 33.2k 10y
Hi.,

Had You Allow Permissions in IIS

If Not Check With Below Method

Go to IIS
IIS---->
Default SMTP Virtual Server (Right Click) ----> Properties ----> Access ----> Relay ----> All Except the List Below (Radio Button) Select that And Click Ok And then Execute Your Code

If U Got Solution With this Mark it Has Accepted

Or Else Please Post The Error

With Regards..,

R.V.Rajagopalan
0
Yadlapalli Srikanth

Yadlapalli Srikanth

NA 238 51.6k 10y
Please share the sample code and also do the following settings

smtpClient.UseDefaultCredentials = false;
smtpClient.EnableSsl = true;
Next Recommended Forum