|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Server.CreateObject problem - ASPIIS 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
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 > > > 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 >> >> >>
VB.NET Thread Garbage Collection
Property and type Windows vb.net Datagrid MDI Child Wrong Event Firing Windows Thumbnail Control Problems with Quotes in SQL queries in VB.Net Failure Sending Mail exception with VS 2005 Regular Expressions Problem Microsoft VBScript compilation error '800a0400' Where did this come from: Microsoft\CStoVBConverter\Samples\Smart Client\ |
|||||||||||||||||||||||