Results 1 to 21 of 21

Thread: new to ASP.NET - some questions

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2002
    Posts
    52

    new to ASP.NET - some questions

    Hi I've just recently tried experimenting with some Visual Basic ASP.NET Web Applictions. I have some questions. When I draw a button and a label to the grid all I saw when running the aspx page is the label! I can't see the button even though I'm sure it's there. I havn't added a single line of code, I just wanted to check this out and it doesn't seem to work.. I thought this problem had something to do with my web server (a shareware web server used just for testing) didn't support ASP.NET. So I installed IIS from my windows 2000 cd. When I try to run/debug my application now it gives the following error:
    "Error while trying to run project: Unable to start debugging on the web server. The server does not support debugging of ASP.NET or ATL server applications. Run Setup to install the Visual Studio .NET server components. If setup has been run verify that a valid URL has been specified. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation. Would you like to disable future attempts to debug ASP.NET pages for this project?" Now I obviously can't see any page what so ever.

    I then tried to install "applications" to host Web components from the Visual Studio .NET CD. And I've also check "Enable ASP server-side script debugging" under IIS properties but it doesn't seem to help. Have I done something wrong when installing or do I need some additional files in order to run the page on my computer (web server)?

  2. #2

    Thread Starter
    Member
    Join Date
    Jun 2002
    Posts
    52
    I managed to fix this myself.. Guess you have to install IIS prior to Visual Studio .NET, otherwise you have to manuall run "aspnet_regiis.exe -i" from your Framwork directory. Everything seems to be working fine now though!

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    its a common problem as the aspisapi dll or whatever gets unregistered somehow when isntalling .NET sometimes...dont know why...
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4

    Thread Starter
    Member
    Join Date
    Jun 2002
    Posts
    52
    I have a strange problem with dll's/components being unregistered. It occurs when I build a deployment project. All non .NET Activex and other components gets unregistered that you've used in your project. For example in one of my recent projects I used MSGraph activex component from VB6 and Measurement Studio components from Nation Instruments. All theese components gets unregistered when building the deployment project. In order to be able to open your project without just seeing an empty form you have to reinstall the components again. VERY annoying. I tried to do the same thing on several computers.. But mabey I'm doing something very stupied.

  5. #5
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    Originally posted by ikk
    I managed to fix this myself.. Guess you have to install IIS prior to Visual Studio .NET, otherwise you have to manuall run "aspnet_regiis.exe -i" from your Framwork directory. Everything seems to be working fine now though!
    How did you do that? I have the same problem that you fixed.

  6. #6
    Junior Member Gog's Avatar
    Join Date
    Mar 2003
    Posts
    17
    I have the same! Whenever I try to acces one of my aspx pages, nothing happens, i only get a blank screen!

    I also tried aspnet_regiis.exe -i , but that didn't help me either

    Anyone here who can help?

    Thanks!

  7. #7
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    Originally posted by Gog
    I have the same! Whenever I try to acces one of my aspx pages, nothing happens, i only get a blank screen!

    I also tried aspnet_regiis.exe -i , but that didn't help me either

    Anyone here who can help?

    Thanks!

    I shut down IIS first. Then I ran the aspnet_regiis.exe -i from the command line.

  8. #8
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    did that work for you j4u?
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  9. #9
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    Originally posted by Cander
    did that work for you j4u?
    yes! That is why I posted ....

  10. #10
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    ok. Just checking.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  11. #11
    Junior Member Gog's Avatar
    Join Date
    Mar 2003
    Posts
    17
    Originally posted by jesus4u
    yes! That is why I posted ....
    ok thanks .. im gonna try it .. ill be back later to scream : "yippie" or of course crying that it still doesn't work ... hehe

    ok .. enough forum spamming, lets try to get it running

  12. #12
    Junior Member Gog's Avatar
    Join Date
    Mar 2003
    Posts
    17
    Urgh! Still a blank screen

  13. #13
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    When u run from the command line does it tell you that it successfully installed?

  14. #14
    Junior Member Gog's Avatar
    Join Date
    Mar 2003
    Posts
    17
    Err.. well .. it says the following :

    Start installing asp.net (1.0.3705.288)
    Finished installing asp.net (1.0.3705.288)

    So euh , I presume its succesful?

  15. #15
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    try a reboot of your computer

  16. #16
    Junior Member Gog's Avatar
    Join Date
    Mar 2003
    Posts
    17
    Tried it .. didn't have the desired effect I'm affraid

  17. #17
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    I am sorry but I don't know what to tell you now. Maybe someone else here can help you.

  18. #18
    Junior Member Gog's Avatar
    Join Date
    Mar 2003
    Posts
    17
    I hope so =)

    Perhaps I should try uninstalling IIS and Visual Studio .NET and then reinstall it all again? ... certainly hope not cuz Visual Studio .NET takes forever to install

  19. #19
    Junior Member Gog's Avatar
    Join Date
    Mar 2003
    Posts
    17
    Hi guys, I just wanted to let you know I solved the problem.

    At first I tried reinstalling IIS and Visual Studio .NET as some sort of last resort method ... of course when I had finally reinstalled everything it still did not work.

    So I decided to download .NET Framework 1.1 Final Beta and just give it a go, hoping that it would solve the problem. So I downloaded it, installed it and IT WORKS!!

  20. #20
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    Originally posted by Gog
    Hi guys, I just wanted to let you know I solved the problem.

    At first I tried reinstalling IIS and Visual Studio .NET as some sort of last resort method ... of course when I had finally reinstalled everything it still did not work.

    So I decided to download .NET Framework 1.1 Final Beta and just give it a go, hoping that it would solve the problem. So I downloaded it, installed it and IT WORKS!!
    Did you have the NET Framework installed at all?

  21. #21
    Junior Member Gog's Avatar
    Join Date
    Mar 2003
    Posts
    17
    LOL yep I had mate ... I may be new to this, but I'm not totally stupid to forget to install the .NET framework ... hehe

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