.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Is it possible to connect to a machine within a Lan if given mac address?

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :.NET Framework
 
If a machine is within a Lan, with a Lan IP address such as 192.168.1.100, and its mac address is fixed and known, such as A4:B5:......, the machine is connected to internet through a router with a public IP address. Is it possible to directly connect to the machine from internet using its router IP address and its mac address?   thanksRegards! directfriends.net


View Complete Post


More Related Resource Links

Search service is not able to connect to the machine that hosts the administration component

  
I encounter the error above when trying to set up Sharepoint Server Search. I have tried both setting up search manually through Central admin (just selecting default for everything) as well as through Powershell (using this: http://stsadm.blogspot.com/2009/12/creating-sharepoint-2010-enterprise.html). I'm using the farm admin as Search account as well as account for Application pools, so I guess permissions should not be the issue.Creating new Search service application seems to be successful, but when going to Searchadministration after creation, then System status displays the error above. Event log does add any info and just displays same error message ("SearchApi.cs throws exception:The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'db397ab0-d9b0-46c4-9077-dc8be62bf586' in search application 'TNS Enterprise Search Service Application' is in a good state and try again."). I have found this http://blog.fpweb.net/sharepoint-2010-server-search-troubleshooting/ stating that the solution is not to use MSDN version of Windows 2008, but does give any explanation why.Any ideas would be appriciated.Best regardsThomas

Can connect by IP address but not by name

  
I have setup WSS 3.0 on a Server 2008 (32-bit) machine using the directions from this site: http://grounding.co.za/blogs/brett/archive/2007/08/23/a-developer-s-101-to-installing-windows-sharepoint-services-3-0.aspx I have created a site collection which I can connect to on the server.  When I try to access the site from either my laptop or other desktop, I can only get to the site by entering the IP address of the server.  The site name returns "Internet Explorer cannot display the webpage" I have disabled every firewall including the router. I checked SQL and the account has the recommended administration rights. I tried flushdns. What am I missing?

How to Connect to a netbios machine in C#

  
I am using VS-2005 .NET Framework 2.0I am all new to start network programming for Netbios in c# although I know it for TCP/IP.Please let me know how to connect to a machine on netbios network using its HostName which I guess is suffice to establish a connection. If possible then please give me some sample code for the connection in c#.Thanks in Advance.

Cannont connect to New Installation of SQL SERVER 2008 from New Vista Ultimate machine(s)

  
I have a new SQL Server 2008 Development edition installation on a Newly setup Server running Windows Server 2008 Enterprise edition.  The server is mainly a file server and is not setup as a domain controller.  Since my test environment is fairly basic (server and two Vista Ultimate machines) I thought the connection through data sources on the client machines would be straight forward.  But it isn't working.  I can see the server, ping the server, etc. but when I try and connect the client through a system DNS it will not connect using SQL Server authentication using a loginId.  (since it isn't on a domain, I can't use Windows NT Authentication).   The error is SQL Error 10060 and SQL Error 17.  (connection failed and SQL Server does not exist or access denied)  Any thoughts or suggestions are appreciated. WB

The search service is not able to connect to the machine that hosts the administration component

  
I'm expierencing this error message and am not sure what to do to fix this.  I don't want to break anything else on our farm.   The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component '9139bef7-69a3-4125-9d0e-e09484cc24ee' in search application 'Search Service Application' is in a good state and try again. Nothing appears under topology.  It just continues to load.  Any suggestions would be appreciated.

Can't connect to SQLEXPRESS on another machine on LAN

  

This is a Workgroup environment; i.e., no Domain, no DC. I'm attempting to connect to MACHINEB\SQLEXPRESS from SSMS 2008 using Windows Authentication. SSMS is running on MACHINEA -- so the default (and I can't change it) username is MACHINEA\mylogon. There is a similar account on MACHINEB; i.e., username is <mylogon> and password is the same as on MACHINEA. This works fine for browsing files, etc.; however apparently it does NOT work for SQLEXPRESS access.

The error I get is the "Server not found or was not accessible..." message. My guess is that this is a security issue and that maybe I need to use SQL Server Authentication, but I'd prefer not to do that if I can avoid it. So, is there a way to access SQL across a LAN using Windows Authentication?

 


Bill Cohagan

The search service is not able to connect to the machine that hosts the administration component.

  
I just installed the FAST Content Search Service Application.  However, when going to Application Management -> Manage Service Application -> FAST Content SSA, I see the following error:

Crawl status The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'e5ece22e-b215-4c8e-a661-5f20d526de78' in search application 'FAST Search Content SSA' is in a good state and try again. 
Clicking on Content sources brings me to

 Error 
System.InvalidOperationException: The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'e5ece22e-b215-4c8e-a661-5f20d526de78' in search application 'FAST Search Content SSA' is in a good state and try again. 
   at Microsoft.Office.Server.Search.Administration.SearchApi..ctor(SearchServiceApplication application) 
   at Microsoft.Office.Server.Search.Administration.SearchApi.CreateSearchApi(SearchServiceApplication application) 
   at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.get_SearchApi() 
   at Microsoft.Office.Server.Search.Administration.ContentSourceCollection..ctor(Content parent) 
   at Microsoft.Office.Server.Search.Administration.Content.get_ContentSources() 
   at M

