Find Jobs
Hire Freelancers

Problem with service written in C#

$10-30 USD

Opravljeno
Objavljeno pred skoraj 6 leti

$10-30 USD

Plačilo ob dostavi
This issue is that running the code in the foreground works but once run it the background it gets a 500 error, we need someone to resolve this error. Window console Application for Fetching Camera details in Milestone management server 1. Calling a web service (http://localhost/ServerAPI/[login to view URL]) for getting XML file at run time data. The SOAP method GetConfiguration provides more info per camera, and information about other device types. 2. Web service return XML file which contain Camera IP and respective Metadata. 3. Required IP and Metadata is getting by parsing the XML Typical operations on this SOAP service are: 1. Logon via Active Directory and retrieve an XProtect token for e.g. the ImageServer Protocol 2. Retrieve configuration (if on a XProtect Corporate system) 3. Trigger user-defined events with or without metadata (e.g. camera guids) 4. Create and query bookmarks related to a camera Running console Application as background service: 1. Calling a web service (http://localhost/ServerAPI/[login to view URL]) for getting XML file at run time data. Throws Exception: The remote server returned an error: (500) Internal Server Error. at [login to view URL]() In milestone asp.net web app that dynamically generates an XML file and sends it to a [login to view URL] web service Things were great in calling console application and Scheduled it in Task scheduler. But when set to Service (background task) it throws this error --> The remote server returned an error: (500) Internal Server Error. at [login to view URL]() public void Cam() { [login to view URL](@"C:\temp\[login to view URL]", [login to view URL]("Started on {0} {1}", [login to view URL] + " " + [login to view URL], [login to view URL])); String xmlStr = readXmlFile("http://localhost/ServerAPI/[login to view URL]"); } private String readXmlFile(String urlStr) { [login to view URL](@"C:\temp\[login to view URL]", [login to view URL]("Started on {0} {1}", [login to view URL] + " " + [login to view URL], [login to view URL])); try { HttpWebRequest request = (HttpWebRequest)[login to view URL](urlStr); [login to view URL] = [login to view URL]; HttpWebResponse response = (HttpWebResponse)[login to view URL](); Stream iDataStream = [login to view URL](); StreamReader reader = new StreamReader(iDataStream); string xmlStr = [login to view URL](); [login to view URL](); [login to view URL](); [login to view URL](); return xmlStr; } catch (Exception e) { [login to view URL](@"C:\temp\[login to view URL]", [login to view URL]("Started on {0} {1}", [login to view URL] + " " + DateTime.Now.Millisecond+ " "+e.Message+ " HResult" + [login to view URL] + " [login to view URL] "+ [login to view URL], [login to view URL])); return ""; }
ID projekta: 17262167

Več o projektu

12 ponudb
Projekt na daljavo
Aktivno pred 6 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
Dodeljeno:
Avatar uporabnika
$25 USD v 1 dnevu
5,0 (1 ocena)
0,8
0,8
12 freelancerjev je oddalo ponudbo s povprečno vrednostjo $26 USD za to delo
Avatar uporabnika
Hello, can you give me access to sort it out for you. i have experience in c# and also know milestone but iam sure milestone knowledge is not required here
$30 USD v 1 dnevu
5,0 (78 ocen)
6,4
6,4
Avatar uporabnika
Dear Sir/Madam, Greetings for the day! I am Krunal, having 12+ years of exp. having completed majority of projects with MS technologies. I have resolved many issues in my career. I am confident i can resolve the issue in around 4-5 hours and can deliver you resolved code, Looking forward to resolve the error and further work. Regards, Krunal Doshi.
$40 USD v 0 dnevu
4,9 (46 ocen)
6,0
6,0
Avatar uporabnika
Hi, I am a Full stack developer in Microsoft technologies. My area of expertise is web application development (asp.Net web forms, MVC, classic ASP), web services (SOAP & RESTFul), MySql & Sql Server as back end (through stored procedures). I have 6 plus years of experience as a full time software developer. Kindly contact me, lets discuss your requirements.
$30 USD v 0 dnevu
4,8 (19 ocen)
5,0
5,0
Avatar uporabnika
Hi, I am expert in c# programming with webservice. I can do this. Hoping for positive response. Thanks Mahesh
$30 USD v 1 dnevu
4,9 (7 ocen)
3,3
3,3
Avatar uporabnika
Hi. If i am able to debug the console app locally, I will be able to solve this issue.
$20 USD v 1 dnevu
4,9 (2 ocen)
2,2
2,2

O stranki

Zastava UNITED STATES
Garfield, United States
5,0
1
Plačilna metoda je verificirana
Član(ica) od feb. 3, 2010

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.