Showing posts with label debug. Show all posts
Showing posts with label debug. Show all posts

Saturday, March 31, 2012

There Is No Source Code Available For The Current Location

Hey,
I have a ASP.NET web application,
And whenever I try to debug a JScript/VBScript block (using- "stop", or
- "debugger;") I get the following error:
"There Is No Source Code Available For The Current Location"
And when I do succeeded debugging the script, I get the same error when
trying to debug a function from an included JS file.
I tried:
restarting the computer
shutting down the computer
restarting the .Net IDE
Clearing the- Temp ASPNET files from the - Microsoft.Net folder (on -
%windir%)
Clearing the IE Temp files
And got no success...
Thanks ahead,

--RamRam wrote:
> Hey,
> I have a ASP.NET web application,
> And whenever I try to debug a JScript/VBScript block (using- "stop",
or
> - "debugger;") I get the following error:
> "There Is No Source Code Available For The Current Location"
> And when I do succeeded debugging the script, I get the same error
when
> trying to debug a function from an included JS file.
> I tried:
> restarting the computer
> shutting down the computer
> restarting the .Net IDE
> Clearing the- Temp ASPNET files from the - Microsoft.Net folder (on -
> %windir%)
> Clearing the IE Temp files
> And got no success...
> Thanks ahead,
> --Ram

Shutdown Visual Studio .NET
Run IISRESET in command window.
Shutdown <YOUR APPLICATION> COM+ applications
Delete <YOUR APPLICATION> temp files found here:
C:\Documents and Settings\<YOUR USER NAME>\VSWebCache
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files

It worked for me.

T.H.

There is no source code available for the current location

Hello,

I'm new to ASP.net and C#. I have attempted to debug one portion of our Web Application. I then edited some our code and rebuilt the project and now I cannot debug that area in the code. It says "There is no source code available for the current location" and prompts me asking if I want to view the dissambly.

What should I do?

--doc0tis

show us the source and highlite the line where your trying to set the breakpoint.

mcm

There Is No Source Code Available For The Current Location

Hey,
I have a ASP.NET web application,
And whenever I try to debug a JScript/VBScript block (using- "stop", or
- "debugger;") I get the following error:
"There Is No Source Code Available For The Current Location"
And when I do succeeded debugging the script, I get the same error when
trying to debug a function from an included JS file.
I tried:
restarting the computer
shutting down the computer
restarting the .Net IDE
Clearing the- Temp ASPNET files from the - Microsoft.Net folder (on -
%windir%)
Clearing the IE Temp files
And got no success...
Thanks ahead,
--RamRam wrote:
> Hey,
> I have a ASP.NET web application,
> And whenever I try to debug a JScript/VBScript block (using- "stop",
or
> - "debugger;") I get the following error:
> "There Is No Source Code Available For The Current Location"
> And when I do succeeded debugging the script, I get the same error
when
> trying to debug a function from an included JS file.
> I tried:
> restarting the computer
> shutting down the computer
> restarting the .Net IDE
> Clearing the- Temp ASPNET files from the - Microsoft.Net folder (on -
> %windir%)
> Clearing the IE Temp files
> And got no success...
> Thanks ahead,
> --Ram
Shutdown Visual Studio .NET
Run IISRESET in command window.
Shutdown <YOUR APPLICATION> COM+ applications
Delete <YOUR APPLICATION> temp files found here:
C:\Documents and Settings\<YOUR USER NAME>\VSWebCache
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files
It worked for me.
T.H.

Wednesday, March 28, 2012

Think twice before you install "Visual Web Developer 2005 Express Edition Beta1" on your d

It will go ahead and configure IIS to use asp.net 2.0 for your existing
asp.net sites resulting in the fact that you can no longer debug your
asp.net v1.1.4... applications with visual studio.net 2003.

I have spent some time wondering why i could no longer debug my
existing apps. right after my instalation completed and at my big surprise,
IIS has "configured" them to use
asp.net 2.
When i manually corrected this, things started working again.

I wondwer how many other untold stories there are out there about this
issue.

