.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Problems using links in Visual Studio development

Posted By:      Posted Date: August 29, 2010    Points: 0   Category :ASP.Net
I've recently inherited a website which has two versions, one which runs on IIS and one which runs in the Visual Studio development environment, and there are a few differences in the way the website runs on the two of them which I'm confused about.The relevant code files for the IIS server version are kept under wwwroot, and I can open the website in Visual Studio and it works fine.However, there is a local development environment version of the website, which contains a copy of the same folders, and additionally a solution file. However, there are a number of problems with this version of the website, despite the fact the code is the same. Firstly, none of the images specified in the html tags are displayed correctly, even though I have checked that the images are in the project's directory in the location specified by the image's src attribute, just like they are in the IIS server version.The other problem is that none of the links work. I've noticed that for both the IIS server version of the website and the fileserver version, when the website first loads it calls Application_BeginRequest() in Global.asax.However, when the links are subsequently clicked, it only calls Application_BeginRequest() in the IIS server version -the fileserver version does not call this and just gives a 404 page not found error.I'm new to web development, so I'm not sur

View Complete Post

More Related Resource Links

SQL Server 2008 Development problems with Visual Studio 2010 Ultimate uninstall and VS2010 premium i


I installed VS2010 Ultimate to test it out but had license for the VS2010 premium only.  After uninstalling ultimate and reinstalling VS2010 premium, my SQL Server 2008 now refuses to connect to my databases stating: 

TITLE: Connect to Server

Cannot connect to Q9300\SQL200801.


ASP.NET 4 and Visual Studio 2010 Web Development Beta 2 Overview

Many exciting changes for ASP.NET are coming in the .NET Framework version 4. This document gives an overview of many of the new features that are included in the Beta 2 release of the .NET Framework 4 and of Visual Studio 2010.

Visual Studio 2008 Memory problems


My memory in task manager reaches about 900,000K  and I don't know why it does this. Definately slows everything down, especially when I rebuild my tableAdapters, takes about 30 seconds sometimes to rebuild the project.

HttpHandler works with Visual Studio Development Server debugging, but not otherwise


Hi all,

I'm new to HttpHandlers.  I am writing an HttpHandler that reads uploaded files directly from the request stream to provide progress that can be queried using an AJAX request.  For large files, this seems to be faster than having ASP.NET load the file contents into Request.Files and then streaming the file from there to wherever it goes (Linq to SQL into a VARBINARY column in an SQL Server database.)

My HttpHandler works perfectly when I'm debugging using the Visual Studio Development Server, but doesn't work otherwise.  The application pool for this application in IIS 7 is set to run in Classic Mode, and the Handler Mappings screen in IIS says that I must manage managed handlers in system.web/httpHandlers. 

I set up in my applications Web.config file.

<add verb="GET,POST" path="*.upload" type="Namespace.For.UploadHandler, AssemblyForUploadHandler"/>

It works great, so long as I don't debug with the "Use Local IIS Web server" option.

What else do I need to do to get this to work?


First Look: Visual Studio 2010 Tools for SharePoint Development


This article provides a first look at tools in Visual Studio 2010 designed to support development and deployment of SharePoint 2010 solutions. The article provides an example of designing and deploying a visual Web part.

Steve Fox

MSDN Magazine October 2009

Visual Studio OBA Tools: Simplify OBA Development With Interop API Extensions


To introduce you to VSTO Power Tools Office interop API extensions, we'll walk through the development of an application that automates Outlook, Excel, and Word.

Andrew Whitechapel, Phillip Hoff, and Vladimir Morozov

MSDN Magazine December 2008

Visual Studio 2005: Create Reusable Project And Item Templates For Your Development Team


Visual Studio 2005 introduces a new model that lets you define your own project templates and starter kits, something developers have been requesting for some time. Here Matt Milner shows you how to consume, create, and customize these templates.

Matt Milner

MSDN Magazine January 2006

Smart Tags: Simplify UI Development with Custom Designer Actions in Visual Studio


Windows Forms 2.0 components expose smart tags by utilizing Designer Actions. By taking advantage of this feature, you can add smart tags to your own custom components to make setting their properties and other actions much easier and developer-friendly.

Michael Weinhardt

MSDN Magazine July 2005

Visual Studio 2005: Bridge the Gap Between Development and Operations with Whitehorse


Microsoft is introducing a new suite of tools (code-named "Whitehorse") that will make it easier for you to design and implement systems that conform to a service-oriented architecture. Two of these tools -- the SOA Design Suite and the Class Designer -- support the graphical design of systems and components with support for code generation and support for bi-directional synchronization which lets you ensure that your diagram always represents your system design. This article introduces these tools and shows you how they'll improve your design and development efforts.

