Ssl Connections To A Web Server - Referencing A .jar File

Aug 27, 2009

I have a java class that is used to for ssl connections to a web server. I have got some of it converted however there are serveral java libraries that i have been unable to figure out how to call or reference in vb.net. First off i'm not even sure if it's possible to reference them

[Code]...

View 1 Replies


ADVERTISEMENT

.Net SQLClient Connections And SQL Server - Active Connections Reflect Even Though All Closed?

Jul 19, 2011

Using VB.Net and SQL Server 2008 R2: I have recently had a database that using sp_who2 reflects a connection ".Net SqlClient Data Provider" is still active even though the .Net application has closed and disposed of all connections.

[Code]...

View 1 Replies

Tunneling Server Which Tunnel Incoming And Outgoing Connections And Make There Ping Appear To Be 0 In Server

Jul 25, 2010

I have a server which has around 300+ users on it. Though the problem is that its coded in VB6, and if somebody has a bad ping, everybody has a bad ping. I need a tunneling server which will tunnel the incoming and outgoing connections and make there ping appear to be 0 in the server. Client to Server, Server to Client.

View 1 Replies

Server - How To See All Open Connections

Mar 11, 2011

I searched on google for these terms : "How to see all open connections in vb.net" and it should be for a server im running and it would be like to see witch users are connected (ip) and then if i type in the console -disconnect ip then the user will be disconnected from the server but is this technical posibble ?

View 4 Replies

Sql Server - Reducing SQL Connections To Just 1 - ASP.net?

Feb 7, 2012

I am currently working on an asp.net web page with a GridView displaying a table from a database.This GridView has 4 DropDownLists that will be used to filter the data shown on the GridView. When the page loads 4 Sub routines are run, each one connecting to the database with a select statement to fill the DropDownList with relevant filter headings.

Initially, I had one connection with a loop that populated all of the drop downs but these contained duplicates. I then split the filling of each DDL so that the select statements could contain DISTINCT. I would like (and am sure there is a way here) to be able to populate all of the DDLs with data from one connection.

Code for one connection:

Protected Sub FillDepDDL()
Dim conn As New SqlConnection()
conn.ConnectionString =

[code]....

The other 3 column names: FirstName > DDLFN, LastName > DDLLN, Wage > DDLWag.This is only a test DB and the princibles learned here will be applied to a larger live project.

View 1 Replies

VS 2010 SQL Server Connections

Aug 24, 2011

I'm pretty new to VB.NET and connecting to SQL Server.What is considered best practice when building an app that needs to connect frequently to a SQL Server DB to fetch, write, delete and update records?Should a connection be opened at app startup (a connection at start is opened to validate the user) and left open for subsequent transactions or should a connection be opened, closed and disposed of each time a read/write to the DB is required?

View 3 Replies

Windows Application And Web Server Connections?

Aug 17, 2010

I have a .net window application created and I wanted to see if it's at all possible to place various file dependencies off the web server. e.g. is it possible to have the connection to the database be off a web server?

I also would like to see if it's possible to place one of the .dlls off the web and have code that points to it to load.

View 2 Replies

DB/Reporting :: Check All Connections To Sql Server 2005 Are Closed?

May 29, 2009

In our VB 2008 we are making a lot of connections to sql server 2005 databases. Is there a possibillity to check with a program or a tool of 2005, all connections are closed?

View 3 Replies

IDE :: VS Server Explorer Close Databases Connections While Debugging?

Jul 27, 2009

Every time I execute my application and the app try to access the database I received an error message telling me that the user cannot login into the database. This is because the VS Server Explorer have the connection opened. What I need is that every time I debug (F5) my app the Server Explorer close the connection with the database so I do not have to stop the execution and manually close the connection. Is this is possible? Is there any way I can setup the debug or the Server Explorer to do this?

[Code]...

View 1 Replies

Cyberproj - Connections From Multiple Clients To A Server Having Winsock Control

May 17, 2010

I am developing project on cyber cafe using vb .net 2005 and winsock i don't know how to accept connections from multiple clients to a server having winsock control

View 2 Replies

Difference Between Sync And Async Connections In A Tcp/ip Client/server Application?

Sep 2, 2009

a small question: what is the difference between sync and async connections in a tcp/ip client/server application?

View 1 Replies

VS 2008 Async Socket Connections - Clear Out No Longer Useful Sockets From The Server?

Dec 18, 2009

