473,566 Members | 2,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Invalid Prog ID

Someone could help me on this code:

<%
if isAdmin then

set Upload = Server.CreateOb ject("PersitsUp load.1")
p_count = Upload.Save("d: \inetpub\wwwroo t")

p_news_id = cint(Upload.for m("p_news_id" ))
p_news_cat_id = cint(Upload.for m("p_news_cat_i d"))
p_news_headline = cstr(Upload.for m("p_headline") )
p_news_blurb = cstr(Upload.for m("p_blurb"))
p_news_url = cstr(Upload.for m("p_url"))
p_existing = cstr(Upload.for m("p_existing") )

if p_count = 1 then
p_subfile_name = Upload.Files(1) .Path
p_subfile_name = replace
(p_subfile_name , "d:\inetpub\www root\", "")
fileUploaded = TRUE
else
fileUploaded = FALSE
end if
--
The error message from ASP IS:

Error Type
Server Object, ASP 0177 (0x800401F3)
Invalid Prog ID
--
I registered in command line such as follow:
"regsvr32 d:\aspemail\asp Upload.dll" but, it didn't work.
Is lacking anything else?

Gratefull

Charles Vaz

Jul 19 '05 #1
1 2416
Perhaps the correct progID is Persits.Upload. 1

Server.CreateOb ject("Persits.U pload.1")

--
Manohar Kamath
Editor, .netBooks
www.dotnetbooks.com
"Charles Vaz" <ch********@ter ra.com.br> wrote in message
news:27******** *************** ******@phx.gbl. ..
Someone could help me on this code:

<%
if isAdmin then

set Upload = Server.CreateOb ject("PersitsUp load.1")
p_count = Upload.Save("d: \inetpub\wwwroo t")

p_news_id = cint(Upload.for m("p_news_id" ))
p_news_cat_id = cint(Upload.for m("p_news_cat_i d"))
p_news_headline = cstr(Upload.for m("p_headline") )
p_news_blurb = cstr(Upload.for m("p_blurb"))
p_news_url = cstr(Upload.for m("p_url"))
p_existing = cstr(Upload.for m("p_existing") )

if p_count = 1 then
p_subfile_name = Upload.Files(1) .Path
p_subfile_name = replace
(p_subfile_name , "d:\inetpub\www root\", "")
fileUploaded = TRUE
else
fileUploaded = FALSE
end if
--
The error message from ASP IS:

Error Type
Server Object, ASP 0177 (0x800401F3)
Invalid Prog ID
--
I registered in command line such as follow:
"regsvr32 d:\aspemail\asp Upload.dll" but, it didn't work.
Is lacking anything else?

Gratefull

Charles Vaz

Jul 19 '05 #2

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

Similar topics

0
4909
by: Ben Eisenberg | last post by:
I'm trying to run a php script setuid. I've tried POSIX_setuid but you have to be root to run this. The files are located on a public access unix system and have me as the owner and nobody as the group. Rather than make them group writable where in anybody could make a script and write to my files i would like to make them setuid. I tried...
4
1442
by: Theron NightStar | last post by:
I am trying to teach myself c++. This is the first program I have ever written that might have an practical use to me. I rather proud of it since like implied - I have no real knowledge of c++. Anyways, here is my problem - This prog does what it is supposed to (a very very crude encryption/decryption of text files) but for some reason it...
2
1848
by: facicad | last post by:
I would like to set topmost another prog. from my program. Ex: I use AutoCAD, run my prog. from autocad. My prog. is topmost but went I would like to pick some object in autocad, I set TopMost to false and I would like to autocad bring to front, but for autocad object, it not have TopMost properties
1
1275
by: ניר | last post by:
Hello, I've already sent such a messege, hopping to be answered shortly this time. I am practicing c/c++ programming using microsoft visual c++ express 2005 express edition. Anyway, unlike other compilers there is no option to actually run the prog. (Ctrl+f5,f7 in vs). What I meen is that I can't find a way to execute a prog. thanks, Hezy.
2
1989
smartway
by: smartway | last post by:
Can we use c++ code in c prog or can we include .cpp in c prog. ? If yes ........ How can we do this?
4
1387
by: Signeg | last post by:
Hey guys, I have some work for university and i never used C++ in my life so i'm kinda lost.. But i've still managed to write something woth it. But too bad for me the prog does compile and lunch propely, but once i enter "-1" for the second while, nothing more is happening.. This is the code http://rafb.net/paste/results/rHKKIF94.html...
3
1495
by: McCarthy | last post by:
Im writing a command-line program in unix. Whenever I run the prog in unix it gives me 49 output files instead of the user entered amount. Im not sure what the problem is with my main prog the loop looks fine int main(int argc, char * argv) { // Command Arguements // Usage: <program> <policy file> <gen file prefix> <num generations>...
1
1284
by: laptop | last post by:
hello frnds im new to this forum, please help me . i have a question paper webpage from where i will be taking answers in form of prog in different languages(perl,php,java,c,c++,python).now since im making this online coding contest in php so i want to know that after the student has submitted the code how to compile that code(prog)in php script...
8
9492
by: tvnaidu | last post by:
I am running prog with GDB - throws SIG32, why? @localhost config]# gdb prog GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show...
0
7666
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...
0
7584
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...
0
7888
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. ...
1
7644
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...
1
5484
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...
0
5213
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...
0
3643
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...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.