Tag Info

Hot answers tagged

16

Based on the info in the MySQL Documentation you should do the following: Find out what the highest number of simultaneous connections mysqld has had using Connections, Threads_created, and Max_used_connections, SHOW GLOBAL STATUS LIKE 'Connections'; SHOW GLOBAL STATUS LIKE 'Threads_created'; SHOW GLOBAL STATUS LIKE 'Max_used_connections'; Try ...


13

I had a similar problem. This thread http://stackoverflow.com/questions/2374957/asp-net-mvc-on-iis-7-5 solved it for me. Basically try adding this to your web.config: <system.webServer> <modules runAllManagedModulesForAllRequests="true"/> </system.webServer> If that work you can try removing it and install this hotfix instead: ...


12

Backwards compatible is a bad term to use. .NET 1.0, 1.1, and 2.0 are their own frameworks that have no compatibility between each other. .NET 3.0 and 3.5 are super sets of the 2.0 framework, using the .NET 2.0 base framework, with additional dll's to provide additional features (3.0 included things like WCF and WWF, 3.5 had things like LINQ). In terms of ...


12

Windows and linux have two different page/swap strategies. Linux Linux wants to avoid using swap space at all, and waits until the last possible moment. If you see a large amount of swap in linux, your system likely is or was in trouble. This strategy is good for minimizing overall disk i/o, which is the slowest part of your system, but weaker for systems ...


8

You can script everything for Exchange in PowerShell, assuming you're on 2010. You can script and awful lot in 2007 as well. Here is a good resource for Exchange 2010 scripting. Also, I know that "Google it" is not an acceptable answer here, which is why I provided you with a real answer, but there are literally hundreds of useful results when googling ...


8

There is no chance, in my own humble opinion, that .NET skills will be bad for you. Quite the contrary. If you have familiarity with the .NET framework then you're much better equipped to utilize Powershell to its fullest extent which will do nothing but help you with sysadmin related automation tasks. The pointy haired boss should realize that you can ...


7

Windows (and Linux & other Unix-a-like OSs) will move pages that have not been used for some time to disk to make room for buffers and cache to speed up active I/O activity. Also applications will often allocate more memory than they are immediately going to use - this may encourage the Kernel to page some things that have not recently been touched in ...


7

The benefit of using C# 4.0? Developer Productivity. End users wouldn't be able to tell the difference between any of the other versions of the framework. So it's unlikely they would with this one. BUT there are a heap of benefits for developers: New Features in C# 4.0


7

It makes IIS point to different root level config files for .NET. These root level files reside within the framework installation folders in %systemroot%\Microsoft.NET\Framework\<version>\CONFIG IIS looks for config files for itself in %systemroot%\system32\inetsrv\config\applicationHost.config and for .NET in ...


7

You will need to use a server control panel that is tailored to multi-tenancy and web hosting. There is no native way that Windows can perform this. It's not an easy task or something that can be done on your own without heavy investments in time, development and money. There are a few open-source tools that offer this kind of functionality, however most ...


6

