Results 1 to 4 of 4

Thread: Server Button not visible on ASP.net page

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Posts
    6

    Server Button not visible on ASP.net page

    I have just installed ASP.net and as such am quite a newbie at it.

    On a new asp.net project I dropped a label control and a button control and ran it by pressing F5.
    First of all it gave me a cannot debug or something message so I had to start without debugging by pressing Ctrl+F5.
    Secondly after running, the page just showed me just the label. The button was not visible at all. I tried doing the same on another fresh installation of ASP.net and encountered the same problem...

    so my questions are
    1. How do I enable debugging on the server
    2. Where has the server button gone and how do I get it to show itself

    Thanks for any help.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    find and run an exe called

    aspnet_regiis.exe

    and use the the -i flag

    so at command line in the directory it is in, type anspnet_regiis.exe -i
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    61
    i had the same problem just a week ago ( you can see my post, "cant see controls"), but everythings working fine after doing what Cander says here

  4. #4
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Also turn customerrors to off in your web.config file. You can't debug on your server, so if you set that to off, you will be able to at least see the errors when they happen.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width