473,499 Members | 1,738 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.CreateObject("PersitsUpload.1")
p_count = Upload.Save("d:\inetpub\wwwroot")

p_news_id = cint(Upload.form("p_news_id"))
p_news_cat_id = cint(Upload.form("p_news_cat_id"))
p_news_headline = cstr(Upload.form("p_headline"))
p_news_blurb = cstr(Upload.form("p_blurb"))
p_news_url = cstr(Upload.form("p_url"))
p_existing = cstr(Upload.form("p_existing"))

if p_count = 1 then
p_subfile_name = Upload.Files(1).Path
p_subfile_name = replace
(p_subfile_name, "d:\inetpub\wwwroot\", "")
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\aspUpload.dll" but, it didn't work.
Is lacking anything else?

Gratefull

Charles Vaz

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

Server.CreateObject("Persits.Upload.1")

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

<%
if isAdmin then

set Upload = Server.CreateObject("PersitsUpload.1")
p_count = Upload.Save("d:\inetpub\wwwroot")

p_news_id = cint(Upload.form("p_news_id"))
p_news_cat_id = cint(Upload.form("p_news_cat_id"))
p_news_headline = cstr(Upload.form("p_headline"))
p_news_blurb = cstr(Upload.form("p_blurb"))
p_news_url = cstr(Upload.form("p_url"))
p_existing = cstr(Upload.form("p_existing"))

if p_count = 1 then
p_subfile_name = Upload.Files(1).Path
p_subfile_name = replace
(p_subfile_name, "d:\inetpub\wwwroot\", "")
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\aspUpload.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
4900
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...
4
1433
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++. ...
2
1826
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...
1
1269
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...
2
1984
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
1379
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...
3
1491
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...
1
1279
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...
8
9464
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,...
0
7128
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,...
0
7006
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...
0
7169
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,...
1
6892
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...
1
4917
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...
0
4597
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...
0
3088
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
661
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
294
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...

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.