473,770 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows 2000 Server vs. Professional

I have developed a VB.net application that transfers a
SOAP wrapped message to another server securely(using SSL
and sever/client certificates). When I run this app from
a Windows 2000 Professional box everything works as
expected, the secure channel is established and the
message is sent properly. When I use the exact same app
on the Windows 2000 Server(running IIS) box the app does
not work properly. I have used a packet sniffer to try
and see what is going on and it appears the server cannot
establish a secure connection with the remote server.(All
the appropriate certificates are installed on both boxes)
IS there some setting which needs to be changed in Windows
2000 Server in order for this to work??? (I am logged into
the Windows 2000 Server as a client/ it is not running as
a service). I don't understand why this would work under
Windows 2000 Profession and not under Windows 2000
Server. Any help in resolving this issue would be greatly
appreciated. Thanks in advance.
Nov 22 '05 #1
4 1977
Sample code might help. Generally when those types of issues arrive. There
is an issue with security permissions. Have you made any changes to your
machine.config?
Are you using impersonation?

Let me know.

Nick
"Dave" <an*******@disc ussions.microso ft.com> wrote in message
news:04******** *************** *****@phx.gbl.. .
I have developed a VB.net application that transfers a
SOAP wrapped message to another server securely(using SSL
and sever/client certificates). When I run this app from
a Windows 2000 Professional box everything works as
expected, the secure channel is established and the
message is sent properly. When I use the exact same app
on the Windows 2000 Server(running IIS) box the app does
not work properly. I have used a packet sniffer to try
and see what is going on and it appears the server cannot
establish a secure connection with the remote server.(All
the appropriate certificates are installed on both boxes)
IS there some setting which needs to be changed in Windows
2000 Server in order for this to work??? (I am logged into
the Windows 2000 Server as a client/ it is not running as
a service). I don't understand why this would work under
Windows 2000 Profession and not under Windows 2000
Server. Any help in resolving this issue would be greatly
appreciated. Thanks in advance.

Nov 22 '05 #2
We have not made any changes to the Machine.config and we are not using impersonation.. .It is the standard installation of Windows 2000 Server running IIS with a server certificate installed on the machine. Here is the code I am using to establish the connection...ag ain bear in mind that this exact same code works with Windows 2000 Professional, so I'm kinda leaning to some sort of configuration issue

Dim objRequest As HttpWebReques
Dim objResponse As HttpWebRespons
Dim objWriter As StreamWrite
Dim objReader As StreamReade
Dim objCertificate As X509Certificat

