Questions tagged as '.net'

1
answer

The requested URI is not valid for this FTP command

I'm having problems trying to upload a file via FTP, I get the error    The requested URI is not valid for this FTP command. Code: FtpWebRequest resquest = (FtpWebRequest)WebRequest.Create(new Uri(NombreServidor)); resquest.Method = Web...
asked by 22.04.2017 / 00:13
3
answers

Delete element of a class arrangement C # (. net)

I was searching the internet to see if I could find anything but I could not find anything, and unfortunately my knowledge is still low, which is why I came here again. I tell you, I have a class library with a class called "professor" with i...
asked by 07.05.2017 / 17:15
1
answer

Get values row selected ListView

I want to get the information of a selected row of ListView to pass them to an object with the same (and other more) fields. I tried with SelectedItemTemplate (since SelectedItems does not appear to me) but I can not index it (or index it...
asked by 15.03.2017 / 17:05
3
answers

Length of the error returned by a web Service

When I consume a Web service, I receive this error: The first 1024 bytes of the response were .... Those 1024 characters are part of an html page that the server is returning. It covers the part of the <head> and the beginnin...
asked by 14.02.2017 / 11:51
2
answers

Multiple mvc projects in the same solution c #

I wanted to see what they recommend. I have a large project with many clients and different requirements for certain things. My idea is to have a generic MVC project with the controllers, views and scripts that are repeated in all the clients an...
asked by 04.11.2016 / 12:40
2
answers

Error 405 when xmlhttpRequest performs a post on a server folder

I would like to use a code to upload several files to the server. My server is an IIS 8.5 and I have probed these tools: link and link The problem is that both of them return a 405 error when XMLHTTPRequest is executed on target...
asked by 17.10.2016 / 10:25
3
answers

Use an external Form

I have my application in C # , I need to fill in three fields in another application, I'm using this code to pick up the other application and send sendkeys [DllImport("user32.dll")] public static extern IntPtr FindWindow(string cl...
asked by 22.11.2016 / 16:32
1
answer

How to install Microsoft OLE DB Provider for Oracle in Windows Server 2012R2x64

Someone knows how I can install Microsoft OLE DB Provider for Oracle in Windows Server 2012R2x64, I read everywhere that this can not be done because:    This provider is already obsolete and without support       There is no version for x64...
asked by 20.09.2016 / 15:53
2
answers

Task.Factory.StartNew and blocking UI

I have a problem. I'm in a WPF application and I want to do a SQL query in the background, all this I already have, the problem that at the time of making the "query", the UI is branded and I do not know why, if I'm doing it in another thread ....
asked by 27.08.2016 / 22:16
1
answer

How to add the value that comes from the model to the textbox

Good I would like to know how to add the value that comes from the model to a textbox that is in the row of a table, in Devexpress this is the code that I have I need a line of code if I am not wrong it is something like content.Column...
asked by 16.08.2016 / 18:45