p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   Web Controls not showing up on the client (http://p2p.wrox.com/showthread.php?t=66761)

roger2002 March 19th, 2008 12:39 PM

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?


gbianchi March 19th, 2008 12:50 PM

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
================================================== =========

roger2002 March 19th, 2008 12:55 PM

Button, Labels, Textbox


Imar March 19th, 2008 01:18 PM

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.

roger2002 March 19th, 2008 01:25 PM

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.



Imar March 19th, 2008 01:30 PM

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.

roger2002 March 19th, 2008 01:52 PM

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.



planoie March 19th, 2008 02:06 PM

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

Imar March 19th, 2008 02:07 PM

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.

roger2002 March 19th, 2008 02:12 PM

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.



All times are GMT -4. The time now is 05:27 AM.

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