Showing posts with label develop. Show all posts
Showing posts with label develop. Show all posts

Monday, March 26, 2012

system.net.mail

Hello

I am trying to develop a site and am currently working on a feedback form, requiring the use of the .net.mail Class. This is just a development running on the local ASP.Net development server on my P.C.. I have an I.S.P., with several email addresses and the smtp server name. (smtp.??.com). My operating system is Windows XP home (SP2). I have read so many threads and googled, I've seen many coding versions and config versions.

To test, I use one of my email addresses for the .from and another for the To. Today over a period of a couple of hours I sent 15 messages and only 4 were delivered. Now I can't get any response although if I mis-spell my To address, my I.S.P. system administrator returns it as undelivered. I can send a message and it appears to be sent (no exception caught) but it never arrives. I can send it again and the exception shows sending failed. I really don't know how to solve this.

Should I be able to test my feedback form under the above scenario.

Any specific help would be appreciated.

Chris

(using VisualBasic)

That might be a silly question, but just to be sure: would your ISP have some kind of server-side spam filter? Depending on the way you composed your test emails, mines almost invariably were getting caught in all manners of spam filters, and if its a server side one (aka: hosted by your ISP itself), you'd have no way to notice...

shados

Thanks for that. The I.S.P. Rep that I spoke to said that they "block" all emails that don't come from Outlook, Outlook Express and a couple of other email applications. (how or why, who knows?) I suppose what I wanted to know was that nothing was wrong with my coding and 4 succeeding out of 15, I hope suggests that. After my post I had a 4 out of 4 success run. Your experience does reassure me that that is the problem.

Many thanks.

Chris

Tuesday, March 13, 2012

System.Runtime.InteropServices.COMException: Class not registered

Hello,
I'm trying to develop an ASP.NET application that uses a third-party COM
dll. I've added a reference to the dll in the web app project along with
adding a "using" directive in the code-behind (referencing the COM
namespace). Every time I try and run the application and call methods on th
e
COM object, I get the following error:
System.Runtime.InteropServices.COMException: Class not registered
I've successfully registered the dll using regsvr32 and added
the AspCompat="true" directive on the Page, but doesn't seem to help.
I'd really appreciate any suggestions on how to remedy this problem.
Thanks for your time.
DonnieAre u using VS.NET?
"Donnie" <Donnie@.discussions.microsoft.com> wrote in message
news:2A43630B-C5AE-4AC7-9656-EA496352E760@.microsoft.com...
> Hello,
> I'm trying to develop an ASP.NET application that uses a third-party COM
> dll. I've added a reference to the dll in the web app project along with
> adding a "using" directive in the code-behind (referencing the COM
> namespace). Every time I try and run the application and call methods on
the
> COM object, I get the following error:
> System.Runtime.InteropServices.COMException: Class not registered
> I've successfully registered the dll using regsvr32 and added
> the AspCompat="true" directive on the Page, but doesn't seem to help.
> I'd really appreciate any suggestions on how to remedy this problem.
> Thanks for your time.
> Donnie
>

System.Runtime.InteropServices.COMException: Class not registered

Hello,
I'm trying to develop an ASP.NET application that uses a third-party COM
dll. I've added a reference to the dll in the web app project along with
adding a "using" directive in the code-behind (referencing the COM
namespace). Every time I try and run the application and call methods on the
COM object, I get the following error:

System.Runtime.InteropServices.COMException: Class not registered

I've successfully registered the dll using regsvr32 and added
the AspCompat="true" directive on the Page, but doesn't seem to help.

I'd really appreciate any suggestions on how to remedy this problem.

Thanks for your time.

DonnieAre u using VS.NET?

"Donnie" <Donnie@.discussions.microsoft.com> wrote in message
news:2A43630B-C5AE-4AC7-9656-EA496352E760@.microsoft.com...
> Hello,
> I'm trying to develop an ASP.NET application that uses a third-party COM
> dll. I've added a reference to the dll in the web app project along with
> adding a "using" directive in the code-behind (referencing the COM
> namespace). Every time I try and run the application and call methods on
the
> COM object, I get the following error:
> System.Runtime.InteropServices.COMException: Class not registered
> I've successfully registered the dll using regsvr32 and added
> the AspCompat="true" directive on the Page, but doesn't seem to help.
> I'd really appreciate any suggestions on how to remedy this problem.
> Thanks for your time.
> Donnie