SCRENC.EXE /f (Script Encoder) doesn't work on Win Vista Business

G

Gaz

I was a developer on ASP, and I use the MS Script Encoder to protect ASP code
on our web site, at the moment that I install Win Vista Business Edition SP1
the command SCRENC.EXE /f (that records header of LANGUAJE of ENCODE, very
important) does not work sends an error of "APPLICATION HAS AN ERROR IT WILL
BE SHUTDOWN" , other options like /XL or other it works fine, only this /F
option causes this crash, and that's it, I need to uninstall completely SP to
use again the encoder normally, but I think this will not be not a lot of
time, because I need to update my windows periodically.

To the MS developers: Please review this item....
 
J

Jacek Godorowski

Try to run your aplication from the compatibility mode. Maybe it will help.
 
J

Jon

Gaz said:
I was a developer on ASP, and I use the MS Script Encoder to protect ASP
code
on our web site, at the moment that I install Win Vista Business Edition
SP1
the command SCRENC.EXE /f (that records header of LANGUAJE of ENCODE, very
important) does not work sends an error of "APPLICATION HAS AN ERROR IT
WILL
BE SHUTDOWN" , other options like /XL or other it works fine, only this /F
option causes this crash, and that's it, I need to uninstall completely SP
to
use again the encoder normally, but I think this will not be not a lot of
time, because I need to update my windows periodically.

To the MS developers: Please review this item....



Something odd going on there then.

screnc.exe works fine here using the /f option for both Vista RTM and Vista
SP1. It's role, however, is to force overwrite of a pre-existing output
file, which seems to be at odds with your description unless you're perhaps
using a different version to me.

From 'screnc.exe /?' ...

/f - Force: allow file(s) overwrite (source == destination)
 
J

Jose Gazcon

