C# Call to working Exe program thats updates MS SQL. Accessproblem
$10-30 USD
Cerrado
Publicado hace casi 10 años
$10-30 USD
Pagado a la entrega
I have a small exe program using log4net dll. ([login to view URL]) The program is working with commandline.
Inside ther program the log shows the actual user. Works fine in commandline (cmd /C)
inside a C# program I try to call the same exe...
var processStartInfo = new ProcessStartInfo
{
CreateNoWindow = true,
UseShellExecute = false,
FileName = "[login to view URL]",
Arguments ="/C [login to view URL] -f testfile",
RedirectStandardError = true,
RedirectStandardOutput = true,
};
By doing this the process user changes. = shows in log. (Natural behavior because the program is run with another user)
The Database does not receive the new record.
The connection string for log4net is
<connectionString value="Data Source=JOHLIN\SQLEXPRESS;Initial Catalog=Log4NetDb;Trusted_Connection=Yes;" />
Its not the normal login connection with a user and password. The connection is with trusted user login.
Need to know how to find the user that tries to connect to the database and how to add a user for this.
- Add the user needed to create a record.
- Add a user that can read-only
This is a perfect TeamViewer project. My estimation is 1-2 hours
Hello,
If you send me your existing exe maybe I can create a new project by decompiling it and I will place some debug messages in order to see what is going wrong. .NET binaries are very easy to decompile.
Best regards,
Drago
Hi , I am working with C# .Net both web and windows application in a MNC in india and have 3+ yrs of exp so i can perform all action required for this project.. i want to set in freelancing word.
i have faced a problem when we changes UAT server's credentials and changed the process's account to solved it.
required 5 hr to set up VS and sql server on my lapy and 5-10 hr to resolve the issue.
money is not my concern !!
Hello,
I stumbled upon this problem too last year when i was developing an app similar to teamviewer and i couldn't grab the desktop because the app was running on another user.
I think this should not take more than 1-2 hours with a teamviewer. I am in romania, so we have only 1h difference in time zone, +1h in romania that is.
I can do this tommorrow evening if it is ok with you.
Looking forward to work together :)