.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

VS2010 and SqlCE 3.5

Posted By:      Posted Date: September 02, 2010    Points: 0   Category :Sql Server
Hello all,   I know SqlCE 3.5 added support for the TOP keyword, but VS 2010 doesn't seem to like it when you use it in Server Explorer.  Anyone know when, if, this will be address?   thanks cliffcliff

View Complete Post

More Related Resource Links

VS2010 Professional .NET 4.0 Remote Debugging ASP Website Project


Trying to remote debug ASP website from VS2010 Pro to Windows Server 2003 machine.  Specifically, trying to debug a Web Service, but breakpoint says, "The breakpoint will not currently be hit. No symbols have been loaded for this document."  This happens for all compiled code though.  I have read this is due to missing PDB files and the work around is to manually copy them, as noted here.  Problem is, I cannot find any PDB files for my project, except referenced libraries, which I can remote debug.


  • web.config has <compilation debug="true">
  • Debugger is attached to wewp.exe process on remote server
  • Installed VS2010 remote debugger from DVD (as I can remote debug referenced libraries)

This is beyond frustrating.  I migrated my code from VS2008 .Net3.5 to VS2010 .Net4.0 to take advantage of the inherent multithreading framework.  Debugging works when using local host and was stable until deployment to test server.

Thanks in advance,


How can I be sure that my entire project is up-to-date and free of errors in VS2010?


Seems like a stupid question, but I will go to Build > Build Solution many many times and the build will succeed many many times, then I will put in a minor syntax error and the build will fail, BUT the build will not fail because of the minor syntax error; it will fail because of an unresolved type that I put in about twenty compiles ago. And then I will fix the minor syntax eror, and the compiler will still complain about the unresolved type. Here is my code:

<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
  <form runat="server">
  Hello World!!  

Pretty simple, really. I go to Buld > Build WebApplication1 and it runs OK. Now, if I put in a minor syntax error, such as substitute "forrrrrrrm" for "form" and then try to Build Solution, it complains not about the misspelled word, but about the FreeTextBox. And then if I correct the misspelled wird, it still complains about the FreeTextBox. Which leads me to believe that Building the Solution does not check absolutely 100% everything that needs to be checked. Is there a more thorough way of compiling a program that I need to use?

Where is SilverLight Toolkit in VS2010?


I read somewhere that MS has integrate SilverLight Toolkit into VS2010. Where is it? I can't find it under Toolbox.

vs2010 web deployment project restarts w3svc even when restartwwwservice = false


We've updated some of our projects from VS2008 to VS2010.  When these projects are deployed the w3svc is restarted on the target machine, even when restartwwwservice = false in the vdproj file.


