Errors when running from LAN server.

  • Thread starter Thread starter kosecki
  • Start date Start date
K

kosecki

Hi,

i've vb .net 2005 application which perfectly run from local computer
(normal from disk), but when I share whole folder and try to launch
application I error:

http://www.fotosik.pl/pokaz_obrazek/pelny/9d255c709dbc1934.html

this is "absolute path information required" and refrence to line:
cnPubs = New SqlConnection()



cnpubs declared as property:
Private _cnPubs As SqlConnection
Public Property cnPubs() As SqlConnection
Get
Return _cnPubs
End Get
Set(ByVal Value As SqlConnection)
_cnPubs = Value
End Set
End Property

cnPubs.ConnectionString = ("Integrated Security=SSPI;Data
Source=(local);" & "Initial Catalog=" & cat)

All permisions are set to FullTrust. Intranet has also fulltrust
permissions. Assemby has been signed with key.

Please help.
 
Hi,

Try replacing (local) in the connection string with the machine name
the server is located on.

Ken
 
then you need to enable network protocols on the database server; or
open a port on the firewall

what version of SQL Server are you using?

-Aaron
 
SQL Server 2000 Developer Edition

8.00.2039(SP4)

Enabled protocols:
Named Pipes And TCP/IP
 
Back
Top