I have been developing an async socket connection server and client program. I have been testing it, and noticed that if I connect to the server from my client and then disconnect. Upon reconnecting I am on a different port(local IP still). This is fine, however when I go to send a message, and the server trys to update all the clients, it eventually hits clients that do not exist anymore. I get the SocketException 10054, and upon connecting/disconnecting enough, it no longer works at all. My question is how do I clear out these no longer useful sockets from the server? I am doing currentsocket.Shutdown(SocketShutDown.Both); and then a currentsocket.Close(); after that. When a user disconnects.

[Code]...

View 1 Replies

Asp.net - Database Connections Work Fine When Application Is Run From Localhost. Login Fails From Dev Server

Jun 11, 2009

I have an application which connects to a database, retrieves a username from a user's table and matches it against the username retrieved with System.Security.Principal.WindowsIdentity.GetCurrent.Name.On my localhost, everything works fine. The database exists on the development server but the application lies on my localhost. All of my authorization and authentication techniques are running smoothly.However, when I publish my application to the development server, I'm faced with the following error.Cannot open database requested in login 'databaseName'. Login fails.Login failed for user 'DevelopmentServerNameASPNET'.

[Code]...

View 4 Replies

File I/O And Registry :: Publishing Access File And Then Referencing After Install?

Apr 28, 2010

i have a problem where i've hard coded the file path of an access database i'm using with a VB.net program. this means that if i publish the program the database doesn't publish with it and i have to "ship" the program with the the database file separately and create another form so the user can say where the file is held. i don't want to do this.is there any way to get the access database file to publish with the program and then access that file path by code? for example the database file is held in the same folder as the installed program and then is accessed by code so there is no need to use a specific file path.

View 1 Replies

VB Script - Terminal Server - Script To Close All Open Connections?

Jun 16, 2010

Can anyone provide a script to close all open sessions in a Terminal Server?

Aldo.Everything is possible, impossible just takes longer

View 2 Replies

Save Database Connections In Xml File

Mar 8, 2011

I am on a general scenario of deploying my vb.net database application on my client's computer.

Thinking of future problem of changing the database connection setting, i am planning to store it in a normal xml file in the app directory so that where ever it is installed, in order to make database configuration i only need to make change to that file and my program runs smoothly.

So is this idea of storing database connection setting to xml config file in app directory or is there any other better idea?

I am planning it for vb.net winforms applications

View 1 Replies

Referencing A .jar File?

Dec 7, 2010

I have a java class that is used to for ssl connections to a web server. I have got some of it converted however there are serveral java libraries that i have been unable to figure out how to call or reference in vb.net. First off i'm not even sure if it's possible to reference them. In Java code they look like this:

import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.DataInputStream;

[code].....

I'll use the last one for example: I get a "Namespace or type specified in the Imports 'org.xml.sax.SAXExeption' doesn't contain any public member or cannot be found. make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use aliases.

View 6 Replies

File Paths On A Sever / DB Connections Strings?

Jun 1, 2008

I am coding this app on my home pc, but when complete it will be run on individual pc(s) (each pc has it oun HD) on a local network. I have a world of questions but right now how do I set the path to my database? is there a way to set a default if its not found.Database(s) that the app use's are stored in a folder on the server. i.e.: P:MyServerNameDeptFolderData for example.OLEDB or TableAdapters which would be the better choice.I understand that MS Access DB is rather resticting.

View 3 Replies

Winforms - Iterate Through Connections Strings In App.Config File?

Nov 8, 2010

I am trying to iterate through all the connection strings in App.Config using VB.net.

I would like to:

1. Get a count of all the connection strings

2. Put them all into a listbox.

I have tried using System.Configuration.ConfigurationSettings but am unsure exactly how to get the collection/listof connection strings.

The application is a WinForms VB.net .net 4.0 app.

View 1 Replies

Close All Connections To Access Db In Order To Back Up The Database File?

Nov 11, 2010

I have an application running with a access db. I have written some code to copy & zip the db file to another location (selected by the user) for the purpose of backup. (I am using sharpzipwrapper)Whenever I try to run the code for the copying & zipping it gives me an exception saying that the file cannot be zipped as it is use.Do I have to close all open connections in order to backup the .accdb file? If yes then how? else what do i have to do inorder to get 'access' to the file.Do I have to exit the application to close all connections? These connections are written in code for e.g. :

dim
cnStudent as
oledbconnection

[code].....

View 5 Replies

Referencing Object On Default Page From The Master Page Vb File?

Sep 9, 2011

I have an asp image within my "default.aspx" page.I set cookies on my masterpage vb file and depending on the cookie set, I want to show or hide this image.

default.aspx
<asp:image ImageUrl="/images/myimage.jpg" runat="server" ID="myimage" Visible="false"></asp:image>
mymaster.aspx.vb

[code]....

I get the following error:

