Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Server.CreateObject problem - ASP

Reply
Thread Tools

Server.CreateObject problem - ASP

 
 
Bill Nguyen
Guest
Posts: n/a
 
      03-20-2006
Win 2003
IIS 6.0

My users got this error message trying to run a simple ASP application
(sending email using CDO). I have no problem ( with Admin permission):


Server object error 'ASP 0178 : 80070005'

Server.CreateObject Access Error

/gsic_completion/lib/utility.ASP, line 75

The call to Server.CreateObject failed while checking permissions. Access is
denied to this object.



Tracing to the app, line# 75 shown below. Please help to set the
permission/config right.



Thanks



Bill

Dim objConfig ' As CDO.Configuration
Dim objMessage ' As CDO.Message
Dim Fields ' As ADODB.Fields

line 75 -> Set objConfig = Server.CreateObject("CDO.Configuration")

Set Fields = objConfig.Fields
With Fields .Item(cdoSendUsingMethod) = cdoSendUsingPort '
..Item(cdoSMTPServer) = "exchangeserver"
..Item(cdoSMTPServerPort) = 25
..Item(cdoSMTPConnectionTimeout) = 10
..Item(cdoSMTPAuthenticate) = cdoBasic
..Item(cdoSendUserName) = "web"
..Item(cdoSendPassword) = "net"
..Update

End With


 
Reply With Quote
 
 
 
 
Pandurang Nayak
Guest
Posts: n/a
 
      03-22-2006
http://support.microsoft.com/default.aspx/kb/198432

--
blog: www.thinkingMS.com/pandurang


"Bill Nguyen" wrote:

> Win 2003
> IIS 6.0
>
> My users got this error message trying to run a simple ASP application
> (sending email using CDO). I have no problem ( with Admin permission):
>
>
> Server object error 'ASP 0178 : 80070005'
>
> Server.CreateObject Access Error
>
> /gsic_completion/lib/utility.ASP, line 75
>
> The call to Server.CreateObject failed while checking permissions. Access is
> denied to this object.
>
>
>
> Tracing to the app, line# 75 shown below. Please help to set the
> permission/config right.
>
>
>
> Thanks
>
>
>
> Bill
>
> Dim objConfig ' As CDO.Configuration
> Dim objMessage ' As CDO.Message
> Dim Fields ' As ADODB.Fields
>
> line 75 -> Set objConfig = Server.CreateObject("CDO.Configuration")
>
> Set Fields = objConfig.Fields
> With Fields .Item(cdoSendUsingMethod) = cdoSendUsingPort '
> ..Item(cdoSMTPServer) = "exchangeserver"
> ..Item(cdoSMTPServerPort) = 25
> ..Item(cdoSMTPConnectionTimeout) = 10
> ..Item(cdoSMTPAuthenticate) = cdoBasic
> ..Item(cdoSendUserName) = "web"
> ..Item(cdoSendPassword) = "net"
> ..Update
>
> End With
>
>
>

 
Reply With Quote
 
 
 
 
Bill Nguyen
Guest
Posts: n/a
 
      03-24-2006
Thanks but it won't work!
This err is specific to CDO. I think it has something to do with IIS
permissions than with anything else.

Bill


"Pandurang Nayak" <pandurangATthinkingmsDOT(nospam)com> wrote in message
news:389B10AA-DA6A-4372-B367-...
> http://support.microsoft.com/default.aspx/kb/198432
>
> --
> blog: www.thinkingMS.com/pandurang
>
>
> "Bill Nguyen" wrote:
>
>> Win 2003
>> IIS 6.0
>>
>> My users got this error message trying to run a simple ASP application
>> (sending email using CDO). I have no problem ( with Admin permission):
>>
>>
>> Server object error 'ASP 0178 : 80070005'
>>
>> Server.CreateObject Access Error
>>
>> /gsic_completion/lib/utility.ASP, line 75
>>
>> The call to Server.CreateObject failed while checking permissions. Access
>> is
>> denied to this object.
>>
>>
>>
>> Tracing to the app, line# 75 shown below. Please help to set the
>> permission/config right.
>>
>>
>>
>> Thanks
>>
>>
>>
>> Bill
>>
>> Dim objConfig ' As CDO.Configuration
>> Dim objMessage ' As CDO.Message
>> Dim Fields ' As ADODB.Fields
>>
>> line 75 -> Set objConfig = Server.CreateObject("CDO.Configuration")
>>
>> Set Fields = objConfig.Fields
>> With Fields .Item(cdoSendUsingMethod) = cdoSendUsingPort '
>> ..Item(cdoSMTPServer) = "exchangeserver"
>> ..Item(cdoSMTPServerPort) = 25
>> ..Item(cdoSMTPConnectionTimeout) = 10
>> ..Item(cdoSMTPAuthenticate) = cdoBasic
>> ..Item(cdoSendUserName) = "web"
>> ..Item(cdoSendPassword) = "net"
>> ..Update
>>
>> End With
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
global filter to redirect asp (old asp!) pages on asp.net site Daves ASP .Net 2 05-31-2006 08:33 AM
2.0: asp:Menu, asp:XmlDataSource, asp:PlaceHolder R.A.M. ASP .Net 1 03-29-2006 07:55 AM
[ASP.NET1.1]Should I kill the ASP.NET worker process after recompilingmy ASP.NET webservice? Andrea Raimondi ASP .Net 1 02-06-2006 08:10 AM
ASP.Net cookie -> ASP -> ASP.Net Ben ASP .Net 3 05-28-2004 03:35 PM
LOOP through an ASP form's pages (not ASP.NET - ASP classic) David A. Beck ASP General 10 04-13-2004 05:38 PM



Advertisments