WCF / ASMX :: Share Address In LAN To Other Person

Feb 27, 2011

I wrote small wcf service. Its working fine. I have one doubt if i want to share the address in lan to other person so he can consume the service of mine he can build the application. how can he access the service in local lan.

View 1 Replies


Similar Messages:

Web Forms :: How To Find IP Address Of A Person Who Has Logged In

May 14, 2013

How can we find the ip address of a person who has logged in?

View 1 Replies

VS 2005 - Finding IP Address Of The Person Who Is Viewing Pages

Feb 1, 2011

I want ip address of the person who is viewing my pages. I am using following code. But i am getting :::1

currently using code :-

string strHostName = System.Net.Dns.GetHostName();
string ip = System.Net.Dns.GetHostAddresses(strHostName).GetValue(0).ToString();

what is wrong or what i need to change?

View 6 Replies

Show The Desktop(share Desktop) To Other Person?

Nov 26, 2010

show the desktop(share desktop) to other person on asp.net or in 3rd free party control.

View 7 Replies

WCF / ASMX :: Exposing MEX Endpoint Address - WCF Test Page Shows The WSDL Address Wrongly

Apr 15, 2010

I have managed to expose the MEX endpoint of my WCF service and I can access it with the address like [URL] (example) and get the WDSL. So no problem there.