'myimage' is not declared. It may be inaccessible due to its protection level.

View 1 Replies

Server And Then The Server Converts That Word File To A .TIF And Sends The Image Back?

Feb 25, 2011

I have a client/server application set up that the client sends a word file to the server and then the server converts that word file to a .TIF and sends the image back.The stuff I have now works.Say if I sent the size of the file and the actual file byte() to the server back to back, would the NetworkStream contain both back to back? This what I though would happen. So I implemented a kind of 'turn' based interaction during the duration of the conversion process.

[Code]...

View 4 Replies

Switch Network SQL Server 2008 R2 Database To A Mobile SQL Server CE *.sdf File

Nov 2, 2011

I have developed a VB.NET program using a strongly typed dataset. This dataset has its connection to a SQL Server 2008 R2. The software should now be additionally used offline. The database should be exported to a *.sdf database. If no connection to the SQL server is produced, the software have to try to connect to the *.sdf database.I would like to achieve:

1. Export the data in the SQL Server 2008 R2 database to a local *.sdf file.

2. This *.sdf file has to work as an alternate connection string in the strongly typed dataset.

View 1 Replies

Error While Copying File On Remote Server With Server Path

Jun 6, 2012

I am trying to copy upload files to remote server i get below exception.[code]...

View 1 Replies

Upgrade The Framework On The Server - When Run The .exe File From The Server,get A Runtime Error?

Jun 29, 2009

I have several programs that I wrote in Visual Basic.net 2003 that I run from a server at work. We upgraded to Visual Studio 2008 recently and I converted my code to that version. I rebuilt the .exes and tried to run it from the server. It said I needed to upgrade the framework on the server, which I did. Now when I run the .exe file from the server I get a runtime error:

Runtime Error!
Program: d:...
This application has requested the Runtime to terminate it in an unusual way. Please contact the applicaiton's support team for more information.

These programs are very important to the day-to-day operations of the company I work for. I did backup the software before converting it, so we're running normally right now, but there are modifications and upgrades I need to make as soon as possible, but cannot due to the programs crashing when I run the on the server.

View 1 Replies

C# - Server To Server File Transfer Without Any User Interaction?

Feb 16, 2011

In my scenario, users are able to upload zip files to a.[url]....I would love to create a "daemon" which in specified time intervals will move-transfer any zip files uploaded by the users from a[url].....From the info i gathered so far,

The daemon will be an .ashx generic handler.

The daemon will be triggered at the specified time intervals via a plesk cron job

The daemon (thanks to SLaks) will consist of two FtpWebRequest's (One for reading and one for writing).

how could i implement step 3?

Do i have to read into to a memory() array the whole file and try to write that in b.example.com ?

How could i write the info i read to b[url].....?

Could i perform reading and writing of the file at the same time? No i am not asking for the full code, i just can figure out, how could i perform reading and writing on the fly, without user interaction.I mean i could download the file locally from a.example.com and upload it at b.example.com but that is not the point.

View 8 Replies

How To Load A File From Server By Server IP Address

Dec 1, 2008

desktop application I need to refer and load some files to manipulate (Like dBase III .dbf files) or to show (ESRI .shp files). As the number of my files changes, I need to have these files on a server and then when I want to load them in my desktop application give the path on my server based on IP address and Port number

View 1 Replies

Turning Computer Into File Server (ftp Server)?

Oct 20, 2009

Are there any good tutorials/links I can work through. I want to make my pc a file server or an ftp server through vb.net. How would I go about doing it?

View 5 Replies

C# - Upload File Via FTP - Server Returned Error (550) File Is Unavailable, Cannot Find File?

Oct 31, 2009

I'm trying to upload a file via FTP from my local computer to an FTP server, which is also on my local computer at the moment. I've got this sub I'm calling:

Public Sub UploadFTPFile(ByVal ftpservername, ByVal fullfilepath, ByVal filename, ByVal username, ByVal password)Dim clsRequest As System.Net.FtpWebRequest = _
DirectCast(System.Net.WebRequest.Create("ftp://" & ftpservername & "/" & filename), System.Net.FtpWebRequest)
clsRequest.Credentials = New System.Net.NetworkCredential(username, password)
clsRequest.Method = System.Net.WebRequestMethods.Ftp.UploadFile

[Code]...

I'm running an FTP Server using Golder FTP Server, which is freeware. I think it's setup correctly because connecting to the FTP Server using the exact same string as above using Windows Explorer works great.

View 2 Replies

Get A Web Server Or File Share Server?

Jun 1, 2010

I'm trying to publish my program so that it can get updates and am told I have to publish my changes to a web server or file share server?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved