Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional 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 March 19th, 2008, 12:39 PM
Authorized User
 
Join Date: Feb 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Controls not showing up on the client

This happens when deploy to the client.

I googled this already, I could not find the right answer.

Does anybody have experience and solution with this?

 
Old March 19th, 2008, 12:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

What kind of controls are you talking about? like a textbox?

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old March 19th, 2008, 12:55 PM
Authorized User
 
Join Date: Feb 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Button, Labels, Textbox

 
Old March 19th, 2008, 01:18 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Take a look at the final source in the browser. Do you still see the control declaration like <asp:TextBox />>

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old March 19th, 2008, 01:25 PM
Authorized User
 
Join Date: Feb 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I can still see them ( <asp:textbox>).

When I view the code and save it as html. Still not showing up on the HTML.


 
Old March 19th, 2008, 01:30 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

In that case, ASP.NET is probably not installed or configured correctly. Run

aspnet_regiis -i

from a command prompt in the right ASP.NET Framework folder under your main Windows folder.

The fact the don't show up as HTML makes sense; they look like HTML tags and are thus ignored by the browser on screen.

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old March 19th, 2008, 01:52 PM
Authorized User
 
Join Date: Feb 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here's the actual situation.
I put the programs in Win XP client, testing it first
before installing on the server. This were the
problems happened. This machine doesn't have any
VS2005 installed.

I tried running aspnet_regiis -i. I think this is for
vs2003. When I ran it again it gave a bunch of
errors.
So I un-installed it.

Now I tried aspnet_regiis for VS2005. This time it's
giving me this error:

Server Application Unavailable
The web application you are attempting to access on
this web server is currently unavailable. Please hit
the "Refresh" button in your web browser to retry your
request.

Administrator Note: An error message detailing the
cause of this specific request failure can be found in
the application event log of the web server. Please
review this log entry to discover what caused this
error to occur.


I don't know if I'm moving forward.


 
Old March 19th, 2008, 02:06 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You mentioned in your first post:
Quote:
quote:Originally posted by roger2002
 This happens when deploy to the client.

What precisely do you mean by this? Are you trying to deploy a web application to the client machines that will use it? A web app needs to be deployed to a web server, not to the apps clients. I pose this question mostly because I saw you mention "Windows XP client".

-Peter
peterlanoie.blog
 
Old March 19th, 2008, 02:07 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
quote:I don't know if I'm moving forward.
You will if you do what the error message says: check the Windows event log ;)

Also, make sure you have installed the correct version of .NET. The Windows folder should contain a folder for the 2.0 version of the framework. You could optionally have 1.0 or 1.1 folders which you don't need for ASP.NET.
Also, you don't need VS 2005 on the server; all you need is the Microsoft Framework 2.0.

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old March 19th, 2008, 02:12 PM
Authorized User
 
Join Date: Feb 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I put it on the Windows XP Client just to test it like this:

http://localhost/testweb/default.aspx

this is working fine if I test it with the one that is XP client that has VS2005. But I wanto to test it without VS2005.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Access input controls generated by Client Script vinod_yadav1919 ASP.NET 2.0 Professional 3 April 14th, 2008 08:33 PM
Web Part - Showing error angshujit ASP.NET 2.0 Basics 2 June 21st, 2007 03:28 AM
DreamWeaver Not Showing Controls me_zeta Dreamweaver (all versions) 0 November 6th, 2006 11:33 PM
Analysis for getting XML and showing in client karveajit C# 0 August 3rd, 2006 01:36 AM
User controls not showing on web page pdr ASP.NET 1.0 and 1.1 Basics 0 August 10th, 2005 09:02 AM





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