Brian A. Randell and Rockford Lhotka

MSDN Magazine July 2004

Visual Studio 2010 Shows Blank Page during web development


I just upgraded a web project from VS2008 to VS2010 Ultimate (Windows7 64bit, IE8/Google Chrome. When I run the web project in the development server (by hitting F5) everything acts like it is supposed to except everything comes up blank. Even the directory structure page is blank, just an empty HTML open and close shell. I get no errors no indications of failure, nothing. When I try to use google chrome I get the same blank page no matter where I navigate to, even if I try to navigate to a non-existant location on the dev server. I know the code compiles and acts correctly because I can deploy it to our QA servers without issue. Any ideas? 

Video: Visual Studio 2010 SharePoint 2010 Development Tools Overview

This SharePoint Conference video provides an overview of SharePoint 2010 development with Visual Studio 2010, including project and item templates. (Length: 01:17:11)

MS Visual STudio 2010 Beta and SSIS Designer - BI Development Studio

Hello, I am trying to use SSIS Designer with BI Development Studio.  I downloaded MS Visual Studio 2010 Beta and do not find an option to get into either the SSIS Designer or BI Development Studio. Can someone please help?   Thanks, Chela 

Migrating changes from the Development to Production Site (SP2010, SPD and Visual Studio 2010)

Trying to find the best (least error-prone) approach to updating a live site containing content (based Documents and Tasks mainly) with changes. This got to be a common issue - a Development environment containing new features needs to be migrated over to production but the existing data and workflows with the associated tasks should be preserved. I found this thread http://social.msdn.microsoft.com/forums/en-us/sharepointdevelopment/thread/2C524797-9737-4D11-BE19-3E407C5C83CE which seems to provide a rather negative take on a tool-based approach but it's for older Sharepoint. Anything improved since then?

GUI development in MS Visual Studio 2008

Hello Guys, I am new to GUI development, and I want to develop a GUI interface in MS Visual Studio 2008 with following functionalities... 1. Functionality of Drag and drop is to be implemented using MS Visual Studio 2008, C++. It would be same as Matlab Simulink screen that is on its left side. Once we click the name, then the corresponding block should get displayed. It would be great if anyone would explain a bit more about this implementation...The Blocks has someparameters with initial values to be assigned with it, which is present in the SQL database... Note: Blocks are the rectangle pieces, which used would call the internal chunk of code for manipulation... 2. Is it possible to do Zoom In and Zoom Out with the screen, if many blocks are added, then it would be easier to have an overall look to all of the blocks? (as is same in Matlab Simulink). 3. Can the 'subsystems' be defined? Like, if we double-click on the block, we can further add more blocks inside it, for further processing with-in the block. Any recommendations (useful links, books related to this work would be of great help) please...!! Thanks, xplanck

Visual Studio 2008 Asp.net Development Server Launches When use local IIS is project option

I have a visual studio 2008 asp.net MVC webapp project.  The project is set to use local IIS WebServer. When I run without debugging, it runs just fine.  However when i run with debugging Visual studio launches the Asp.net Development Server on top of IIS.  I would not care if it wasnt for the fact that any time i make a web request to the MVC Site it seems to be creating duplicate requests resulting in a very painful debugging experience.Thanks,Giovanni

Problems with integration of SQL CE 3.5 SP1 in Visual Studio 2008 SP1

Hi all,   Hope someone can help with this one.   I have Visual Studio 2008 installed (with every option except reporting) and SP1. I recently installed SQL 2008 Express, Windows Mobile 6 SDK and SQL CE 3.5 SP1 SDK (Windows/Mobile/Server Tools/Books Online).   Problem is when I add a CE database to my project, I get an error popup saying that there was a Package Load Failure and that I should reinstall SQL CE 3.5 SP1 then restart.  Another dialog follows this with more details (shown below):   Package 'Microsoft.CompactFramework.Design.Data.CFDataPackage, Microsoft.CompactFramework.Design.Data, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has failed to load properly ( GUID = {B65E9355-A4C7-4855-96BB-1D3EC8514E8F} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading.   I have Googled this and there is not much help on this out there. I have tried various suggestions including: i) Removed Windows Mobile 6 SDK, Repaired Visual Studio, re-installed Windows Mobile 6 SDK, ii) Reinstall Visual Studio 2008 SP1 iii) Uninstall, restart, then reinstall SQL CE 3.5 SP1   And none seem to fix it.   Can anyone shed any light on this? I've spent a day and a half on this a
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend