.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to force MVC Projects setup to use IIS as web server IN VS2010 Professional

Posted By:      Posted Date: September 05, 2010    Points: 0   Category :ASP.Net
Hi..I am creating a secondary app that will interact with some controller actions in MVC Site thus i need it running when i boot my Dev PC.   The problem is that VS2010 Pro always seems to create the site using the inbuilt VS Web Server. How can i change this setting?   Thanks

View Complete Post

More Related Resource Links

SQL Server 2008 R2 Express Bootstrapper Package for Setup Projects

Has anybody got a workaround for the issue mentioned here: https://connect.microsoft.com/SQLServer/feedback/details/560030/sql-server-express-2008-r2-bootstrapper-package?wa=wsignin1.0 ?    

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,


ClickOnce: Deploy and Update Your Smart Client Projects Using a Central Server


ClickOnce is a new deployment technology that allows users to download and execute Windows-based client applications over the Web, a network share, or from a local disk. Users get the rich interactive and stateful experience of Windows Forms, but still have the ease of deployment and updates available to Web applications. ClickOnce applications can be run offline and support a variety of automatic and manual update scenarios.Learn all about it here.

Brian Noyes

MSDN Magazine May 2004

VS2010: Upgrading projects from VS2008

I just upgraded my VS2008 solution to VS2010 and have run into a problem. I have a .NET C# application that references a managed C++ DLL, which in turn links to a native static library. All this works just fine. However, whenever I attempt to run the C# application, Visual Studio claims that the native static library is out of date and must be recompiled. It does that even after I've just compiled the native library. When allowing VS2010 to build the native project, the only thing it does is this: 1>  LibraryName.vcxproj -> C:\Bleh\Blah\LibraryName.lib Is there a way I can figure out what's causing VS2010 to think the project is out of date?

SQL Server Installation error. setup.rll

