|
 |
aspx_beginners thread: ASP.NET Debugging Fails
Message #1 by "Michael Miner" <mminer@e...> on Mon, 16 Sep 2002 08:01:16 -0500
|
|
Howdy, y'all.
Using the sample Hello World web form in Professional VB.NET, 2nd ed. Should
be as simple as it gets.
Error Message: "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. .... " Page does build and
display correctly in browser, just no debugging.
This is a Microsoft product - Help and MSDN are useless. Followed the
instructions in the error message - re-installed .NET framework and app,
checked the Web.Config file. Nothing.
Before I drop another $250 on MS Tech Support so they will grace me with
operating instructions for their software, does anyone know how to set up
debugging on Win2K Advanced Server?
If I am lucky enough to get an answer, I will share it. I will also take
great delight in giving them a credit card number, then refusing payment.
Michael Miner
Message #2 by "Michael Miner" <mminer@e...> on Mon, 16 Sep 2002 20:03:19
|
|
Answering my own problem. Gotta mean something.
This is the procedure I used to get ASP.NET debugging working on a
Win2K Advanced Server system. Your set of probs may be different.
Microsoft is working on a bug release. Hope it helps.
Michael
----------------
1. Make sure your login (you or Administrator) is a member of the Debugger
Users Group. Right click on My Computer, Select Manage. Under Local
Users and groups, open groups and double click on Debugger Users. Add
your login name to this group.
2. In ASP.NET, start without debugging to confirm that IIS is running and
the URL for your aspx page is correct. Debug > Start Without Debugging.
You may get a permissions error.
3. Check to see whether the aspnet_wp.exe process is running. You can use
task manager under the process tab or in ASP.NET select Debug > Processes.
aspnet_wp.exe was not listed as as operating process on my box.
4. Check that the correct extensions are present in IIS. Open the Internet
Services manager MMC snap-in and expand the server treeview until you see
the Default Web Site. Right-click on the Default Web Site and select
properties. Under the Home Directory tab click on the Configuration
button. Look for the extensions asax, ascx, ashx, asmx, aspx, and axd.
They were not present on my system.
5. Open the command line (cmd) and change the current directory to
C:\WINNT\Microsoft.NET\Framework\v1.0.3705. Enter
aspnet_regiis -i
and enter. This utility will register ASP.NET extensions in IIS.
6. Open the command line (cmd) and type
iisreset
and enter to reset IIS.
7. Make sure that c:\Inetpub and C:\Innetpub\wwwroot and your
web site all have permissions for aspnet_wp account to
allow 1) Read & Execute 2) List folder contents and
3) Read.
------------------------
Security Caution
8. machine.config: Security Caution
You can change the username in this file to SYSTEM, but it should be
a last resort. Open
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG\machine.config
with a text editor such as Notepad. Find the XML node <processmodel>.
Find the userName="machine" attribute and change the text string to
userName="SYSTEM" (upper case). Save the file.
9. Open the command line (cmd) and type
iisreset
and enter to reset IIS.
-----------------------------
> Howdy, y'all.
Using the sample Hello World web form in Professional VB.NET, 2nd ed.
Should
be as simple as it gets.
Error Message: "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. .... " Page does build and
display correctly in browser, just no debugging.
This is a Microsoft product - Help and MSDN are useless. Followed the
instructions in the error message - re-installed .NET framework and app,
checked the Web.Config file. Nothing.
Before I drop another $250 on MS Tech Support so they will grace me with
operating instructions for their software, does anyone know how to set up
debugging on Win2K Advanced Server?
If I am lucky enough to get an answer, I will share it. I will also take
great delight in giving them a credit card number, then refusing payment.
Michael Miner
Message #3 by "Michael D. Miller" <millerassoc@a...> on Tue, 17 Sep 2002 04:03:26
|
|
Thanks Michael. I will try it also. I have the same problem, plus the
fact that trying to show the time in a form doesn't work for me. It shows
all the html stuff, but not the coded portion to show a date in a textbox.
This is the first exercise (the famous Punctual.aspx) in beg asp.net using
vb.net. I have now been out of business learning asp.net for about 4+
months. Still waiting for final solution here and still waiting for a
return mail from WROX. They took months to resolve my problems with beg
vb.net book, as well.
I re-registered the dll and restarted iis, per another fellow's
instuctions, but it didn't work.
Michael Miller <not miner>
> Answering my own problem. Gotta mean something.
> This is the procedure I used to get ASP.NET debugging working on a
W> in2K Advanced Server system. Your set of probs may be different.
M> icrosoft is working on a bug release. Hope it helps.
> Michael
|
|
 |