MS Visual Studio error message while trying to debug an ASP.NET

Asked By 0 points N/A Posted on -
qa-featured

I have Microsoft visual Studio 2010 Ultimate installed on Windows Server 2008 (x86 & x64) with Service Pack 2 , 1GB RAM, 30 GB of HD space, DirectX 9 capable video card running at 1024 x 768.

While I was trying to debug a stored procedure, I got this message:

There is no source code available for the current location

"There is no source code available for the current location"

I tried logging in as a Sysadmin, but the same error comes up.

Tried performing 'Allow SQL/CLR debugging' and restarted MS visual studio but the error persists.

 Any suggestions?

SHARE
Best Answer by Balram
Best Answer
Best Answer
Answered By 0 points N/A #86215

MS Visual Studio error message while trying to debug an ASP.NET

qa-featured

I use an ObjectDataSource:

<asp:DropDownList

ID="ddlServers"

runat="server"

style="margin: 10px;"

DataSourceID="ObjectDataSource1"

DataTextField="SERVER_NAME"

DataValueField="SERVER_AND_PORT"

AutoPostBack="True"

meta:resourcekey="ddlServersResource1">

</asp:DropDownList>

<asp:ObjectDataSource

ID="ObjectDataSource1"

runat="server"

SelectMethod="GetServers"

TypeName="Plugin_Manager_BLL.PluginManager"

OldValuesParameterFormatString="original_{0}">

</asp:ObjectDataSource>

Answered By 5 points N/A #86217

MS Visual Studio error message while trying to debug an ASP.NET

qa-featured
This is the error that mostly occurs due to some problems occurred in the application and error is that no source code is being available for the current location so just uninstall and reinstall again the complete Visual Studio.
 
After uninstalling its mandatory to reboot the system for the sake complete un-installation of Visual Studio from the system available and install a fresh copy.
 
Check also with the application whether it is newer version or the old version and if is older one it's better to upgrade to the new version so that additional features will be added to the package.
 
The problem may be with missing files of the application you are using so its better to uninstall completely and then you re-install it with a fresh copy of the application so that error may not be raised again with the ease of loading the files in which you are willing to access.
 
Thank You.

Related Questions