View Complete Post
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.
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,
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" %><html><body> <form runat="server"> Hello World!! </form></body></html>
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?
I read somewhere that MS has integrate SilverLight Toolkit into VS2010. Where is it? I can't find it under Toolbox.
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?
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).Thanks,Simon
i write a site and get this error, i using VS2010.
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?
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)
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...
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=22.214.171.124, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
<add assembly="Microsoft.ReportViewer.WebForms, Version=126.96.36.199, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Hi,I have installed Visual Studio 2010 Express in my local system. Steps1. File->New Website2.Open datbase explorer, right click on dataconnection3.Select Create new connection4.use Microsoft SQL Server Database file5. Type new databse filename6. Now i want to use SQL authentication which is not working7.If we use windows authentication its wokring without any problem8.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 regardsMahesh kotekarhttp://mahesh.kotekar.com
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
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!
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! :(
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?
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?