Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 19th, 2008, 12:20 AM
Friend of Wrox
Points: 630, Level: 9
Points: 630, Level: 9 Points: 630, Level: 9 Points: 630, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Austin, TX, USA.
Posts: 124
Thanks: 0
Thanked 1 Time in 1 Post
Default How to run debugging in VS 2005?

For the VS 2005 applications, we have had a database Server where the SQL Server databases were built. Selecing "Start without debugging" completed the application with no data bound to a GridView.

To debug the application, I clciked Debug menu and select Start Debugging. Here is the error msg:

"Unable to strat debugging on the web server. The COM+ registry database detected a system error."

What does this error message mean?

Also for the VWD 2005 Express and SQL Server Standard authentication,
clicking Start Debugging showed:

"Debugging failed because integrated Windows authentication is not enabled."

To debug, the User ID/Password connection string is no good?

TIA,
Jeffrey
__________________
C. Jeffrey Wang
  #2 (permalink)  
Old January 19th, 2008, 12:35 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

A search for the first error message only turned up your post that you made on the ASP.NET forums, however, by massaging my query on Google I turn up this result:
http://forums.microsoft.com/MSDN/Sho...01790&SiteID=1 here is the google query i used: http://www.google.com/search?hl=en&r...B+system+error

Your second error is easier.
Goto Start --> Run --> inetmgr This starts the IIS MMC

Right click on your website (or application) and select properties. Go to the Directory Security Tab. Tick the Integrated Windows Authentication checkbox. This applies to IIS 5.1 - 6

For IIS 7 check this link:
http://blogs.msdn.com/matt_pietrek/a...d-asp-net.aspx

Also, if you are running Vista, you need to have at least Home Preimum to enable Windows Authentication in IIS. (Home Basic/Starter do not provide this functionality)

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========
  #3 (permalink)  
Old January 19th, 2008, 12:47 AM
Friend of Wrox
Points: 630, Level: 9
Points: 630, Level: 9 Points: 630, Level: 9 Points: 630, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Austin, TX, USA.
Posts: 124
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks.

First thing first.
"Your second error is easier.
Goto Start --> Run --> inetmgr This starts the IIS MMC"


To debug VS/VWD 2005, I have to use Integrated authentication mode?

-- Jeffrey
  #4 (permalink)  
Old January 19th, 2008, 01:15 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Yes.

When you attempt to Debug a web application the DEBUG verb is sent along with your request to the server which IIS has to authenticate so that you can become attached to the process allowing you to debug said application.

This has nothing to do with the connection string for SQL Server.

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
  #5 (permalink)  
Old January 22nd, 2008, 10:34 AM
Friend of Wrox
Points: 630, Level: 9
Points: 630, Level: 9 Points: 630, Level: 9 Points: 630, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Austin, TX, USA.
Posts: 124
Thanks: 0
Thanked 1 Time in 1 Post
Default

For the error msg:
"Debugging failed because integrated Windows authentication is not enabled."

Clicking the checkbox of Integrated Windows Authentication under Directory Security Tab solved the problem.

For the error msg:
"Unable to strat debugging on the web server. The COM+ registry database detected a system error."

One post showed one solution:
"I made sure that ASPNET had access to the temporary files directories: c:\%WinDir%\Microsoft.NET\Framework\2.0.50727\Temporary ASP.NET Files"

On the PC with which I solved the first error there is a 'Temporary ASP.NET files' folder under the IIS Default Web Site and Solution Explorer, but on the PC with the COM+ registry error, there is no such folder. Wondering if this folder have to be created under IIS Default Web Site in order to solve the COM+ registry error? If yes, how?

TIA,
Jeffrey
  #6 (permalink)  
Old January 22nd, 2008, 03:07 PM
Friend of Wrox
Points: 630, Level: 9
Points: 630, Level: 9 Points: 630, Level: 9 Points: 630, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Austin, TX, USA.
Posts: 124
Thanks: 0
Thanked 1 Time in 1 Post
Default

One Post for solving the DOM+ registry database error is:
Try adding ASPNET to the Local Administrators group.

I've tried that before. Thought I may not 'refresh' correctly, so did it again. This time I shut down and restarted my workstation. It worked.

Thanks.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically run some codes in SQL server 2005 Andraw SQL Server DTS 1 June 4th, 2008 09:40 PM
How to run the Windows Media File in asp.net 2005 chavakoti ASP.NET 2.0 Professional 0 August 10th, 2007 04:03 AM
debugging in visual studio.net 2005 wendy elizabeth Visual Studio 2005 1 June 28th, 2007 10:58 PM
Unable to run script of sqlserver 2005 in 2000 prashantlakhlani SQL Server 2000 1 August 24th, 2006 10:41 AM
Can't run any local web sites created in VS 2005 1 drdexter33 ASP.NET 2.0 Basics 6 October 4th, 2005 03:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.