Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: Beginning ASP.NET 1.0
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 1.0
This is the forum to discuss the Wrox book Beginning ASP.NET 1.0 with C# by Chris Goode, John Kauffman, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Dave Sussman, Ollie Cornes, Rob Birdwell, Matt Butler, Gary Johnson, Ajoy Krishnamoorthy, Juan T. Llibre, Chris Ullman; ISBN: 9780764543708
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 27th, 2004, 04:06 PM
Authorized User
 
Join Date: Jul 2004
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Don't see Server Controls at my explorer

I have just started my learning and I have install Visual Studio .NET , a full version, but I don't understand why after writing a very small code and a simple one, I don't see the Server Control I used in my Explorer when I browse.

I Just use one Label and two Text Box. What can be the problem?


  #2 (permalink)  
Old July 27th, 2004, 04:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You have to add it to the toolbox. Right-click one of the toolboxes, select Add/Remove Items. Hit browse, find your DLL, and open it. It will select the controls within the component to add to the toolbox, so hit OK.

One thing to note, if you are adding the control to a project (for example TestProject), and the control was coded in TestProject, you may have some issues occur. For me, it adds the TestProject dll as a reference in the TestProject project, and got referencing errors all over. So I moved it to an outside project (can be in same solution).

I hope that makes sense.

Brian
  #3 (permalink)  
Old July 27th, 2004, 04:33 PM
Authorized User
 
Join Date: Jul 2004
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi again,

I have only two files (ASPX , CS). I have drag and drop the Label I used and the TextBox from the toolbox. I can see them at the code and in the HTML view also, but after asking for Build and Browse I see nothing on my page.

Which DLL do I need to look for?

  #4 (permalink)  
Old July 27th, 2004, 07:52 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

OK, I thought you were talking about a custom control that you built. Sorry, that's a different topic altoghether. Ignore the previous reply.

Did you:
- Build the project with no errors found in the application
- Make sure they are declared in the code-behind page (as Protected WithEvents)

Not sure. The label won't appear if there is no text in it. Can you post the code? I could tell if I see that.

Brian
  #5 (permalink)  
Old July 28th, 2004, 04:31 AM
Authorized User
 
Join Date: Jul 2004
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I found the problem and the solution. There was a problem with the installation of Visual Studio .NET Enterprise Architect . I had to write this line in my Command Prompt window in order to enable the ASP.NET by myself:

C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_ regiis.exe /i

It probably activate the Framework what I needed in order to see the Server Control. I don't know why the installation did not do it by it's own. Maybe a bug!



  #6 (permalink)  
Old July 28th, 2004, 07:00 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Well yes the framework would then be the issue. It should have been installed as part of the prerequisites. I install Enterprise Architect and it installed for me.

That's weird.

Brian
  #7 (permalink)  
Old August 25th, 2005, 09:30 AM
Registered User
Points: 1,897, Level: 17
Points: 1,897, Level: 17 Points: 1,897, Level: 17 Points: 1,897, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2005
Location: Mumbai, Maharastra, India.
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

Dose it required to restart you pc? Since, I am accessing from server, and i m getting the same problem, now i have run the command u mentioned, so should i restart server?

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
From SQL Server to Internet Explorer toddw607 ASP.NET 2.0 Basics 7 March 27th, 2007 03:57 PM
Stored Procedures not working in Server Explorer hexOffender VB Databases Basics 2 October 13th, 2006 09:52 AM
No 'New Stored Procedure" in server explorer jkusmanto VS.NET 2002/2003 0 May 3rd, 2006 03:24 PM
connecting to Northwind in server explorer ssrs.netuser ASP.NET 1.0 and 1.1 Basics 3 November 16th, 2003 01:53 PM



All times are GMT -4. The time now is 12:09 PM.


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