visual-studio-2010

ASP.NET debugging redirects to invalid url

若如初见. 提交于 2020-01-06 06:59:25
问题 I'm trying to debug my application, but I can't find the correct URL to do so. After I click F5 (start debugging) in Visual Studio 2010 I see the following in the system tray notification window: ASP.NET Development Server http://localhost:1392/zz But in the Chrome browser address that is opened the URL is: http://www.localhost/zz/editad.aspx and I see a notification: Oops! Google Chrome could not find www.localhost If I change the address manually to http://localhost:1392/zz it redirects

Silverlight 4 is not debugging. Symbols are not loaded

做~自己de王妃 提交于 2020-01-06 06:59:10
问题 I am making my first silverlight application. I only put a textbox and a button. I tried to debugged and It doesn't work. I tried going to the web project. property pages->start options->debuggers and silverlight is already checked. so I need help. Why is not working???? Thanks Nora 回答1: You need to disable out-of-process hosting for silverlight. Go to about:config in Firefox, look for key "dom.ipc.plugins.enabled.npctrl.dll" and set the value to false (doubleclick). 回答2: Are you using

Silverlight 4 is not debugging. Symbols are not loaded

一笑奈何 提交于 2020-01-06 06:57:37
问题 I am making my first silverlight application. I only put a textbox and a button. I tried to debugged and It doesn't work. I tried going to the web project. property pages->start options->debuggers and silverlight is already checked. so I need help. Why is not working???? Thanks Nora 回答1: You need to disable out-of-process hosting for silverlight. Go to about:config in Firefox, look for key "dom.ipc.plugins.enabled.npctrl.dll" and set the value to false (doubleclick). 回答2: Are you using

Crystal Report viewer built in Export button problem

旧街凉风 提交于 2020-01-06 05:46:04
问题 I am using VS 2010, Web application with .net 4, I downloaded Crystal report from the website that Microsoft suggests. I added a crystal report to my web page, dragged a CrystalReportViewer, and a button. I put in the button_click the following code: ReportDocument cryRpt; cryRpt = new ReportDocument(); cryRpt.Load("C:\\Users\\Yazan\\Documents\\Visual Studio 2010\\WebSites\\WebSite17\\CrystalReport.rpt"); CrystalReportViewer1.ReportSource = cryRpt; CrystalReportViewer1.RefreshReport(); So it

How to sign the output executable during the build process in Visual Studio?

自作多情 提交于 2020-01-06 05:11:51
问题 When I use a strong name key file as indicated in the project properties, it requires that all referenced assemblies to also use such a similar signature. But what I want is to sign using the WinDDK Signtool.exe . This I already do manually, but I also want to debug sign assemblies, and the best way of doing that is including the signature in the build, probably as a AfterBuild step. The problem is I don't know how to create a AfterBuild step 回答1: You are mixing things up here. A strong name

How to sign the output executable during the build process in Visual Studio?

你。 提交于 2020-01-06 05:11:01
问题 When I use a strong name key file as indicated in the project properties, it requires that all referenced assemblies to also use such a similar signature. But what I want is to sign using the WinDDK Signtool.exe . This I already do manually, but I also want to debug sign assemblies, and the best way of doing that is including the signature in the build, probably as a AfterBuild step. The problem is I don't know how to create a AfterBuild step 回答1: You are mixing things up here. A strong name

Visual Studio 2010 new install missing search solution toolbar

无人久伴 提交于 2020-01-06 04:49:13
问题 Just reinstalled Visual Studio 2010 and the toolbar that lets me search the entire solution is missing and I cannot seem to find the toolbar option of which it is a member. Any help would be appreciated. 回答1: It's likely a settings issue which persisted across the reinstall. Try reseting your settings to the default and see if it fixes the problem. Method 1 Tools -> Import / Export Settings Reset All Settings Pick your favorite profile Method 2 From the Visual Studio command prompt type the

How to read the C++ CLI .obj files (result of compilation of a single file)

╄→гoц情女王★ 提交于 2020-01-06 04:45:08
问题 I have a small (<300 lines) C++ file in a C++ CLI project in Visual Studio 2010. I have crafted some macros which do different things depending on the Debug/Release configurations. I would like to be able to look at the resulting .obj files (when I compile in Debug and Release) and be able to compare the two. The hard part is that files are binary and I do not understand their format. I am sure there are other ways to ensure that the macro is not destructive - e.g. try it out at runtime in

Accessing a SQL Server database from Visual Studio

风格不统一 提交于 2020-01-06 04:19:14
问题 I am using Visual Basic 2010 to write a front end to a database I created in SQL Server 2008. The problem I am having is when trying to add the SQL Server database as a new data source, I get the error message: You don't have permission to open this file. Contact the file owner or an administrator to obtain permission So is this a permission I need to set up in SQL Server to allow the connection from VB? If so, can someone please tell me what this is? Really stuck with this, hoping to find an

Unable to start/debug program

纵饮孤独 提交于 2020-01-06 03:26:17
问题 I recently installed Visual Studio 2010 to help me with some exercises for class. It all worked great in school but when I got home and tried to run and debug the second program I got this error: Unable to start ...\Kapitel_1\Debug\Kapitel_1.exe This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, please see the application event log. How can