windows-server-2008

How to ignore the certificate warning on remote desktop connection

僤鯓⒐⒋嵵緔 提交于 2020-01-09 22:31:20
问题 I am trying to ignore the certificate warning on remote desktop connection - the one in the image: So far I have found that when I check the "don't ask again" checkbox it is generating registry key over here: HKCU:\Software\Microsoft\Terminal Server Client\Servers A new record is generated with the name of the server and key name CertHash that contains a value that is specific for a machine. The key is the same for a machine - if I delete it and check the checkbox the same value is again

How to ignore the certificate warning on remote desktop connection

旧街凉风 提交于 2020-01-09 22:27:02
问题 I am trying to ignore the certificate warning on remote desktop connection - the one in the image: So far I have found that when I check the "don't ask again" checkbox it is generating registry key over here: HKCU:\Software\Microsoft\Terminal Server Client\Servers A new record is generated with the name of the server and key name CertHash that contains a value that is specific for a machine. The key is the same for a machine - if I delete it and check the checkbox the same value is again

dBASE ODBC drivers on Windows Server 2008

血红的双手。 提交于 2020-01-07 06:47:39
问题 I have an C# winforms app that works fine on all our XP machines. We want to put it on a new Win 2008 64 bit server and it breaks on the following code: using (OdbcConnection oConn = new OdbcConnection()) { oConn.ConnectionString = @"Driver={Microsoft dBase Driver (*.dbf)};SourceType=DBF;SourceDB=" + filePath + ";Exclusive=No; Collate=Machine;NULL=NO;DELETED=NO;BACKGROUNDFETCH=NO;"; oConn.Open(); OdbcCommand oCmd = oConn.CreateCommand(); oCmd.CommandText = "SELECT DISTINCT Mid(POSTCODE,1,Len

Hosting a WCF(mex endpoint) service inside a windows service on windows 2008

亡梦爱人 提交于 2020-01-06 07:56:11
问题 I'm hosting a WCF service inside a windows hosted service. When I start the WHS, I get the following error: The ChannelDispatcher at 'net.tcp://mysecreturl/' with contract(s) '"IClass"' is unable to open its IChannelListener. System.InvalidOperationException: A registration already exists for URI 'net.tcp://mysecreturl/Indexer/'. at System.ServiceModel.Channels.UriPrefixTable`1.RegisterUri(Uri uri, HostNameComparisonMode hostNameComparisonMode, TItem item) at System.ServiceModel.Channels

PHP File Uploading Issues

痞子三分冷 提交于 2020-01-06 07:49:08
问题 I'm trying to implement script that will allow a file to be uploaded, and then moved to a designated directory. This is running on a Windows server & IIS. I'm having 2 issues in doing so. First, I get an error when trying to move the file. Warning: move_uploaded_file(reports/ff.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in C:\inetpub\wwwroot\betterinsight\betterinsight\upload_file.php on line 29 Warning: move_uploaded_file() [function.move-uploaded-file]:

Deployment of my application in existing tomcat

南楼画角 提交于 2020-01-06 06:53:19
问题 I want to deploy my web application in a real TOMCAT 6 server which uses other applications. The problem is, when I put my WAR-file in webbApps, I get an error in the log file and I get an error 404: java.lang.UnsupportedClassVersionError: metier/utilisateurs/Compte : Unsupported major.minor version 51.0 (unable to load class metier.utilisateurs. Compte) at org.apache.catalina.loader. WebappClassLoader.findClassInternal( WebappClassLoader.java:2822)... I googled this and I found that there is

IIS7 .NET x64 aspnet_regiis -i causes class not registered error

北战南征 提交于 2020-01-06 06:31:27
问题 We are running IIS7 on Windows Server 2008 R2 SP1, with websites running on .NET 2.0. The websites work fine except that global themes do not work. I went ahead and tried to do aspnet_regiis -c in the Framework64 directory and got An error has occured: 0x80040154 Class not registered. The error indicates that IIS is not installed on the machine. Please install IIS before using this tool. If you are wondering, the enabled32bitApps flag is off, so .NET x64 is used. I went ahead and uninstalled

File open fails initially when trying to open a file located on a win2k8 share but eventually can succeeed

半世苍凉 提交于 2020-01-05 04:49:29
问题 Core of the problem: I receive "(0x80070002) The system cannot find the file specified" for roughly 8 to 9 seconds before it can open it successfully. In a nutshell, we have two com components. Component A calls into Component B and asks for a UNC filename to write to - the filename returned doesn't exist yet, but the path does - it then does its work, creates and populates the file, and tells Component B its done by making another com call. At that point Component B will call MoveFile to

%PATH% on Windows 2008 Server actually not working

这一生的挚爱 提交于 2020-01-05 03:32:50
问题 As you can see below, %AppData%\npm is added in the system Path variable. I've also tried adding it to the User Path variable. The file grunt.cmd exists in the directory, but only works if I specify it with an absolute path. AKA, path does not work. C:\Users\TeamCity>echo %path% %AppData%\npm;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows \System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\10 0\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100

Unobtrusive Oracle Deployment on Windows Server 2008

别说谁变了你拦得住时间么 提交于 2020-01-04 11:47:06
问题 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