Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > server controls will not render at all!!!!

Reply
Thread Tools

server controls will not render at all!!!!

 
 
here
Guest
Posts: n/a
 
      05-14-2004
I have created a web site that utilizes various server controls (panel,
dropdownlist, textbox , ect....). I set this site up on my LAN at work and
there are no problems at all displaying pages that have forms. However,
when I uploaded the site to our hosting provider none of the pages with
server controls will render the controls properly. For instance, my
dropdownlist for State selection looks like this:


State: AK AL AR AZ CA CO CT DC DE FL GA HI IA ID IL IN KS KY LA MA ME MD MI
MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA RI SC SD TN TX UT VA VT WA
WI WV WY

They are running .Net Framework version 1.1, Windows 2000 AS. Does anyone
have any ideas??????


 
Reply With Quote
 
 
 
 
Scott Mitchell [MVP]
Guest
Posts: n/a
 
      05-14-2004
> I have created a web site that utilizes various server controls (panel,
> dropdownlist, textbox , ect....). I set this site up on my LAN at work and
> there are no problems at all displaying pages that have forms. However,
> when I uploaded the site to our hosting provider none of the pages with
> server controls will render the controls properly.
>
> They are running .Net Framework version 1.1, Windows 2000 AS. Does anyone
> have any ideas??????


First things first - let's make sure ASP.NET is running on the server.
Create a simple test page like so:

test.aspx
---------

<script language="C#" runat="server">
void Page_Load(object sender, EventArgs e)
{
Response.Write("ASP.NET appears to be working...");
}
</script>


Save it to your Web host provider and then visit the page through your
browser of choice. What do you see?


--

Scott Mitchell

http://www.4GuysFromRolla.com
http://www.ASPFAQs.com
http://www.ASPMessageboard.com

* When you think ASP, think 4GuysFromRolla.com!
 
Reply With Quote
 
 
 
 
here
Guest
Posts: n/a
 
      05-14-2004
Scott,
Thanks for your suggestion but I found the problem. My hosting provider
created a virtual FTP directory in the root directory of my old site
because I was revamping an new one to replace the old. They failed to create
a seperate virtual web directory for that temp directory. I guess
apparently .Net will not work without the virtual web directory. After they
created the virtual web everything worked just fine. Thanks again for your
quick response.




"Scott Mitchell [MVP]" <> wrote in message
news:9S8pc.8341$ m...
> > I have created a web site that utilizes various server controls (panel,
> > dropdownlist, textbox , ect....). I set this site up on my LAN at work

and
> > there are no problems at all displaying pages that have forms. However,
> > when I uploaded the site to our hosting provider none of the pages with
> > server controls will render the controls properly.
> >
> > They are running .Net Framework version 1.1, Windows 2000 AS. Does

anyone
> > have any ideas??????

>
> First things first - let's make sure ASP.NET is running on the server.
> Create a simple test page like so:
>
> test.aspx
> ---------
>
> <script language="C#" runat="server">
> void Page_Load(object sender, EventArgs e)
> {
> Response.Write("ASP.NET appears to be working...");
> }
> </script>
>
>
> Save it to your Web host provider and then visit the page through your
> browser of choice. What do you see?
>
>
> --
>
> Scott Mitchell
>
> http://www.4GuysFromRolla.com
> http://www.ASPFAQs.com
> http://www.ASPMessageboard.com
>
> * When you think ASP, think 4GuysFromRolla.com!



 
Reply With Quote
 
 
 
Reply

Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug? ASP.Net 2 Title does not render text when it contains controls Ian Dunkerly# ASP .Net 5 03-11-2008 11:57 AM
Accessing rails render method outside of view / Decorating render Glenn Gillen Ruby 0 11-17-2006 02:30 PM
Page.Render do not render complete page Lau Lei Cheong ASP .Net 1 05-15-2004 04:10 AM
Server Controls don't render style to Mozilla and Netscape =?Utf-8?B?QWJ1IEhhaWRlcg==?= ASP .Net 1 02-23-2004 08:44 AM
Accessing Server.MapPath from within Custom Controls Render() method? Kenneth Baltrinic ASP .Net Web Controls 2 10-16-2003 10:50 AM



Advertisments