473,785 Members | 2,209 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server.CreateOb ject Access Error

I am trying to invoke the following line of code within
my ASP:

Set oApp = Server.CreateOb ject("Word.Appl ication")
This results in the following error:
ASP 0178 Server.CreateOb ject Access Error
The call to the Server.CreateOb ject failed while checking
permissions..

error code = -2147024891

Has anyone have any ideas why this is happening??

I have tried changing the file permissions on
Msvbvm60.dll and changing the security settings
within "Dcomcnfg". .. although i have had no luck.

any help would be appreciated

thanks
Davinder
da******@gujral .co.uk

Jul 19 '05 #1
2 7345
This may be a longshot, but try running this script on the server:

<%@ Language=VBScri pt %>
<%
Set WebServObj = GetObject("IIS://LocalHost/W3svc")
WebServObj.Put "AspAllowOutOfP rocComponents", True
WebServObj.SetI nfo
%>
"Davinder" <da******@gujra l.co.uk> wrote in message
news:0c******** *************** *****@phx.gbl.. .
I am trying to invoke the following line of code within
my ASP:

Set oApp = Server.CreateOb ject("Word.Appl ication")
This results in the following error:
ASP 0178 Server.CreateOb ject Access Error
The call to the Server.CreateOb ject failed while checking
permissions..

error code = -2147024891

Has anyone have any ideas why this is happening??

I have tried changing the file permissions on
Msvbvm60.dll and changing the security settings
within "Dcomcnfg". .. although i have had no luck.

any help would be appreciated

thanks
Davinder
da******@gujral .co.uk

Jul 19 '05 #2
www.aspfaq.com/5003

Ray at work

"Davinder" <da******@gujra l.co.uk> wrote in message
news:0c******** *************** *****@phx.gbl.. .
I am trying to invoke the following line of code within
my ASP:

Set oApp = Server.CreateOb ject("Word.Appl ication")
This results in the following error:
ASP 0178 Server.CreateOb ject Access Error
The call to the Server.CreateOb ject failed while checking
permissions..

error code = -2147024891

Has anyone have any ideas why this is happening??

I have tried changing the file permissions on
Msvbvm60.dll and changing the security settings
within "Dcomcnfg". .. although i have had no luck.

any help would be appreciated

thanks
Davinder
da******@gujral .co.uk

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5636
by: Jason Burr | last post by:
I keep getting an Access is denied error using msxml4.dll I have seen a number of posts on other sites mention it and say they fixed it but not one says how they did. Here is the code that I am trying to execute (in jscript). var objSrvHTTP; var objXMLSend; var objXMLReceive; objSrvHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0");
1
1804
by: Simple | last post by:
I have a VB Script that I call from my ASP page. One of the first things it does is: 'Launch Access Server.CreateObject("Access.Application") 'Open DB 'Preview Report This works fine on IIS 5.x, on Windows XP. But when I try this on Windows 2003 (with the latest IIS that ships with it), it does not work. I can see in the IIS Log that the Server.CreateObject failed.
12
2072
by: karen | last post by:
Hi all : this is going to be a long post. So i apologize in advance :) i am converting a java program in VB right now. I am a java programmer by trade. so i am no expert in this department. I have written the following three class: 1.icoCORE_test 2.icoMINDB_test
4
7282
by: Bill Nguyen | last post by:
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
2
5423
by: A.Dagostino | last post by:
Hi, I try to Use Excel.Application Library on an ASP page like this Server.CreateObject("Excel.Application") i get this error: ASP error '800a01b0' File name or class name not found during Automation operation:
2
2884
by: javelin | last post by:
I'm studying "Visual Basic Developer's Guid to ASP & IIS", and I am following instructions an pp 72-75. I am creating a WebClass, and enter code as instructed, and it all is entered correctly. When I try and run, I get the folowing error: "The call to Server.CreateObject failed while checking permissions. Access is denied to this object." I've not compiled this, but am following instructions to just run the
1
4869
by: David Di Donato | last post by:
hi i have a big problem. i have an asp file with the following source code.... ****** Set r_ = Server.CreateObject ("Access.Application.10") s1 = "DoAnything()" with r_
0
1835
by: quintesv | last post by:
hi all, Running VS.2003 , framework 1.1. I have a COM object written in Delphi which im trying to call through ASP.NET. The COM object connects to a folder on another machine and opens a connection to a foxpro database in that folder. I have a problem with even accessing that path through SYSTEM.IO.File.EXists and Peter Bromberg suggested
7
10555
by: STUPIDFORUM | last post by:
ADODB.Recordset "The connection cannot be used to perform this operation." "Microsoft Access Driver" ERROR 0X800A0E7D OLE exception from "ADODB.Recordset": The connection cannot be used to perform this operation. It is either closed or invalid in this context. Win32::OLE(0.1707) error 0x800a0e7d in METHOD/PROPERTYGET "Open" !stupid registrations! !STUPID FORUMS! STUPID MICROSOFT !NOTHING WORKING!
0
9646
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9483
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10346
Oralloy
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10096
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9956
tracyyun
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8982
agi2029
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2887
bsmnconsultancy
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.