Desktop shortcuts not executing .ASP and ASPX pages

  • Thread starter Thread starter CES
  • Start date Start date
C

CES

All,



I was just wondering if anyone else has experienced this problem:



Basically when I double click on a IE ".asp or .aspx" shortcut the shortcut
launches IE but doesn't execute the page (shortcut), I get the empty shell
of IE (just like if you have no home page setup). I need to drag the
shortcut into the IE browser window again to run the page. However .htm
pages load just fine when I click on them



All was working just fine until a copula days ago and I've run my spyware
and anti-virus programs but all reports normal???



Any suggestions on how to fix this would be appreciated.



CES
 
Is this a shorctut to the actual web site, or to an ASP/ASPX file on your
computer (Physical path)?
 
Then, I'd have to say that there's a problem with your web server
configuration, as it sends out the HTML code that's derived from the
scripting code embedded in the web page.
 
I am waiting to see a response from the IE side of your post,
as with all the recent changes to IE it would not be surprising
if something induced this side-effect.

If you make it a favorite it is not a problem, but as a shortcut
elsewhere it is ?
 
Unfortanatly it's not my web server, as the problem is with any asp/aspx
file not only those that point to my dev server.
CES
 
Roger,

I tried your idea of copying the shortcut into my favorites directory and
then double clicking on the icon (with the browser closed) and it work. So
that leads me to beleave that MSFT has changed some security setting that
will only allow you to execute a scripting page from within the favorites
folder ... if anyone knows how to change this behavior please let me know,
It's driving me crazy!

I can't beleave I'm the only one experiancing this ???

CES
 
The quick, simple fix may be to go to Start, Run and enter REGEDIT Go to:

HKEY_CLASSES_ROOT\.asp
HKEY_CLASSES_ROOT\.aspx

Make sure that the default value is aspfile for .asp and aspxfile
for .aspx. To change the value simply double click where it says (Default)
and edit as appropriate.

If that doesn't work, post back and I'll post a link where you can download
the entire registry entries for ASP and ASPX files.
 
Roger,

I'm not sure what your asking but using the below script I put a shortcut
onto me desktop, and double click the page will not render, conversely if I
put the shortcut into my Favorites folder( and execute from their it's runs
just fine); it doesn't mater if the script is run from my development server
or if the shortcut points to my isp's server.

CES


Start Script
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

<%@ Page Explicit="TRUE" Language="vb" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body onload="">

<p id="id_temp">

</p>
<form action="test0.htm" method="get" name="Form_0">
<input name="Text_0" type="text"><br>

</form>


<form action="test1.htm" method="get" name="Form_1">
<input id="id_1" name="Text_1" type="text" ID="Text1"><br>
<input id="id_2" name="Text_2" type="text" ID="Text2"><br>
</form>

<form action="test2.htm" method="get" name="Form_2">
<input id="id_3" name="Text_3" type="text" ID="Text3"><br>
<input id="id_4" name="Text_4" type="text"><br>
<input id="id_5" name="Text_5" type="text"><br>
</form>

<form action="test2.htm" method="get" name="Form_3">
<input id="id_6" name="Text_6" type="text"><br>
<input id="id_7" name="Text_7" type="text"><br>
<input id="id_8" name="Text_8" type="text"><br>
<input name="Text_6" type="text"><br>
<input id="id_10" name="Text_9" type="text"><br>
</form>

</body>
</html>


End Script
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Doug,

I checked both of the keys per your suggestion and they were already set as
recommended - FYI: the aspx key has a second entry under the (Default);
REG_SZ; aspxfile it's value is PerceivedType; Reg_SZ; Text.

I reset them to different values, rebooted, and then back to the correct
value but still having the same problem. I given a little more info in the
thread with Roger below.

CES
 
Doug,
I"m a lot stupider then I look...

I set my default browser to Netscape and then back to IE and all is well.
I't's always a simple answer but it takes forever to thinl of it.

Thanks for your Help
CES
 
Roger ,
I"I'm a lot stupider then I look...

I set my default browser to Netscape and then back to IE and all is well.
It's always a simple answer but it takes forever to think of it.

Thanks for your Help
CES
 
Bizarre. Thanks for the follow-up
BTW, from the "script" you posted, that did not even
need to be Asp as it is 100% Html (except for the first
line directive of the default serverside script language).
 
Back
Top