Thanks

JBYou can set the version for the roots that are still 1.1, using
aspnet_regiis:
http://support.microsoft.com/defaul...kb;en-us;816782

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"bredal Jensen" <bred.jen@.mimosa.com> wrote in message
news:Ogsx6I2YEHA.3012@.tk2msftngp13.phx.gbl...
> It will go ahead and configure IIS to use asp.net 2.0 for your existing
> asp.net sites resulting in the fact that you can no longer debug your
> asp.net v1.1.4... applications with visual studio.net 2003.
> I have spent some time wondering why i could no longer debug my
> existing apps. right after my instalation completed and at my big
surprise,
> IIS has "configured" them to use
> asp.net 2.
> When i manually corrected this, things started working again.
> I wondwer how many other untold stories there are out there about this
> issue.
>
> Thanks
>
> JB
Thanks for this warning. I haevn't installed my Epress stuff yet, and now I
will do so on VMWare or VPC.

"bredal Jensen" <bred.jen@.mimosa.com> wrote in message
news:Ogsx6I2YEHA.3012@.tk2msftngp13.phx.gbl...
> It will go ahead and configure IIS to use asp.net 2.0 for your existing
> asp.net sites resulting in the fact that you can no longer debug your
> asp.net v1.1.4... applications with visual studio.net 2003.
> I have spent some time wondering why i could no longer debug my
> existing apps. right after my instalation completed and at my big
surprise,
> IIS has "configured" them to use
> asp.net 2.
> When i manually corrected this, things started working again.
> I wondwer how many other untold stories there are out there about this
> issue.
>
> Thanks
>
> JB
A good idea always. Never install betaware on a production machine (machine
you cannot afford to take time to rebuild).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"middletree" <middletree@.htomail.com> wrote in message
news:%23qJDla2YEHA.556@.tk2msftngp13.phx.gbl...
> Thanks for this warning. I haevn't installed my Epress stuff yet, and now
I
> will do so on VMWare or VPC.
>
> "bredal Jensen" <bred.jen@.mimosa.com> wrote in message
> news:Ogsx6I2YEHA.3012@.tk2msftngp13.phx.gbl...
> > It will go ahead and configure IIS to use asp.net 2.0 for your existing
> > asp.net sites resulting in the fact that you can no longer debug your
> > asp.net v1.1.4... applications with visual studio.net 2003.
> > I have spent some time wondering why i could no longer debug my
> > existing apps. right after my instalation completed and at my big
> surprise,
> > IIS has "configured" them to use
> > asp.net 2.
> > When i manually corrected this, things started working again.
> > I wondwer how many other untold stories there are out there about this
> > issue.
> > Thanks
> > JB
You can set the version for the roots that are still 1.1, using
aspnet_regiis:
http://support.microsoft.com/defaul...kb;en-us;816782

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"bredal Jensen" <bred.jen@.mimosa.com> wrote in message
news:Ogsx6I2YEHA.3012@.tk2msftngp13.phx.gbl...
> It will go ahead and configure IIS to use asp.net 2.0 for your existing
> asp.net sites resulting in the fact that you can no longer debug your
> asp.net v1.1.4... applications with visual studio.net 2003.
> I have spent some time wondering why i could no longer debug my
> existing apps. right after my instalation completed and at my big
surprise,
> IIS has "configured" them to use
> asp.net 2.
> When i manually corrected this, things started working again.
> I wondwer how many other untold stories there are out there about this
> issue.
>
> Thanks
>
> JB
You can get a free tool to switch versions on demand from
http://www.denisbauer.com/

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@. REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"bredal Jensen" <bred.jen@.mimosa.com> wrote in message
news:Ogsx6I2YEHA.3012@.tk2msftngp13.phx.gbl...
> It will go ahead and configure IIS to use asp.net 2.0 for your existing
> asp.net sites resulting in the fact that you can no longer debug your
> asp.net v1.1.4... applications with visual studio.net 2003.
> I have spent some time wondering why i could no longer debug my
> existing apps. right after my instalation completed and at my big surprise,
> IIS has "configured" them to use
> asp.net 2.
> When i manually corrected this, things started working again.
> I wondwer how many other untold stories there are out there about this
> issue.
>
> Thanks
>
> JB
The problem here is that the new tool ships with its own "embeded" web
server so i do not
understand why it has to mess with IIS ?

