View Complete Post
hi , i am developing the window mobile application in Asp.net, which will find the nearest Restaurant map on window mobile, but i am new to asp.net ,
how to write the web service in which i send my location address and through window mobile and the web serivce find the neareset Restaurant map on window mobile ,
can this is possible ?
please help me
i dont know how to write the web service for this problem ,
many thanks in advacne
Code defects can be found using many approaches, but manual code reviews stand out in terms of precision and quality. We provide some best practices for planning and executing code reviews on your own team.
M. Chmielewski, N. Clift, S. Fonrobert, and T. Ostwald
MSDN Magazine November 2007
We have a Framework 3.5 WCF Service which is in turn hosted in a Windows Service using Net.Tcp Binding. SvcUtil is used to generate the proxy which is used instead of a service reference in the client code. We are also using Tcp Port Sharing. The endpoint
address is net.tcp://HostMachineName/MyServicePath. The service logs to the Event log and everything works perfectly on the same machine.
When attempting to run the client from a different machine we are getting TCP Error Code 10060 errors. Below is the error message:
System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://HostMachineName/MyServicePath. The connection attempt lasted for a time span of 00:00:20.8592415. TCP error code 10060: A connection attempt failed because the connected party
did not properly respond after a period of time, or established connection failed because connected host has failed to respond 111.22.333.444:808. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did
not properly respond after a period of time, or established connection failed because connected host has failed to respond 111.22.333.444:808... The IP Address displayed was the correct IP Address for the HostComputerName.
Has anyone encountered this problem? Also, client specs say no config files, so anything that wo
I want run my server application as system service, but i starts the project as 'Windows Application' ... how to convert it now to 'Windows Service' ? :S
I try to add the component "Windows Service", and change the "Application type" to 'Windows Service', but i can't select 'Service1' as my "Startup Object", then when i register de service and launch it from the "Services" magnagement mmcÃÂ ... die at 30 seconds because the services mmc can't comunicate with it :(
Nevertheless, if i create a new project like 'Windows Service'ÃÂ runs ok.
I have a C# program that at some point calls 2 functions from an unmanaged dll using p/invoke. Everything works fine when I'm running in a console app. When I compile the same program as a windows service and run it, it crashes.
The console app and service should be identical as far as my code is concerned... all either program does is create an object from another assembly of mine and run a Start() method on it.
I have used VS2010 to debug the managed and unmanaged code, and when I step through the Console app everything looks great. When I attach the debugger to the service, i can step through the first function in the unmanaged
code, control returns to the managed code, and then later when it comes to the point where it calls the second unmanaged function, the process terminates immediately before the debugger steps into the first line of unmanaged code. There are no exceptions
that I can see, and the only thing written to the event log is the generic "service terminated unexpectedly" message. Running "sc query" on the command line lets me know the win32_exit_code is 1067.
Im running everything in .net 4, on winxp 32bit. The serivce is running as Local System ideally, but the same behavior exists when I run it under my user account.
We are developing a windows service application which queries the sql db every second. For now, we have enabled connection pooling and every time we open and close connection at every access. Since it is a windows service can I open connection at service
startup and close the connection shutdown
Please let me know the right approach in this scenario.
I want code for(C#dotnet windows form application...);;
form1 must devide in to two parts, top part show .tiff( i.e image) and bottom part show .text file( i.e text()
(menu itemes are Open , Save )
i want show open file dialog when i select open from menu iteme
so now i select and open
files in folder(through open file dialog box)
i opend same no of .tiff filles and same no of .text files
when i click on open button on openfiledialog
now i want default first open
1.tiff(image) show on firtpart of Form1
I just installed MOSS SP2 and ran the config wizard on the server.
I am facing issue with our farm. Found that "Windows SharePoint Services Web Application" is in a problem.
I tried below commands:-
stsadm -o provisionservice -action stop -servicetype spwebservice -servicename ""
stsadm -o provisionservice -action start -servicetype spwebservice -servicename ""
But getting error:- Provision of service failed. Additional information: 1387.
Checked eventvwr and found below error log:-
Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Topology
Event ID: 7034
Time: 5:16:10 AM
An attempt to start/stop instance of service Windows SharePoint Services Web Application on server <servername> did not succeed. Re-run the action via UI or command line on the specified server.
None of the sites are working and I cannot see anything in the IIS folder nor in the IIS manager. All application folders are missing. But, I can see all the sites & Content databasesin the Central Admin.
Can someone please help?
I need to use a custom OCX control with a Windows Service application.
I have built a Windows Form application test harness to test interoperability with the OCX control. To do that I added the OCX to the Toolbox, dragged it onto the form and used it successfully.
I now want to do the same in the Service application. However when I create and open the project the OCX control has disappeared from the toolbox.
I have read some similar posts from the past and the general response is that there is no need for an OCX control in a Service application because the service has no visible real-setate to use the OCX on. However in this case the OCX does not have any visual
components. It is used to expose functionality to communicate with a third party application. The same third party has provided the OCX to allow others to implement certain functionality in their applications.
Is there any way to be able to use this type of OCX in a Service application? If not, is there a work-around?
I have Created one Windows Service using ATL and COM,How to call this Service from My application which is also in ATL and COM.
Please help me.
I am trying to consume a webservice from windows application for localtime service.
When I try to fetch the results my application fails with an web exception : Please find the below exception details.
System.Net.WebException was unhandled
Message="The request failed with HTTP status 407: Proxy Authentication Required."
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)