Solved

ASP.net tab is missing in IIS v5.1. How do I get the ASP.net tab to re-appear?

Posted on 2007-03-23
6
453 Views
Last Modified: 2012-08-13
My application uses 1.1 framework. I have Win XP Pro with IIS v5.1 set up on the virtual server machine. My development machine has the tab visible and has 1.1.4322 and 2.0.50727 available in the drop-down box on the tab.

The 1.1.4322 framework folder exists on the deployment machine but there is no tab visible in IIS properties for the website. The website main page will load, but only the page .gif images are visible.... there are no controls that load.....I know the virtual directory is set up properly because the main page does load.

I have uninstalled IIS and reinstalled it 3 times on the deployment machine, but this doesn't solve the problem. Do I uninstall the 1.1. framework in the 'add-remove' programs area, and then reinstall the framework?

How do I go about fixing this issue? Thanks....
0
Comment
Question by:jazjef
  • 3
  • 3
6 Comments
 
LVL 11

Accepted Solution

by:
dready earned 500 total points
ID: 18783648
The order in which the .net framework and IIS are installed does matter. Normally, you should first install IIS and then the .net framework, else aspx pages wont work. If you installed it the other way around, there is no need to deinstall and reinstall though. The tool aspnet_regiis.exe takes care  of that. In commandwindow, go to the dir where you find the exe and call aspnet_regiis.exe -i

open the command prompt [For windows Xp and greater]
>>cd C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
>>aspnet_regiis.exe -i

In case you are using any other windows then search the aspnet_regiis.exe file and run this file from the command prompt with -i argument

Hope that solves your problem. Sounds like this one.
0
 
LVL 4

Author Comment

by:jazjef
ID: 18784191
thanks dready...

I will try your solution out. I was trying the aspnet_regiis.exe -i at the C:\ prompt and getting a message that said it could not be found. According to your answer, I need to be in the proper directory at the C prompt to get it to register.....

I did go to the 1.1.4322 framework  folder in windows explorer and click on the aspnet_regiis.exe file though----I got a brief flash of the dos command window, but this didn't change anything. Here's what I was typing at the C prompt:

C:\aspnet_regiis.exe -i   [Enter]

...but this is wrong isn't it?

Why doesn't it work if I navigate there in windows and click the executable?...



0
 
LVL 11

Expert Comment

by:dready
ID: 18785342
It doesnt work because you are not in the right directory.  And you do have to do it from de command window (Start/run) , it doesnt work with doubleclicking from windows explorer.
Use cd to navigate to the directory where you found it, for example
cd windows
cd blahblah
and the promtp will look like this, pointing to the right directory
c:\windows\blahblah\
and then you type aspnet_regiis.exe -i   [Enter]

must work!


(Sorry, cant remember where it normally is, and am on pc without .net framework, but you did find it so that shouldnt matter).
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 4

Author Comment

by:jazjef
ID: 18785756
thanks again dready....

I had a computer here at home with the same specs as the one at work that has the problem. I setup IIS on it last night, copied the project files to a folder, set up the folder as a virtual directory, and ran it.... it re-creates the same problem as the machine at work....yes!...so far so good....

Then I applied your solution of navigating through dos directories to run the aspnet_regiis.exe -i

Works great!.... yeah!...problem solved.

I will apply your solution on the virutal server when I go in on Monday to work.... if your solution works on the actual machine on Monday then I'll give you the points..... and it looks like it will since it worked on a re-creation/simulation of the problem here at home...



0
 
LVL 11

Expert Comment

by:dready
ID: 18785812
Hey jazjef,

great, glad i could help. I ran into this problem quite a few times at work, and we used to deinstall .net framework and iis and reinstall in the right order, until i 'discovered' aspnet_regiis. Saves so much time.

dready
0
 
LVL 4

Author Comment

by:jazjef
ID: 18808320
I would like to add that the ASP.net tab never did show up in IIS, but everything worked just fine. I don't know the requirements to get the tab to show up, but I got the result I wanted... thanks dready
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question