windows-server-2008

Unobtrusive Oracle Deployment on Windows Server 2008

三世轮回 提交于 2020-01-04 11:46:09
问题 I have a .NET 4.0 Web Forms app that I am running with the beta Oracle EF-aware data provider, and I want to perform "unobtrusive" Oracle deployment to a Win2K8 box, as shown in many SO solutions. There is an existing Oracle Instant Client installation on the Win2K8 box, which I can neither work with nor remove, and it has an entry in the PATH environment variable on the Win2K8 box. According to this SO answer, I do not need to set PATH for my Oracle DLLs, since I have DllPath set in the web

Unobtrusive Oracle Deployment on Windows Server 2008

房东的猫 提交于 2020-01-04 11:44:47
问题 I have a .NET 4.0 Web Forms app that I am running with the beta Oracle EF-aware data provider, and I want to perform "unobtrusive" Oracle deployment to a Win2K8 box, as shown in many SO solutions. There is an existing Oracle Instant Client installation on the Win2K8 box, which I can neither work with nor remove, and it has an entry in the PATH environment variable on the Win2K8 box. According to this SO answer, I do not need to set PATH for my Oracle DLLs, since I have DllPath set in the web

The underlying connection was closed: An unexpected error occurred on a receive

ぃ、小莉子 提交于 2020-01-03 18:42:08
问题 When I try my program on my win2k8 machine it runs fine but on win 2k3 it gives me this error that error message here's the code that' generating the error WebClient wc = new WebClient(); wc.DownloadFile("ftp://ftp.website.com/sample.zip"); there's the weird part. if i disable the firewall on the server completely. the error goes away. but it still errors if i add the program to the exception list and turn on the firewall. have search the web for days, couldn't find any solution. 回答1: You

Permissions and SVN Updates on Windows Server 2008: same folder & SVN account, different Active Directory users

我只是一个虾纸丫 提交于 2020-01-03 07:20:33
问题 We're experiencing strange permission issues with SVN after switching from Windows Server 2003 to Server 2008. On our standard build box there is a folder ( C:\SVN_Code_Folder ) which AD_User_A associates with a SVN repository using SVN_User and TortoiseSVN 1.7.6 When using Windows 2003, when AD_User_B logs into the box and tries to Update, Switch, Merge the SVN_Code_Folder with SVN_User, the command is executed. It Windows 2008, it fails with the message: Command: Update Error: Working copy

Create Local User with Custom User Folder in Powershell

我的未来我决定 提交于 2020-01-02 13:26:09
问题 I am trying to create a new Win 2008 server local user and assign the user a different profile path. I don't want Windows to generate all the files under C:\Users\newUser, instead, I'd like to have it do that in D:\customDir\newUser. Does anyone know of a way to do this? So far this is what I have: $users= @("U1","U2","U3") $computer = [ADSI]"WinNT://$env:COMPUTERNAME,computer" $group = [ADSI]"WinNT://$env:COMPUTERNAME/MyCustomGroup,group" $users | foreach { $userName = $_ $userPath = "D:

How to know the active session counts for a particular website hosted in IIS using PowerShell

◇◆丶佛笑我妖孽 提交于 2020-01-02 05:46:24
问题 I asked a question about knowing the running session count in IIS. Get running session count from IIS for my hosted Asp.Net web site and I got the following powershell script Write-host Getting performance counters ... $perfCounterString = "\asp.net applications(__total__)\sessions active" $counter = get-counter -counter $perfCounterString $rawValue = $counter.CounterSamples[0].CookedValue write-host Session Count is $rawValue Rightnow this script is giving active session count for all

VisualSVN Server: taking backups using svnadmin tool

删除回忆录丶 提交于 2020-01-02 05:40:07
问题 I have installed VisualSVN Server on Windows Server 2008. I was trying to create a hotcopy backup using svnadmin tool. It seems that I don't have this tool installed: C:\>svnadmin hotcopy C:\Repositories\Develop C:\temp\svnbackup 'svnadmin' is not recognized as an internal or external command, operable program or batch file. Does VisualSVN Server include svnadmin tool? How can I get this tool? 回答1: I actually found the solution: I have these tools in this folder: C:\Program Files (x86)

How to figure out method name by assembly and methoddef?

爷,独闯天下 提交于 2020-01-01 18:08:51
问题 Application that was developed on machine with Windows XP and works there just fine has severe problems on target machine with Windows Server 2008. Namely, it fails to start properly with following information avaiable: Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: neolant.asrm.rcpfreshner.service Problem Signature 02: 1.0.7.0 Problem Signature 03: 4f4b66d2 Problem Signature 04: mscorlib Problem Signature 05: 2.0.0.0 Problem Signature 06:

Get the cumulative bytes sent and received from a NIC

南楼画角 提交于 2020-01-01 17:09:13
问题 Is there any easy way (via a script perhaps) to get the cumulative bytes sent and received from a NIC on Windows 2008 Server? For example, the NIC currently shows around 18 MB of sent data and 765 MB of received data. Since my server provider does not provide an easy way to see the monthly bandwidth usage, getting the NIC data seems to be the most reliable one. I know I can use PRTG to get the current usage data via SNMP but it will only be an average since the sensor checks every 60 seconds.

C# code to automatically give IIS write access to a folder on Windows Server 2008? Currently throws exception

一笑奈何 提交于 2020-01-01 10:52:14
问题 I am trying to write a command line tool that will give IIS7.5 on windows server 2008 write access to a folder in the wwwroot, so that a web application has access to write to a specific folder within it's base directory. Formerly, you would do this by assigning the IIS_WPG group on the folder giving that group Modify access. In Server 2008 I'm trying to do the same thing with IIS_IUSRS, but an exception is ocurring. Here is the code: private static void ManagePermissions(string directory,