Tag Info

Hot answers tagged

11

From your Fiddler trace it appears that you're serving your pages using the built-in Visual Studio web server: Server: ASP.NET Development Server/10.0.0.0 If this was being served by IIS7 then we'd see: Server: Microsoft-IIS/7.5 The built-in Visual Studio web server only has a limited set of mime-types it can serve and has no knowledge of mime types ...


7

The correct setting Microsoft added for what you need is AppLocker by GPO. You can add policy by filehash, filepublisher or path. With the filehash, it's harder for an user to bypass it, unless he get another version, but you could block the publisher too.


5

First, if you haven't already, check out Microsoft's free hosted TFS solution. That's probably the simplest way to go. If you still want to deploy TFS locally, you certainly can. If you have access to TFS (via a MSDN subscription, for example), it should just be a matter of downloading and running the installer. Verify that you're on a supported OS (Vista, ...


4

Visual Studio 2010 does not have a 64-bit version, only 32-bit. The 32-bit version will work fine on 64-bit Windows.


3

Rob's summary doesn't really agree with the thread he linked to as support. The poster in the thread he linked is running a system with a total of 2 available cores. A VM with 2 vCPUs assigned needs to wait for both of those cores to be free before it's granted CPU time. Naturally, the hypervisor/host system gets first dibs when it comes to CPU resources. ...


3

By default when you try to create a new Team Project, Visual Studio sets a default path for the SharePoint site. [SharePoint Server]/sites/[TFS Project Collection Name]/[Team Project Name] What you want to do is create the site collection for the [TFS Project Collection Name] or remove it and create the Team Project Site in the sites root. Hope this ...


3

UPgrade the VM to 64 bit and give it 8+ gigabyte RAM and at least 2 cores - 5 are better. Sorry, but (a) Visual Studio uses multiple cores during compile etc. and (b) 4gb are not enough when debugging etc, I regularly take my dev envvironment over the 6gb limit. If the screen is super slow make it faster. How do you connect? Remote Desktop - that SHOULD ...


2

Uhh... Start Control Panel Programs and Features Turn Windows Services On or Off Uncheck Internet Information Services Click Ok Am I missing something?


2

There's a hotfix targetted at a similar sounding problem: Consider the following scenario: You have a computer that has the Microsoft .NET Framework 3.5 installed. You use Remote Desktop Protocol (RDP) to remotely access the computer. You try to run a .NET Framework 3.5-based Windows Presentation Foundation (WPF) application on the ...


2

First off, I hope your terminal server is a virtual machine. Before you continue, make sure you have a clean snapshot of the VM. One of your students will take advantage of the ability to run arbitrary applications and screw up your server. You should revert to the snapshot periodically, and always revert immediately before applying patches or installing or ...


2

Perhaps VS 2010 configured your proxy? Check Control Panel -> Internet Options. Network tab and see if you need to clear the proxy field.


2

If you have an appropriate MDF and LDF file you should be able to attach them within Management Studio by right clicking on the databases folder under your server name in Object Explorer and selecting attach database. Alternatively you can use T-SQL to attach your database files - although you may find the GUI easier to do so. This link will describe how ...


2

As mentioned above, Cassini ignores these settings in web.config so one has to use IIS Express instead (at VS project settings) http://stackoverflow.com/questions/5924647/setting-mime-types-using-the-asp-net-development-server To get more info on how to configure MIME types using the admin UI or using web.config for IIS or IIS Express see: ...


2

I've used Kev answer, by: Installing IIS 8.0 Express from Web Platform Installer Changing project's properties to use IIS Express and creating Virtual Directory for it Adding in web.config's configuration → system.webServer <staticContent> <remove fileExtension=".svg" /> <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> ...


2

My workaround for this was to create my own httphandler locally which overwrote the content-type for svg. public class SvgHandler : IHttpHandler { public bool IsReusable { get { return false; } } public void ProcessRequest(HttpContext context) { context.Response.ContentType = "image/svg+xml"; ...


2

I've never run into that problem, but if you stop the application pool that the app is running prior to redeployment then that should ensure IIS is not locking the files.


2

Place this into web.config in root folder of your site (if you have one already then just add appropriate section): <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <add value="Index.aspx" /> </files> ...


2

You need only to publish once per application/machine (although you can publish on a per root conf/machine). Afterwards (At least in Web Deploy 2.0) you can synchronise by doing msdeploy -verb:sync -source:webServer -dest:webServer,computerName=Server2 It is explicitly mentioned that A sync operation gets a dump of the source, a dump of the ...


2

You're missing components. The default install doesn't have the import feature. You'll need Web Deploy added into the mix. Download web deploy here. That should do the trick. Here's A little more detail on this solution. Edit: you'll need to restart the service after adding the component.


1

There's another possibility answer for why this error might occur (in the general case), you could be running Express Edition, and your TFS database has reached the maximum database size for the license.


1

A virtual machine is just that, it's a fake machine running on another machine. Anything you can do to a physical machine, you can do to a virtual machine. Does this work on a physical machine? If so, it should be possible on a virtual one.


1

The permissions part isn't of interest. IE9 has more stringent requirements for loading CSS files - tried using the Compatibility page view on it? http://msdn.microsoft.com/en-us/library/gg622939(v=VS.85).aspx Also, doublecheck that the files are being loaded as you expect them to be (and from the correct location) - Fiddler or the F12 network capture view ...


1

The exact amount needed to do the job you're trying to do in a timely manner. Or as near to that as possible. Or if you want to look at it another way, how many cores would be in a dedicated piece of hardware you'd buy to do this task non-virtualised? In terms of how networking, memory, cpu, disk requirements work for an application, nothing magical ...


1

Open the solution in Visual Studio 2010 -> Package -> Package.Template.xml and remove DeploymentServerType="ApplicationServer" Not try to deploy. It should work.


1

This article explains that the problem is that each app on your machine will be allocated 4GB of address space - 2GB assigned to the app and a shared 2GB space assigned to the Kernel that all apps share. Address space is only allocation in contiguous blocks, so if you need 1mb of space, it needs to find a contiguous 1mb space for you (as opposed to 2 500kb ...


1

Additionally, if you have multiple pages open in VS2010 try closing some of them, then minimize (not close) visual studio then re-maximize. This will release the memory once VS has lost focus. FYI, the minimize trick works on my applications, such as Firefox or Outlook.


1

management studio runs fine on windows 7. The warning is because you need to apply SP1 to sql 2008. all version of SQL server are the "same" however some versions are more equal than others. Express is missing some "enterprisey" features (log shipping, clustering etc). For full details look here if all you have is installation manager and configuration ...


1

You need Change and Read permissions. http://msdn.microsoft.com/en-us/library/bb778394 The real trick is assigning these permissions to the right account. If you used Network Service as the service account for Team build and the network share is on the same computer as the build service, you can just use "Network Service," assign Change and Read, and ...


1

Make the service account for TFS a farm admin in SharePoint. If your service account is network service, use the name of the tfs server with the $ symbol. For example, domain\tfsserver$ Good luck!


1

I also had this question posted on the MySQL forum. Here is the response I received: You're correct about that Connector/Net doesn't have to be in the GAC in order to work with Medium Trust, but this has some limitations. For the case of Entity Framework our driver needs Reflection, as you mention it, in order to be registered as a provider. Thus it can't ...



Only top voted, non community-wiki answers of a minimum length are eligible