windows-server-2008

Stopping cookies being set from a domain (aka "cookieless domain") to increase site performance

I was reading in Google's documentation about improving site speed. One of their recommendations is serving static content (images, css, js, etc.) from a "cookieless domain": Static content, such as images, JS and CSS files, don't need to be accompanied by cookies, as there is no user interaction with these resources. You c...

X509Store.Open fails with "Access is denied" in ASP.NET/Windows 2008

Hi! I'm creating a web application which needs to enumerate certificates in CurrentUser's certificate store. Following is the code snippet I'm using: X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser); try { // Open store. Fails with exception. store.Open(OpenFlags.ReadOnly); // Enumerate certificates...

Is there an official GUI way of installing and removing .Net services on Windows Server 2008?

Please read the whole question; I personally think that this is programming-related; if you think otherwise, then please migrate without down-voting. I have found two different ways of installing a service: http://www.wsinnovations.com/softeng/support/manualservice.html as well as using http://msdn.microsoft.com/en-us/library/50614e95(...

server 2008 .net framework 4 503 error

I just installed .net 4 on my server 2008 and I keep getting Service Unavailable HTTP Error 503. The service is unavailable. messages from any application I try to run as .net 4. The application pool keeps stopping. Event view shows: "The worker process failed to pre-load .Net Runtime version v4.0.30319." ...

Is it possible to detect Internet Explorer Enhanced Security Configuration in javascript?

Is there any method to tell from javascript if the browser has "enhanced security configuration" enabled? I keep running into problems with certain controls not working from within dynamically loaded content. This only happens with browsers running on Windows Server 2003/2008 systems - even when I add the server to the "trusted" zone. ...

Error in running "select * from CIM_VideoControllerResolution" on windows server 2008

Hi, I cannot run following WMI query on Windows server 2008 64 bit select * from CIM_VideoControllerResolution tried verifying from WMI explorer plz hlp how can i run this query Abdul Khaliq ...

Passing CString to IIS ServerSupportFunction function in ISAPI extension

I've been given an ISAPI extension dll compiled in VC6 which calls "ServerSupportFunction" through MFC's CHttpServerContext class. The code looks something like (assume Ctx is object of the class CHttpServerContext) CString str; str = "Content-Type: text/plain\r\n"; str += "Content-Length: 200\r\n"; str += "\r\n"; DWORD len = str.GetL...

Windows2008 server folder versus XP

What is the alternate path for C:\Documents and Settings\All Users\Application Data in XP to windows 2008 server machine.In C:\Users i can see only different users .Any one have idea about this? ...

creation of file using vbscript

i did the following vbscript code to write a text file called "level.txt" in C:\Documents and Settings\All Users\Application Data\secon\generator Const CommonAppData = &H23& Const PATH = "\secon\generator" Dim fso, MyFile Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.Namespace(CommonAppData) Set objFolder...

Not able to connect to the SQL Server data from asp.net app

We are upgrading from an environment where the development web server, the SQL Server 2005, and SQL Server data are all on the same machine, a Windows XP Machine. We are upgrading to having the web server on one Windows 2008 server, the SQL Server on a 2nd Windows 2008 Server, and to Server to a Windows 2008 server, nd the data on a SAN...

Anyone have success setting up SharePoint 2010 with Sql Server 2008 on separate boxes?

I am setting up SharePoint 2010 on one machine with SQL Server on a separate box to server as both the data store and serve reporting services (through SSRS/SP Integration). In the past, I would install the WSS 3.0 for SharePoint 2007 on the SQL Server Box. It appears that there is no existing option for SP 2010. Am I missing somethin...

401 error when installing Jira 4 on Server 2008

Hi, I'm trying to install Jira on Windows 2008 using the standalone installer and setting up Jira as a Windows service. The docs make it seem fairly simple, but I've had tons of trouble and have spent the last week going back and forth with their support. Though they've been quite responsive and friendly, they still have not been able...

Read evtx log files from win server 2008

I'm trying to read, from XP SP3, .evtx log files which are hosted on a windows 2008 server. I use EventLogQuery, EventLogInformation which are in Framework 3.5 System.Diagnostics.Eventing.Reader. However Visual Studio tells me this: "platform not supported exception". I don't get it as I have the Framework 3.5 installed already. I am ...

Restricting number of PDA's connecting to the webservice on win Server 2008 box

Hi Is there any setting in IIS 7.0 or Win 2008 server box or Webservice.asmx itself to restrict number of the PDA's accessing at any time? Example i want only 60 PDA's to access the server consuming the webservice at any time. Gauls ...

Querying index server catalog on network

I have a website that is running on windows 2000 and sql 2000. The application and the db resides on the same server. The site has a search feature that is a combination of dbsearch and pdf search. for the pdf search i created a linked server that points to index server to do the pdf search. Wrote a stored proc that will combine both th...

Cannont add domain name XN--12C7B7AM4F0D.COM to Windows Server 2008

Hello everyone, I got domain name in Thai "ไทยลีก.com" (pronounce thaileague.com). and this name is encode to XN--12C7B7AM4F0D.COM when it need to use. In fact, I rent shared hosting server and give server administrator XN--12C7B7AM4F0D.COM as domain name to add for my website. However, he told me there error when he tried to add XN--...

ReadEventLog() API fails with error code 87 on Windows Server 2008 R2 while reading Application/System/Security event logs from system.

Hi All, I have an MFC application which reads system (i.e. Application/System/Security) event logs on Windows Server 2008 R2 in WOW64 environment. I am facing a problem with std SDK ::ReadEventLog() function in Windows Server 2008 R2. Below I have provided the code snippet, but the same code/API works perfectly in Windows XP WOW64 & x64...

Unable to Find Setting for Visual Studio Client Profile to .NET 3.5 Server Core

I'm using Visual Studio 2010 Ultimate. I have a C# WCF service application I want to target for Windows 2008 R2 Server Core. In the assembly framework dropdown, I see .NET 3.5, .NET 4.0 and the respective client profiles, but no profile listed for .NET 3.5 Server Core. Likewise, on the setup project launch conditions, there is no .NET 3....

Tortoise SVN doesn't show those green , red , yellow icons - Windows 2008

Tortoise SVN doesn't show those green , red , yellow icons when the files changed that are under source control, I can see them in windows XP but not on Windows 2008. But when I right click and try to commit, it gives me a list of files that are changed. Any idea why/fix? ...

SSL implementation for selected asp pages in Windows server 2008

I have a asp based website on windows server 2008. I would like to make some selected pages as SSL (https). I tried to enable https. But when i try to access using http it gives error. how to enable https only for selected pages on a website? Thanks -Vivek ...