However, my WCF test page shows the address wrongly by using the server's name instead of the DNS name. And if I click on the link on the test page it won't work (can't get WSDL).

The WCF test page looks like this:

MyService Service

You have created a service.

To test this service, you will need to create a client and use it to call the service.

[URL]

The WCF service is hosted in IIS6. I would like to have a test page with the correct WSDL address so users can see the WSDL quickly in the browser just by clicking on the WSDL address.

In short: How can I change the MyServerName to inter.mycompany.com on the WCF test page? Can this be specified somewhere in the Web.config?

View 3 Replies

WCF / ASMX :: How To Create A Folder On A Network Share

Mar 7, 2011

I have a web application that uses Windows Authentication, not forms, and has identity impersonate = true.

From an .aspx page, the following code can create a folder on a network share successfully but fails in my .asmx page.

dirPolicyFolder.CreateDirectory(ConfigurationManager.AppSettings("PolicyApplicationsPath") & strFolderName

I have confirmed that the same user is logged in both examples, permissions on the parent folder are set correctly, and the logged user has propper right to do this.

If I change the path to a local one, the asmx page can create the folder.Why would this fail when running in the .asmx page?

View 3 Replies

WCF / ASMX :: Price Share Of Reliance Close At 4pm?

Sep 13, 2010

i am a share thader and a develpoer i want a web service which can give me opening and closing price of a particular company.i use the side www.moneycontrol.com for share threading.threading start at 9amand cloase at 4pm.so on this time a webservice shold give me at what price shareof reliance open at 9am and at what price share of reliance close at 4pm.is it possible and at 4 pm in closing time of share market price of reliance share is 400Rupee.so how i can determine with the help of web service

View 3 Replies

WCF / ASMX :: Fetch Openings And Closing Of Share Market From The Webservice?

Sep 14, 2010

i want to store openings and closing of the share market ...

how i will possible and how i can fetch these openings and closings.

View 1 Replies

WCF / ASMX :: Endpoint Address Won't Update

Dec 16, 2010

I had to move a WCF service (IIS hosted) to a new address. This service is called by a webforms web site on a different site in the same instance of IIS. I checked the WCF service is available and working by calling it directly from a browser.

I then did the following

updated the Service Reference folder in my consuming website updated the web.config servicemodel section (it was auto updated by changing the Service Reference) re-built and deployed libraries using the WCF service to the websites bin folder Stopped the consuming website in IIS and deleted files from Temporary ASP.NET Files folder Re-started IIS and deleted *ALL* files from Temporary ASP.NET files
When I browse to a page that calls the WCF service I get the error;

EndpointNotFoundException

There was no endpoint listening at <<Old endpoint address>> that could accept the message

How can I force my website to use the new WCF endpoint? Do I need to re-start the web server?

View 2 Replies

WCF / ASMX :: Get The Requester's Ip Address From Web Service?

Oct 7, 2010

I create a web service with a web method. I need to detect the requester's ip address.

Request.ServerVariables["REMOTE_ADDR"] that works in web form does not seem to work in web service. How can I detect the requester's ip address and in which of the web service should the codes be placed?

View 4 Replies

Client IP Address In C# (.asmx) Webservices?

Mar 28, 2010

I am using ASP.NET (.asmx) web services with Silverlight. Since there is no way to find the client IP address in Silverlight, I had to log this on the service end.

These are some methods I have tried:

Request.ServerVariables("REMOTE_HOST")
HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]
HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
Request.UserHostAddress()
Request.UserHostName()
string strHostName = Dns.GetHostName();
string clientIPAddress = Dns.GetHostAddresses(strHostName).GetValue(0).ToString();

All the above methods work fine on my local system, but when I publish my service on a production server, it starts giving errors, Error: Object reference not set to an instance of an object. StackTrace:

at System.Web.Hosting.ISAPIWorkerRequestInProc.GetAdditionalServerVar(Int32 index)
at System.Web.Hosting.ISAPIWorkerRequestInProc.GetServerVariable(String name)
at System.Web.Hosting.ISAPIWorkerRequest.GetRemoteAddress()
at System.Web.HttpRequest.get_UserHostAddress()

View 2 Replies

WCF / ASMX :: Check If Email Address Actually Exists?

Feb 9, 2011

How can I check if an email address actually exists?

I have a list of email addresses which I want to screen for dead email accounts (without sending an email msg with a hyperlink). Is there a web-service for this? Or C# code (which I prever instead of sending the data to someone else)?

View 3 Replies

Web Forms :: How To Include Share Icons And Share Options To Site

Jun 10, 2010

I need a code to have the ability to share my news on social networks.My site structure is in Asp.net and vb.net.

View 1 Replies

Social Networking :: Share Images On Facebook Using Share Button

Jun 29, 2013

I am showing thumbnail images in dataList on a page of my website. When i click on any image they open in big size. How i will share(Facebook). that particular big size image. My code is given below:

<script type="text/javascript">
var CurrentPage = 1;
function GetImageIndex(obj) {
while (obj.parentNode.tagName != "TD")
obj = obj.parentNode;
var td = obj.parentNode;

[CODE]..

View 1 Replies

WCF / ASMX :: WCF Service "No Protocol Binding Matches The Given Address" Error

Dec 13, 2010

I am recieving the following error when I try to browse to "http://10.28.2.246/SQLDataService.svc" yet it works fine at "http://localhost/SQLDataService.svc".

Server Error in '/' Application.

No protocol binding matches the given address 'http://10.28.2.246/SQLDataService.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration.

Description:

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

Exception Details: System.InvalidOperationException: No protocol binding matches the given address 'http://10.28.2.246/SQLDataService.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration.

Source Error:

[Code]....

Stack Trace:

[Code]....

Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

Am I correct in my belief that this is caused by the Web.config file?

[Code]....

View 6 Replies

WCF / ASMX :: How To Solve The Error Downloading Metadata From The Address Error In WCF In VS 2008

Feb 24, 2011

I have an existing project with a silverlight3 app. First I created SALESservice.svc.This is working fine. Now I added another TARGETservice.svc to my project and rebuilded my entire project but when I am trying to add the service reference in to the silverlight app I get the following error:

There was an error downloading metadata from the address.verify that you have entered a valid address. I didn't write any code in ISALESservice.svc AND ITARGETservice.svc . I have written in SALESservice.svc.cs AND TARGETservice.svc.cs files.Is this causing error? But for SALESservice.svc it is working. I didn't add any code in web.config file.

View 1 Replies

File.OpenRead() Accesses File On Share Within Workgroup But Not A Remote Share?

Mar 4, 2011

I have an ASP.NET MVC application that attempts to read a file in using a filestream and File.OpenRead().
When the path to the file is a share on the same workgroup, and I give access to NETWORK SERVICE for the share, this works perfectly as desired.

However, when the path to the share is a UNC path to a remote share within the LAN, with read permissions open for "Everyone", the "File.OpenRead()" method throws an exception saying "Could not find a part of the path".

In my test cases I'm debugging locally with the ASP.NET MVC app being given a UNC path to the computer that it's actually running on. It's a share on my C drive, being "Shared" with permissions to "Everyone" for read access.

Is there something in IIS that needs to be configured? If I try to impersonate, in this context, the impersonation doesn't matter because NETWORK SERVICE was the user trying to access the files when it worked for a share in the same workgroup.

View 2 Replies

How To Show A Div Tag Only If A Person Is Logged In

Jan 23, 2011

I was trying to incorporate a functionality in my ASP.NET such that a DIV tag which contains the Profile Navigation Menu should only be visible if a person is logged in. I know the condition on how to if the person is logged in or not but wanted to know the method to toggle the div tag on/off based on person's logged in status.

if(loggedin==yes)
{
//?
}

View 3 Replies

How To Identify Whether A Person Is Online Or Not

Jun 11, 2010

I am creating a userprofile type of thing in my site i want to show all user SKYPE status whether online or offline how to do

View 1 Replies

How To Put Validate Control For Person

Jul 22, 2010

i want to put validation contorl for textbox.

it should accept only characters and digits only.

View 2 Replies

C# - Get All Photos From Picasa By Person?

Dec 30, 2010

to get all photos by a persons name through the Picasa Web Albums Data API?

All examples I can find, shows how to get photos by an albumid.

View 1 Replies

Only One Person At A Time Can See Website

Aug 9, 2011

I have a web site published to a Windows 2008 R2 server running IIS 7.5. The web site accesses a SQL 2008 database on a different server. The web site is accessed from an intranet.

In global.aspx users are logged in by retrieving their Windows.Identity which is passed to a stored procedure that checks they have rights to access the system. All the people trying to access the system have rights to the system and if I run the stored procedure with their various Windows.Identities passed as the parameter - it returns that they are authorized.

I have admin rights on the web server. If I browse the site from my box it works okay. If another user who has admin rights on the server browses the site (at the same time as me - or on their own) it works okay.

If someone without admin rights to the server browses the site - and they are the only person 'on' the site - it works okay. If a second person tries to browse the site at the same time as the first person is logged in ... nothing happens. The progress bar in the browser just sits there forever. No errors etc.

So, no-one using the site ... Fred types http://server1/system1/ into his browser and the site works okay.

Jim types http://server1/system1/ into his browser and nothing happens.

Fred logs off and Jim tries the site again. Works fine for Jim this time.

View 5 Replies

ADO.NET :: How To Return DISTINCT Values Of Person.ID

Oct 31, 2010

This is my query

Dim s_Person = From Person In db.People Join ProspectStatus In db.ProspectStatus On Person.Id Equals ProspectStatus.Prospect_ID Where (Person.Organization_ID = s_Organization_ID)Select Person.

I only want to return DISTINCT values of Person.ID. Right now, it returns the same person multiple times because there are several entries in the status table.

Dim s_Person = From Person In db.People Join ProspectStatus In db.ProspectStatus

View 1 Replies

Configuration :: Set SMTP For Person Website?

Mar 8, 2010

i am working on a personal website, so obviously it's not a company website which have exchange server or anything like that

I know how to setup SMTP but what details should i give for SMTP service ? i mean my yahoo/hotmail/gmail account will work, setting up SMTP is really important for the website i am working on to recieve and send e-mail how to do that for a personal website when there is no exchange server ?

View 4 Replies

VS 2008 - Can Login For Membership Be Used By More Than One Person?

Sep 1, 2011

I am using the asp.net membership on my website and I have a user called DemoUser for someone who has not joined and wants to try out the site. All they can do is look around and search records. Nothing more. If more than one person logs in with this username, will all of these people be counted in how many are online? Or will that username only be counted once even though 20 people might be using it?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved