C# - Properly Set Up Silverlight App For Debugging

Jun 24, 2010

First of all, this is my first attempt at a silverlight app and it's a prototype. I have a pre-existing solution with multiple projects. One of those projects is a web portal that has a services directory and publish a .asmx. I added the silverlight app to my solution.When I run the silverlight prototype, it gives me the message: "The silverlight project you are about to debug uses web services. Calls to the web service will fail unless the silverlight project is hosted in and launched from the same web project that contains the web service." That's fine. How do I do that? When I run the silverlight app directly, it runs in the browser as


I tried taking that HTML file and adding it to my portal and then navigating to the HTML file. That just gives me a blank page. After the page loads, the browser shows a "Waiting for localhost..." as if it's making the service calls, but my breakpoints on the service calls aren't being called. Can someone give me some pointers?

View 1 Replies

Similar Messages:

Debugging Silverlight When Hosted In A Web Project?

Jul 8, 2010

I have two projects: A web application project, that has a webpage that hosts a Silverlight application, as well as a web service A Silverlight application project, the one hosted in the above web application

If I debug the Silverlight application, it wants to run this with a generated web page, which will of course not start my web application, and web service calls fails due to some cross-site security model. So even if I have the web application running, the Silverlight application won't use it.

If I debug the Web application (that is, set it as a start project and hit Debug), then the Silverlight application is apparently correctly hosted, but I can't debug it. Any breakpoints in it shows up as those hollow circles.

So what am I doing wrong? How should I configure my projects so that I can start the web application, host my Silverlight application, and debug it?

I'm betting it is one of those "dough" moments when someone tells me, but I can't figure it out.

This is Visual Studio 2008, .NET 3.5 and Silverlight 3.

View 1 Replies

Visual Studio :: Unable To Start Debugging On The Web Server / Debugging Failed Because Integrated Windows

Jun 3, 2010

I get this error when I hit F5 in VS 2008. I have checked that Windows authentication is enabled on the site and it is. I can mannully attach the debugger to the IIS process and it works. What could be wrong? I have tried alot of things without success.

View 2 Replies

Visual Studio :: How To Turn Off Remote Debugging 2010 / Unable To Start Debugging On Web Server

Mar 7, 2011

I'm trying to debug my web application on my localhost machine in Visual Studio 2010 and I keep getting this error: "unable to start debugging on web server. The Microsoft Visual Studio remote debugging monitor(MSVSMON.exe) does not appear to be running on the remote computer."

Is there a way I can turn this off as I'm not trying to make any attempts debugging remotely.

View 1 Replies

Iis7 - Unable To Start Debugging On The Web Server - Couldn't Start Debugging VS 2010 - II7 - Win 7 X64

Jan 11, 2011

I am running Visual Studio 2010 (as Admin), IIS 7 on Windows 7 x64. I am able to run the ASP.NET web site in IIS 7 without debugging just fine, but when I press F5 to debug it, I get: Unable to start debugging on the web server. Could not start ASP.NET debugging. More information may be available by starting the project without debugging. Unfortunately the help link is not helping me much and leads down a heck of a large tree of things. I checked the following:

Security requirements — I don't recall having to do anything special before. The worker process in IIS7 is w3wp.exe. It says that if it's running as ASPNET or NETWORK SERVICE I must have Administrator privileges to debug it. How do I find out if I need to change something here? Web site Property Pages > Start Options > Debuggers > ASP.NET is checked. Use custom server is set to the URL of the site (which works fine without debugging). Debugging is enabled in web.config. Application is using ASP.NET 3.5 (I want to move to 4.0 eventually but I have some migration to deal with). Application pool: Classing .NET AppPool (also tried DefaultAppPool). Surely it shouldn't be that hard to install IIS, VS, create a web site, and start testing it?

View 2 Replies

Debugging Dll In Vb.net Web Application?

Sep 3, 2010

I have a vb.net web application in visual web developer 2008 with a dll file and i need to debug a method in that dll. I also have project source files for the dll file itself. How could i make the web application use the source instead of the dll file so that i'd be able to debug it? I've tried debugging the dll project itself, but it's not a very good solution, because it seems the dll depends on the web application settings and data and it would simply be too much work to get it working.

