Ask a Question related to ASP.NET Security, Design and Development.
-
Steve Y. #1
CDOSYS.dll System.Web.Mail
I am trying to send mail but I am getting an access is
denied message. The cdosys.dll is in the C:\Winnt\system32
folder. Should I be granting access to this folder or to
the dll to the ASPNET user account?
Anyone know the proper security thing to do here?
Thanks,
Steve
Steve Y. Guest
-
Problem with CDOSYS
I am having problems when running the following code, I have tried getting support from my ISP but they haven't a clue... 'Creation of the Email... -
CDOSYS vs CDONTS
hello i have resently installed win 2003 web. me and my clients are used to use CDONTS and have meny asp pages configured fore it BUT 2003 uses... -
apsnet_wp.exe non-default identity vs. System.Web.Mail.SmtpMail
Perhaps compare the group and security restrictions on the account you are trying to use. Maybe it is not allowed to run as a service (or something... -
CDOSYS and smarthost
I'm trying to send an email from my ASP page using CDO.Message and CDO.Configuration. I couldn't get this to work for ages and all my emails ended... -
How do I bypass the ISP mail system
You'll need an smtp server. A POP3 server if you want to read in a mail program. MS program for this only runs on server. You'll also need a... -
Marcus #2
Re: CDOSYS.dll System.Web.Mail
Hi Steve,
Did you manage to get a resolution to this? I'm having exactly the
same problem and it's driving me mad. The application works in VB.NET
(Windows App) but refuses to work in ASP.NET. It must be some sort of
permissions issue but I've researched this all day and drawn a blank.
Any help appreciated!!
Marcus.
"Steve Y." <syaworsky@mpi.mb.ca> wrote in message news:<05de01c37268$213c48b0$a301280a@phx.gbl>...> I am trying to send mail but I am getting an access is
> denied message. The cdosys.dll is in the C:\Winnt\system32
> folder. Should I be granting access to this folder or to
> the dll to the ASPNET user account?
>
> Anyone know the proper security thing to do here?
>
> Thanks,
> SteveMarcus Guest
-
Steve Y. #3
Re: CDOSYS.dll System.Web.Mail
No. I am hoping Microsoft support might drop a few tidbits
of information and help out. What really bothers me is
that I can get all this stuff to work easily in asp
classic but asp.net is not very clear on what it needs
permissions to! Yes, it is a permissions error the
question is how to solve it without making the aspnet
account an administrator.exactly the>-----Original Message-----
>Hi Steve,
>
>Did you manage to get a resolution to this? I'm havingworks in VB.NET>same problem and it's driving me mad. The applicationsome sort of>(Windows App) but refuses to work in ASP.NET. It must bedrawn a blank.>permissions issue but I've researched this all day andnews:<05de01c37268$213c48b0$a301280a@phx.gbl>...>
>Any help appreciated!!
>
>Marcus.
>
>"Steve Y." <syaworsky@mpi.mb.ca> wrote in messageC:\Winnt\system32>> I am trying to send mail but I am getting an access is
>> denied message. The cdosys.dll is in theto>> folder. Should I be granting access to this folder or>.>> the dll to the ASPNET user account?
>>
>> Anyone know the proper security thing to do here?
>>
>> Thanks,
>> Steve
>Steve Y. Guest
-
Marcus Wade #4
Re: CDOSYS.dll System.Web.Mail
Thanks,
Microsoft appear to say that this kind of functionality is no longer
supported. Have a look at this....
[url]http://support.microsoft.com/default.aspx?scid=http://support.microsoft[/url].
com:80/support/kb/articles/q237/9/13.asp&NoWebContent=1
I'll let you know if I get anywhere with it...
Marcus.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Marcus Wade Guest
-
Steve Yaworsky #5
Re: CDOSYS.dll System.Web.Mail
I don't think that article is related. I am using the built in
System.Web.Mail stuff which accesses CDOSYS.dll behind the scenes. I
know for sure the System.Web.Mail works on an IIS box but it is after it
has been locked down, (using the IIS lockdown tool) that it seems to
stop working. I just have to figure out what permissions to turn on so
it works again without comprimising the web server. I will definitely
let you know if I figure it out.
Thanks,
Steve
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Steve Yaworsky Guest
-
Eric #6
Re: CDOSYS.dll System.Web.Mail
I hope someone gives some insight into this problem because I've tried for
the past month to resolve it. I even have multiple machines to try it on.
Only one machine works... The one without IIS lockdown ran on it. I've
changed all kinds of permissions throught the machine and still don't have
it. I will not make ASPNET an administrator. I will leave it broke forever
first.
"Steve Y." <syaworsky@mpi.mb.ca> wrote in message
news:05de01c37268$213c48b0$a301280a@phx.gbl...> I am trying to send mail but I am getting an access is
> denied message. The cdosys.dll is in the C:\Winnt\system32
> folder. Should I be granting access to this folder or to
> the dll to the ASPNET user account?
>
> Anyone know the proper security thing to do here?
>
> Thanks,
> Steve
Eric Guest
-
Steve Y. #7
Re: CDOSYS.dll System.Web.Mail
Just for test purposes did you try making the ASPNET user
an administrator to see if it works or change the
machine.config to user the "System" account over
the "machine" account to see if it works which would
isolate the issue? Let me know.
Steve
because I've tried for>-----Original Message-----
>I hope someone gives some insight into this problemmachines to try it on.>the past month to resolve it. I even have multipleran on it. I've>Only one machine works... The one without IIS lockdownstill don't have>changed all kinds of permissions throught the machine andleave it broke forever>it. I will not make ASPNET an administrator. I willC:\Winnt\system32>first.
>
>
>"Steve Y." <syaworsky@mpi.mb.ca> wrote in message
>news:05de01c37268$213c48b0$a301280a@phx.gbl...>> I am trying to send mail but I am getting an access is
>> denied message. The cdosys.dll is in the>>> folder. Should I be granting access to this folder or to
>> the dll to the ASPNET user account?
>>
>> Anyone know the proper security thing to do here?
>>
>> Thanks,
>> Steve
>
>.
>Steve Y. Guest
-
Eric #8
Re: CDOSYS.dll System.Web.Mail
Well first let me retract some of my last letter. All other test machines
work, even those that have IIS lockdown run on them. Every machine works
except my production server - the page (at the moment) can't be reached
unless you type in the URL directly - so nobody gets upset at the page. I
can't change the machine.config file on the production server like that.
The other test web servers are using "machine" as opposed to "system". I'm
sure it would work if I changed it on the production machine. I wish
someone from microsoft would comment on this. I'm sure it could be fixed
fairly easy with some permission change somewhere! I just can't find where!
I have been looking through newgroups and searching the internet, but still
no damn answers.
"Steve Y." <syaworsky@mpi.mb.ca> wrote in message
news:082d01c3794d$093cd450$a001280a@phx.gbl...> Just for test purposes did you try making the ASPNET user
> an administrator to see if it works or change the
> machine.config to user the "System" account over
> the "machine" account to see if it works which would
> isolate the issue? Let me know.
>
> Steve
>
>> because I've tried for> >-----Original Message-----
> >I hope someone gives some insight into this problem> machines to try it on.> >the past month to resolve it. I even have multiple> ran on it. I've> >Only one machine works... The one without IIS lockdown> still don't have> >changed all kinds of permissions throught the machine and> leave it broke forever> >it. I will not make ASPNET an administrator. I will> C:\Winnt\system32> >first.
> >
> >
> >"Steve Y." <syaworsky@mpi.mb.ca> wrote in message
> >news:05de01c37268$213c48b0$a301280a@phx.gbl...> >> I am trying to send mail but I am getting an access is
> >> denied message. The cdosys.dll is in the> >> >> folder. Should I be granting access to this folder or to
> >> the dll to the ASPNET user account?
> >>
> >> Anyone know the proper security thing to do here?
> >>
> >> Thanks,
> >> Steve
> >
> >.
> >
Eric Guest
-
Eric #9
Re: CDOSYS.dll System.Web.Mail
Let elaborate even a little more since this is the only newsgroup to have
ANY replies at all. My code is also using a remote SMTP server to send the
mail through (which I did specify in code). All test machines work (5).
I'm not using the local machines smtp service for this. Well whatever, I
hope someone who knows will post something here.
"Eric" <mcswaine@missouri.edu> wrote in message
news:OlkIFCGfDHA.892@TK2MSFTNGP12.phx.gbl...I'm> Well first let me retract some of my last letter. All other test machines
> work, even those that have IIS lockdown run on them. Every machine works
> except my production server - the page (at the moment) can't be reached
> unless you type in the URL directly - so nobody gets upset at the page. I
> can't change the machine.config file on the production server like that.
> The other test web servers are using "machine" as opposed to "system".where!> sure it would work if I changed it on the production machine. I wish
> someone from microsoft would comment on this. I'm sure it could be fixed
> fairly easy with some permission change somewhere! I just can't findstill> I have been looking through newgroups and searching the internet, but> no damn answers.
>
>
>
> "Steve Y." <syaworsky@mpi.mb.ca> wrote in message
> news:082d01c3794d$093cd450$a001280a@phx.gbl...>> > Just for test purposes did you try making the ASPNET user
> > an administrator to see if it works or change the
> > machine.config to user the "System" account over
> > the "machine" account to see if it works which would
> > isolate the issue? Let me know.
> >
> > Steve
> >
> >> > because I've tried for> > >-----Original Message-----
> > >I hope someone gives some insight into this problem> > machines to try it on.> > >the past month to resolve it. I even have multiple> > ran on it. I've> > >Only one machine works... The one without IIS lockdown> > still don't have> > >changed all kinds of permissions throught the machine and> > leave it broke forever> > >it. I will not make ASPNET an administrator. I will> > C:\Winnt\system32> > >first.
> > >
> > >
> > >"Steve Y." <syaworsky@mpi.mb.ca> wrote in message
> > >news:05de01c37268$213c48b0$a301280a@phx.gbl...
> > >> I am trying to send mail but I am getting an access is
> > >> denied message. The cdosys.dll is in the> > >> folder. Should I be granting access to this folder or to
> > >> the dll to the ASPNET user account?
> > >>
> > >> Anyone know the proper security thing to do here?
> > >>
> > >> Thanks,
> > >> Steve
> > >
> > >
> > >.
> > >
>
Eric Guest



Reply With Quote

