Visual Studio :: Debug Classic Asp Site That Is Called From Site?
Mar 28, 2011
i have an asp.net website which contains a link to a legacy site written in classic asp which has vb 6 classes (dll) in the back ground also.here is what i am trying to achieve:-i want to browse to the asp.net website using IE7,then when the link is clicked then enters the classic asp site i want to start debugging the classic asp and step through it.(also to make things worse, once a the vb6 class is instanciated, and a call make to its method i want to debug the method in the vb 6 code)My system :- XP Pro, IIS 5, Visual Studio 2005 (asp.net project ), Visual interdev 6 (classic asp project) Visual Basic 6 (vb 6 classes compiled into dll)i have been trying everything with no joy, there is lots on the net but nothing seems to have worked.i have the back office components installed so asp debugging is possible, i have configured the asp website s debugging is turned on.if i add a breakpoint to the classic asp site and hit the start button in visual interdev i can step through it fine.My problem is that if i attach interdev to a process (iexplorer.exe or dll.host) then the breakpoints are not hit. if anyone can help me with this it would be great.ont top of that, if anyone can explain to me how to also debug the vb6 dll code in visual basic 6 when it is called from the classic asp site that would be great!
View 1 Replies
Similar Messages:
Oct 21, 2010
Using Visual Web Developer 2010 Express. I was used to creating a web app anytime and I would get a default page for starters and be happy. But today I find that when I pick either the ASP.NET Web Site or ASP.NET Web Application templates I get site.master and a bunch of site admin files that I don't want. Alternately when I select the empty versions of those templates, I get almost nothing at all. An almost empty web.config page and no Default.aspx page. There is nothing magical about having a default.aspx page in place, but it is an indicator of a change when I can only get a virtually completely empty website or a website with a bunch of bells and whistles I don't want.
Also, for some reason, when I create a new app or website as just noted, in the Solution Explorer I get aspx.designer.cs files showing as well as web.config files for both debug and release. Somehow some settings and templates must have changed, or am I missing something here? How can I get my settings/templates to go back to the way they were?
View 1 Replies
Feb 26, 2010
Can anyone get classic asp debugging working in visual studio 2008 windows 7 64 bit? I have an exsiting application that I need to debug and I can't get it working in this environment. I have followed the following tutorial and serveral others. [URL] I can't find dllhost.exe or w3wp.exe? And I don't see the below image when hitting ctrl-F5
View 1 Replies
Aug 14, 2010
is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project
my current project references
i have a very annoying iis problem
iis server stops working until app pool is recycled
i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem
View 2 Replies
Oct 22, 2010
More familar with DreamWeaver. Can i sync pages with the live site from somewhere in Visual Web Developer? Or do I need to use a separate FTP tool.
View 3 Replies
May 27, 2010
I downloaded a trial version of Visual Studio 2010, created a new c# Solution and then wanted to add an ASP.NET Web Site. I am Folllowing an example in a book: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008.In the book they write that a template for createing an c# ASP.NET Web Site would be found, but whereever I search for o template in VisualStudio I cant find that for c#, I could find it for VisualBasic but that is not wath I want!
View 1 Replies
Oct 31, 2010
I am getting the following error when I try to establish ftp remote connection using the 'copy web site' feature on visual studio 2005.
unable to open the web 'ftp://209.*.*.*/httpdocs'. The computer is disconnected from the network.
Why can't I connect to the remote site on visual studio 2005? I can do the same thing on Dreamweaver with no problem. I can ping the IP successfully. I can open the ftp URL on a web browser with no problem.
View 1 Replies
Sep 22, 2010
I'm having a site done in ASP.NET and part of the quote is deployment. It's only one page at the moment. Can I configure VWD to download my app to my PC in VWD?
It will also have a Telerik RadGrid that VWD doen't support, will I still get the page wih some kind of placeholer?
View 1 Replies
Jul 3, 2010
When I updated from 2.0 - 3.5 I just changed the target in visual studio and it fixed my web.config then I just deployed that.
Is the upgrade to 4.0 the same deal?
Can I keep the current site @ 3.5 (with the target framework attrib), but still be able to get the 4.0 goodies like Workflow 4 assemblies?
View 1 Replies
Nov 4, 2010
I have a simple website and can publish it locally to my localhost as the default website.
However, when I try and publish to a different server, VS2008 keeps asking me for the servers id/password.
I have published successfully bwefore to this server from a Windows XP PC running VS2008.
Only difference is that I am now running my VS2008 on Windows 7.
View 1 Replies
Apr 14, 2010
How can I make Visual Studio to use the 64bit compiler (csc.exe/vbc.exe) for an Asp.Net web site?
View 1 Replies
Nov 26, 2010
What is the difference between a Web Application and a Web Site?
These are the steps i am following crating the both:
File - new Project - Visual C# - ASP.NET Web Application
FIle - New Web Site - Select "ASP.NET Web Site"
I know this a simple doubt but i want to know.
View 3 Replies
Apr 1, 2010
I install team foundation server . after that I want to create web site . I click -->file -->new web site --I can't chose any project because display empty box
View 3 Replies
Dec 19, 2010
I am struggling to publish a site built (and working locally) using VWD 2010 Express to a production server.I realise that this is because I don't understand enough about the relationship between the website and SQL server and I certainly don't know enough about the way SQL server works in general. Can anybody recommend some learning resources - books, tutorials, vids etc, that explain the background and in particular address the issue of how to publish to a production server.
View 2 Replies
Dec 28, 2010
I have published my website using VS2010 and then selected FTP Site.Problem is that it does not show me update status. and takes too much time as compare to other FTP client. Is there any way or plugin for visual studio 2010 so i can build and directly publish that on FTP server.
View 2 Replies
Feb 11, 2011
I am taking over for a website in ASP.Net (VB.Net) where the live site is compiled code. So there's no code behind pages. So other than the ASP.Net pages, it's just DLL files in the bin folder.It's also at an ISP where I have no control over the server to remote in.
I have gotten from the client, what I believe to be the latest and greatest code. So there's code behind pages and also a vbproj file. It seems to be have done in an early version of Visual Studio.Thinking maybe 2003.I only have Microsoft Visual Web Developer 2010 (I've been using) and VS2005.So I made a very basic change just to test the waters and built the website, which made a brand new DLL for the site in bin. Also new pdb and xml document. It works fine on dev.I uploaded just this DLL to live. However on live, when I get to the part where I'm submitting a form.I get a very non descript error.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
wwwPittsburghKids.CMP_MembershipNew.cmdSave_Click(Object sender, EventArgs e) +6630
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114 [code]....
I can't see the line number of the error + am I compiling the DLL wrong?I trying to figure out how to do this without breaking the live site. Is there a way to tell what version of .Net it's compiled in.
View 1 Replies
Mar 19, 2011
I've tried all kinds of searches on this site and with Bing and don't seem to get any hits that meet my condition. So pardon me if this is a rather basic question. I'm rather new at ASP.NET programming.I want to experiment with putting up to a live site. GoDaddy gives you free hosting if you get the URL from them. The catch is the hosting only supports IIS 7.0 with .Net 2.0/3.0/3.5. I've uploaded all kinds of plain websites with no problem. So in Visual
Studio 2010 I selected the following options while creating a new project:
<customErrors mode="Off" />
<!--<compilation debug="true" targetFramework="4.0">-->
<compilation debug="true" >
<assemblies>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
I tried various solutions offered on the web for other issues like setting References "Copy Local = true" to upload various binaries.
View 4 Replies
Dec 13, 2010
I am facing a problem reated to web services. A customer is running his website on an old server running .Net Framework version 1.1. We would like from this site to call a Web Service, how can I do that. I have Visual Studio 2010 intalled on my machine and when I use the option "Add Web Reference" the generated files/folders seem to not be compatible.
View 1 Replies
May 21, 2010
What is the best way to add into the build/compile script of an Asp.net project to initiate a IIS to restart the website on DLL rebuild instead of the first request to the site.
Current Process
Compile Project
Wait
Hit APSX Page
IIS starts reload
Wait
Page loads
Ideal process:
Compile Project & Reload IIS
Wait
Hit APSX Page
Page loads
The first way I though of was add a request to just hit one of the pages in the "Post-Build events". Just wondering best practices. This would be similar to "Start" which opens a page immediately on build. Update: The reason I would like to accomplish this is for just for efficiency. I would the to encapsulate the compile time and the restart time into one batch to save on time on step 4 below
VS: ctrl+shift+b Wait for visual que "Build succeeded". Broswer: F5. Wait for IIS reload. (as well as Hit kbd>F5 in unanswered questions in SO)Test page
View 3 Replies
Feb 25, 2011
I want to load test an ASP.NET web service. I have Visual Studio 2008 Professional Edition and Visual Studio 2010. Can either one of these products facilitate load testing? I can't seem to find anything and all Google returns is higher end editions of Visual Studio.If not, what are some of the alternatives.
View 3 Replies
Apr 8, 2010
Does anyone no why web.config transforms are not available for Web Site Projects in VS2010. I thought that Web Site Projects where once introduced as the successor of Web Application Projects. But now the lack the deployment feature which I would really like to use.
Maybe someone knows a workaround, without having to convert 70 websites? Converting to Web Application Projects isn't a real option because I use Table Profile Provider by Hao Kong, which doesn't work with this type of project.
View 4 Replies
Nov 18, 2010
I'm using the web.config transformations on an ASP.NET site so I have .config settings for dev, test, and release environments. I need to run the source code in Visual Studio against the test database using the settings in Web.Test.config and I can't figure out how to do it. I tried changing the configuration to Test but it still uses the base Web.config settings.
View 1 Replies
Apr 4, 2011
When I edit .aspx or .cshtml file in the Visual Studio and press Ctrl-F5 (run), it runs the current file in the browser. How do I make it to avoid this and always open the app's site URL instead?
View 1 Replies
Mar 8, 2010
I was using VWD 2008 Express, then uninstalled it and reinstalled it. Now I am using VWD 2010 Express. Pretty much everything seems to work, except one single AJAX control. Did this change between 2008 and 2010? I'm not even sure if I have AJAX installed, actually. I'm thinking that I need to download and install AJAX, perhaps. The control is in my project (from 2008). I'm trying to copy the control, which didn't change, to my site, and having a heck of a time with it.
Does anyone know what could be preventing this AJAX control from being copied to my site? I already have a control in the site just updating all files since I upgraded to VWD 2010.
View 5 Replies
May 19, 2010
I tried copying the .aspx and .aspx.vb files from my existing VS 2008 web site directory into the VS 2010 project directory (which is how I converted projects from VS2005 to VS2008), but that doesn't seem to make the files appear in the project/solution in VS 2010.So, I've got this site I built in VS2008, and I want to start editing it in VS2010. What's the best way to do this?
View 1 Replies