View 1 Replies

Debugging Timing Out With IIS?

Apr 29, 2010

my client/iis (not sure which) usually times out after about 30s - 1 minute while im debugging (stepping through code) which not only causes me to lose my spot and have to start over (usually stepping faster, making more mistakes) but the IIS Debug session closes completely and I have to warm up the entire session again.

What's the best way to get more time out of a debugging session?

Debugging a vanilla 3.5 Web Site (not app) on IIS 7.5 Classic Pipeline

View 1 Replies

Debugging Not Working With IIS 7?

Mar 1, 2011

I tried to running a website in debug more (F5), and I get the following error message. Note, that I am using a local IIS 7 server on windows 7 64 bit machine.

How can I get the debugger to work?

View 1 Replies

Debugging Each File?

Jul 21, 2015

I have an SMTP contact form here URL...contact that is just not working. I have checked twice with my Web hosting service about SMTP credentials and all is fine. I have asked three other people to check my SMTP code and each tells me the code works on their servers (gmail, for example).I have started to debug my code and get an unrelated JS error which, I am told by one JS top dog, is irrelevant to the form problem I have.

I assume, therefore, that the problem lies deep in the code. In order to debug it, do I just select each file from App_Code, bin, Scripts, etc, - the whole Solution Explorer - and select Debug?

View 39 Replies

VS 2005 Using IE8 And Breakpoints/debugging?

Mar 3, 2010

Yesterday I've installed IE8 but now my debugging and breakpoints does not work in VS 2005! How can I make it work again? Is it a special browser setting?

View 2 Replies

Configuration :: Getting PDB To Bin Directory For Debugging

Jan 7, 2011

If I have a dll in bin (in a dev environment) that I need to debug and the dll doesn't currently have its associated PDB file in bin, what's the best way to get the PDB file into bin (if I have the source code of the dll)? Will it work to just copy the PDB to bin, or if I re-add the reference to the source dll through visual studio will that also bring in the pdb?

View 1 Replies

.NET And .NET MVC Application Debugging Available In MonoDevelop?

Nov 2, 2010

I've tried to debug sample ASP.NET and ASP.NET MVC applications in MonoDevelop 2.4 (on Mono 2.8 on Windows 7) but breakpoints doesn't work.If debugging MVC Application MonoDevelop prints the following into the output:

Mono.Debugger.Soft.VMDisconnectedException: An exception of type "Mono.Debugger.Soft.VMDisconnectedException" thrown.
at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
at Mono.Debugger.Soft.Connection.Type_GetInfo(Int64 id)

View 2 Replies

Post-Request When Debugging?

Feb 11, 2010

is it possible to debug an ASP.Net-Website with a post-request and post parameters? Visual Studio 2010 only debugs withGET and no parameters and I wasn't able to find any option about this.

View 1 Replies

Web Forms :: Urlrewritingnet And Debugging?

Feb 12, 2010

I am having real trouble with a site I have to change that uses urlrewritingnet. The site works great when I run it in IIS however when I run it in VS2008 the pages have no CSS or JS. This is a real pain as it relys heavily on JS and I cannot debug without it.Would it be better just to turn urlrewritingnet off when working in VS? if so how would I go about it?


View 4 Replies

IE Hangs When Debugging With VWD2008?

Jun 16, 2010

When I try to start my application in debug mode (F5), 1 out of three times IE opens with a blank screen, and Visual Web Developer says it cannot start the application. Sometimes it also says "Element not found". I can only shut down IE by using the task manager.

View 6 Replies

Debugging The Javascript In Website?

Oct 28, 2010

My webpage contains :

I did a break points on the Tools.JS , but while debugging I didn't found my JS in Script Documents (Run Time mode) , and i remarked the exclamation message on my BP saying that this break point willn't be take in mind cause the JS document isn't charged.

My question is : Is there another way to load a JS to be available in the debugging mode? and how could i debug my JS in this case ?

View 3 Replies

WCF / ASMX :: Debugging A Webservice

Jun 29, 2010

How to debug a web service localhost after hosting the webservice in IIS