Unable to Connect to Analysis Services from other machine

  
I installed Analysis services 2008 on a xp machine at home. 
I can connect from this machine via the data mining add-in to analysis services.
From my laptop I can connect to the normal sql server but I i'm not aible to make a connection in the data mining add-in to the analysis services. The error message I get is: 

Test Connection Failed.
A connection cannot be made. Ensure that the server is running.
Unable to read data from the transport connection: an existing connection was forcibly closed by the remote host
an existing connection was forcibly closed by the remote host.

I opened port 2383 in the firewall and made an exception for msmdsrv.exe

I tried to add every user I can think of but no luck

Can someone please help me

p.s. no domain

How to connect a remote Sqlserver 2008 r2 server with IP address and port? I use SMO and VS2010.

  

how to write SMO's conn.ConnectionString with IP address and port?


Connect webservice from other machine

  

i was hosted search.asmx webservice in one machine .. i am trying to access that webservice from other machine .. but i couldn get that service and its methods.. it shows error like  " The request failed with HTTP status 401: Unauthorized."..... Pls Help Me if u know the answer for this issue...


search service is not able to connect to the machine that hosts the administration component.

  

I was able to create search service , Now i am getting the below error, I ran deleted all the databases, ran psconfig. SSA will be created, but i have the below error

Alos tried recreating service with powershell same error

 System Status    
 
Crawl status The search service is not able to connect to the machine that hosts the
administration component.
Verify that the administration component 'f26229c3-41f4-4520-865a-2857a0125503' in search
application 'Search Service Application' is in a good state and try again.
 

but When I check the service, hrere are the results

Name                  : Search Service Application
Id                    : 98c098d0-e92a-47c7-9661-9c81d73a6cd9
ServiceName           : SearchQueryAndSiteSettingsService
QueryTopologies       : {711933b2-7325-43f9-b081-8e6760ec8f1e}
PropertyStores        : {Search_Service_Application_PropertyStoreDB_3e2df6fc77e
              &nb

start stop exe on a particuler machine based on ip address

  

I am makiing a web application and this application will run only in LAN enviorement.what i want to do is-

there is a textbox and a button start. in this textbox i want to give IP address and on button click i want to run a exe on the particluer system ( ip given). and on stop click i want to stop the exe.


Cannot connect to the configuration database - after IIS reset or machine reboot

  

After an IIS reset or rebooting the machine.  If I then open up a sharepoint website the message is Cannot connect to the configuration database. as detailed below

 

Server Error in '/' Application.


Cannot connect to the configuration database.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.SharePoint.WebPartPages.WebPartPageUserException: Cannot connect to the configuration database.

Source Error:

Unable to connect to SQL Server 2008 R2 Database without being admin of the machine

  

I am receiving the following error when I try to connect to my new SQL Server 2008 R2 machine:

 

Msg 18452, Level 14, State 1, Server <server name>, Line 1 Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

I'm running the following command to test the connection:

sqlcmd -S<Server Name> -E -Q"Select @@servername"

On the server I'm getting the following from the SQL Server logs

 

03/31/2011 20:31:58,Logon,Unknown,Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. [CLIENT: 172.20.146.95]

03/31/2011 20:31:58,Logon,Unknown,Error: 18452<c/> Severity: 14<c/> State: 1.

03/31/2011 20:31:58,Logon,Unknown,SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 172.20.146.95]

03/31/2011 20:31:58,Logon,Unknown,Error: 17806<c/> Severity: 20<c/> State: 2.

What is odd is if I put the domain user in as Admin of the machine then it connects just fine.  I have tried just about everything I can find and I just cannot get it to work. Anyone have any clues???

 


Client can't connect to WCF on deployment machine Windows 2003 Sp2 server .NET 3.5

  

Hello, 

I have a WCF service hosted in a Windows service application.  I have a Windows Form client that connects to it.  I am using net.tcp binding for two endpoints.   It all works fine in my environment, but when I deploy it on my cutomer's machine the client does not get a response from the service.

I ran netstat -na and I can see the endpoints listening.  I can even see the connection ESTABLISHED when my client runs the first method.  But my client times out and receives a "Could not communicate with XXX service.  This request operation sent to net.tcp..... did not receive a reply within the configured timeout (00.01.00) The time alloted... etc"

I tried removing all security from the configuration file, but that did not make a difference.

I reinstalled .NET Framework 3.5

I added     System.Net.ServicePointManager.DefaultConnectionLimit = 200 as suggested in another post.

I am creating a trace for the client and the server.  The server does not log any activity of a connection.  The client is catching a communication exception.

Any insight would be greatly appreciated.  What else can I try to see why the client is not able to chake hands with the server on this particular machine?

Many thanks,

Karen


Ka

Advanced Socket Connections - Connect using IP and MAC address

  
In .NET, is there any way to specify both an IP and a MAC address when connecting to a socket endpoint?

Here's the problem I'm trying to solve:
I'm building a peer to peer type application (not a file share app!) and I need the clients to be able to talk to each other.  If the MAC address is already known ahead of time (provided by a centralized server), is there any way to connect to the host and specify the MAC?

I've got a background in CISCO as well and I am pretty sure that technologically this is possible, however, I'm not sure if the sockets classes supports that.

IP Address Blocking or Restriction in SQL Server

  
"is it possible to block connections to SQL Server based on IP address". As far as now there is no official way in SQL Server to block the connections in SQL Server based on IP address. However this can be done from the OS end, we have the following three options available, refer HERE for more.


.Firewall
.IPSec
.RRAS IP Filter
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend