visual-studio-2008

How to avoid CR viewer in asp.net from requesting log on?

I have an asp.net app upgraded from vs05 - vs08 that has reports using the cr report viewer. When I run a report it displays data fine. When I click on an option of the tool bar like next page or export it presents the log on page. This is happening in development running inside vs08. It used to run fine in development in vs05. Could s...

Error deploying Web Part

Hi, I'm working with Visual Studio 2008 creating a web part (for wss 3.0), when I do the Deploy of this project, I get this error: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported...

SOAP Message contains an extra tag after generation from WSCF Blue in Visual Studio 2008

Hello there, I'm using Visual Studio 2008 to write a simple web-service but have been running into some problems. You might need to format my The full expected message is something along the lines of: <?xml version="1.0" encoding="utf-8"?> <xs:schema targetNamespace = "http://www.website.com/WS/" elementFormDefault ...

How can I reset the intellisense settings in VS 2008?

I've got a fresh install of VS 2008 Standard and I've installed DevExpress DXPerience 2008 with CodeRush! and for some reason, my intellisense decided to half-work. I have: class Person { public string FirstName { get; set; } } I can type: Person p = new Person(); p. ... and intellisense will show none of the members for Perso...

Configure Visual Studio 2008 to use IIS6 on Server 2003

I have Visual Studio 2008, Windows Server 2003 Enterprise with IIS6 installed. I don't want to use the local IIS for anything. I want to configure Visual Studio to always use the IIS 6 on the Server 2003. I have full admin rights to both the workstation and the server. ...

List with a key

Before I embark on writing my own, is there a List like construct that also contains a Dictionary like key? And before someone suggests using a Dictionary instead, the order of items is important to me and Dictionary cannot guarantee a position. So, I'd like to be able to retrieve the item in the following manner: int position = 4; M...

encryption codes on .net WCF request and response

Hi all, I am using VS 2008 WCF to create a sample service. The problem is the request and response has lots of information like encoded string, codes, uuid and so on. when i tried the same source code on VS 2010 WCF it is like clean and does not have any special data like this. what could be wrong ? what should i change in my project se...

Add automation support to MFC DLL

Is there a way to add automation to an existing MFC dll? I know I can create a new project and select Automation during the wizard, but I already have a dll with ATL support which exposes a number of COM objects so I'd rather update that than have to recreated it. ...

VS2008 msi Installer InstallExecuteSequence table

Sorry if I'm missing something obvious here. The following questions both reference the InstallExecuteSequence table: http://stackoverflow.com/questions/1178327/force-reboot-from-custom-action-in-msi-in-c http://stackoverflow.com/questions/3404288/msi-installer-to-run-twice And here's the MS page: http://msdn.microsoft.com/en-us/lib...

Issues Visual Studio Team System 2008 Database Edition and GDR

I have Visual Studio Team System 2008 Team Suite, that included Visual Studio Team System 2008 Database Edition. I have VS 2008 SP1, .net framework 3.5 sp1. In a project SQL parser, we need to add two assembly references two: Microsoft.Data.Schema.ScriptDom.dll Microsoft.Data.Schema.ScriptDom.Sql.dll those assemblies: are in Vi...

Can I create a custom desktop icon for a shortcut in ClickOnce Deployment?

My application creates a shortcut on the user's desktop with a standard icon. How can I change the icon to something custom? I'm using VS2008 with .NET 3.5. Thank you. ...

Can I use the VS 2010 SDK to create add ons for VS 2008?

I'd like to create an add-on for Visual Studio 2008, but am finding more examples and sample code for VS2010 SDK. Is it possible to build an add-on with VS2010 SDK and target VS2008? If not, are there any good sites for VS2008 add-on dev? Google searches seem to all lead to http://msdn.microsoft.com/en-us/vstudio/, which is focused on VS...

Switching User Contexts in Visual Studio and TFS Source Control

While developing ASP.net applications on a Windows 7 machine in Visual Studio. Sometimes I need to do testing for Internet Explorer 6 compatibility. The way I test IE 6 is I have virtual machine running on my local machine. The easiest way I could figure out to access development on my parent development machine was to switch my ASP.ne...

View address location of a variable in visual studio

Hello Guys, I am just wondering if there is any option in visual studio watch window to show the variable address locations like 0x00 or some other way? I am asking this because I would like to better understand how thing work in the low level. Thank you, Krishna. ...

Want to switch to Error list after Build if there were errors

I develop in C# using VS 2008. Is there a way to configure VS 2008 so if there were Build Errors it will automatically switch to "Error List" window? ...

Is there any profiler like visual studio profiler that works under Virtual Machine?

Hello, We are using ec2 lab to work on our product. The product currently I am working is written in LISP, Java, C/C++. It has a lot of components. My task is to profile it find performance bottleneck. I can load the C/C++ components in vs2008ts to compile it. As its a team system version, I can analyze it too. But the problem is visual...

Visual Studio '08 fails to resolve reference when deploying database.

I have a simple database solution in VS team suite '08 (with SP1 and the GDR R2). In the solution I have a server project and a database project. For the purposes of testing, I have only a login in the server project, and only a user in the database project. In the server project, I have defined a command variable $(NTDomain) that is se...

Can intellisense match words from the middle?

I'm learning a new API which has a LOT of properties. I'd rather not scroll through a giant list if I have a general idea of what I'm looking for. As an example, let's say I am putting in a telerik:GridBoundColumn tag, and I want that one property that lets me define a css class. I've forgotten that it's called ItemStyle-CssClass so I...

How to get VS 2008's Add New Project dialog to show me the MVC 2 project templates?

How do I get VS 2008 Professional Edition's Add New Project dialog box to show me the ASP.NET MVC 2 project type? It currently shows me only the MVC 1 project template (ASP.NET MVC Web Application). I have both versions of MVC installed. ...

DataGridView and GenericDataGridView

Is there a control called GenericDataGridView and how do I add that to Visual Studio 2008 so I can use it in my c# application? ...