Tr
objCertificate = objCertificate. CreateFromCertF ile(Certificate Path

'Initializes HTTP properties for communicatio
If RequestType = MISORequestType .SUBMIT_REQUEST The
objRequest = CType(objReques t.Create("https ://" & SUBMIT_URL), HttpWebRequest
ElseIf RequestType = MISORequestType .QUERY_REQUEST The
objRequest = CType(objReques t.Create("https ://" & QUERY_URL), HttpWebRequest
End I

'Adds a Client Certificat
objRequest.Clie ntCertificates. Add(objCertific ate

'Set up some configuration for using HTTPWebReques
objRequest.Meth od = "POST
objRequest.Cont entLength = XMLMessage.Leng t
objRequest.Cont entType = "Content-Type: text/xml" ' heade

'Sends the HTTP POST command over the strea
MsgBox("About to send the message to MISO"
objWriter = New StreamWriter(ob jRequest.GetReq uestStream()
objWriter.Write (XMLMessage
objWriter.Close (
MsgBox("Message Sent waiting for response"
'Sets Timeout to 60 second
objRequest.Time out = 6000
'Gets the response back from the HTTP Post Reques
objResponse = CType(objReques t.GetResponse() , HttpWebResponse

ResponseCode = objResponse.Sta tusCod

'Reads the response back into Text forma
objReader = New StreamReader(ob jResponse.GetRe sponseStream(), Encoding.UTF8
ResponseMessage = objReader.ReadT oEnd(
objReader.Close (

Catch e As Exceptio
MsgBox(e.Messag e & " " & e.InnerExceptio n.Message
End Tr
Return Tru
----- Nick Harris wrote: ----

Sample code might help. Generally when those types of issues arrive. Ther
is an issue with security permissions. Have you made any changes to you
machine.config
Are you using impersonation

Let me know

Nic
"Dave" <an*******@disc ussions.microso ft.com> wrote in messag
news:04******** *************** *****@phx.gbl..
I have developed a VB.net application that transfers
SOAP wrapped message to another server securely(using SS
and sever/client certificates). When I run this app fro
a Windows 2000 Professional box everything works a
expected, the secure channel is established and th
message is sent properly. When I use the exact same ap
on the Windows 2000 Server(running IIS) box the app doe
not work properly. I have used a packet sniffer to tr
and see what is going on and it appears the server canno
establish a secure connection with the remote server.(Al
the appropriate certificates are installed on both boxes
IS there some setting which needs to be changed in Window
2000 Server in order for this to work??? (I am logged int
the Windows 2000 Server as a client/ it is not running a
a service). I don't understand why this would work unde
Windows 2000 Profession and not under Windows 200
Server. Any help in resolving this issue would be greatl
appreciated. Thanks in advance


Nov 22 '05 #3
Sample code might help. Generally when those types of issues arrive. There
is an issue with security permissions. Have you made any changes to your
machine.config?
Are you using impersonation?

Let me know.

Nick
"Dave" <an*******@disc ussions.microso ft.com> wrote in message
news:04******** *************** *****@phx.gbl.. .
I have developed a VB.net application that transfers a
SOAP wrapped message to another server securely(using SSL
and sever/client certificates). When I run this app from
a Windows 2000 Professional box everything works as
expected, the secure channel is established and the
message is sent properly. When I use the exact same app
on the Windows 2000 Server(running IIS) box the app does
not work properly. I have used a packet sniffer to try
and see what is going on and it appears the server cannot
establish a secure connection with the remote server.(All
the appropriate certificates are installed on both boxes)
IS there some setting which needs to be changed in Windows
2000 Server in order for this to work??? (I am logged into
the Windows 2000 Server as a client/ it is not running as
a service). I don't understand why this would work under
Windows 2000 Profession and not under Windows 2000
Server. Any help in resolving this issue would be greatly
appreciated. Thanks in advance.

Nov 22 '05 #4
We have not made any changes to the Machine.config and we are not using impersonation.. .It is the standard installation of Windows 2000 Server running IIS with a server certificate installed on the machine. Here is the code I am using to establish the connection...ag ain bear in mind that this exact same code works with Windows 2000 Professional, so I'm kinda leaning to some sort of configuration issue

Dim objRequest As HttpWebReques
Dim objResponse As HttpWebRespons
Dim objWriter As StreamWrite
Dim objReader As StreamReade
Dim objCertificate As X509Certificat

Tr
objCertificate = objCertificate. CreateFromCertF ile(Certificate Path

'Initializes HTTP properties for communicatio
If RequestType = MISORequestType .SUBMIT_REQUEST The
objRequest = CType(objReques t.Create("https ://" & SUBMIT_URL), HttpWebRequest
ElseIf RequestType = MISORequestType .QUERY_REQUEST The
objRequest = CType(objReques t.Create("https ://" & QUERY_URL), HttpWebRequest
End I

'Adds a Client Certificat
objRequest.Clie ntCertificates. Add(objCertific ate

'Set up some configuration for using HTTPWebReques
objRequest.Meth od = "POST
objRequest.Cont entLength = XMLMessage.Leng t
objRequest.Cont entType = "Content-Type: text/xml" ' heade

'Sends the HTTP POST command over the strea
MsgBox("About to send the message to MISO"
objWriter = New StreamWriter(ob jRequest.GetReq uestStream()
objWriter.Write (XMLMessage
objWriter.Close (
MsgBox("Message Sent waiting for response"
'Sets Timeout to 60 second
objRequest.Time out = 6000
'Gets the response back from the HTTP Post Reques
objResponse = CType(objReques t.GetResponse() , HttpWebResponse

ResponseCode = objResponse.Sta tusCod

'Reads the response back into Text forma
objReader = New StreamReader(ob jResponse.GetRe sponseStream(), Encoding.UTF8
ResponseMessage = objReader.ReadT oEnd(
objReader.Close (

Catch e As Exceptio
MsgBox(e.Messag e & " " & e.InnerExceptio n.Message
End Tr
Return Tru
----- Nick Harris wrote: ----

Sample code might help. Generally when those types of issues arrive. Ther
is an issue with security permissions. Have you made any changes to you
machine.config
Are you using impersonation

Let me know

Nic
"Dave" <an*******@disc ussions.microso ft.com> wrote in messag
news:04******** *************** *****@phx.gbl..
I have developed a VB.net application that transfers
SOAP wrapped message to another server securely(using SS
and sever/client certificates). When I run this app fro
a Windows 2000 Professional box everything works a
expected, the secure channel is established and th
message is sent properly. When I use the exact same ap
on the Windows 2000 Server(running IIS) box the app doe
not work properly. I have used a packet sniffer to tr
and see what is going on and it appears the server canno
establish a secure connection with the remote server.(Al
the appropriate certificates are installed on both boxes
IS there some setting which needs to be changed in Window
2000 Server in order for this to work??? (I am logged int
the Windows 2000 Server as a client/ it is not running a
a service). I don't understand why this would work unde
Windows 2000 Profession and not under Windows 200
Server. Any help in resolving this issue would be greatl
appreciated. Thanks in advance


Nov 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
5496
by: Nathan Sokalski | last post by:
I recently downloaded and installed (hopefully correctly) MSDE 2000 Release A. I previously, and still do, have the version of IIS that comes with XP Professional installed on my computer. I wanted MSDE 2000 Release A so that I could do database access using ASP from my websites, which are on my computer. When I went to my first test website, I recieved the following error: Error Type: Microsoft OLE DB Provider for ODBC Drivers...
5
1917
by: Alex | last post by:
I wrote an asp program to send email. I set SMTP as 127.0.0.1 and it worked well in Windows 2000 server but not in Windows 2000 Professional. What is different between server and professional. My code is below: Set iMsg = Server.CreateObject("CDO.Message") Set iConf = Server.CreateObject("CDO.Configuration") Set Flds = iConf.Fields Flds("cdoSendUsingMethod") = cdoSendUsingPort Flds("cdoSMTPServer") = "127.0.0.1"...
2
393
by: Dave | last post by:
I have developed a VB.net application that transfers a SOAP wrapped message to another server securely(using SSL and sever/client certificates). When I run this app from a Windows 2000 Professional box everything works as expected, the secure channel is established and the message is sent properly. When I use the exact same app on the Windows 2000 Server(running IIS) box the app does not work properly. I have used a packet sniffer to...
2
2955
by: Nate | last post by:
Hello, I am trying to recover a SQL Server 7 database from another hard disk drive that has a corrupted Windows 2000 Advanced Server installation. I am not able to repair the corrupted Windows 2000 Advanced Server installation but the file system is intact. I have installed a new copy of SQL Server 7 onto a new hard disk and have used the sp_attach_db system stored procedure to attach the database from the old hard drive into the new...
5
4001
by: Joseph Barbaro | last post by:
I am trying to install DB2 Universal Database Enterprise Server Edition Version 8.1 (for Windows operating systems on 32-bit systems) on Windows 2000 Advanced Server that can be either standalone or part of a network. I am trying to avoid installing Active Directory and setting up the server as a domain controller. 1) Must DB2 UDB Enterprise be installed on a domain controller or can it be installed on W2K Advanced Server set up as a...
5
73215
by: RAJ | last post by:
hi plz tell me how to know "how window is going to close"... i have to right code for X button of forms... plz telll me thanks bye
2
3215
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000 database. Tried all possible combinations but it still fails. I have Windows 2003 server having SQL Server 2000 installed with SP2. The installation went Ok on a XP professional machine and I was able to create database and user logins etc on...
6
1724
by: Patrick Jox | last post by:
Hi, I have a client request to build an asp.net application. This application shall be installed on a machine running Windows NT 4.0 SP 6a. As far as I found out framework 2.0 may not installed on any NT versions. But I hope I can at least use ASP.NET 2.0 in combination with Framework 1.1 and Visual Studio 2003. This should work but. - I do not want to convert my older projects (that are still productive) to ASP.NET 2.0
1
2114
by: Manu | last post by:
Hi, To get the USERNAME of all process running in local/remote system I am using the WTSOpenServer and WTSEnumerateProcesses API's but when I invoke the WTSOpenServer in Windows 200 Professional it s returning 1722(The RPC server is unavailable.) error, but the same program is working fine in Windows 2000 Advance Sever and Windows 2003.
4
3758
by: David | last post by:
Hi all, I just asked some people to help me out and phone microsoft with the following information, kindly they refused unless we setup a support contract with them first, for pre-sales information. (That really does not sound like good business sense to me - anyway here is our problem, if anyone could help thanks). "To tell and ask microsoft:
0
9619
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9910
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.