FTP - Received A Error 530 Not Logged In
Mar 15, 2011i was trying to get a ftp client work on vb.net but i recieved a error 530 not logged in.
[Code]....
i was trying to get a ftp client work on vb.net but i recieved a error 530 not logged in.
[Code]....
I have this code that gives me the user logged on name of a remote computer, but if i run the program in certaing computers, it returns with the error "Not Available Due Restrictions" which is set if the scope cant connect...
why it connects fine in some computers and other not..is there something i have to add to the code for it to run fine in any computer
this is the code
vb.net
Dim connection As New ConnectionOptions
connection.Username = ("ADMIN")
connection.Password = ("something")
[Code]....
I am trying to use AJAX UpdateProgress to display the loading image when the zip file is being created but get the following error:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Detals: Error parsing near 'PK'.
Below is the code for my .aspx page
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
[code]....
i have made a database windows forms application, i can add records, when i add a record , fill out a few fields then save it saves OK but if i then change some fields data then try to re-save i get a error: object reference not set to an instance of an object.
the code that is highlighted is:
Private Function GetRowData(ByVal custRow As calllogDataSet.CALLLOGRow,
ByVal RowVersion As Data.DataRowVersion) As String
Dim rowData As String = ""
[Code]....
I've made this script to read the lines from the txt. But when I try to login I just get this " The remote server returned an error: (530) Not logged in." Even I "logged in" at the link.
vb Private Sub Refresh_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Refresh.Tick
TextBox1.Text = GetWebSiteSource("ftp://<myusername>.<mypass>/<serverip>/<serverIP>%20port%2027016/Server%20Documents/log.txt")
Dim lines As New List(Of String)(IO.File.ReadAllLines(TextBox1.Text))
Tname1.Text = lines(0)
[Code]...
I need my calculations to stop performing when an error is received[code]..
View 11 RepliesI'm struggling to think of a reason why I should be getting an 'Access denied' error when trying to save an Excel document opened through a program written in VB 2010 Express. The program is essentially glorified Excel automation. It converts information from hundreds of Excel documents into a few small text files in order to improve operation speed. The software is designed for use by no more than a dozen or so people in the office who are all editing these Excel documents (through the software), and saving changes. They edit a given document by selecting it in a list in the main form, which then changes the document to writeable and opens it for them. A FileSystemWatcher detects changes in the folder containing the Excel documents so that the aforementioned text files can be updated when the user saves the Excel document.
[Code]...
I've been trying to publish some software for 2 days. At first, I received an error about frontpage extensions not being installed so I installed them, only to screwup the ht.access file on my site and lose my web site for 5 hours.
I had an email this morning from Lunarpages saying they installed the extensions, recoded the ht.access and even tested frontpage on it. SO -- I tried again this morning and still received "the components for the frontpage extensions are not installed". ?
AND --I must be missing something and looked everywhere in VB.NET (options etc) but how in the heck can you publish something directly to your website (I used the wizard and setup all the publish options) and NOT be prompted for your user ID and password? Obviously, VB.NET has it's own ftp program.
I am connecting imaje ink jet printer to a PC to print variable data. During the data transfer "incorrect raster data received" error displayed on screen of Imjae.
View 3 RepliesI'm programming a FTP chatroom in VB .NET. It's been working pretty well and I'm almost done. The system works by users uploading and downloading to an FTP server using [URL]. However, if more than two users try using the room, the third user receives a "not logged in" unhandled exception. It seems only two users can use the room at a time. I think it might be that a user is writing to the file while another is trying to download it.
If shouldclear = 1 Then
RichTextBox1.Clear()
End If
Dim client As New WebClient
[code]....
So I have created an auto login for a website via webbrowser.
The code I have so far is this[code]...
So i need to somehow make it wait after entering the login button before doing the IF statements.Oh and is there a direct way of checking URL? instead of updating the label wich seems alittle un-efective.
Also is there a way to constantly make the label update? like a loop or something?
I am using Microsoft visual basic 2010 for a asp.net site using c#.I am using the asp.net configuration for user registration. I have a comments form which I want to appear only if a user is logged in.I now there is a toolbox helper thing called Login View which does exactly what I want but as soon as I put a form inside the code won't compile because it cannot find the textbox fields.
I have the following in NewsArticle.aspx:
<asp:LoginView ID="LoginView1" runat="server">
<AnonymousTemplate>
<div class="postcomment">
[code]....
If I take the form out of asp:LoginView it works fine. Inside I get the following:
Error 2 The name 'txtTitle' does not exist in the current context NewsArticle.aspx.cs 59 53 Figmentville
Error 3 The name 'txtComment' does not exist in the current context NewsArticle.aspx.cs 59 68 Figmentville
On a project I'm building for a client, one of the requirements is advanced user tracking. The client would like to know what pages an authenticated user is visiting, and when. I read through this post, which is probably the method I will go with. However, that seems a bit tolling on the database, and being that the client may use Azure to host this, I would like to keep the # of db transactions to a minimum [although this was not one of his requirements.. Anyway, I'm torn between the following two methods..
Method One: Log to db on every HTTP request using a HTTP module Method Two: Store in visits in session and log everything to database in one swoop during Session_End event
(I work on VS 2005 with Access Database and C#)
I have my code as follows:
protected void Page_Load(object sender,
System.EventArgs e)
{
[Code]....
The logged-in 'UserId' and 'UserName' is getting displayed correctly, but now how do I use the string 'lmember' in my 'SELECT' statement when I need to display the related information from the table 'aspnet_Users' for the logged-in user? getting the following select statement:
SelectCommand="SELECT * FROM aspnet_Users WHERE (UserName= ????)"
On Form1 I have two textboxes (Username, Password), two checkboxes (Remember me, Keep me logged in) and a 'Login' button. I am using a MySQL database. Here is my code (w/out my database info, of course):
MySQLConnection = New MySqlConnection
MySQLConnection.ConnectionString = "server=REMOVED;Port=3306; user id=REMOVED; password=REMOVED; database=REMOVED"
MySQLConnection.Open()
[Code]...
I'm writing software in VB .NET (2005) which uses the Windows user information as login credentials - just the username. I've found Environment.UserName which works for the username (as you would expect).However, I need more information - I need the full name of the user (as shown on the Start Menu). It seems this information is stored... somewhere, as Windows is able to use it for things like permissions on file shares.
View 1 RepliesI'm wondering if its possible to ping a website while logged into the website so you can ping a certain page which you couldn't if you was not logged in.
I seen CMD ping through VB but that doesn't have cookies or anything so the URL is inaccessible.
im currently using cookies and HttpWebRequest atm, which im looking for a faster method.
im wondering if its possible to ping a website while logged into the website so you can ping a certain page which you couldn't if you was not logged in
View 1 RepliesIs there away to retrieve the Logged In state of a machine?I made a vb.net service with some monitoring functions and I wanne know if a windows server or computer is logged in by a user.
View 6 RepliesHow to showing who is currently logged in statusstrip. if i login as admin then the user id = herdiz level = admin and if I am logged in as a user then the user id = user level = user. please give me ssample code.[code]...
View 2 RepliesI am trying to get a VB.net app I wrote to query the domain (Active directory) for all currently logged in users to the network.
View 2 Repliesi have a problem with my project.in one form i have 2 textboxes in one i have displayed the serial number.in the second i want display the current user logged on software.how can i display the current user logged in ????? the code for the serial number is :[code].....
View 2 RepliesIs there anyway to code this so that it picks up the correct User account, as all computers wont be logged on as Administrator?the code is:
[code]...
I keep a Session variable when the user is logged in. So that when the user click on btnLogout it must clear all my sessions and Log the User out for GOOD!!!
It does clear my sessions but if i click the BACK button in IE right after i logged out then i am still logged in! Meaning it goes back to screen where the user was still logged into.
My code on log out
protected void btnLogout_Click
{
Session.Clear();
Session.Abandon();
[Code]....
Is there maybe an option in code i can do that will disable the user from pressing the BACK button in the Web Browzer?
I need to create a spreadsheet of which kit is assigned to which person, within the company.
We have desktops & laptops, for the purpose of this post, we'll say desktops are named DESKTOP then a random 3 digit number (DESKTOP001, DESKTOP002 etc.) and laptops are named LAPTOP then a random 3 digit number (LAPTOP001, LAPTOP002 etc.)
I'm presuming the best way of checking which user uses each workstation would be to check who last logged in to it. doing this for ALL computers in a certain OU (lets say DESKTOP_OU for desktops and LAPTOP_OU for laptops in this example) (either with VB Script or PowerShell I would presume) and to export it to Excel.
I am using NLog for the first time, i figured out how to write to a text file, but now i want to send an email to myself. am making the assumption that when you supply SMTP credentials to NLog. The assembly calls the System.Net.Mail namespace and handles sending an email.
View 2 RepliesI want to know if its possible to retrieve from a given address (IP) the currently logged on user.
View 5 RepliesI'm trying to get the Alias of the logged in user (Active Directory/LDAP environment/Exchange) .
View 8 Replieshow can i get the currently interactive logged user from a windows service?
note that i want the logged user (not the system account of the windows service) and the logged user, may be, is more than one (so i cant just get the owner of explorer.exe).
I have tweaked my code and am able to login great to my website, but i'm not sure in regards to exactly hand how to navigate to anothe rpage once logged in
'Make a request for the desired web page
Dim varRequest As HttpWebRequest = CType(WebRequest.Create("http://www.XXXX.com/login.html"), HttpWebRequest)
Dim cookie As New CookieContainer
Dim varCookieContainer As New Net.CookieContainer
[Code]...