|
-
Jun 10th, 2002, 05:59 PM
#1
Thread Starter
Member
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)?
-
Jun 11th, 2002, 02:23 AM
#2
Thread Starter
Member
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!
-
Jun 11th, 2002, 08:33 AM
#3
its a common problem as the aspisapi dll or whatever gets unregistered somehow when isntalling .NET sometimes...dont know why...
-
Jun 11th, 2002, 10:28 AM
#4
Thread Starter
Member
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.
-
Mar 13th, 2003, 09:13 AM
#5
PowerPoster
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.
-
Mar 25th, 2003, 09:25 AM
#6
Junior Member
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!
-
Mar 25th, 2003, 09:27 AM
#7
PowerPoster
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.
-
Mar 25th, 2003, 09:28 AM
#8
did that work for you j4u?
-
Mar 25th, 2003, 09:30 AM
#9
PowerPoster
Originally posted by Cander
did that work for you j4u?
yes! That is why I posted ....
-
Mar 25th, 2003, 09:31 AM
#10
ok. Just checking.
-
Mar 25th, 2003, 09:33 AM
#11
Junior Member
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
-
Mar 25th, 2003, 09:40 AM
#12
Junior Member
Urgh! Still a blank screen
-
Mar 25th, 2003, 09:42 AM
#13
PowerPoster
When u run from the command line does it tell you that it successfully installed?
-
Mar 25th, 2003, 09:45 AM
#14
Junior Member
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?
-
Mar 25th, 2003, 09:46 AM
#15
PowerPoster
try a reboot of your computer
-
Mar 25th, 2003, 09:50 AM
#16
Junior Member
Tried it .. didn't have the desired effect I'm affraid
-
Mar 25th, 2003, 09:52 AM
#17
PowerPoster
I am sorry but I don't know what to tell you now. Maybe someone else here can help you.
-
Mar 25th, 2003, 09:53 AM
#18
Junior Member
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
-
Mar 26th, 2003, 05:17 AM
#19
Junior Member
-
Mar 26th, 2003, 07:50 AM
#20
PowerPoster
Did you have the NET Framework installed at all?
-
Mar 28th, 2003, 03:09 AM
#21
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|