Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 14th, 2003, 11:04 AM
Registered User
 
Join Date: Sep 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Occur error when run aspx file

Hi all,

I had install visual studio.net at my PC.
IE return a blank page to me before I run aspnet_regiis.exe
But It return "server error" after I run aspnet_regiis.exe
Can anyone help me to solve it ?!
Thanks

Regards,
Eric Keung


A.S.N.K.A.
 
Old September 15th, 2003, 09:24 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

where is ur problem finaly?! IE or IIS?! Can u see .HTM or .ASP or ASPX files on IE?!

Always:),
Hovik Melkomian.
 
Old September 15th, 2003, 08:30 PM
Registered User
 
Join Date: Sep 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by melvik
 where is ur problem finaly?! IE or IIS?! Can u see .HTM or .ASP or ASPX files on IE?!

Always:),
Hovik Melkomian.
I can use .HTML and .ASP file, just isn't work at ASPX file only.
I just don't know why I can't run ASPX after I install visual studio, but It's ok when I just install .NET Framework.
I also worry on there have any impact when I install visual studio after I install .NET Framework, do anyone have try this method ?!

Thanks a lot,
Eric Keung

A.S.N.K.A.
 
Old September 16th, 2003, 01:36 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Visual Studio (2002 and 2003) will install the .NET Framework for you, so there is no need to do a separate install.

It is, however, important that you install IIS first before you install the framework.

Here's the order of things you should follow:

1. Install IIS
2. Install Visual Studio .NET (it will install the framework from the prerequisites disc).
3. Install updates, including Service Packs for .NET.

WIth this order, things should work fine. You may need to uninstall VS.NET and IIS, then reboot and try again. .....


Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old September 16th, 2003, 02:40 AM
Registered User
 
Join Date: Sep 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Imar
 Hi there,

Visual Studio (2002 and 2003) will install the .NET Framework for you, so there is no need to do a separate install.

It is, however, important that you install IIS first before you install the framework.

Here's the order of things you should follow:

1. Install IIS
2. Install Visual Studio .NET (it will install the framework from the prerequisites disc).
3. Install updates, including Service Packs for .NET.

WIth this order, things should work fine. You may need to uninstall VS.NET and IIS, then reboot and try again. .....


Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Hi Imar,

Can I install visual studio after I install .Net Framework,
will it have any impact ??

Regards,
Eric Keung

A.S.N.K.A.
 
Old September 16th, 2003, 05:22 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Eric,

AFAIK, this should be possible. When you install VS.NET it will check your system to see if it meets the minimum (software) requirements. It will then proceed and install .NET framework if it's not present.

So, it should be possible, but it is not necessary, as the installation of VS.NET will take care of that.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old September 16th, 2003, 07:47 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I ran into a similar problem. Are you building the projects before you view them? In VS.NET try Ctrl + Shift + b to build your projects or hit F5. F5 will build the project and open a browser for you, but you must close the browser it opens before you can make any more changes.
 
Old September 16th, 2003, 08:03 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

also try:

1) Open a command window. (Click Start, click Run, type cmd, and then click OK.)
2) Navigate to the directory of the Aspnet_regiis.exe version you want to use. Remember that each version of the .NET Framework comes with its own version.

The file is usually located in the following directory:
for XP c:\windows\Microsoft.NET\Framework\<versionNumber>
for 2000 c:\winnt\microsoft.net\framework\<versionNumber>

Then type aspnet_regiis.exe -i
 
Old March 31st, 2004, 03:39 PM
Registered User
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had the same problem. When I installed VS it asked me a bunch of questions I wasn't sure about. Did I want to run this remotely? Did I want remote debugging? I wasn't sure if I wanted to install IIS on this machine or another so I said no to most of that stuff and it didn't setup ASP. After I decided what I wanted to do and installed IIS and went through the process of adding the missing pieces I couldn't find anywhere that said how to enabled ASP. The MS site says download this, install that, setup this, but nothing specific about how to get ASP working. Trying to find the answer to a specific question on the MS website is like doing a web search. You get hundreds of irrelevant results. I saw references to aspnet_regiis but couldn't tell what to do with it. Thanks for this post!

 
Old May 18th, 2004, 11:36 PM
Authorized User
 
Join Date: Apr 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah the same thing happened to me. I can't get a procedure in Page_Load to run on a ASP.NET page.

I think I might have to uninstall VS.Net and IIS and re-install.
Can anyone tell me extactly what service packs I need and where I can get them at?






Similar Threads
Thread Thread Starter Forum Replies Last Post
error occur when i use crystal report ssomchai BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 August 25th, 2008 09:02 PM
Received sharing violation occur on .php file Snowby Pro PHP 0 April 9th, 2008 08:18 AM
.aspx.vb file doesnt run arabuafef ASP.NET 2.0 Professional 7 March 18th, 2008 12:20 PM
Error occur when Add a DataRow[] into a DataTable sendtogary Visual C++ 0 March 27th, 2006 05:37 AM
Cookie Error when run web page test.aspx C#.net minhpx General .NET 1 August 10th, 2004 01:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.