Tag Info

Hot answers tagged

9

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

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 ...


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

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. ...


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

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

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 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

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

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.


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

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

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 ...


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 ...


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

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

Have you verified you're not using a 32-bit driver on a 64-bit OS? http://support.microsoft.com/kb/942976 32 = C:\Windows\SysWOW64\odbcad32.exe   64 = C:\Windows\System32\odbcad32.exe


1

It looks like what you are trying to do is have a dev server federated with adfs from domain 1 and then have the adfs from domain1 to accept tokens from adfs in domain2 using a claims provider trust. This way, users from domain1 and domain2 will be able to logon and access the dev server's app provided the claims rules are configured correctly. So the ...


1

If your machine is slow it could be because there is something wrong or it could be because there are 40 other VMs on there using all the resources. Without looking at the physical server and the vmware UI you simply can not tell what the bottleneck is. Inside the VM the CPU usage and IO stats are near meaningless because they are against a sliding scale ...


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

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

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

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


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

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 ...



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