"clintonG" <csgallagher@.REMOVETHISTEXT@.metromilwaukee.com> wrote in message
news:ulwexL4YEHA.3988@.tk2msftngp13.phx.gbl...
> You can get a free tool to switch versions on demand from
> http://www.denisbauer.com/
>
> --
> <%= Clinton Gallagher
> A/E/C Consulting, Web Design, e-Commerce Software Development
> Wauwatosa, Milwaukee County, Wisconsin USA
> NET csgallagher@. REMOVETHISTEXT metromilwaukee.com
> URL http://www.metromilwaukee.com/clintongallagher/
>
> "bredal Jensen" <bred.jen@.mimosa.com> wrote in message
> news:Ogsx6I2YEHA.3012@.tk2msftngp13.phx.gbl...
> > It will go ahead and configure IIS to use asp.net 2.0 for your existing
> > asp.net sites resulting in the fact that you can no longer debug your
> > asp.net v1.1.4... applications with visual studio.net 2003.
> > I have spent some time wondering why i could no longer debug my
> > existing apps. right after my instalation completed and at my big
surprise,
> > IIS has "configured" them to use
> > asp.net 2.
> > When i manually corrected this, things started working again.
> > I wondwer how many other untold stories there are out there about this
> > issue.
> > Thanks
> > JB

Think twice before you install "Visual Web Developer 2005 Express Edition Beta1" on your d

It will go ahead and configure IIS to use asp.net 2.0 for your existing
asp.net sites resulting in the fact that you can no longer debug your
asp.net v1.1.4... applications with visual studio.net 2003.

I have spent some time wondering why i could no longer debug my
existing apps. right after my instalation completed and at my big surprise,
IIS has "configured" them to use
asp.net 2.
When i manually corrected this, things started working again.

I wondwer how many other untold stories there are out there about this
issue.

Thanks

JBThanks for this warning. I haevn't installed my Epress stuff yet, and now I
will do so on VMWare or VPC.

"bredal Jensen" <bred.jen@.mimosa.com> wrote in message
news:Ogsx6I2YEHA.3012@.tk2msftngp13.phx.gbl...
> It will go ahead and configure IIS to use asp.net 2.0 for your existing
> asp.net sites resulting in the fact that you can no longer debug your
> asp.net v1.1.4... applications with visual studio.net 2003.
> I have spent some time wondering why i could no longer debug my
> existing apps. right after my instalation completed and at my big
surprise,
> IIS has "configured" them to use
> asp.net 2.
> When i manually corrected this, things started working again.
> I wondwer how many other untold stories there are out there about this
> issue.
>
> Thanks
>
> JB
A good idea always. Never install betaware on a production machine (machine
you cannot afford to take time to rebuild).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"middletree" <middletree@.htomail.com> wrote in message
news:%23qJDla2YEHA.556@.tk2msftngp13.phx.gbl...
> Thanks for this warning. I haevn't installed my Epress stuff yet, and now
I
> will do so on VMWare or VPC.
>
> "bredal Jensen" <bred.jen@.mimosa.com> wrote in message
> news:Ogsx6I2YEHA.3012@.tk2msftngp13.phx.gbl...
> > It will go ahead and configure IIS to use asp.net 2.0 for your existing
> > asp.net sites resulting in the fact that you can no longer debug your
> > asp.net v1.1.4... applications with visual studio.net 2003.
> > I have spent some time wondering why i could no longer debug my
> > existing apps. right after my instalation completed and at my big
> surprise,
> > IIS has "configured" them to use
> > asp.net 2.
> > When i manually corrected this, things started working again.
> > I wondwer how many other untold stories there are out there about this
> > issue.
> > Thanks
> > JB