473,387 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Errors when running from LAN server.

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/...09dbc1934.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.

Nov 27 '06 #1
4 990
Hi,

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

Ken
----------------

"kosecki" wrote:
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/...09dbc1934.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.

Nov 27 '06 #2

Ken napisal(a):
Hi,

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

Ken
----------------
This hack don't work.

PK

Nov 27 '06 #3
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
kosecki wrote:
Ken napisal(a):
Hi,

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

Ken
----------------

This hack don't work.

PK
Nov 27 '06 #4
SQL Server 2000 Developer Edition

8.00.2039(SP4)

Enabled protocols:
Named Pipes And TCP/IP

Nov 27 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike S. Nowostawsky | last post by:
I am getting this error when I try to run a program in my cgi-bin directory (don't know what I'm still missing to make it work): *** Authentication required! This server could not verify that...
10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
6
by: Shabam | last post by:
A web application of mine developed using C# + MS SQL runs fine normally. However when I stress test it with a load testing software (using about 60 simultaneous users) some instances start...
12
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current...
3
by: fred bliss | last post by:
Hi All We have a new server running the latest framework, windows server 2003 & IIS 6.0, and we're getting the following error when we try to load the app in IE. Server Error in...
2
by: Stephen Miller | last post by:
Can the CustomValidator be used to simply report unexpected errors, without requiring Client/Server validation? To explain, say you had a simple text box and button that did a Full-text Search of a...
6
by: David Lozzi | last post by:
Hello there, I'm getting the following error System.NullReferenceException: Object reference not set to an instance of an object. at shopping_bag.GetBagTotals()
5
by: Dan Fulbright | last post by:
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors when running go-pear.bat: mmap cache can't open phar://go-pear.phar/index.php mmap cache can't open...
3
by: guillaume.braux | last post by:
Hello, I am running WS2008 + IIS7 + FASTCGI + ZendCore. I have not modified the default ZendCore php.ini configuration file. Actualy, any kind of PHP error, warning or notice gives me...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.