473,320 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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.CreateObject 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 filesystemobject 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 2524
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**************@TK2MSFTNGP12.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.CreateObject 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 filesystemobject 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="CDI_Portal"
progid="CDIPortal.WSC"
version="1.00"
classid="{185cb8bf-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.Connection"></object>
<object id="fso" progid="Scripting.FileSystemObject"></object>
<implements type="ASP" id="ASP"/>
<script language="VBScript">
<![CDATA[
Const ForReading = 1, ForWriting = 2, ForAppend = 8

dim Porperty
Porperty = "PropValue"

function get_Porperty()
get_Porperty = Porperty
end function

function put_Porperty(newValue)
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
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...
11
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...
4
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
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...
28
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). ...
41
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...
7
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
我们现在遇到一个问题,通过wcf创建的webservice,选择windows service作为宿主,采用java作为客户端调用成功,但是无法使用asp.net ajax调用。...
0
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.