This was a problem in 2008 until SP1 (http://forums.asp.net/p/1300097/2534736.aspx).  Does this same problem exist in VS2010?


This is a major problem for us -  we need to be able to deploy projects without restarting IIS.


I've tried creating a new web deployment package and setting the restartWWWService field to false, but this still does a restart when it's installed.


Has anyone come across this problem in VS2010?

VS2010 WDP Optimization


We have moved our projects from VS2008 to VS2010(Ulitmate) but staying with .Net 3.5. In VS2008 we had a web deployment project that would compile the web project to a single dll and emit full debug information, adding the new web deployment project in VS 2010 to do the same the dll is produced along with the pdb but when a dev attempts to debug the variable comes back with "Cannot evaluate expression because the code of the current method is optmized".

In VS2008 we had a targets fix file which had the setting for the optimization but these don't appear to work under 10 (plus the targets file has grown).



Crystall Report error VS2010



i write a site and get this error, i using VS2010.

  • An error occurred during local report processing.
    • The definition of the report 'Modules\Report1.rdlc' is invalid.
      • An unexpected error occurred in Report Processing.
        • Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

i try run on my machine its all work fine, but when i complier and run it on Window server 2008 get this error.

I read http://forums.asp.net/p/1513402/3613239.aspx I install the ReportViewer.exe but still cannot find the Microsoft.ReportViewer.ProcessingObjectModel.dll, however I got find it Microsoft.ReportViewer.ProcessingObjectModel in C:\Windows\assembly and is not a dll file. any suggestion?



Controllers AccountController IFormsAuthentication MVC 2 error vs2010


I finally got around to trying vs2010 and MVC 2 ... I'm glad I did not put them on a production computer.

My first compile (I have not had a chance to investigate because I just did this and I am too tired).

All I did was create a MVC 2 solution with MSTEST Unit Testing selected too.

I compiled it and get four unexpected errors (because I have heard ASP.NET MVC 2 "alpha" and vs2010 Beta 2 are supposed to be somewhat robust):

In both HomeController and AccountController:

"The type or namespace name "Controllers" does not exist ins the namespace "mvczzzzz001" occurs twice, once for HomeController.cs and once for AccountController.cs.

AccountControllerTest.cs has two errors:  can not find "AccountController" namespace and can not find "IFormsAuthentication" namespace.

With ASP.NET MVC v1.0 there are errors when one uses xUnit.net (version at time of ASP.NET MVC v1.0 RTM) as the test framework but not errors with MSTEST (I prefer xUnit.net to MSTEST).

I am just so surprised to find such errors in vs2010 + MVC 2 ....

is this happening to anyone else?????????????????

Thank you ~~ regards, Gerry (Lowry)

Windows 7, IIS 7.5 and VS2010: can't edit global.asax


Hey and thanks!


As the subject line notes the software in use, anyone have an idea why I can't edit global.asax in VS2010 (being ran with the 'run as administrator' advanced property check box checked)?  The file properties in explorer show local machine admins have full control (I am in that category) and also that IIS has windows auth enabled for the default web site.  What is this other level of security on here that I'm missing?  I can edit web.config, vb files and general aspx files with no problem--just the global.asax file causing a headache...





Convert 2005 RDLC to 2008 using VS2010


Hi and thanks.


I'm getting an error on serveral reports that I built  in VWD2005 (express) using the reportviewer control.  Trying to edit the rdlc file in VS2010, VS2010 asks if i want to convert the file to RDLC 2008 format and I click ok.  When I build the site, I get this error (and of course also when the report is ran):


Error 1 The report definition is not valid.  Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' which cannot be upgraded. C:\inetpub\wwwroot\mastercardlcm\Reports\WorkLists\OpenSRStatus.rdlc 1 


Here is my web.config concerning the RDLC assemblies, etc.

			<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
		<compilation debug="true">
				<add assembly="Microsoft.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
				<add assembly="Microsof

VS2010 Express ASP.net and database file with SQL Authentication



I have installed Visual Studio 2010 Express in my local system.

1. File->New Website
2.Open datbase explorer, right click on dataconnection
3.Select Create new connection
4.use Microsoft SQL Server Database file
5. Type new databse filename
6. Now i want to use SQL authentication which is not working
7.If we use windows authentication its wokring without any problem
8.But i need sql authentication to be used.
9.I have not installed SQL studio. I am only using the one which is packaged in VisualStudio 2010 SQLClient.

Let me know how can we create a new database file with userID and password. So that i can host it in other systems as well without any windows authentication.

Thanks and regards
Mahesh kotekar

VS2010 Express ASP.net and database file with SQL Authentication - How to create database file with


Hi, I have installed Visual Studio 2010 Express in my local system.

Steps 1. File->New Website

 2.Open datbase explorer, right click on dataconnection

 3.Select Create new connection

 4.use Microsoft SQL Server Database file

5. Type new databse filename

6. Now i want to use SQL authentication which is not working

 7.If we use windows authentication its wokring without any problem

8.But i need sql authentication to be used.

 9.I have not installed SQL studio.

 I am only using the one which is packaged in VisualStudio 2010 SQLClient. Let me know how can we create a new database file with userID and password. So that i can host it in other systems as well without any windows authentication.  I know that VS2010 setup also installs the SQL client which is requiredto create and manage sql databse files/quries etc


i dont know the default userID and password for SQLauthentication. As the express setup did not asked any credentials while installing SQL components


Thanks and regards

 Mahesh kotekar


Where is Format Document icon to add to toolbar in VS2010


For years now, I always added the "Format Document" icon to my HTML Editing toolbar.  It always was difficult to find this in VS2008 and VS2005.  It seem it has been completely eliminated in VS2010.

Does anyone have any idea where is might be in the Customize toolbar myriad of commands?

I realize it is available under the Edit drop down menu as well as keyboard command Ctrl K, Ctrl D.  But is is just so much more helpful to put it on the toolbar.

Thanks in advance for your help!

Moving to Vs2010


hello all!,

I'm trying move a class library project to VS2010 and I got problems with one  reference to this project. For some reason the reference look fine in the solution explorer but in the Object Explorer I can't to see the referenced assembly :(. I tried rebuild the solution but nothing :(

The message what I got in the code is:

"Namespace or type specified in the Imports 'MyCompany.common.services.Utilities' doesn't contain any public member or cannot be found."

Any help! :(

VS2010 Intelisense



I have installed VS2010 and noticed that the Intelisense is not that great, it takes a while to recognise things.  Was just wondering if anybody else is experiencing this or maybe knows of a patch?



VS2005 calling VS2010 asmx service returns empty string


Anyone have any experience with this?

We are using VS 2005 for the front end, and vs 2010 for the web services part (asmx), not wcf yet.


Web service works just like the vs2005 when run locally, no problems.


Connecting to it from a test app returns an empty string. Connecting to a 2005 app doesn't!

Anyone run into this before or have a suggestion? Surely vs 2005 can connect to web services from a later version?






Disable XAML Intellisense in Macro (VS2010 IDE)

I'm writing a few macros to insert XAML code I often use into the VS2010 XAML editor. This works OK, but Intellisense is interpreting the code as it's being inserted. This causes syntax errors. Here's an example of the inserted code: <Grid> <Grid.RowDefinitions> <RowDefinition></RowDefinition> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition></ColumnDefinition> </Grid.ColumnDefinitions> </Grid> The inserted code is a bit more complex as it includes properties I commonly use, but this will help illustrate the problem.When the code is inserted, Intellisense completes the definitions. For example, after <Grid> is inserted, Intellisense adds a corresponding </Grid>, which makes the code syntatically incorrect.How can I automatically disable Intellisense before the code is inserted and enable it after (within the macro)? After the code is inserted, I'd like to automatically reformat it.Thanks!

VS2010 Silverlight 4 - Getting "Object reference not set to an instance of an object" when loading a

In Visual Studio 2010 I'm trying to use the Blacklight Controls (http://blacklight.codeplex.com/releases/view/37652) in my own project (and actually included the Blacklight.Controls project in my solution so that I could debug what was going on) and... after making all the XAML changes needed to incorporate the Blacklight navigation menu with my stuff in the innermost grid... everything compiled ok when doing a Build.  When I run it there's a reference to a resource dictionary in the XAML that fails with the object reference error above.  The XAML is as follows:       <UserControl.Resources>       <controls:ResourceDictionaryManager x:Key="ResourceDictionaryManager">       <controls:ResourceDictionaryManager.ResourceDictionaries>       <controls:ResourceDictionaryCollection>       <controls:ResourceDictionary Path="/Blacklight.Showcase;component/ResourceDictionaries/DavesGlossyControls.xaml">       <controls:ResourceDictionary.ResourceKeys>       <controls:ResourceKeyCollection>       <controls:ResourceKey ResourceName="GlossyBlackScrollViewer" />       </controls:ResourceKeyCollection>     &
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