473,806 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I debug into the Temporary ASP.NET Files folder?


Hi

I am trying to debug the code generated for aspx files. The following
assembly is generated for an aspx page:

App_Web_webform 1.aspx.19c0ab3f .kajnxlqq.dll!A SP.main_test_we bform1_aspx.Pro cessRequest(Sys tem.We...

However when I click on the it in the Call Stack window, it says:

There is no source code available for the current location.

I know the location of the .cs file (in the Temporary ASP.NET Files
folder). But how can I tell Visual Studio to use that source code file?

Thanks.

Regards
Warren
Sep 25 '08 #1
5 1733
Hello Warren,

Why do u want to debug this stuff?!
is it your component or what?!

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour
:: http://twitter.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
WTHi
WT>
WTI am trying to debug the code generated for aspx files. The
WTfollowing assembly is generated for an aspx page:
WT>
WTApp_Web_webfo rm1.aspx.19c0ab 3f.kajnxlqq.dll !ASP.main_test_ webform1_a
WTspx.ProcessRe quest(System.We ...
WT>
WTHowever when I click on the it in the Call Stack window, it says:
WT>
WTThere is no source code available for the current location.
WT>
WTI know the location of the .cs file (in the Temporary ASP.NET Files
WTfolder). But how can I tell Visual Studio to use that source code
WTfile?
WT>
WTThanks.
WT>
WTRegards
WTWarren
Sep 26 '08 #2
Hi Michael

Thanks for your reply. It's a web site of my own and I just want to know
how ASP.NET works under the hood.

One thing I am wondering is that, since I know where the source code is,
why doesn't VS let me tell it the path to the code?

Regards
Warren

Michael Nemtsev [MVP] wrote:
Hello Warren,

Why do u want to debug this stuff?!
is it your component or what?!

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour :: http://twitter.com/laflour

"The greatest danger for most of us is not that our aim is too high and
we miss it, but that it is too low and we reach it" (c) Michelangelo

WTHi
WTWTI am trying to debug the code generated for aspx files. The
WTfollowing assembly is generated for an aspx page:
WTWT>
App_Web_webform 1.aspx.19c0ab3f .kajnxlqq.dll!A SP.main_test_we bform1_a
WTspx.ProcessRe quest(System.We ...
WTWTHowever when I click on the it in the Call Stack window, it says:
WTWTThere is no source code available for the current location.
WTWTI know the location of the .cs file (in the Temporary ASP.NET Files
WTfolder). But how can I tell Visual Studio to use that source code
WTfile?
WTWTThanks.
WTWTRegards
WTWarren

Sep 26 '08 #3
I can step into the .NET Framework code (such as System.Web,
System.Web.UI), but the assembly compiled for an aspx page is missed out
(though symbols loaded). VS cannot locate the source code of the
assembly, nor does it allow me to tell it even I know it.
Warren Tang wrote:
Hi Michael

Thanks for your reply. It's a web site of my own and I just want to know
how ASP.NET works under the hood.

One thing I am wondering is that, since I know where the source code is,
why doesn't VS let me tell it the path to the code?

Regards
Warren

Michael Nemtsev [MVP] wrote:
>Hello Warren,

Why do u want to debug this stuff?!
is it your component or what?!

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour :: http://twitter.com/laflour

"The greatest danger for most of us is not that our aim is too high
and we miss it, but that it is too low and we reach it" (c) Michelangelo

WTHi
WTWTI am trying to debug the code generated for aspx files. The
WTfollowing assembly is generated for an aspx page:
WTWT>
App_Web_webfor m1.aspx.19c0ab3 f.kajnxlqq.dll! ASP.main_test_w ebform1_a
WTspx.ProcessR equest(System.W e...
WTWTHowever when I click on the it in the Call Stack window, it says:
WTWTThere is no source code available for the current location.
WTWTI know the location of the .cs file (in the Temporary ASP.NET
Files
WTfolder). But how can I tell Visual Studio to use that source code
WTfile?
WTWTThanks.
WTWTRegards
WTWarren

Sep 26 '08 #4
Hello Warren,

Did you set you VS to load all missed symbols?! http://blogs.msdn.com/sburke/archive...urce-code.aspx
---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour
:: http://twitter.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
WTI can step into the .NET Framework code (such as System.Web,
WTSystem.Web.UI ), but the assembly compiled for an aspx page is missed
WTout (though symbols loaded). VS cannot locate the source code of the
WTassembly, nor does it allow me to tell it even I know it.
WT>
WTWarren Tang wrote:
WT>
>Hi Michael

Thanks for your reply. It's a web site of my own and I just want to
know how ASP.NET works under the hood.

One thing I am wondering is that, since I know where the source code
is, why doesn't VS let me tell it the path to the code?

Regards
Warren
Michael Nemtsev [MVP] wrote:
>>Hello Warren,

Why do u want to debug this stuff?!
is it your component or what?!
---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour :: http://twitter.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we miss it, but that it is too low and we reach it" (c)
Michelangel o

WTHi
WTWTI am trying to debug the code generated for aspx files. The
WTfollowing assembly is generated for an aspx page:
WTWT>
App_Web_webfo rm1.aspx.19c0ab 3f.kajnxlqq.dll !ASP.main_test_ webform1_a
WTspx.Process Request(System. We...
WTWTHowever when I click on the it in the Call Stack window, it
says:
WTWTThere is no source code available for the current location.
WTWTI know the location of the .cs file (in the Temporary
ASP.NET
Files
WTfolder). But how can I tell Visual Studio to use that source
code
WTfile?
WTWTThanks.
WTWTRegards
WTWarren

Sep 26 '08 #5
I've read that article before. I can make sure that all symbols are
loaded successfully.

To repro this,
1. add a line in the Page_Load; set a break point on it; Press F5;
2. When the vs debugger breaks, select the following assembly from
call stack window:

App_Web_webform 1.aspx.19c0ab3f .kajnxlqq.dll!A SP.main_test_we bform1_aspx.Pro cessRequest(Sys tem.We..

3. Double click on it, and the error pops up:

There is no source code available for the current location.

Michael Nemtsev [MVP] wrote:
Hello Warren,

Did you set you VS to load all missed symbols?!
http://blogs.msdn.com/sburke/archive...urce-code.aspx
Sep 27 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
16839
by: Rosa | last post by:
Hi, I'm trying to clear the TIF on Windows XP programmatically with the below code. This code works fine on any folder but the TIF. For some reason the atEnd() statements always defaults to true and no files are deleted in the folder. The peculiarity of this issue is that the files/subfolders cannot be seen through the windows explorer either. I can only access/delete them through a command shell. Any ideas?
3
3909
by: Rajiv Das | last post by:
VS 2003, XP SP2 ------------------------------------------------------------ DirectoryInfo temporary = new DirectoryInfo( Environment.GetFolderPath(Environment.SpecialFolder.InternetCache)); FileInfo files = temporary.GetFiles(); foreach(FileInfo fi in files) { Console.WriteLine(fi.FullName); }
0
1526
by: Scott Collens | last post by:
Hi all, I have a question regarding web.config. I am ready to flip the application to the production server but when I switch the debug setting in the web.config from <compilation defaultLanguage="vb" debug="true" /> to
12
3426
by: nospam | last post by:
All the documentation says that leaving an ASP.NET application in debug mode has a big performance hit. I can't detect any difference between debug and non-debug modes. Am I missing something or is the documentation wrong? I've been load testing an ASP.NET website (built in VS.NET 2003 in C#). I've used the ACT to generate heavy loads over several minutes. Debug or no debug produces almost identical performance results.
3
2450
by: ktrvnbq02 | last post by:
Hi, We have an ASP.NET application built in Release mode via Visual Studio. All of the C# code is in the code-behind files (i.e. *.aspx.cs files) and there is no C# in the *.aspx files themselves. In this scenario, will the following setting have any detrimental effect if left set to true when running a Release build described above?
8
1924
by: | last post by:
I'm starting up the development server myself and using the "Startup Url" property of the web project. The problem is i cannot debug. The debug symbols are never loaded. I realize they are under the temporary internet files folder but I have even tried using the new depoloyment addin-in but that does not seem to work either. There is a /bin folder with the debug symboles in there but it still does not load them up How can i include the...
5
3431
by: rogersw8n | last post by:
Some how, some way the account that creates folders under Temporary Internet files has been changed to a domain account for VS 2003 and VS 2005. I recently installed VS 2005. All seemed to be ok afterwards. I did no development for a couple of weeks, came back and I kept receiving Access Denied to Microsoft.Net\Temporary Internet Files\... Access is Denied. ASPNET had full access to that file and all subfolders. The website I am...
6
9144
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++ project. I then add a class library, and add a reference to this project in the first project. When I do a release build, I see the following in the output from the DLL compile: /OUT:"C:\Documents and Settings\Andrew\My Documents\Visual Studio
9
1789
by: Waldy | last post by:
Hi there, I have a VS 2005 Web Site project that is taking an age to build or run. It takes about fifteen minutes to run in debug mode. Even if I just select Build Page, Visual Studio hangs for about five minutes. There are about 20 pages so far and about 50 references. Does anyone have any ideas?
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10369
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9187
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4329
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.