The "best-practice" is generally not to run software that requires you to use a vulnerable framework (or, say an older version of Java), but that is not always an acceptable answer, unfortunately. For most businesses (those that aren't technology or IT-based, at least), IT serves business needs, and not the other way around, so you don't always get to use ...


6

Yes, if you set the project properties to use 32-bit (x86 I think) explicitly it will always run in that mode. We had that issue when using the SQLite ADO.Net provider (it was looking for the 32-bit version only, which couldn't load when run on a x64 system). You can use corflags to set the 32-bit bit (ha ha) flag on the executable. Here is an example. In ...


6

You can't copy AD users. You can move them from one place to another, or you can create new users based on existing ones... but in the latter case, you have to supply new user names, passwords and a few other things; it's not as simple as a "copy & paste" operation. Users are security principals, they must be unique in a given domain; you can't have ...


6

This isn't a dumb question at all. it's actually a good question. My information may be out of date, but in earlier versions of the home Operating Systems (Win98 - WinXP) the version of IIS (or Personal Web Server on the older OS's) that ships with the operating system is limited to fewer connections (10 the last I knew), so that alone rules out hosting a ...


6

Our internal developers always want the latest .Net framework, and we typically try to accommodate them. We're in the process of rolling out .Net 4 to our computers which are a mix of Windows XP and Windows 7. We're not seeing any issue. Cost: If you need to test each and every system with all software installed, I would envision a large cost to ...


6

Windows Server 2003 already ships with Framework 1.1 so you don't really need to worry about installing that other than applying patches via Windows Update. Framework 1.1 is fairly old and from experience pretty much all 1.1 code will run on 2.0 unmodified. Framework 2.0 is a major release, it's still fairly popular so I'd go ahead and install that. This ...


6

By default, nmap only scans for "common" ports (the 1000 most common ports per protocol I believe). Since 789 is not a common port it isn't found. If you do nmap -A -vv -p- ip it should scan ports 1-65535. Here is the nmap documentation that tells what ports are scanned by default: http://nmap.org/book/man-port-specification.html


5

Looks like the mail server is forcing this delay, probably in order to avoid spam: http://en.wikipedia.org/wiki/Tarpit_(networking). What mail server are you using? How is it configured? Are you using authenticated or unauthenticated SMTP to send mails?


5

You need to pass in the flag (16) Respond with "Yes to All" for any dialog box that is displayed. Like so: $destination.Copyhere($zip_file.items(), 16) You may want to combine that with this flag: (4) Do not display a progress dialog box. So you would do: $destination.Copyhere($zip_file.items(), 20)


5

<%windir%>Microsoft.NET/Framework/v3.0/Windows Communication Foundation/ServiceModelReg.exe -i ...then <%windir%>Microsoft.NET/Framework/v2.0.50727/aspnet_regiis -i -enable This mapped the proper isapi dll's to the *svc extension, among other things. Bless Microsoft...


5

I have found the way The problem was that the server is 64 bits, and my workstation is 32 bits. The IIS application works using 32 bits, so the odbc connection must be 32 bits as well. to acces odbc 32 bits instead of 64 bits you should execute c:\windows\syswow64\odbcad32.exe now I can add the data connection for informix. hope this helps someone out ...


5

For enumerations you don't have to specify the whole type name. For example: You can do this: New-Object System.DirectoryServices.ActiveDirectory.DirectoryContext([System.DirectoryServices.ActiveDirectory.DirectoryContextType]::Domain) or the much more simple version: New-Object System.DirectoryServices.ActiveDirectory.DirectoryContext('Domain') You ...


4

We have whatever version is required for the application software installed on the server computer. If the server computer doesn't have any applications installed that require a .NET Framework installed, we don't install one. I have no problem installing it, but like any software on a server computer, if it's not required it's not installed.


4

It is an extension to .NET 2 and .NET 3. You can not have 3.5 without also having 3 and 2. Install 3.5 and any updates and sharepoint will be happy. .NET 3.5 family update is available on microsoft update and is .NET 3.5 (which includes service pack 1 version of .net 3 and 2) and some updates on top of that to fix compatability problems introduced by the ...


4

Well, 3.5SP1 is the full .NET runtime for 3.5 with SP1 bits included and I will assume the same for 2.0 of the framework. As for your IIS/ASP.NET features not being enabled, you may just need to run aspnet_regiis -iru in C:\Windows\Microsoft.NET\Framework\v2.0.50727 with a Windows Update (WU) .NET framework install (if you are enabling after you have the ...


4

You can get the .NET Framework 2.0 Redistributable and .NET Framework 3.5 Redistributable from Microsoft downloads and run them manually on the server. If you have more than one server, you should have them setup to recieve updates from a central area much like Zypher said. Hope this helps some.


4

Looking at the Managing Application Pools in IIS 7 TechNet page, it is simply to separate applications from each other. Here's the relevant bit. An application pool is a group of one or more URLs that are served by a worker process or a set of worker processes. Application pools set boundaries for the applications they contain, which means that any ...


4

It depends. If you can count every user (eg Corporate Intranet) you need one CAL per user/device If you can not count your users (eg Internet) you need Processor Licenses The latter does not mean "registered users": it means any potentil user on your site, or 6 billion CALs. Sometime Processor licensing is cheaper for a Corporate Intranet Read the ...


4

If it's high availability you need, then Windows/SQL Server Clustering or SQL Server Database Mirroring offer solutions. Clustering does require a lot of planning and familiarisation if you've never done it before, but it will be transparent to the application. Load balancing is possible with SQL Server, but it's not for the faint hearted. It's a solution ...


4

Use Web Platform installer - find WordPress and it will install all necessary prerequisites including php ISAPI extension for IIS and MySQL. Installation wizard will guide you. You must have host header assigned to your Web site and install WordPress to blog web application on your web site. Btw. questions about configuring IIS belong to serverfault.com and ...



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