i am not able to find a solution how to debug a web service locally . ie

i am not able to put a breakpoint in afterdeserialize and before serialize method

can any provide a sample code..

Any help

View 6 Replies

Web Forms :: How To Disable Script Debugging In C#

Mar 1, 2011

How do i disable script debugging of IE using C# code?

View 1 Replies

Web Forms :: Changing The Debugging Keys In Vs?

Apr 27, 2010

is it possible to change my debuging kyes instead of function keys..

because am using the laptop and always i have to press "fn" key to prss the f10 or f11

is there any solution ..or can i permanantly press the fn click event ?

View 1 Replies

Project Fails To Load DLL For Debugging?

Aug 30, 2010

I put a breakpoint on a Page_Load method for a .aspx page and I'm getting the following error when trying to run in debug mode:Quote:The breakpoint will not currently be hit. No symbols have been loaded for this document.I checked the "Modules" window and the DLL for this project is not listed there, but it does list all the DLLs for the other projects in the solution. I also checked web.config and verified that debug="true".

View 5 Replies

C# - Remote-Debugging In Running Web Application

Feb 5, 2010

We are trying to add a new page to a running web application. such that a new dll and aspx file are being added. I've setup break points in the code file and Built the application transfering the dll to the remote machine bin file and the aspx page to a folder within the web application. Note this folder is not in the same folder hierarchy as it built in. I'm not sure if thats the problem. Basically we are appending new functionality to a web application.I've copied the correct Remote Debug Monitor to the server and have it running.

View 1 Replies

VS 2010 Web.config Transformations For Debugging?

Jun 7, 2010

I'm a fan of the new VS 2010 Web.config transformations. I use this feature for deployment purposes and wondered if it is possible to use them for debugging too.I think of using them in the IDE: I want to create different built configuration (with linked transformation configurations); choose one of them; start the web site in the IDE and debug the different configurations this way.

View 3 Replies

C# - Application Runs When Debugging But Not When Published

May 10, 2010

When publishing my web application and then running it will return the error

"Could not load file or assembly 'BaseApplicationName' or one of its dependencies. An attempt was made to load a program with an incorrect format."

However if I run the application through debugging (f5) it runs correctly.

I guess what it comes down to is

what differences are there when running an application through debugging vs publishing it that would cause a problem like this?

When publising I have it set to delete all existing.

History of how it started... I added the 32 bit Oracle.DataAccess dll to my 64 bit system. It would not work and crash giving the same error as above but with the Oracle.DataAccess name instead of the baseApplicationName. I have since removed all references to it and removed the dll to try and get it to run without it once again.

View 3 Replies

Security :: Debugging Forms Authentication?

Feb 8, 2010

I'm using VS2008 and incorporating forms authentication into a web application, but have been unable to test my changes in the debugger. This seems to be an issue with having to use Integrated Windows authentication for VS2008 debugging.

How can I use VS to debug my forms authentication code-behind?

View 5 Replies

Debugging .Net 3.5 Code Running Under A .Net 4.0 App Pool?

Sep 21, 2010

I have trawled the internet - to no avail. Woe is me.I have a .Net website running under a .Net framework 4.0 App Pool.The website references various assemblies that have been compiled for .Net 3.5.I have ensured that identical versions of the dll's and pdb's are in the bin folder of the the 3.5 code that I am trying to debug, and the reference path of the 4.0 web site. I.e. the code that I am trying to debug matched the assemblies that are loaded into the app pool's process.

When I attach the debugger using VS2008 with the solution for the .Net 3.5 code open, the breakpoints that I have set are marked as invalid (i.e. marked with an exclamation mark). When I hit refresh on a browser page that invokes the code that I am trying to debug, VS2008 raises an unmanaged code exception.I have researched In-Process Side-by-Side code execution, which is what is occurring in this instance, and is working very well; but for the life of me I cannot find any information on debugging in this scenario.It is not an option to convert the .Net 3.5 projects to use .Net 4.0, nor is it possible to convert them to use VS2010 and leave them targeting .Net framework 3.5

View 1 Replies

Copyrights 2005-15 www.BigResource.com, All rights reserved