Showing posts with label debugging. Show all posts
Showing posts with label debugging. Show all posts

Saturday, March 24, 2012

Strange Error While Debugging

I put a break point in the Page_Load function but when I tell it to run
till breakpoint, a little question mark appears inside the breakpoint
stop sign and the popup says that the breakpoint will not be hit because
there are currently no symbols loaded for this document.

What does that mean? Why isn't it hitting a line of code inside the
Page_Load function?

JohnAre you running in debug mode?

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows XP
Windows XP Associate Expert
--
"John Kraft" <jhkraft@.ilstu.edu> wrote in message
news:bhbh18$d8j$1@.malachite.ilstu.edu...
> I put a break point in the Page_Load function but when I tell it to run
> till breakpoint, a little question mark appears inside the breakpoint
> stop sign and the popup says that the breakpoint will not be hit because
> there are currently no symbols loaded for this document.
> What does that mean? Why isn't it hitting a line of code inside the
> Page_Load function?
> John
hi,

1) check Project properties -> Configuration properties -> Debugging ->
enable asp.net debugging is set to on.

2) check if Buid-> configuration manager -> active configuration set to
Debug.

3) sometimes error in the code can prevent from the debugger to reach
it. remark functions to check it out.

Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Tuesday, March 13, 2012

Strange Periodic Error When Debugging

I am building an asp.net application on my machine and every so often when i
press F5 to debug i get the following error. This is most annoying because
the only way to eleviate the error is reboot. Even iisreset does not work.
Please help.

Server Error in '/myapp' Application.
-----------------------
--

Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Access is denied: 'my_DAL'.

Source Error:

Line 196:<add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197:<add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198:<add assembly="*"/>
Line 199:</assemblies>
Line 200:</compilation
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config Line:
198

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'my_DAL' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = my_DAL
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/myappLOG: Initial PrivatePath =
bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: my_DAL
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/newtheodellsorg/218982ac/b733b907/my_DAL.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/newtheodellsorg/218982ac/b733b907/my_DAL/my_DAL.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/NewTheOdellsOrg/bin/Odell_DAL.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: my_DAL, Version=1.0.1602.18175, Culture=neutral,
PublicKeyToken=null

-----------------------
--
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573There is a nifty tool called ntfilemon which can be used to troubleshoot
File Access Permissions if one is a tech-savvy debugger. NTFileMon is a free
File Monitoring tool provided by Systernals or SysInternals. Check Google
for it

Secondly, I would check if you have the Indexing service enabled try going
to
Start -> Administration Tools -> Computer Management -> Services and
Applications -> Indexing Service -> System -> Directories
C:\WINNT\Microsoft.NET\Framework
Try Adding that directory by right clicking and going new -> Directory
Select "No" to Including index

http://support.microsoft.com/defaul...kb;en-us;329065

Hope this helps

savv
"TJO" <no@.spam.net> wrote in message
news:uSUwOq3PEHA.2704@.TK2MSFTNGP10.phx.gbl...
>I am building an asp.net application on my machine and every so often when
>i
> press F5 to debug i get the following error. This is most annoying
> because
> the only way to eleviate the error is reboot. Even iisreset does not
> work.
> Please help.
>
> Server Error in '/myapp' Application.
> -----------------------
> --
> Configuration Error
> Description: An error occurred during the processing of a configuration
> file
> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
> Parser Error Message: Access is denied: 'my_DAL'.
> Source Error:
> Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 198: <add assembly="*"/>
> Line 199: </assemblies>
> Line 200: </compilation>
> Source File:
> c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config
> Line:
> 198
> Assembly Load Trace: The following information can be helpful to determine
> why the assembly 'my_DAL' could not be loaded.
> === Pre-bind state information ===
> LOG: DisplayName = my_DAL
> (Partial)
> LOG: Appbase = file:///c:/inetpub/wwwroot/myappLOG: Initial PrivatePath =
> bin
> Calling assembly : (Unknown).
> ===
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: my_DAL
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/newtheodellsorg/218982ac/b733b907/my_DAL.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/newtheodellsorg/218982ac/b733b907/my_DAL/my_DAL.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/NewTheOdellsOrg/bin/Odell_DAL.DLL.
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: my_DAL, Version=1.0.1602.18175,
> Culture=neutral,
> PublicKeyToken=null
>
> -----------------------
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET
> Version:1.1.4322.573

Strange Periodic Error When Debugging

I am building an asp.net application on my machine and every so often when i
press F5 to debug i get the following error. This is most annoying because
the only way to eleviate the error is reboot. Even iisreset does not work.
Please help.
Server Error in '/myapp' Application.
----
--
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: Access is denied: 'my_DAL'.
Source Error:
Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line:
198
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'my_DAL' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = my_DAL
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/myappLOG: Initial PrivatePath =
bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: my_DAL
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/newtheodellsorg/218982ac/b733b907/my_DAL.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/newtheodellsorg/218982ac/b733b907/my_DAL/my_DAL.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/NewTheOdellsOrg/bin/Odell_DAL.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: my_DAL, Version=1.0.1602.18175, Culture=neutral,
PublicKeyToken=null
----
--
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573There is a nifty tool called ntfilemon which can be used to troubleshoot
File Access Permissions if one is a tech-savvy debugger. NTFileMon is a free
File Monitoring tool provided by Systernals or SysInternals. Check Google
for it
Secondly, I would check if you have the Indexing service enabled try going
to
Start -> Administration Tools -> Computer Management -> Services and
Applications -> Indexing Service -> System -> Directories
C:\WINNT\Microsoft.NET\Framework
Try Adding that directory by right clicking and going new -> Directory
Select "No" to Including index
http://support.microsoft.com/defaul...kb;en-us;329065
Hope this helps
savv
"TJO" <no@.spam.net> wrote in message
news:uSUwOq3PEHA.2704@.TK2MSFTNGP10.phx.gbl...
>I am building an asp.net application on my machine and every so often when
>i
> press F5 to debug i get the following error. This is most annoying
> because
> the only way to eleviate the error is reboot. Even iisreset does not
> work.
> Please help.
>
> Server Error in '/myapp' Application.
> ----
--
> --
> Configuration Error
> Description: An error occurred during the processing of a configuration
> file
> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
> Parser Error Message: Access is denied: 'my_DAL'.
> Source Error:
> Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 198: <add assembly="*"/>
> Line 199: </assemblies>
> Line 200: </compilation>
> Source File:
> c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config
> Line:
> 198
> Assembly Load Trace: The following information can be helpful to determine
> why the assembly 'my_DAL' could not be loaded.
> === Pre-bind state information ===
> LOG: DisplayName = my_DAL
> (Partial)
> LOG: Appbase = file:///c:/inetpub/wwwroot/myappLOG: Initial PrivatePath =
> bin
> Calling assembly : (Unknown).
> ===
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: my_DAL
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/newtheodellsorg/218982ac/b733b907/my_DAL.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/newtheodellsorg/218982ac/b733b907/my_DAL/my_DAL.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/NewTheOdellsOrg/bin/Odell_DAL.DLL.
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: my_DAL, Version=1.0.1602.18175,
> Culture=neutral,
> PublicKeyToken=null
>
> ----
--
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET
> Version:1.1.4322.573
>