visual-studio-2008

Error Creating Debug Information - Code Won't Compile

I'm using VS 2008. When ever I make a change in my code and try to compile I get the following error: Error 7 Unexpected error creating debug information file 'C:\Documents and Settings\jbezanson\My Documents\MyProjects\DispatchBoard\DispatchBoard\obj\Debug\DispatchBoard.PDB' -- 'C:\Documents and Settings\jbezanson\My Docum...

Question about programmatically changing crystal reports

General info: C#, VS2008, .NET 3.5 I've got a form with a crystal report viewer inside it, and i'm wanting to use the one form to display all of my crystal reports. I've got it so that i can programmatically change the report, the only problem is that i have to a new method for each crystal report. I'm wanting to create a single method ...

Why does my VS2008 debugging session always quit on me when stepping through ASP.NET MVC controllers?

I'm running Visual Studio 2008 Professional SP1 on Windows 7 Ultimate x64 RTM. I'm using the ASP.NET MVC that you get from the Web Platform Installer. When I step through my program and pause on any line for longer than a few seconds the debugger suddenly stops and the following message is printed in the Debug Output: The program '[...

Linq to Entities and SQL Server 2008 hierarchy id

Does Visual Studio 2008 SP1 / .NET 3.5 support Linq to Entities (ADO.NET Entity Data Model / edmx) with SQL Server 2008 R2? Specifically, the hierarchy id type? If so, do you have a download link, if not is there a published date when this feature will become available? I experimented a bit today after installing GDR R2 to support Sql...

Consuming an Axis-generated web service from a VS2008 solution in c#

Hi there, I'm trying to add a web reference to an external Axis - generated web service to a Visual Studio 2008 solution. The url I received points to a WSDL that I can successfully access through a browser, and I see all the WService details. The Axis version used was 1.4. But if I run wsdl.exe or when I add the reference in VS2008 I c...

Can't see a "Debug tab" in VS 2008

I am trying to enable SQL Debugging following this link http://msdn.microsoft.com/en-us/library/ms165038%28VS.80%29.aspx but i can't see a debug tab. How come? ...

gridview postback not being posted - VS2008

This is my aspx: <asp:UpdatePanel ID="resultPanel" runat="server" UpdateMode="Conditional"> <Triggers> <asp:AsyncPostBackTrigger ControlID="AddDocument" /> </Triggers> <ContentTemplate> <asp:GridView ID="gridView" runat="server" AutoGenerateColumns="False" EnableSortingAndPagingCallbacks="True" AllowPaging="True" DataSou...

Why does my Crystal Reports for Visual Studio 2008 throw "Load report Failed ... COMException (0x80004005): The Report Application Server failed" when sending a report directly to a printer?

I have a .net windows service that has a crystal report viewer on it. when it polls the db and finds live orders, it will send a report to a printer on the network. this is windows2003 server 64bit. I have installed the msi on the 64bit server found in my visual studio install: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrappe...

How to indent content of region with C#?

I would really like to have VS2008 automatically indent the contents of a region. A sample would probably be best. What is does now: #region [ Fields ] public int Count; public int Total; #endregion What I'd like is: #region [ Fields ] public int Count; public int Total; #endregion How can I get VS to do this? EDIT: For ...

VS 2008 Database Project missing Database References node

I have VS 2008 Pro (not VSTS DB edition) installed on my desktop and laptop, both running Windows 7, with SqlServer. When creating a Database Project on my desktop machine, the project structure includes a folders for. Database References which is crucial to the utility of a database project However on my laptop, when creating a databa...

How do I enable the SSE/SSE2 instruction set in Visual Studio 2008 (using CMake)?

In Visual Studio 2005 I went in: View --> Property Pages --> C/C++ --> Code Generation --> Enable Enhanced Instruction Set But in Visual Studio 2008? Thanks in advance ...

How to attach a debugger at process creation?

I would like to debug a .NET application that fails immediately on startup (and exists without an error message or log), but I can't attach a debugger to it because the process exists almost immediately after I run it. I don't have the source code for the app, so I can't do "Start Debugging". I tried using a Visual Studio macro to start ...

Visual Studio project history locations?

Is it possible to find the 12th (approximately) most recent project opened by VS2008? I know you get a list of the last four or five in the recent projects tab, but I was hoping it was possible to find a longer list buried somewhere... thanks! ...

How to exclude Web Deployment Project from building when the configuration is Debug?

I have selected the configuration as 'Debug', and my WDP file has Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " everywhere, so as I understood it shouldn't compile, but still is compiling. What I'm doing wrong? I'm using Visual Studio 2008, if that matter. In other words, how can I make that WDP only compiles when...

How to change text-encoding to iso-8859-1 in visual studio 2008

My visual studio is now saving files in utf-8. How do i configure visual studio to save it iso-8859-1? ...

How can I use BigInt class in vb.net? (visual studio 2008)

recently i use int64. but it's no more handle my data. so I want something like BigInt. any idea? ...

Weird Visual Studio behaviour? Can this be changed?

Hi folks, I've got a stock standard visual studio 2008 solution with 3 class library projects. Nothing in them - even the default class1.cs file has been deleted. The first thing I do is open up the References then delete all of them except Core, System and System.Core. I then add a new class, which creates Class1.cs. Now, System.Dat...

VS2008 & Local IIS Web Server - all components installed, doesn't work

In VS2008, when checking the local server option in the web tab in the project window, the error message reads: To access local IIS Web sites, you must install the following IIS components: IIS 6 Metabase and IIS 6 Configuration Compatibilty ASP.NET Windows Authentication In addition you must run Visual Studio in the context of an a...

I managed to break DebuggerNonUserCodeAttribute, anyone experienced this?

Look at the following program. The comments show the order of execution when I use Visual Studio 2008, and start, and step through the program only hitting the F11 (Step Into) debugging hotkey. The first column is what I actually experience now, the second column is what I expected to happen. Note that the method in the class marked wi...

Why doesn't Visual Studio want me to add a new window to my WPF project?

Maybe a stupid question, but when I add item to a WPF project, Visual Studio only offers me UserControl, and not Window. Is this trying to encourage me to do MVVM, is my setup broken, or is there some other reason I haven't thought of? ...