Hi, I am coming to you folks for some help on this issue that has been baffling me. Installing SQL Server 2008 R2 on a Windows Server 2008 R2 generates the same error every time ( "SQL Server 2008R2\Resouces\1033\Setup.rll is either not designed to run on Windows or it contains an error tryinstalling the program again using the original installation media." Then when I click on OK (From the error box) I get the following message: SQL Server MEdia does not support the language of the OS or doewn't have an ENU lcalized files. Use the matching language specific SQL. I am using a full version of both Windows Server and SQL Server.  

SQL Server Express 2008 Setup fails. Support Rule "Restart Computer" Failed

Hi, I have been trying to install SQL Server Express for most of the day now without any luck.  Whatever I do setup fails at the stage of Setup Support Rules, Rule "Restart Computer" - Failed.  Needles to say I have restarted (several times!) and I have tried downloading  and installing the "Advanced", "Tools" and "Basic" versions, all give the same error.  Trying a repair does the same.  I have been searching the net for an answer without success, any help would be MUCH appreciated. Further info: I am trying to install a stand-alone installation on to a single PC running under XP SP 3 with .NET 3.5 SP1 installed.  The PC did have some earler versions of SQL server installed but I (?hopefully?) removed all of these through Control Panel.  Before trying the first SQL install I installed Windows installer 4.5 and PowerShell 1.0 as per the Microsoft Instructions. Running SQL Server Configuration Manager results in an error (MMC could not create the snap-in. The snap in might not have been installed correctly).  A directory structure for SQL server exists in "Program Files".  Services MSC shows SQL Server (SQLEXPRESS) as Automatic Statup (not running).  Trying to start this manually gives error 14001: "application configuration incorrect - re-install to fix" .......... Which is precisely what I'm trying to do.........:(

why can't i run silverlight w/ wcf in iis but VS2010 built-in ASP.Net development server?

 Both VS200 and IIS are in my local machine. Suppose they have the same permission. I create a silverlight4 w/ wcf ria service project. The project runs well in VS2010 built-in ASP.Net development server. It doesn't work well after i publish it to IIS. I only can see its static content but not the .svc. i try to browse the .svc, it always show HTTP 500 error. I doubt if i do not open the asp.net runtime setting sth in IIS? Thanks!

How to setup windows server 2008 to enable socket communication?

I wrote a simple socket program, which listens to the 82 port, then receives and sends data through it. I tested the program on my local machine and it works fine, but after I published the program onto my windows server 2008, it does not work anymore. I guess it should be the firewall causing the problem, so I added rules to allow 82 port for both in and out bound, and I also add my application to the allowed program list for passing firewall, but still doesn't work, how could I solve it?   The windows server 2008 machine has a public network IP address, while my workstation is in a local network without public IP address, I connect to server 2008 through a router which has a public IP address. Is that the problem?   thanks! Regards! directfriends.net

Force SQL job to succeed even after a step fails in SQL server 2008

All, We are trying to force some jobs to succed even though one step in the job fails randomly. Now,we choose the property of the job succeed on failure, it still shows up as warning. How do we ignore the warning thrown by the job SQL job?? Any suggestions??   Thanks Kay

VS2010 Reportviewer - subreport - web server

Hi all,I have ASP.NET web application(vs 2010). I'm trying to use subreport with reportviewer. The report is working with my machine, it returns both the main and sub report. But when I deplyed to web server, the main report display, but not the subreport and no error indicate. I did something like this with VS2005 and deployed to web server without any problems. Here is my coding:Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load      Dim ReportViewer1 As New ReportViewer        Dim rptDataSourceMain As New ReportDataSource("dsSRC", GetDataSet("p_SRC_completed_main").Tables(0))        With ReportViewer1            .ProcessingMode = ProcessingMode.Local            .AsyncRendering = False            .LocalReport.ReportPath = "content\SRC.rdlc"            .LocalReport.DataSources.Clear()            .LocalReport.DataSources.Add(rptDataSourceMain)        End With        ' HANDLE the sub-report        AddHandler ReportViewer1.LocalReport.SubreportProcessing, AddressOf SetSubDataSource        ReportViewer1.LocalReport.Refresh

SQL server setup has encountered the following error: The given key was not present in the dictionar

For various reasons I have installed and uninstalled SQL Server 2008 developer on my vista machine.. I just received this error after clicking the installation > New SQL Server stand alone installation ....link in the Installation Center SQL server setup has encountered the following error: The given key was not present in the dictionary I had to uninstall and reinstall because the analysis services install failed so I wanted to reinstall.

How to setup port forwarding for SharePoint server on home network

I have a SharePoint 2010 server running on my home network.  I want to be able to access the server from the internet and edit pages, create sites etc.  The web applications is running on a specific port (1234) not port 80. I've configured my router to forward port 1234 to the server's IP address and I can access the site fine from the internet using the routers IP address and adding the port number.  Viewing the site works fine but the problem is when I try to access a page in the _layouts folder for any of the sub sites I get a "File not found" error.  Also, if I go to a sub site and create a new site (no _layouts page required) it works but the new site is created directly under the root and not the sub site. It seems that the port forwarding from the router is messing up the context for the _layouts folder.  Is there any way around this? Thanks.

Do SharePoint 2007 and VS2010 have to be installed to the same Windows Server machine?

For WSS 3.0 development using VS 2005, I learned that we need to install VSeWSS to the Windows Server where the WSS 3.0 was installed.  For MOSS 2007 development using VS 2010, do we need to have VS 2010  nstalled to the same Windows Server?  Thanks, Jeffrey

Sql Server Management Studio addins using VS Extensibility projects

how to create an SSMS addin that would format query when we are typing query. Formatting in the sense say capitalize keywords. (Let the keywords be hard-coded inside application). I am able to create an add in that responds when SSMS starts. But I can't find a solution to get the current user input in active window.

SQL Server 2008 Express Setup failure: Unknown Property Error

I am trying to install SQL server 2008 on windows 7 but it returns the following error when almost done with installation: TITLE: SQL Server Setup failure. ------------------------------ SQL Server Setup has encountered the following error: Unknown property. . ------------------------------ BUTTONS: OK ------------------------------   Can someone please assist me with this, I have tried for more than a week to go around it. I have also searched online for solutions but in vain. Looking into the log files, I see these: 2010-09-05 21:04:41 Slp: Running Action: Install_SqlBrowser_Cpu32_Action 2010-09-05 21:04:41 Slp: Target package: "C:\Softwares\Database and Management\SQLEXPRADV_x86_ENU\x86\setup\sqlbrowser.msi" 2010-09-05 21:04:46 Slp: InstallPackage: MsiInstallProduct returned the result code 0. 2010-09-05 21:04:46 Slp: RunMsiCore succeeded. 2010-09-05 21:04:46 Slp: Checkpoint: INSTALL_SQLBROWSER_CPU32_ACTION 2010-09-05 21:04:46 Slp: Completed Action: Install_SqlBrowser_Cpu32_Action, returned True 2010-09-05 21:04:46 Slp: ---------------------------------------------------------------------- 2010-09-05 21:04:46 Slp: Running Action: Install_SqlSqmShared_Cpu32_Action 2010-09-05 21:04:47 Slp: Error: Action "Install_SqlSqmShared_Cpu32_Action" threw an exception during execution. 2010-09-05 21:04:47 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExec

Testing setup of SQL Server 2008 R2 developer

The "Windows Package Manager" has the error "Operation failed with 0x80070643" and "Fatal error during installation." I have tried a few basic approaches to the installation problem, including downloading the ISO image to a different computer.  I have burned the ISO image onto four different DVDs using different media and two computers but only succeeded in verifying the burned media is Ok.  I have verified the SHA1 key with the two installation ISO images that were downloaded.  I have tried repairing the installation, but that generated a different kind of error message, "Error 1316.A network error occurred while attempting to read from the file E:\1033_ENU_LP\x64\setup\SSCERuntime_x86-enu.msi".  And then there is the "SQL Server 2008 R2 Setup has stopped working" message indicating "Windows is checking for a solution to the problem...". How fatal are the errors being encountered?  Is everything Ok?  How can I test that SQL Server 2008 R2 is fully functional?  T.69.72.

best practice SQL Server 2008R2 setup on 3 drives

Hi, I have read best practice lists for setting up SQL Server, but I don't have enough available drives to meet the optimal setup. I have 3 drives and below is how I plan on using my 3 drives: C (30GB) - Windows 2008 OS and SQL Program Files E (120GB) - SQL Master/Model/TEMPDB/MDF Files F: (60GB) - SQL LOG Files   Should I configure the above different?
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