PC Review


Reply
Thread Tools Rate Thread

"%1 is not a valid Win32 application" error when browsing an aspxfile with a browser

 
 
jake
Guest
Posts: n/a
 
      5th Nov 2008
I am new to web development.
I published a VS 2008 web page (default.aspx) file (along with its .cs
file), using the "Publish Web Site" feature, to a Windows 2003 server
that has all the .Net Framework versions including 3.5. The web page
does not have any code in the page_load event (in the .cs file)
The default.html version of the same aspx file works fine, but not
default.aspx itself, which produces a "%1 is not a valid Win32
application" whenever I point to the URL with a browser (firefox, in
this case). An html version here just means that the aspx file is
rather simple and has no cs code yet, and could well be emulated with
simple html code. By the way, IE gives me an "HTTP 500" error.
What needs to be in the server for this to work? Or am I going about
this the wrong way?
Thanks for your help
jake
 
Reply With Quote
 
 
 
 
Jeroen Mostert
Guest
Posts: n/a
 
      5th Nov 2008
jake wrote:
> I am new to web development.
> I published a VS 2008 web page (default.aspx) file (along with its .cs
> file), using the "Publish Web Site" feature, to a Windows 2003 server
> that has all the .Net Framework versions including 3.5. The web page
> does not have any code in the page_load event (in the .cs file)
> The default.html version of the same aspx file works fine, but not
> default.aspx itself, which produces a "%1 is not a valid Win32
> application" whenever I point to the URL with a browser (firefox, in
> this case). An html version here just means that the aspx file is
> rather simple and has no cs code yet, and could well be emulated with
> simple html code. By the way, IE gives me an "HTTP 500" error.
> What needs to be in the server for this to work? Or am I going about
> this the wrong way?


Your IIS is misconfigured. The error you're getting indicates IIS is trying
to launch an external application to process the .ASPX page, but something
is failing in that setup. Consult the event log.

Try reinstalling ASP.NET support with aspnet_regiis.

--
J.
 
Reply With Quote
 
jake
Guest
Posts: n/a
 
      5th Nov 2008
Jeroen,
That did the trick. Thank you kindly.
jake


On Nov 5, 2:53*pm, Jeroen Mostert <jmost...@xs4all.nl> wrote:
> jake wrote:
> > I am new to web development.
> > I published a VS 2008 web page (default.aspx) file (along with its .cs
> > file), using the "Publish Web Site" feature, to a Windows 2003 server
> > that has all the .Net Framework versions including 3.5. *The web page
> > does not have any code in the page_load event (in the .cs file)
> > The default.html version of the same aspx file works fine, but not
> > default.aspx itself, which produces a "%1 is not a valid Win32
> > application" whenever I point to the URL with a browser (firefox, in
> > this case). *An html version here just means that the aspx file is
> > rather simple and has no cs code yet, and could well be emulated with
> > simple html code. By the way, IE gives me an "HTTP 500" error.
> > What needs to be in the server for this to work? *Or am I going about
> > this the wrong way?

>
> Your IIS is misconfigured. The error you're getting indicates IIS is trying
> to launch an external application to process the .ASPX page, but something
> is failing in that setup. Consult the event log.
>
> Try reinstalling ASP.NET support with aspnet_regiis.
>
> --
> J.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connector download error "not a valid win32 application" MISM Student Microsoft Outlook Installation 2 7th Dec 2008 03:49 AM
"*.pps is not a valid Win32 application" error message in Windows RaeWeniger Windows Vista Installation 2 19th Feb 2008 11:43 PM
Interactive Guide getting "Not a valid Win32 application" error Deb Henderson Microsoft Access 0 6th Feb 2008 08:13 PM
Error Message: "xis is not a valid Win32 application" =?Utf-8?B?c3RyYW5jaGluYQ==?= Microsoft Excel Misc 0 21st Aug 2005 01:28 PM
Error while running setup file "Not a valid win32 application" Sreekanth Windows XP Setup 1 17th Jun 2004 09:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:16 AM.