473,769 Members | 6,305 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS and Windows Script Component Problem.

I am having a problem determining the source of a problem. I have
created a very simple (for right now) windows script component that does
not work in an asp page(win2k server btw). I tested with a vbscript file
run from the machine and I can instantiate<sp> the object and it works
like it should, but when I try to use it in an asp page I get the following:

Server object error 'ASP 0177 : 800c0005'

Server.CreateOb ject Failed

/beta/Default.asp, line 3

800c0005

I can create the same component in VB6 and it works fine in the asp
page, so the problem has to be related to windows scripting. I can also
use the built in windows script objects such as filesystemobjec t without
any problem. I have verified that permissions on the file and directory
are sufficient for the IUSR_ account. I am stumped as to where to look
for the source of this problem. Any help would be greatly appreciated.
Thanks
Tony Heflin
Jul 19 '05 #1
2 2544
You're going to have to show the code for the script component. You also
might want to try one of the component newsgroups.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Tony Heflin" <Th*****@rapair .com> wrote in message
news:On******** ******@TK2MSFTN GP12.phx.gbl...
I am having a problem determining the source of a problem. I have
created a very simple (for right now) windows script component that does
not work in an asp page(win2k server btw). I tested with a vbscript file
run from the machine and I can instantiate<sp> the object and it works
like it should, but when I try to use it in an asp page I get the following:
Server object error 'ASP 0177 : 800c0005'

Server.CreateOb ject Failed

/beta/Default.asp, line 3

800c0005

I can create the same component in VB6 and it works fine in the asp
page, so the problem has to be related to windows scripting. I can also
use the built in windows script objects such as filesystemobjec t without
any problem. I have verified that permissions on the file and directory
are sufficient for the IUSR_ account. I am stumped as to where to look
for the source of this problem. Any help would be greatly appreciated.
Thanks
Tony Heflin

Jul 19 '05 #2
I have posted to the component group, I am just hedging my bets by
posting here also. This componet is just a test property and method to
ensure that everything was working before I started any real coding.

Thanks

Here is the code:
<?xml version="1.0"?>
<component>
<?component error="true" debug="true"?>
<registration
description="CD I_Portal"
progid="CDIPort al.WSC"
version="1.00"
classid="{185cb 8bf-8ee8-4da4-8001-e1a61032c3cd}"
</registration>
<public>
<property name="Porperty" >
<get/>
<put/>
</property>
<method name="Method">
<PARAMETER name="Parm"/>
</method>

<method name="Ping">
</method>

</public>
<object id="Con" progid="ADODB.C onnection"></object>
<object id="fso" progid="Scripti ng.FileSystemOb ject"></object>
<implements type="ASP" id="ASP"/>
<script language="VBScr ipt">
<![CDATA[
Const ForReading = 1, ForWriting = 2, ForAppend = 8

dim Porperty
Porperty = "PropValue"

function get_Porperty()
get_Porperty = Porperty
end function

function put_Porperty(ne wValue)
Porperty = newValue
end function

function Method(Parm)
Method = "Temporary Value"
end function

function Ping()
Ping = "Pong"
end function
]]>
</script>
</component>

Mark Schupp wrote:
You're going to have to show the code for the script component. You also
might want to try one of the component newsgroups.

Jul 19 '05 #3

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

Similar topics

3
2419
by: nao921 | last post by:
Hi everyone, I am currently involved in a project that involves a windows client program written in delphi and a web application written in php. I have made several php pages for the delphi program to do requests via the http component from INDY. the problems I am having are: 1) the first request from delphi app to php web app is the authenication. In which user sends username + password to the php app. If authenication is valid, a...
11
3764
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
4
1842
by: Michael C# | last post by:
I have a Windows Form I want to add to another form similar to the way you add an OpenFileDialog to a Windows Form from the Toolbox. Thx
17
5101
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the Windows XP IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable because I'm trying to run an ASP.NET 2 site with 1.1 framework). I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only the...
28
7379
by: | last post by:
I have a multi threaded windows form application that runs great after calling Application.Run(). Application.Run is required for a COM component I a using in the app (required for message loop). I have created a windows service from VStudio 2005 template. What is the windows service replacement for Application.Run()?
41
11661
by: pbd22 | last post by:
Hi. I know my windows service works when i run it in debug mode on my dev machine. It also works in release mode on my dev machine. But, when I move the service to a production server, it exits immediately with a start/stop/nothing to do error. What could be wrong?
7
4605
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
我们现在遇到一个问题,通过wcf创建的webservice,选择windows service作为宿主,采用java作为客户端调用成功,但是无法使用asp.net ajax调用。 我们参考了http://msdn.microsoft.com/zh-cn/library/bb410780.aspx的资料,并且下载了相应的sample code,但是发现这些sample基本上都需要在iis上部署一个svc文件,但是根据当前业务需求,我们无法部署iis服务器。...
0
30244
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is a comprehensive list of all autostart locations for Windows OSes: NOTE : These are some abbreviations used in this list. Please note them carefully: HKCU = HKEY_CURRENT_USER HKLM = HKEY_LOCAL_MACHINE
0
9587
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9423
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
10211
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...
0
9863
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
8870
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 projectplanning, coding, testing, and deploymentwithout 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...
0
6672
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
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...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.