Hi, I think I was resolve this problem, after to make 2 actions (I don't know really if with only with the first is enought, you can try).



1. Give full control privileges at the directory where the SCRENC.EXE, and source file an target file are located. By default vista gives FULL Control and Dir_owner at the TRUSTEDINSTALLER user, you need to change the owner to you user o a Administrators Group, in MI PC / your_directory [right clic] / PROPERTIES / SECURITY (add your user with full control privileges), press ADVANCED OPTIONS / TAB OWNER and make owner at your user, now go to PRIVILEGES tab select your user and select the 2 checkboxes and press APPLY, it looks how all files are assigned to the new owner.



2. Use the file \windows\system32\SCRRUN.DLL dated on Nov 11 2006 (well I have this file in spanish version of Vista 32bit, must change a little in other languajes), first UNREGISTER the newest DLL (in SP2 is dated on 2008), with START / RUN type REGSVR32 /u scrrun.dll and press ENTER, change this .DLL for the older version (2006) (this may require to make ALL WINDOWS directory as owner yous user as described in point 1) and then replace de new one with this 2006 version, and finally register the old SCRRUN.DLL with REGSVR32 SCRRUN.DLL again. Restart you computer, and works for me...



I hope this helps to other ASP classic programmers.




Ga wrote:

SCRENC.EXE /f (Script Encoder) doesn't work on Win Vista Business
27-sep-08

I was a developer on ASP, and I use the MS Script Encoder to protect ASP code
on our web site, at the moment that I install Win Vista Business Edition SP1
the command SCRENC.EXE /f (that records header of LANGUAJE of ENCODE, very
important) does not work sends an error of "APPLICATION HAS AN ERROR IT WILL
BE SHUTDOWN" , other options like /XL or other it works fine, only this /F
option causes this crash, and that's it, I need to uninstall completely SP to
use again the encoder normally, but I think this will not be not a lot of
time, because I need to update my windows periodically

To the MS developers: Please review this item....

Previous Posts In This Thread:

On s?bado, 27 de septiembre de 2008 11:43 p.m.
Ga wrote:

SCRENC.EXE /f (Script Encoder) doesn't work on Win Vista Business
I was a developer on ASP, and I use the MS Script Encoder to protect ASP code
on our web site, at the moment that I install Win Vista Business Edition SP1
the command SCRENC.EXE /f (that records header of LANGUAJE of ENCODE, very
important) does not work sends an error of "APPLICATION HAS AN ERROR IT WILL
BE SHUTDOWN" , other options like /XL or other it works fine, only this /F
option causes this crash, and that's it, I need to uninstall completely SP to
use again the encoder normally, but I think this will not be not a lot of
time, because I need to update my windows periodically

To the MS developers: Please review this item....

On domingo, 28 de septiembre de 2008 12:02 a.m.
Jacek Godorowski wrote:

Re: SCRENC.EXE /f (Script Encoder) doesn't work on Win Vista Business
Try to run your aplication from the compatibility mode. Maybe it will help


On domingo, 28 de septiembre de 2008 10:16 a.m.
Jon wrote:

Re: SCRENC.EXE /f (Script Encoder) doesn't work on Win Vista Business


Something odd going on there then

screnc.exe works fine here using the /f option for both Vista RTM and Vista
SP1. It's role, however, is to force overwrite of a pre-existing output
file, which seems to be at odds with your description unless you're perhaps
using a different version to me

From 'screnc.exe /?' ..

/f - Force: allow file(s) overwrite (source == destination

--
Jon

EggHeadCafe - Software Developer Portal of Choice
Dr. Dotnetsky's Cool .NET Tips and Tricks # 16
http://www.eggheadcafe.com/tutorial...9b0e-1b0a67d13ea5/dr-dotnetskys-cool-net.aspx
 
J

Jose Gazcon

Hi, I think I was resolve this problem, after to make 2 actions (I don't know really if with only with the first is enought, you can try).



1. Give full control privileges at the directory where the SCRENC.EXE, and source file an target file are located. By default vista gives FULL Control and Dir_owner at the TRUSTEDINSTALLER user, you need to change the owner to you user o a Administrators Group, in MI PC / your_directory [right clic] / PROPERTIES / SECURITY (add your user with full control privileges), press ADVANCED OPTIONS / TAB OWNER and make owner at your user, now go to PRIVILEGES tab select your user and select the 2 checkboxes and press APPLY, it looks how all files are assigned to the new owner.



2. Use the file \windows\system32\SCRRUN.DLL dated on Nov 11 2006 (well I have this file in spanish version of Vista 32bit, must change a little in other languajes), first UNREGISTER the newest DLL (in SP2 is dated on 2008), with START / RUN type REGSVR32 /u scrrun.dll and press ENTER, change this .DLL for the older version (2006) (this may require to make ALL WINDOWS directory as owner yous user as described in point 1) and then replace de new one with this 2006 version, and finally register the old SCRRUN.DLL with REGSVR32 SCRRUN.DLL again. Restart you computer, and works for me...



I hope this helps to other ASP classic programmers.




Ga wrote:

SCRENC.EXE /f (Script Encoder) doesn't work on Win Vista Business
27-sep-08

I was a developer on ASP, and I use the MS Script Encoder to protect ASP code
on our web site, at the moment that I install Win Vista Business Edition SP1
the command SCRENC.EXE /f (that records header of LANGUAJE of ENCODE, very
important) does not work sends an error of "APPLICATION HAS AN ERROR IT WILL
BE SHUTDOWN" , other options like /XL or other it works fine, only this /F
option causes this crash, and that's it, I need to uninstall completely SP to
use again the encoder normally, but I think this will not be not a lot of
time, because I need to update my windows periodically

To the MS developers: Please review this item....

Previous Posts In This Thread:

On s?bado, 27 de septiembre de 2008 11:43 p.m.
Ga wrote:

SCRENC.EXE /f (Script Encoder) doesn't work on Win Vista Business
I was a developer on ASP, and I use the MS Script Encoder to protect ASP code
on our web site, at the moment that I install Win Vista Business Edition SP1
the command SCRENC.EXE /f (that records header of LANGUAJE of ENCODE, very
important) does not work sends an error of "APPLICATION HAS AN ERROR IT WILL
BE SHUTDOWN" , other options like /XL or other it works fine, only this /F
option causes this crash, and that's it, I need to uninstall completely SP to
use again the encoder normally, but I think this will not be not a lot of
time, because I need to update my windows periodically

To the MS developers: Please review this item....

On domingo, 28 de septiembre de 2008 12:02 a.m.
Jacek Godorowski wrote:

Re: SCRENC.EXE /f (Script Encoder) doesn't work on Win Vista Business
Try to run your aplication from the compatibility mode. Maybe it will help


On domingo, 28 de septiembre de 2008 10:16 a.m.
Jon wrote:

Re: SCRENC.EXE /f (Script Encoder) doesn't work on Win Vista Business


Something odd going on there then

screnc.exe works fine here using the /f option for both Vista RTM and Vista
SP1. It's role, however, is to force overwrite of a pre-existing output
file, which seems to be at odds with your description unless you're perhaps
using a different version to me

From 'screnc.exe /?' ..

/f - Force: allow file(s) overwrite (source == destination

--
Jon

On jueves, 15 de octubre de 2009 07:13 p.m.
Jose Gazcon wrote:

Solution for me
Hi, I think I was resolve this problem, after to make 2 actions (I don't know really if with only with the first is enought, you can try).



1. Give full control privileges at the directory where the SCRENC.EXE, and source file an target file are located. By default vista gives FULL Control and Dir_owner at the TRUSTEDINSTALLER user, you need to change the owner to you user o a Administrators Group, in MI PC / your_directory [right clic] / PROPERTIES / SECURITY (add your user with full control privileges), press ADVANCED OPTIONS / TAB OWNER and make owner at your user, now go to PRIVILEGES tab select your user and select the 2 checkboxes and press APPLY, it looks how all files are assigned to the new owner.



2. Use the file \windows\system32\SCRRUN.DLL dated on Nov 11 2006 (well I have this file in spanish version of Vista 32bit, must change a little in other languajes), first UNREGISTER the newest DLL (in SP2 is dated on 2008), with START / RUN type REGSVR32 /u scrrun.dll and press ENTER, change this .DLL for the older version (2006) (this may require to make ALL WINDOWS directory as owner yous user as described in point 1) and then replace de new one with this 2006 version, and finally register the old SCRRUN.DLL with REGSVR32 SCRRUN.DLL again. Restart you computer, and works for me...



I hope this helps to other ASP classic programmers.

EggHeadCafe - Software Developer Portal of Choice
Silverlight IsolatedStorage Compressed Object Cache
http://www.eggheadcafe.com/tutorial...a-5b86b0c676c9/silverlight-isolatedstora.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top