I have the following ASP code on a simple "experiment al" page:
<%
Set myMail=CreateOb ject("CDO.Messa ge")
myMail.Subject= "Sending email with CDO"
myMail.From="f. ..@blah.com"
myMail.To="t... @blah.com"
myMail.CreateMH TMLBody "http://cic/targeted/results.asp"
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/sendusing")=2
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/smtpserver")="1 72.30.8.51"
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/smtpserverport" )=25
mymail.configur ation.fields.up date
myMail.Send
set myMail=nothing
%>
When attempting to hit this page, I receive:
CDO.Message.1 error '80070005'
Access is denied.
/experiments/emailtest.asp, line 6
I ran LogMon, and found the following error whenever I hit the page:
4:49:37 PM w3wp.exe:2992 OPEN D:\CIC ACCESS DENIED NT
AUTHORITY
\NETWORK SERVICE
I've tried adding the network service user to D:\CIC, but the same
error persists.
Any ideas? 4 3406
"Nate" <na**********@w estecnow.comwro te in message
news:11******** *************@q 3g2000prf.googl egroups.com...
I have the following ASP code on a simple "experiment al" page:
<%
Set myMail=CreateOb ject("CDO.Messa ge")
myMail.Subject= "Sending email with CDO"
myMail.From="f. ..@blah.com"
myMail.To="t... @blah.com"
myMail.CreateMH TMLBody "http://cic/targeted/results.asp"
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/sendusing")=2
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/smtpserver")="1 72.30.8.51"
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/smtpserverport" )=25
mymail.configur ation.fields.up date
myMail.Send
set myMail=nothing
%>
When attempting to hit this page, I receive:
CDO.Message.1 error '80070005'
Access is denied.
/experiments/emailtest.asp, line 6
I ran LogMon, and found the following error whenever I hit the page:
4:49:37 PM w3wp.exe:2992 OPEN D:\CIC ACCESS DENIED NT
AUTHORITY
\NETWORK SERVICE
I've tried adding the network service user to D:\CIC, but the same
error persists.
Did you grant read/write access?
What is D:\CIC anyway, a folder or root of the website?
Is this code running on CIC?
If you visit http://cic/targeted/results.asp with a browser does it work?
Do you have ASP debugging turned on?
Having asked that lot, CreateMHTMLBody isn't a safe thing to using in ASP.
Ultimately it will use the WinINet API which is designed to be used by a
client. If you have many such requests running at the same time all sorts
of undesirable things can happen.
--
Anthony Jones - MVP ASP/ASP.NET
On Oct 24, 4:32 pm, "Anthony Jones" <A...@yadayaday ada.comwrote:
"Nate" <nate.borl...@w estecnow.comwro te in message
news:11******** *************@q 3g2000prf.googl egroups.com...
I have the following ASP code on a simple "experiment al" page:
<%
Set myMail=CreateOb ject("CDO.Messa ge")
myMail.Subject= "Sending email with CDO"
myMail.From="f. ..@blah.com"
myMail.To="t... @blah.com"
myMail.CreateMH TMLBody "http://cic/targeted/results.asp"
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/sendusing")=2
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/smtpserver")="1 72.30.8.51"
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/smtpserverport" )=25
mymail.configur ation.fields.up date
myMail.Send
set myMail=nothing
%>
When attempting to hit this page, I receive:
CDO.Message.1 error '80070005'
Access is denied.
/experiments/emailtest.asp, line 6
I ran LogMon, and found the following error whenever I hit the page:
4:49:37 PM w3wp.exe:2992 OPEN D:\CIC ACCESS DENIED NT
AUTHORITY
\NETWORK SERVICE
I've tried adding the network service user to D:\CIC, but the same
error persists.
Did you grant read/write access?
What is D:\CIC anyway, a folder or root of the website?
Is this code running on CIC?
If you visithttp://cic/targeted/results.aspwith a browser does it work?
Do you have ASP debugging turned on?
Having asked that lot, CreateMHTMLBody isn't a safe thing to using in ASP.
Ultimately it will use the WinINet API which is designed to be used by a
client. If you have many such requests running at the same time all sorts
of undesirable things can happen.
--
Anthony Jones - MVP ASP/ASP.NET- Hide quoted text -
- Show quoted text -
Thanks for the response, Anthony.
Read and write access (even full access) was tested and failed. D:\CIC
is the root of the site on the server. Yes, the code is running on
CIC. Yes, the page works properly. I may not have had ASP debugging
turned on, but will try again.
On Oct 24, 6:48 pm, Nate <nate.borl...@w estecnow.comwro te:
On Oct 24, 4:32 pm, "Anthony Jones" <A...@yadayaday ada.comwrote:
"Nate" <nate.borl...@w estecnow.comwro te in message
news:11******** *************@q 3g2000prf.googl egroups.com...
I have the following ASP code on a simple "experiment al" page:
<%
Set myMail=CreateOb ject("CDO.Messa ge")
myMail.Subject= "Sending email with CDO"
myMail.From="f. ..@blah.com"
myMail.To="t... @blah.com"
myMail.CreateMH TMLBody "http://cic/targeted/results.asp"
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/sendusing")=2
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/smtpserver")="1 72.30.8.51"
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/smtpserverport" )=25
mymail.configur ation.fields.up date
myMail.Send
set myMail=nothing
%>
When attempting to hit this page, I receive:
CDO.Message.1 error '80070005'
Access is denied.
/experiments/emailtest.asp, line 6
I ran LogMon, and found the following error whenever I hit the page:
4:49:37 PM w3wp.exe:2992 OPEN D:\CIC ACCESS DENIED NT
AUTHORITY
\NETWORK SERVICE
I've tried adding the network service user to D:\CIC, but the same
error persists.
Did you grant read/write access?
What is D:\CIC anyway, a folder or root of the website?
Is this code running on CIC?
If you visithttp://cic/targeted/results.aspwith a browser does it work?
Do you have ASP debugging turned on?
Having asked that lot, CreateMHTMLBody isn't a safe thing to using in ASP.
Ultimately it will use the WinINet API which is designed to be used by a
client. If you have many such requests running at the same time all sorts
of undesirable things can happen.
--
Anthony Jones - MVP ASP/ASP.NET- Hide quoted text -
- Show quoted text -
Thanks for the response, Anthony.
Read and write access (even full access) was tested and failed. D:\CIC
is the root of the site on the server. Yes, the code is running on
CIC. Yes, the page works properly. I may not have had ASP debugging
turned on, but will try again.- Hide quoted text -
- Show quoted text -
Yes, debugged was enabled.
"Nate" <na**********@w estecnow.comwro te in message
news:11******** **************@ e9g2000prf.goog legroups.com...
On Oct 24, 6:48 pm, Nate <nate.borl...@w estecnow.comwro te:
On Oct 24, 4:32 pm, "Anthony Jones" <A...@yadayaday ada.comwrote:
"Nate" <nate.borl...@w estecnow.comwro te in message
>news:11******* **************@ q3g2000prf.goog legroups.com...
I have the following ASP code on a simple "experiment al" page:
<%
Set myMail=CreateOb ject("CDO.Messa ge")
myMail.Subject= "Sending email with CDO"
myMail.From="f. ..@blah.com"
myMail.To="t... @blah.com"
myMail.CreateMH TMLBody "http://cic/targeted/results.asp"
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/sendusing")=2
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/smtpserver")="1 72.30.8.51"
mymail.configur ation.fields.it em("http://schemas.microso ft.com/cdo/
configuration/smtpserverport" )=25
mymail.configur ation.fields.up date
myMail.Send
set myMail=nothing
%>
When attempting to hit this page, I receive:
CDO.Message.1 error '80070005'
Access is denied.
/experiments/emailtest.asp, line 6
I ran LogMon, and found the following error whenever I hit the page:
4:49:37 PM w3wp.exe:2992 OPEN D:\CIC ACCESS DENIED NT
AUTHORITY
\NETWORK SERVICE
I've tried adding the network service user to D:\CIC, but the same
error persists.
Did you grant read/write access?
What is D:\CIC anyway, a folder or root of the website?
Is this code running on CIC?
If you visithttp://cic/targeted/results.aspwith a browser does it work?
Do you have ASP debugging turned on?
Having asked that lot, CreateMHTMLBody isn't a safe thing to using in
ASP.
Ultimately it will use the WinINet API which is designed to be used by
a
client. If you have many such requests running at the same time all
sorts
of undesirable things can happen.
--
Anthony Jones - MVP ASP/ASP.NET- Hide quoted text -
- Show quoted text -
Thanks for the response, Anthony.
Read and write access (even full access) was tested and failed. D:\CIC
is the root of the site on the server. Yes, the code is running on
CIC. Yes, the page works properly. I may not have had ASP debugging
turned on, but will try again.- Hide quoted text -
- Show quoted text -
Yes, debugged was enabled.
When debugging is turned on ASP will only use one worker thread to handle
requests. If your ASP code performs an action which generates another
request into the site that request will queue waiting for you ASP code to
complete. However your ASP code won't complete until its received a
response from the second request. Its a deadlock. Eventually the second
request will timeout and you'd get an error, Access denied is not what I
would expect to be the result though.
Do you have anonymous access turned on?
Note having ASP code generate requests to other ASP pages running in the
same application can also be a source of problems when used heavily. You
can end up with deadlock even without debugging turned on.
--
Anthony Jones - MVP ASP/ASP.NET This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: AIM |
last post by:
Error in msvc in building inheritance.obj to build hello.pyd
Hello,
I am trying to build the boost 1.31.0 sample extension hello.cpp.
I can not compile the file inheritance.cpp because the two
files containing some templates: adjacency_list.hpp and mem_fn.hpp can
not compile.
Does anyone have any solutions?
|
by: Gregory |
last post by:
Hi,
One of the disadvantages of using error handling with error codes
instead of exception handling is that error codes retuned from a
function can be forgotten to check thus leading to
unexpected run-time problems. Exceptions on the other hand can not be
simply ignored.
In order to solve this error codes problem I suggest using error...
|
by: deko |
last post by:
I use this convention frequently:
Exit_Here:
Exit Sub
HandleErr:
Select Case Err.Number
Case 3163
Resume Next
Case 3376
Resume Next
|
by: p |
last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also
have Crystal 9 pro on my development machine. The web app runs fine on my
dev machine but am having problems deploying. I created the websetup and
built the MSI, have the bundled version. Copied to webserver and ran
Websetup.msi. Said I had to remove old version,...
|
by: Manuel |
last post by:
I'm trying to compile glut 3.7.6 (dowbloaded from official site)using
devc++.
So I've imported the glut32.dsp into devc++, included manually some
headers, and start to compile.
It return a very strange error. In your experience, where I should
looking to find the real error? Surely the sintax of glut is correct...
gcc.exe -c...
| |
by: bazzer |
last post by:
hey,
im trying to access a microsoft access database from an ASP.NET web
application in visual basic 2003.NET. i get the following error when i
try running it:
Server Error in '/CinemaBookingSystem' Application.
--------------------------------------------------------------------------------
ERROR General error
Unable to open registry...
|
by: developer |
last post by:
Hi All
I have made a .NET project.
the files included are borland c++ files that i am migrate to VC++ .NET
I am using Microsoft Visual C++ .NET 2003.
the compilation goes through properly, but throws a load of linker
errors
|
by: mchuc7719 |
last post by:
Hello,
I have a Vb.Net 2005 ClassLibrary, when I try to compile using MSBee, only
get errors.
Before I to run the command line, I open in notepad the .vbproj and I was
add the next line:
Target CoreCompile:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Vbc.exe
|
by: hyperpau |
last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding.
I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com).
Ergo, I will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge.
I would be using layman's...
|
by: hyperpau |
last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding.
I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com).
Ergo, I will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge.
I would be using layman's...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |