windows-server-2008

User can't access IIS 6 FTP site

I set up a new virtual directory in IIS under the Default FTP Site. I already have other virtual directories, and I'm able to access them with my user account, which is a domain admin. I created an account named FTPuser, gave it full permissions to the virtual directory, but I can't open the site. When I log in, I get a Success Audit eve...

HTTP.SYS Kernel mode driver

What is the big deal with HTTP.SYS in IIS 7? From what I understand, it is low level which is good for security. Why? There is no context switching which could be expensive. Why? Please explain. Thanks! ...

NServiceBus, why can I Bus.Send, but not Bus.Publish? Need help debugging

Ok, Quick background We're using NServiceBus 2.0 with pretty much the standard config, nothing "crazy" going on. App is .NET 3.5 Dev environment is Publisher and Subscriber are on the same box, Windows 7. Staging environment is Publisher and Subscriber are on different boxes, one Windows 7, the other Windows Server 2008. Behaviour ...

Windows 2008 Task Scheduler - Other User unable to run the Task

I have created a scheduled Task in Windows 2008 Task Scheduler. (as a member of the local admin group). It runs on time and I can run the task anytime I want. However if a coworker tries to run the same task he can't because insufficent permissions, but he is also member of the local admin group). Anybody having an idea what is wrong he...

How do I get my php websites using .htaccess files to do basic URL re-writing to work on new windows server?

I have just bought a new Windows server with IIS on it and plesk panel. Good times (I thought...) I have about 10 client sites that run on PHP which shouldn't be a problem. But I can't seem to get an answer from my hosting provider on how to get my .htaccess working on the windows server so I'm getting stung for two lots of hosting and ...

Export to excel - Issue on Windows Server 2008 IIS7

I am trying to export to repeter/Gridview in excel, this is working fine in my local machine and windows server 2003, however when I deployed on Windows server 2008 its not working properly. here is my code StringWriter sw = new StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(sw); string attachment = "attachment; fil...

Why won't my MVC project work after publishing it?

I recently published my first MVC 2 project to a commercial web server, running Windows 2008, and which purportedly supports other MVC sites without issue, but have been experiencing some problems. Here is the high-level structure of the project. As you can see, it is very simple: But, after the site is published, and I navigate to th...

How to set Keepalive on Windows Server 2008

Hello, I have win32 application in which winsock is used for TCP/IP communication. I am setting keepalive value with WSAIoctl function and it is working normally with windows XP. But on Win. Server 2008 WSAIoctl fails, and WSAGetLastError returns 10022(invalid arguments) which does not make any sense. My code which sets keepalive is fo...

Windows 2008 - Task scheduler information

Can anyone let me know if there is any equivalent functionality to JT.EXE to provide the following: A. Windows Scheduled Task information. Data returned must include Application name, app parameters, credentials account name, task type, days interval, weeks interval, days of the week, start time, and whether the job is ...

msxml3.dll error '800c0005'

Really weird problem, I have just moved all our sites to a new Win2008 64bit server with IIS7 (Was on a Win2003 IIS6) and have started having problems with PayPal Pro / PayFlow. A few of these websites are stores with SSL's and use PayPal Pro to process the payment - Since the move, intermittently I am getting errors like. msxml3.dl...

Unable to access/find TeamCity localhost page

Hi, I have a reoccurring problem with TeamCity. On my company I have installed TeamCity three different times and successfully connected them to some kind of SVN-repo. But after a while I have always got the same error, unable to access localhost, i.e. TeamCity's login-page (I start the browser and it can't find localhost). I have tr...

iBATIS.NET / ResultMapping issue moving to 64-bit, Windows 2008 environment

In moving from one hosting provider to another, I've moved my ASP.NET 2.0 app from Windows Server 2003 32-bit to Windows Server 2008 64-bit Both servers are running MSSQL 2005 and I restored a backup from the old server on the new server. I am using iBATIS.NET's DataMapper (1.1.458) and now my ResultMappings aren't working properly. I ...

Redirect command prompt output to txt file windows 2008 r2

Hi all, I am trying to redirect the output of two commands chkdsk and defrag from command prompt to one txt file like c:> defrag c: >log.txt. Its behavior is normal on windows xp. The output is coming sequential into the file. However on Windows Server 2008 R2 chkdsk works fine but when execute defrag then for some initial time file rema...

Windows Server 2008 x64: registered dll cannot be loaded.

I've registered a COM dll using regsvr32 as I've always used to do, but when the code that uses this dll is fired i get the following exception: Retrieving the COM class factory for component with CLSID {E4F35ED2-71B3-4F6D-A4A9-FAA456365819} failed due to the following error: 80040154. I checked the error by id and it says ...

.net 4.0 appears not to be installed in the server manger > application server on win2008

hi there, on the 64 bit win 2008 server, .net 4.0 is not mentioned in the role services - just the 3.5.1 .net framework. Could this be why my MVC programs arent working on IIS 7.5 with the 404 /403 messages? ...

Why is ASP.NET SmtpClient.Send() making my site unavailable?

Hello everyone, I have an ASP MVC 2 application, through which I occasionally send emails using SmtpClient.Send(). Typically, emails are sent out in batches of between 1 and 50 emails, with hours or even days passing between batches. I have this all set up so that the emails are actually sending just fine. But, the problem is that when ...

How do I deploy code with WSE3.0 dependencies to Windows Server 2008?

One of our ASP.Net projects has some dependencies on Microsoft WSE 3.0 However, we're migrating the project to Windows Server 2008, which does not support WS E3.0. So I need to refactor the code to remove the dependency to WSE 3.0 but still maintain its functionalit. The code is simply adding a security token to the web context and then...

SQL Srvr 08 on Win Server 08 64bit accessing Linked Server to AD sporadic results issue

Hi, Within our system we have a linked server to our Active Directory server and a sql script which uses an LDAP query to retrieve users and groups in order to populate tables within an application. This script worked without issue on the original set up (SQL 2005, Win Server '03 32 bit). The script now will initially succeed (after t...

Windows 2008 Firewall settings

Hi how do you Limit traffice within the firewall settings? what im trying to do is Limit one ip Traffic to use SQL, but when i do this it Limits all the Ip's ? could you give me some info ? thanks James Taylor ...

WriteFile() with WRITE_THROUGH is slow on system disk

Hi, On Windows Server 2008 R2 the following very simple program behaves different on system disk and on any other disk. Seems that on system disk FILE_FLAG_WRITE_THROUGH makes something ... On disk C: (system disk, commodity SATA, no RAID) $ time ./test.exe real 1m8.281s user 0m0.000s sys 0m0.015s On disk E: (another phys...