473,396 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

asp - error of COM+ Admin SDK

i am working in asp 3.0. and using this script....
Expand|Select|Wrap|Line Numbers
  1. objCDOSYSMail.From = request("txtFrom")
  2. objCDOSYSMail.To = request("client_email")
  3. objCDOSYSMail.Cc = "adm@adm.com"
  4. objCDOSYSMail.Subject = Request("txtSubject")
  5.  
'where client_email holds 10 email addresses
but during process it generates error
Expand|Select|Wrap|Line Numbers
  1. "(0x8004020E)
  2. Cannot modify or delete an object that was added using the COM+ Admin SDK"
  3.  
and when i change script like this one, it runs successfully
Expand|Select|Wrap|Line Numbers
  1. objCDOSYSMail.From = "abc@abc.com"
  2. objCDOSYSMail.To = "xyz@xyz.com"
  3. objCDOSYSMail.Cc = "adm@adm.com"
  4. objCDOSYSMail.Subject = Request("txtSubject")
  5.  
any suggestion, or any another alternate.
many thanks :)
Jan 28 '12 #1
2 3160
Nicodemas
164 Expert 100+
What is the value passed to the server through that form parameter? Response.Write() it to the screen and post it.
Feb 2 '12 #2
thanks for reply - Nicodemas - ....after some careful study finally i managed to solve the problem.and i am sharing my mistake, for others if they have same issue like this
here is my mistake,,
i just hard code the email address of (from) in this tag
Expand|Select|Wrap|Line Numbers
  1.  <input name="txtFrom" class="Text-Box" size="35" value="abc@abc.com">
  2.  
and these three line were like this
Expand|Select|Wrap|Line Numbers
  1. objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "abcxyz@abcxyz.com"
  2. 'and
  3. objCDOSYSMail.From = request("txtfrom")
  4. objCDOSYSMail.To = request("client_email")
  5.  
and then, when i got your reply i again chk all my form values and email sending script, i finally managed to correct this problem.
so when script executed it was looking for
Expand|Select|Wrap|Line Numbers
  1. abcxyz@abcxyz.com
  2. 'in this line
  3. objCDOSYSMail.From = request("txtfrom")
  4.  
and form was sending something else, that was my mistake, then i again change this line
Expand|Select|Wrap|Line Numbers
  1.  <input name="txtFrom" class="Text-Box" size="35" value="abc@abc.com">
  2. 'to this
  3.  <input name="txtFrom" class="Text-Box" size="35" value="abcxyz@abcxyz.com">
  4.  
and script runs successfully without any errors.
-some times our little mistake is in front of our eyes but we don't know--:):):)
Feb 3 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Peter Rilling | last post by:
I created a serviced component. I use the RegistrationHelper class to install the component. After that I use the interop services to get access to the COM admin so that I can programmatically...
4
by: Shiraz | last post by:
Hi I just made an installer package for an application in .NET which also uses COM dlls. It seems to work fine on my machine but when tried it on a co-worker's machine, the application installs,...
2
by: bijoy | last post by:
I have the C# web application running on 2 servers - dev and prod. Dev runs Win2K and the prod runs Win 2K3. I noticed some strange behavior on the 2k3 machine. When I copy over all the required...
1
by: Daryl Zavier | last post by:
Hi Guys, Paradon my ignorance on this issue. I've done up a simple VB.net windows application which when executed from a client PC, is suppose to execute a DTS job on my server. When I...
0
by: phil.stollery | last post by:
Hi, I've currently setup a local user as described in: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT01.asp This users has been created on the remote...
11
by: Phil | last post by:
Hi, I've currently setup a local user as described in: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnne...
8
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am migrating my C++ COM server to managed code (C# COM server). I am using the same client to use the same COM class in COM server. The C++ version COM server works properly,...
4
by: Larry Bud | last post by:
Not sure where else to post this.... One of our developers quit and I'm taking over stuff from him. He had a COM app that would lock files on occasion (yeah, thanks for leaving that in...
6
by: nadomt | last post by:
Happy friday to all! I am getting the below error when visiting my user filter page. i have gone to line 68, but cant see what the problem is...can anyone assist? advanced THANK YOU! Error:...
1
by: NehaDas | last post by:
Hello Folks . I have a very straightforward assignment of conevrting some VB code to C++ . The VB code deals with COM+ , creating n adding COM applications using COMAdmin , COMAdminCollection n...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.