Home All Groups Group Topic Archive Search About

Server.CreateObject problem - ASP

Author
20 Mar 2006 7:41 PM
Bill Nguyen
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

Author
22 Mar 2006 9:11 PM
Pandurang Nayak
http://support.microsoft.com/default.aspx/kb/198432

Show quote Hide quote
"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
>
>
>
Author
24 Mar 2006 11:45 PM
Bill Nguyen
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


Show quoteHide quote
"Pandurang Nayak" <pandurangATthinkingmsDOT(nospam)com> wrote in message
news:389B10AA-DA6A-4372-B367-F6DE8B48E95F@microsoft.com...
> 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
>>
>>
>>