|
Nope. You can try to gleen it from the devices installed though. You can get that using WMI queries.
|
|
|
|
|
Thanks for replying. I don't need to do this programmatically.
I was given a machine at work and I was just curious to know if it was real or virtual. Obviously I don't have physical access to the machine (to see for myself) as it's in another part of the world.
So there are some devices that would not be installed on a virtual machine? Something like keyboard and mouse?
Thanks,
Melwyn
|
|
|
|
|
I'm playing around with a WCF Webservice hosted in a Windows Service using the WSHttpBinding. It works fine when I test it on one system, with both WinXP and Vista.
Now I want to try hosting the service on one system and accessing it via a client on another system. I do not yet have that working.
Both systems are wired to a Linksys WRT54G router.
I assume I need to alter the configuration of the hosting system, but I don't even know where to start (other than a Web search).
Help me, Obi Wan, you're my only hope.
|
|
|
|
|
Here's an article I found... It may or may not help you! clickety[^]
|
|
|
|
|
Thanks, that's a lot of good information, but (as far as I know) not what I'm looking for.
As far as I can tell, and I'm really out of my depth here, Windows (XP and Vista) is not accepting connections from the "remote" system. Unless I'm mistaken (which I very well may be) that requires configuring the system to allow connections from outside the local machine.
At the moment, I have the service running on the Vista system, and I can query its wsdl in IE on that machine, but I can't from this machine -- I get "Internet Explorer cannot display the webpage". And the client runs successfully on that machine, but on this machine I get: "System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state."
Or, maybe Windows is accepting connections, but authentication is failing. In which case, all I need to do is configure the security and authentication settings of the service and client properly (as you suggested).
|
|
|
|
|
I asked my IT instructor at school and he said that I probably need to open a port through the firewall. He suggested turning off the firewall and trying again.
So I put my cable modem into standby (or whatever) and turned off Windows Firewall : I was able to connect my client to my service. (Yay!)
I turned Windows Firewall back on and added an Exception for my service program : I couldn't connect.
I added an exception for the port : I was able to connect.
I removed the exception for the service program : I was still able to connect.
So (on WinXP), Control Panel | Windows Firewall | Exceptions tab | Add port...
Give the port a name (I don't know whether or not it matters what you name it).
Enter the port number.
Change the scope of the open port as necessary.
On Vista it's pretty much the same.
I opened the port on both systems and confirmed that each can access the service on the other.
|
|
|
|
|
I just installed IIS and placed my website into the C:\Inetpub\wwwroot
folder. Now I can't access it? I did not create a User name or Password so I
don't know why I am being promted for one. When I try to access
http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed. I
cant even go to http://localhost/ with out getting the user and pass prompt?
Anyone know how I can get ride of this. What a pain. How am I not authorized
to view this?
Vinay
|
|
|
|
|
Don't cross post: this is already in another forum and has been answered.
me, me, me
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
|
|
|
|
|
|
Don't cross post. If the question should go here then transfer it here: don't link back to another forum.
me, me, me
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
|
|
|
|
|
Hello. I am getting the following error when trying to connect:
"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)"
1) I tried seeing what services are running and nothing with SQL Server is listed.
2) I ran the Surface Area Configuration and the following message immediately pops up:
"No SQL Server 2005 components were found on the specified computer. Either no components are installed, or you are not an administrator on this computer. (SQLSAC)"
What in blazes is going on?
Thanks.
|
|
|
|
|
Probably a dumb question but is SQL Server installed on the machine? If no services are listed then it may not be.
me, me, me
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
|
|
|
|
|
while installing the SQL server 2005 have you used the windows authentication mode or not........you should always use the default installation mode i mean the windows authentication mode ...!!
|
|
|
|
|
Hi,
Does anyone have any sample program for ATA command? I need a program to send ATA command to Hard disk drive. The program will be something like hyperterminal, that let me let me command code in hex to HDD. The best is the program is in C++ or C#. Thanks.
|
|
|
|
|
can any one please tell me that is it possible to connect two or more internet connections to a pc, i mean i have 2 internet connections of 160Kbps each i want to use both internet connections like 320Kbps at a time
can any one please help me
if i am not posted in correct forum, plz move it to correct forum
Waiting for ur valuable replies
Thnx in advance
|
|
|
|
|
Typically you don't do this by just connecting the interfaces to your PC. You need a router that allows load balancing and\or connection aggregation. you could probably set up a Windows server with several NICs in it to do this (never looked into it before) but my guess is that your simplest solution would be just a hardware box to do it.
I have dual Inet connections at home but I only use it for traffic segmentation not aggregation (ie: I have 2 gateways on my network and depending on the one you are set to use dictates where your outbound traffic goes) just so that my and my kids heavy use does not bug the rest of the family.
|
|
|
|
|
Short answer: no
Long Answer: Yes, but....
The problem is your default gateway configuration: this is the router that is at your ISP location, and basically takes all the traffic that is not on your home network (typically 192.168.0.0/24 if your pc is connected directly to your ISP). When you install two internet connections, the PC suddenly sees two default gateways. I know windows server will deal with the problem (though it will warn you that you are multi-homing, and I think it will just use the second NIC as backup, in case the primary gateway fails), but I don't know how client OS's will deal the problem.
A possible solution is to configure one network card manually, omitting the default gateway. You should then adapt your routing table so that some of the network traffic is routed through the manually configured NIC.
Note that this will not increase your session speed, it will just divide sessions over 2 connections, so that you can for examples do 2 downloads
at once (as long as they go through separate NICs).
Yeah, but my company has multiple redundant connections to the Internet.
Yes they do, but this requires an agreement with all the internet providers, the use of a public address space, an Autonomous System Number and the use of Border Gateway Protocol, which is available on professional routers ( and takes a PhD to configure, if you don't want the whole country's network traffic suddenly passing through your home. I speak from experience )
On solution 1: you could still buy a Dual WAN router, they cost about as much a PC, and do all this stuff automatically. Trying not to do product placement, but have a Google for SYSWAN and XINCOM.
|
|
|
|
|
while i am trying for software router that is not getting working perfectly, and i tried a trail version of multiconnect software, which is not availble now so i am searching for a best method to connect more than two or more internet connections with only software router, and i am using two dialup connections of same isp, one is from usb-modem, and another is from mobile,
i also tried wingate for this it is not working, so if any solution is there for this plz help me
|
|
|
|
|
i need to contact one of the members for help a specific member, like email or a message, does codeproject allow this? if yes can you please tell me how, thank you
|
|
|
|
|
Find a post from that member and clic on it. There may be an email link at the bottom of that post. If there is one, youcan use that to send that person an email. If there is no email link, that person has turned the option off and you don't have any recourse for contacting that person.
|
|
|
|
|
Hi all,
I am working on a feature where in we can allow/disallow changing system time to any user. We can run this application from an administrator's account and set if a particular user can change system time or not. Even the administrator (who itself is logged on) itself can allow/disallow himself changing time.
While googling I found that there is some, The system user right SeSystemtimePrivilege that controls the ability to set the system time. I could not find how to complete my feature via the privilege SeSystemtimePrivilege using C#.
Can somebody help me how to that using c# (or even C++). Even if there is some other way of implementing this feature, please let me know.
Thanks in Advance
Best Regards
Aseem
|
|
|
|
|
You should call the Local Security Authority functions to assign privileges to a user (I don't think there is a .net interface, so you're stuck with C++)
http://msdn.microsoft.com/en-us/library/ms721863(v=VS.85).aspx[^]
the user calling this function must of course be part of the administrators group.
Note that if the computer is in a domain, these privileges will probably be reset periodically (overwritten by the domain security policy, talk to your admin). Also if the computer is in a domain, changing the system time might impair the user's access to resources (the Kerberos security tokens have limited time validity, and must be renewed. Kerberos relies on all machines being synchronized to check the token validity).
|
|
|
|
|
Oh, and BTW, there's a gui to this stuff:
just run run secpol.msc on the box where you want to assign the privilege. The "change system time" privilege is under
Local Policies
--UserRights Assignments
----Change the system time
Same restrictions apply: in a domain this will get overwritten by the domain security policy. Talk to your admin if you want to change this on the domain level.
|
|
|
|
|
Hi All,
I have a user that has forgot there Mailbox password. We are running Exchange Server 2007 on a MS Windows 2008 server and our DC is also running MS Windows 2008.
Please let me know how I can reset the users password. I can't see how to do it via the Exchange Management Console, is there a way? Maybe a command I can run in the Exhcnage Management Shell?
Thanks,
Mel
|
|
|
|
|
I'm assuming the user was set up in exchange and active directory. Usually the mailbox password is the same as the user's windows logon. Hince, if the computer he is using is on the domain and the network, he should be able to get his email, unless for some reason he is locked out in active directory. If he's off the domain and trying to access it through outlook anywhere or OWA it should still be his user and pass for logging onto windows.
Zach
|
|
|
|