back soft

مطالب مرتبط با «server» در back soft | نویسنده: استخدام کار

Elmah error logs use local env path while running on production server

Vote count: 0 I have a C# service application ruing on a production machine. The service's job is to sync with another API every 60 seconds. However recently some really bizarre errors started to show up. The error message itself is pretty straightforward - failed entity validation. However the path of the file in which the error occurred is the one I'm using when developing locally. So the server path of the app is "C:/CronJobs/AppName/.." (1), while my local path is "C:/Users/MyLocalUseame/Local/Source/Repos/.." (2). So the issue is the production server is throwing some errors, and then says that the error occurred in files in "C:/Users/MyLocalUseame/Local/Source/Repos/..", and this locat...

ادامه مطلب

Transfer output file of T-SQL statement in SSIS package to another server

Vote count: 0 I have an existing SSIS package on my DB server and I have another server which is the application server which uses this DB server for its operation. This SSIS package, is being used by a job ruing on the DB server. I would like to add an additional step. That step is just a basic select count(*) query to get count from one table. I implemented that on my test server and gave the output path in the advanced tab as well. And i got the output in a simple text file. My question now is, How do i send this output file to my application server instead? Because the output path of a T-SQL server seems to only take local drives. I tried giving the path of my application server(which wa...

ادامه مطلب

Upload legacy files to migrated s3 bucket parse server

Vote count: 0 I have successfully migrated my production app to my own parse server infrastructure. However, all new users or users who have updated the application who change there profile picture or choose a profile picture will not be visible to users who have not updated the application. This is because my legacy parse app caot contact the s3 bucket. Is there a way to move all the files that exist to my s3 bucket, (my app is an iOS app, with cloud code) and point them to the correct user, or is there a way to show the new files from the bucket in the event that a user hasn't updated? asked 2 mins agokareem Let's block ads! بخوانید...

ادامه مطلب

You don't have permission to access / on this server. wordpress

Vote count: -1 I am trying to acess my wordpress site and I jumped into this error Forbidden You don't have permission to access / on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Please how can I get rid of the above error from my wordpress site. asked 2 mins agoBlaze Let's block ads! بخوانید...

ادامه مطلب

How to send ajax call to server without expecting a return result?

Vote count: 0 Iam Not expecting retuing result when i call the server, Iam just passing inputs to actionResult which will use it to create a new object and insert it to database using entityFramework. $(document).ready(function () { $("#Add").click(function () { var EmployeeeId = $("#EmployeeId").val(); var Phone =$("#Phone").val(); var Email = $("#Email").val(); var Address = $("#Address").val(); var UserModel = { "EmployeeId": EmployeeeId, "Phone": Phone, "Address": Address, "Email": Email }; $.ajax({url: '@Url.Action("AddNewContactList","Home")', type: "POST", dataType: "json", data: JSON.stringify(UserModel), contentType: 'application/json; charset=utf-8', success: function (result) { //...

ادامه مطلب

WAMP "You don't have permission to access /Health_1st/> on this server."

Vote count: 0 I have a PHP file. In this I have created a button. when this button is pressed it directs to a PHP block where I have only inserted an ECHO statement. But when I pressed the button I get below error. Quote--- Forbidden You don't have permission to access /Health_1st/> on this server. Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80 Un-Quote--- "Health_1st" is the folder that the files are saved (in wamp/www/) Please help to get this solved asked 1 min agoDhevapriya Let's block ads! بخوانید...

ادامه مطلب

Sql Server Stored procedure for Counting returning 0 as the count

Vote count: 0 At the moment I would like to run a store procedure that retus the count of the number of records. The records look like this The stored procedure looks like ALTER PROCEDURE [dbo].[USP_NEWFOLDER_COUNT] -- Add the parameters for the stored procedure here AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; -- Insert statements for procedure here -- FileLocation is a table SELECT @@ROWCOUNT FROM FileLocation END The calling c# code is public String CountNewFolder() { tempInt = 0; using (SqlCoection sqlCon = new SqlCoection(coString)) { SqlCommand sqlComm = new SqlCommand("USP_NEWFOLDER_COUNT", sqlCon); sqlComm.C...

ادامه مطلب

Application Insights Reporting Duplicate Events for each Server Request

Vote count: 0 I have an API App ruing under Azure App Service, with Application Insights installed to track server side telemetry of API calls. When viewing Application Insights in the Azure portal, I am seeing two events for every one server call. Each event has an exact duplicate with the same timestamp, response time, telemetry, etc. I have verified that only one event is in the web server logs, so I'm not accidentally calling the same function twice from the client. Here are a couple of screenshots to illustrate: What could be causing this? And how can I fix it? asked 35 secs agoJames Richards Let's block ads! بخوانید...

ادامه مطلب

How to make webpack-dev-server apply my changes?

Vote count: 0 Trying to use WP dev server. My config file is the folowing: var path = require('path'); module.exports = { entry: './frontend/app.js', output: { path: __diame + '/build', filename: 'bundle.js' }, watch: false, watchOptions: { aggregateTimeout: 100 }, module: { loaders: [ { test: /.js$/, loader: 'babel'}, { test: /.css$/, loader: 'style!css' }, { test: /.html$/, loader: 'html'} ] }, devServer: { host: 'localhost', port: 8080 }, exteals: { lodash: "_", jquery: "$" }, resolveLoader: { root: path.join(__diame, 'node_modules') } }; i launch webpack with the command: webpack-dev-server --inline and then go to http://localhost:8080/webpack-dev-server/ So it opens fine, but when i mak...

ادامه مطلب

How to know if a dns server is a free dns?

Vote count: -1 I'm wondering how can I know if a DNS server is a free DNS. Which bash command would allow me to verify that? asked 2 mins agoSimon Let's block ads! بخوانید...

ادامه مطلب

Altering the contents of a column in SQL server 2008

Vote count: 0 I exported data from an excel file. From that file, I have a column called 'ID'.For now that column has entries like the following. ID 1.14455, 2.48755, 3.65588, 4.25415, and so on. I need to get rid of that comma from the column. How do I do it? edited 2 mins ago asked 3 mins agovicky394 1 Answer Vote count: 0 If there are no other commas in the values, then just use replace(): select replace(col, ',', '') If there are possibly other commas: select (case when col like '%,' then left(col, len(col) - 1) else col end) answered 2 mins agoGordon Linoff Let's block ads! بخوانید...

ادامه مطلب

A page is not being updated on a server works find on local server

Vote count: 0 I have a very strange problem. On a site I developed in September and didn't touch since then. There is one page that displays records from a database table. The client added one record to the table and suddenly the pages is getting only this record. I made all kinds of tests and nothing helped: 1. I went to the cpanel, and added some text in the file, refreshed, didn't see the text I added. 2. I deleted the record from the table, refreshed, still see the one record I deleted. 3. I changed the folder name the file sits in, still same page. 4. I deleted all the files from the server and uploaded them again, still same problem. 5. I uploaded all the files to a different server, s...

ادامه مطلب

Emit data POSTED to nodejs server to client

Vote count: 0 I have the following nodejs server code http = require('http'); fs = require('fs'); url = require('url'); server = http.createServer( function(req, res) { console.dir(req.param); if (req.method == 'POST') { console.log("POST"); // I WANT TO EMIT THIS DATA TO CLIENT } else { console.log("GET"); } }); //THIS IS A WORKING EXAMPLE WHICH I FOUND ONLINE TIED TOGETHER io = require('/usr/local/lib/node_modules/socket.io').listen(server); io.sockets.on( 'coection', function ( socket ) { console.log("runing time"); sendTimeMessage(socket); }); function sendTimeMessage(socket){ console.log("in time"); var now= new Date().getTime(); socket.emit('notification', {'message': now}); setTimeout...

ادامه مطلب

Server side errors handling with angular-formly

Vote count: 0 I'm looking for solution on how I can display errors that the server respond, this is the respond for every invalid submission so I want to make the error handler in the app level and not in a controller. I want to display the errors both on the FORM level and on the field level. I have a REST API that in case of error retu the following JSON object: { "message": "Validation error: Validation notEmpty failed,nValidation error: Validation isEmail failed", "errors": [ { "field": "useame", "message": "Validation notEmpty failed" }, { "field": "email", "message": "Validation isEmail failed" } ] } How can I create a service that display the errors in case there is any? Thanks asked ...

ادامه مطلب

How XMPP server make me unavailable if ping not done in 10 second

Vote count: 0 what can i do with the XMPP server so that it will show me as 'unavailable' as soon as client's inteet coection goes off. asked 3 mins agoSONU KUMAR Let's block ads! بخوانید...

ادامه مطلب

chartjs pie chart do not show on production server

Vote count: 0 I have a number of ChartJS charts in my application. It works well on my development computer (Win8). But problem come when moving to production server (Win2008 R2 Entr.). Bar charts works well, but pie chart do not show. No error messages on console. I do know even were to look for the trouble, is it IIS misconfiguration or ChartJS bug. asked 1 min agoSergiu T Let's block ads! بخوانید...

ادامه مطلب

Filter out duplicate results in where clause in sql server

Vote count: 0 I have a temp table which created and filled as below: DECLARE @WALKINS TABLE (WorkId Int, EmployeeId INT, MembId Int) INSERT @WALKINS SELECT WorkId = WORK_ID, EmployeeId = EMPL_ID, MembId = WORKS.MEMB_ID FROM CARS.DBO.WORK_Worksheets WORKS WHERE WORKS.WORK_ID NOT IN ( SELECT WORS.WORK_ID FROM CARS.DBO.WORS_WorksheetsLeads WORS INNER JOIN CARS.DBO.LEAD_Leads LEAD ON LEAD.LEAD_ID = WORS.LEAD_ID AND WORS.WORK_ID IS NOT NULL INNER JOIN COM.DBO.CNTL_ContactCenterLeads CNTL ON LEAD.LEAD_OldCode = CNTL.CNTL_ID) AND WORKS.WORK_CreatedDate BETWEEN '4/1/2016' AND '4/27/2016' AND WORKS.EMPL_ID = 110629 the problem is there are duplicate WORKS.MEMB_ID and I want to insert just unique Memb...

ادامه مطلب

reterive the disk space information from multiple server

Vote count: 0 I tried to login the sever from remote desktop and trying to retrieve the disk space .eg:from abs server i login to the cc server and trying to get disk space usage for cc server. my code: mstsc /v 112.345.56 /f wmic /node 112.345.56 logicaldisk get caption free size asked 6 mins agorins Let's block ads! بخوانید...

ادامه مطلب

Which NIO ServerSocketChannel would be most fitting for my server?

Vote count: 0 I am currently in the process of creating a desktop server. This server is meant to receive packets from android phones through a third party application. The server must be able to quickly read and write packets to different SocketChaels and be able to support 1000+ coections/packets at a time. My question is, should I be using ServerSocketChael with the non-blocking configuration or AsynchronousServerSocketChael? I have read almost everything there is online to read on the matter. I have also attempted making a server with both versions. I have personal found the most success with ServerSocketChael configured to non-blocking but have run into an issue with easily sending byte...

ادامه مطلب

syntax difference between .. and . in SQL Server in sysobjects

Vote count: 0 I've seen something like this in SQL Server (ruing this query against the master database): select * from tempdb..sysobjects which seems to retu exactly the same results as: select * from tempdb.sys.objects I've seen that the double dot can be used as a way to omit the schema name but I don't see anything omitted here, going by that logic then tempdb..objects would be valid which is not). asked 4 mins agodaremkd Let's block ads! بخوانید...

ادامه مطلب