Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register



Finally, I found the problem.
Unbelievably, I stasrted to suspect that it "smell" like an access right
problem.
I always work on my W2K according to MS' recommendation (sometimes they are
right...),
that is, in User (not even Powered User) mode. I also added "VS Developer"
and "Debugger" access rights. That should have worked by definition. Should
it?
I discovered also 3 new other access priviledges modes: OWS_1849052309_admin
and the other two also start with OWS_1849052309_ . I have no clue what they
are.
Anybody has an idea?

Well, it turned out that nothing less then full administrator right would
do.
When I switched my rights to full admin rights, the autoregistration
completed successfuly.

So to add pain to this access right bug, somebody, instead giving a message
that state that reason
for the failure, gave a numerical error code and w/o document it anywhere.

This ActiveX Control Test Container is a handy automatic activeX container
application.
I can test at least all important stuff of the OCX component w/o investing
one line in test code.
It has one drawback that it very slow (written in VB?).

As a W2K user, it is amazing that after almost 6 years of W2K, I got to be
used to see many apps
that claim to be W2K compatible while they don't because they did not get
yet the concepts
of access right handling. Even folks from MS are in that same category
still.

David
---------------
Albert Einstein: "Two things are infinite: the universe and human
stupidity;
and I'm not sure about the universe."


"Heinz Ozwirk" <hozwirk.SPAM@xxxxxxxx> wrote in message
news:42d15179$0$20147$9b4e6d93@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> "David F" <David-White@xxxxxxxxxxxxx> schrieb im Newsbeitrag
> news:u9gTrxWhFHA.2916@xxxxxxxxxxxxxxxxxxxxxxx
> > 1. Neither of the options /s & /c are documented as available options
for
> > regsvr32.exe
> > See: "Explanation of Regsvr32 Usage and Error Messages"
> > http://support.microsoft.com/default.aspx?scid=kb;en-us;249873
>
> At least /s will be described if you try "regsvr32 /?". /c has been used
to
> redirect output to a console window, but that is not available in W2K and
> XP. (s. http://support.microsoft.com/default.aspx?scid=kb;en-us;288373)
>
> >
> > 2. "errorlevel 1" is not even mentioned in the "Error Messages" in the
> > above
> > article.
>
> "errorlevel 1" simply tests whether regscr32 returned anything different
for
> 0 (actually greater than or equal to 1)
>
> >
> > 3. Except the above article, I could not find even a trace of the
> > regsvr32.exe utility in any of several
> > very relevant books I have.
>
> Whatever books are relevant to you... Searching http://msdn.microsoft.com
> will show you lots of references. Faster and cheaper than most books.
>
> HTH
> Heinz
>
>



.


Loading