Debug A Deployed Website?
Nov 18, 2010
This question kind of follows on froma previous one I posted. I have a .net web site deployed on a server.
In certain circumstances the site falls over. Specifically, when I browse to the site from my PC (which has visual studio) to the web server using a particular dns entry. So, I want to debug a browser session on my PC which is looking to a URL on a web server. How can I do this? Within VS when I attach to Internet Explorer no break point is ever reached?
View 2 Replies
Similar Messages:
Jan 26, 2011
I have an asp.net application which works fine in debug mode but gives a error when i access the default.aspx
after deploying to IIS.
View 4 Replies
Oct 27, 2010
I know there have been countless posts on these types of problems, and I have read through alot of them as well as doing Google searches, but I have not found anything that applies to my specific situation. If anyone has posted a similar question link me to the post with any appropriate derisive comments . Mods if this is the wrong forum feel free to move the post to the appropriate location.
I am a newbie C# developer. I have been getting my feet wet writing a C# web app for my department. I am using the following system:
Windows 7 Professional Visual Web Developer 2010 Version 10.0.30319.1 .Net framework 4.0.30319. IIS version 7.5.7600.16385 Internet Explorer 8.0.7600.16385CO SQL Server 2008 R2
When I run my application in the VWD debugger everything works fine and looks the way I want it to work. When I deploy to IIS (which is on the same box that I develop on) I start having some issues. Here is a breakdown of the problems I am having:
I have an asp:menu control with orientation set to horizontal. When I initially load the sitre after a deploy the menu displays correctly. But when I go to a different web page in the app the menu switches to vertical and the width of each menu item spans the width of the div that surrounds it. On the same page that causes issues with the asp:menu I also have asp:ComboBox controls that are used to filter information on the page. The combo boxes just look like text boxes. The data that should populate the boxes is not present.
I also have some ajax accordion controls contained in asp:updatepanels, neither of which work. The accordion controls are all expanded, and I cannot collapse them. If I trigger an update the entire page reloads instead of just the specific control.
I do not receive any errors when I browse to the page that causes the problems. It loads just fine everything is just jacked up. Like I said, everything works flawlessly in the VWD debugger. I know the VWD debugger does not use IIS, which makes me think this is an IIS issue, but I do not even know where to start to pinpoint the problem.
View 3 Replies
Aug 27, 2010
Code]....
for example it just starts notepadn my development pc i'm using Win7 and when i deploy the app onto my local IIS7 it works and i can call notepadWhen i run debug mode with VS2010 it works too!
View 2 Replies
Nov 12, 2010
i just deployed my web site to the remote server. I noticed that the menu (navigation) bar is doesn't display as on my local server. I am using visual studio 2010.The stylesheet was also deployed to my remote server. I am using the new asp.net 4 already designed navigation. It works find on my local machine but not on the remote machine.
View 2 Replies
Aug 2, 2010
I'm finally at the point of deploying my ASP.NET 4.0 MVC 2.0 -based web application to the target system and I am getting blank pages for everything - even for the login page. The web application is starting up cleanly without exceptions according to the logs, but none of my MVC routes are ever followed. Instead I get a 200 OK response with an empty page. Here's my environment:
The web application is the root application of a web site. This web site is associated with its own app pool. The pool is set up for .NET 4.0 with a specific local non-privileged user (not the default Network or System user), and this user has read access to the entire web site's tree.I am including System.Web.Mvc as a "Copy Local" reference, which is then in the bin area of the site. I have confirmed that the installed .NET 4.0 already has version 4.0 of the Abstractions and Routing stuff.The web site directory is in the Program Files tree, but any data the application reads and writes is in a different tree, a subdirectory of ProgramData. The app pool's user has read/write access to everything in that subtree. Evidence: the program is logging successfully to a directory in that tree.The site uses HTTPS but I have verified via trace.axd that it is getting through that stuff OK.
Here's what I've seen so far that leads me to suspect a routing problem:
I have a common base class for all my controllers that provides them with common resources. I have a log statement in its constructor, so I should see that in the logs if any of my routes are hit.Nothing is logged if I just give my https://systemname:81/.If I do https://systemname:81/Home/Index, which should be equivalent, I get a blank page from Firefox with a 404 error. (From IE, I get the standard IE 404 page - equivalent meaning.) I do not get the logging in that constructor.If I do https://systemname:81/Home.aspx/Index, I get the ASP.NET default 404 page and no constructor logging.However, if I do https://systemname:81/Home/Index.aspx, I still get the ASP.NET default 404 page, but my controller base class constructor is executed, as evidenced by the log message.
View 9 Replies
Jul 19, 2010
My site is currently running on IIS 7.5. I have installed SQL Server 2008 R2 on it. When working in VS 2010 on my local machine, what should I do to simulate the db during development? And how would I migrate that data to the db that exists on the server? How would I update my app with the new code? Simply re-compile and re-deploy?
View 6 Replies
Apr 21, 2010
I'm experiencing a frustrating problem. I'm developing a website with ASP.NET 3.5 on a windows XP box. When a deploy it to our development server (Windows 2003, .NET 3.5 installed), I notice some forms look just slightly different. I am using the Ajax Control Toolkit as well and I have noticed that controls such as the Modal Popup look jacked up (they are not centered and the drop shadow is not directly behind the popup). Also, I have noticed differences in line wrapping and things like that. This is very frustrating because I think the site looks great and then I deploy it to give demos and some pages look screwed up. I am using the same version of IE when I view it on my local box and on the development box. Looking at the site on my local box (with IE8), it looks great. Looking at the site on the development server (with IE8 as well), it looks jacked up.
View 3 Replies
Aug 25, 2010
I'm currently in the process of deploying my C# website. In the development IDE everything works fine but when i deploy to ISS 7 some of the pages work fine but others will just randomly hang. Ive been using the tracing utility and debug code to see where the problem is occurring. This is where it gets weird. If I turn on the tracer and set the pageoutput to true it works as fast as it does in the IDE without the hangs but displays all the tracing information. If i set the pageoutput to false and leave the tracer on, it will return to having the same problem. Ive put time outputs through the system and everything is running through quickly. So im at the point now where if i have the tracer displaying on the website there is no problem. But if i don't display the tracer the problem occurs and i cant see the logs to pinpoint it. The problem is occurring after EndRender. Sometimes it loads the top of the page and then hangs. The pages do complete but can take up to 10 seconds. . The same problem is happening in both IE and firefox.
View 3 Replies
Nov 22, 2010
I have just deployed a website using the copy website tool and I'm unable to get to the login page. I just get an HTTP 500 page saying:
The website is under maintenance The website has a programming error. I'm not sure what is happening here. The connection string points to a server hosting my SQL DB so I don't have to amend that. The website runs fine on the dev machine so I'm at a loss.
View 6 Replies
Mar 9, 2011
I built Deployment package and feed IIS with that, but when I trying to visit my site, I see only files of root folder like FTP Whats wrong ?
View 1 Replies
Jan 26, 2011
I have a simple crystal report created on VS 2008 .net 3.5 sp1. The report works when I run it from the local host connecting directly to the live hosted database. When I copy the files to the host server it connects with out error but at the point where the report viewer frame would appear I get a blank page and Done displayed on the browser status bar.
The host server has Crw server installed on it and other websites on the same server are working OK.
View 1 Replies
Apr 13, 2010
I want to debug EditPanel.debug.js file of HTML Editor, but it never shows in VS 08 and Im sure it executes to that line.What I did to enable debuggingUnchecked both 2 checkboxes for disabling the debugging
Set ScriptMode="Debug"
Change following line
[ClientScriptResource("AjaxControlToolkit.HTMLEditor.EditPanel", "AjaxControlToolkit.HTMLEditor.EditPanel.js")]
to
[ClientScriptResource("AjaxControlToolkit.HTMLEditor.EditPanel", "AjaxControlToolkit.HTMLEditor.EditPanel.debug.js")]
View 3 Replies
Jul 27, 2010
In a situation where we accidentally published an asp.net website, without updatability, with one wrong URL, we'd like to just open that DLL and change the URL, to prevent waiting another week for the next publish opportunity.
In oldish native DLLs I knew how to change resources, but how would I attempt this with .NET DLLs? And is there an easy way, or only a hackerish one (I know of ildasm and ilasm)? If it matters, the string is a literal inside an event handler.
View 1 Replies
Apr 24, 2010
I' ve been experiencing some serious problems with running my website.Everytime I click on the little green arrow to start debugging my website I get an error message in my browser.This problem occurs in every browser I use. Internet Explorer, Firefox, Google Chrome.I figured it had something to do with my internet settings, but they are exactly the same as the internet settings of a pc on which my website does run.Event installing Google Chrome without importing the settings from my primary browser (Firefox) has the same result.
The errors are:
Firefox: "The connection with the server was reinitialised during page load"
Internet Explorer: "The page cannot be displayed"
Chrome: "The page is unavailable. The page on http://localhost:PORTNUMBER/EventCompanion/Taak/Test/TestTaakEdit.aspx is probably disable temporarily or it has been permanently move to a new address."Even clicking with the right mouse button on an aspx page and selecting the "View in browser" option has the same result.The only thing that works is viewing the website in the internal browser provided by Visual Studio 2008.But that way I'm unable to debug, which is pretty enoying.
Running the website on an other pc works perfectly...
View 4 Replies
May 4, 2010
I have a Windows 7 machine hosting a Windows 7 virtual machine. I am developing a web application using visual studio 2010 on my host machine. I want to run the application in debug mode and access my localhost server from a browser on the virtual machine. (The purpose of this is to be able to debug an application that uses Windows Authentication using different users without having to log off and on for different users on my host machine...)
I am using a bridged connection for the virtual machine. I googled how to solve this problem and most of the threads that I found said that if I was using a bridged connection, I could access the server on the host machine by just entering the IP address of my host machine into the url in the browser of the virtual machine. I have tried some different urls using the IP but none of them have worked.
As an example, suppose I run my web application in visual studio on my host machine and its url is
http://localhost:62789/MyPage.aspx
Assume also that I ran ipconfig in CommandPrompt on my host machine and found out that the IP address for my host machine is xxx.xxx.xxx.x. What url should I enter on the virtual machine to access my web application?
EDIT:
I set up IIS to host the web project. After that, I just added the following line (xxx.xxx.xxx.xxx is my IP) to my hosts file and I was able to access the website from the virtual machine:
xxx.xxx.xxx.xxx MyWebsite.net
I also had to edit my firewall settings.
View 2 Replies
Mar 15, 2010
I used to be able to attach to my w3wp process and Debug my web application, but this is not working anymore. I have no idea what changed to break this. I'm using Visual Studio 2008 SP1. And I'm debugging in IIS, not using ASP.NET's own server (i.e. I don't Run my project, I simply attach to a running process (w3wp).
My breakpoints simply have the "breakpoint will currently not be hit. The source code is different from the original version."
What I have tried:
Did a solution Clean.
Did a solution Rebuild.
Made sure that compilation debug=true in my web.config file.
Deleted the bin folder
Restarted Visual Studio
Restarted IIS
Restarted my Computer
Added a simple Response.Write to ensure that the latest DLL is being used. It is.
Made sure that Debug ASP.NET is checked in my project properties. It is.
Made sure that all my projects are compiled in my build configuration. They are.
View 5 Replies
Dec 14, 2010
Recently got a new (used) machine and had to reinstall VS 2008 - may or may not be related. Yesterday, I opened an existing website via Source Control. I can check files in and out and make edits, but when I try to debug locally, I get a list of errors, starting with:
"Could not load file or assembly 'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."
Everyone else working on this website is able to deploy it locally. Also, if I create a new website, I can debug just fine, and I used to be able to edit and debug other sites. Everything I've found by Googling this error so far has to do with MVC projects, and suggests changing the webconfig or other files. Since other people can run this, it seems it must be a problem with my software, not the code.
View 2 Replies
May 18, 2010
I moved my site to a Windows 2008 server, reinstalled VS2005 and now I am unable to debug my application. When I click start debugging, the button is greyed out until the browser launches and then it returns to normal. In other words VS is just launching the app without attaching to it. I have tried running as administrator and played around with the authentication settings to no avail. I am running with Forms authentication.
View 4 Replies
Jan 1, 2011
I am developing a website in ASP.NET. I wanted to know how can I give a static path to my website on my local mahcine such that it will always be deployed on port number. For eg: in php, the path can always be http://localhost/websitename
but in ASP.NET, whenever, I debug the website for testing, it is always deployed to a new port number. This prevents me from testing my script which can only be given a static name in Greasemonkey.
View 3 Replies
Oct 14, 2010
what exactly selecting emit debug information when publishing web site do ?
if i select this can i see error variable names at stack trace ?
View 1 Replies
Feb 23, 2010
On my web form, I have a RadioButtonList nested within a ListView as follows:
Nested RadioButtonList, and Inconsistency between Debug and Run without Debug
View 2 Replies
Jan 3, 2010
Debug-Start Debugging/Debug-StartWithoutDebugging OR Project ASP.Net Configuration launches Dreamweaver. It started lastnight, I had both Deamweaver and VWD 2008 express open at the same time - (I was looking at JQuery in the Microsoft and Dreamweaver enviroments simultaniously). After the first tie this happened, I closed down Dreamweaver (CS3) and it opened when I tried to run my VWD project. I reinstalled VWD 2008 express, IIS and disabled Dreamweaver (renamed the exe). Dreamweaver still came up.
View 4 Replies
Nov 3, 2010
I am really new her and to asp.net
In fact this is my first asp.net project and I really enjoyed it soo much
When I run the project, it worked form on my machine but when deployed on a remote server, it gives me error and I dont know what the problem is?
I have tried a number of things to no avail
The project is located at http://soft.turingz.com
It uses mysql and my host said they have the .net connector installed but yet .
View 4 Replies
Apr 16, 2010
We have deployed an application in iis 6.o. We set cache for 1 hr in that application so that the updated data in the back-end will be visible by the user after 1 hr. If the requested data not available in cache it will fetch from database directly.
Is there any way that I can clear this cache in between 1 hr for some of our testing.
Resetting the website and app pool and deleting temp asp.net files didn't work, I have tested that.
View 2 Replies