473,396 Members | 1,846 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,396 software developers and data experts.

AccessDB on a WebServer

I created a windows application, added a Grid Control and connected to the
Pubs.mdb Access database locally with no trouble. Next I copied Pubs to a
WebServer, changed the connection string by providing the IP address of the
web server but the error below occurs. I tried the domain name ( like
ibm.com\Folder) for the server and that failed also. I don't think I'm even
attempting to hit on the server! The error is shown below

An OleDBException was unhandled ==>
Me.AuthorsTableAdapter.Fill(Me.PubsDataSet.authors )

Error : Cannot start your application. The workgroup information file is
missing or opened exclusively by another user.

TIA

Bob

May 15 '06 #1
6 2128

Bob Palank wrote:
I created a windows application, added a Grid Control and connected to the
Pubs.mdb Access database locally with no trouble. Next I copied Pubs to a
WebServer, changed the connection string by providing the IP address of the
web server but the error below occurs. I tried the domain name ( like
ibm.com\Folder) for the server and that failed also. I don't think I'm even
attempting to hit on the server! The error is shown below

An OleDBException was unhandled ==>
Me.AuthorsTableAdapter.Fill(Me.PubsDataSet.authors )

Error : Cannot start your application. The workgroup information file is
missing or opened exclusively by another user.

TIA

Bob


Try using the full URL path to the file. Here are three different
connection string options depending on your situation. If you post your
current connection string (masked for security of course) we can help
better.
Standard security:

"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=www.test.com\somepath\mydb.mdb;User Id=admin;Password=;"

Workgroup (system database):

"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=www.test.com\somepath\mydb.mdb;Jet OLEDB:System
Database=system.mdw;"

With password:

"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=www.test.com\somepath\mydb.mdb;Jet OLEDB:Database
Password=MyDbPassword;"

May 15 '06 #2
Last Clean Version Used (Language VB.Net Express 2005) :
As per Paul
Code below lives in the app.confi file

<connectionStrings>

<add name="CRUD.My.MySettings.PubsConnectionString"
connectionString="Provider=Microsoft.Jet.OLEDB.4.0 ; Data
Source=stlcc.org\SLF\Pubs.mdb; JetOLEDB:Database; User ID=someUser;
Password=somePassword;"

providerName="System.Data.OleDb"

/>

<add name="CRUD.My.MySettings.PubsConnectionString"
connectionString="Provider=Microsoft.Jet.OLEDB.4.0 ; Data
Source=stlcc.org\SLF\Pubs.mdb; User ID=someUser; Password=aGoodPassword;"
providerName="System.Data.OleDb"
/>

</connectionStrings>

I created a windows application, added a Grid Control and connected to the
Pubs.mdb Access database locally with no trouble. Next I copied Pubs to a
WebServer, changed the connection string by providing the IP address of the
web server but the error below occurs. I tried the domain name ( like
ibm.com\Folder) for the server and that failed also. I don't think I'm even
attempting to hit on the server! The error is shown below

An OleDBException was unhandled ==>
Me.AuthorsTableAdapter.Fill(Me.PubsDataSet.authors )

Error : Cannot start your application. The workgroup information file is
missing or opened exclusively by another user.

------------------------------------------------------------------------------------------
I did not create a Workgroup information file so it probably does not exist
on the server!
Is this a step I missed ???

------------------------------------------------------------------------------------------
Paul Clement MVP Suggests : : :
I tried and it still fails with the same error

Workgroup (system database):
"Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=www.test.com\somepath\mydb.mdb;
Jet OLEDB:System Database=system.mdw;"

With password:

"Provider=Microsoft.Jet.OLEDB.4.0;
DataSource=www.test.com\somepath\mydb.mdb;
Jet OLEDB:Database
Password=MyDbPassword;"
================================================== =========================

"Charlie Brown" <cb****@duclaw.com> wrote in message
news:11*********************@j33g2000cwa.googlegro ups.com...

Bob Palank wrote:
I created a windows application, added a Grid Control and connected to
the
Pubs.mdb Access database locally with no trouble. Next I copied Pubs to a
WebServer, changed the connection string by providing the IP address of
the
web server but the error below occurs. I tried the domain name ( like
ibm.com\Folder) for the server and that failed also. I don't think I'm
even
attempting to hit on the server! The error is shown below

An OleDBException was unhandled ==>
Me.AuthorsTableAdapter.Fill(Me.PubsDataSet.authors )

Error : Cannot start your application. The workgroup information file is
missing or opened exclusively by another user.

TIA

Bob


Try using the full URL path to the file. Here are three different
connection string options depending on your situation. If you post your
current connection string (masked for security of course) we can help
better.
Standard security:

"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=www.test.com\somepath\mydb.mdb;User Id=admin;Password=;"

Workgroup (system database):

"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=www.test.com\somepath\mydb.mdb;Jet OLEDB:System
Database=system.mdw;"

With password:

"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=www.test.com\somepath\mydb.mdb;Jet OLEDB:Database
Password=MyDbPassword;"

May 16 '06 #3
Make sure on your webserver that you enable read/write/execute
permissions on the folder and the database file.

May 16 '06 #4
I checked and was told that the permissions are set to
read/write/execute on both the folder and the database file.
Now, as I see it, the Pubs.mdb database lives in a folder on the webserver
with the appropriate permissions.
Using the connection string previously discussed, I ought to be able to get
access to that database and display records in the GridView on a client
machine.
Is this correct ?
Is there some example of a mdb (perhaps Pubs.mdb) living on some server
that is publically accessible using VB.Net ?
Still Stuck
Bob
"Charlie Brown" <cb****@duclaw.com> wrote in message
news:11**********************@j55g2000cwa.googlegr oups.com...
Make sure on your webserver that you enable read/write/execute
permissions on the folder and the database file.

May 16 '06 #5
Bob,
Now, as I see it, the Pubs.mdb database lives in a folder on the webserver
with the appropriate permissions.


Are you sure of that because the ASPNET user is ASPNET.

Cor
May 17 '06 #6
Thanks, I got past one error and now have another.

My Assumptions:
1. One can use VB.Net Express 2005 to write a client resident application to
access an .mdb file living on a remote server.
2. No Microsoft Access code elements need to reside on the remote server
except the *.mdb file.
3. On the remote server, permissions need be set so that anyone can have
read access to that Access database.
Are these assumptions true ?

If the assumptions are true, the local error message

Me.AuthorsTableAdapter.Fill(Me.PubsDataSet.authors )==>Could not find
installable ISAM

does not make sense to me.

TIA for any help.

Bob

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:Op**************@TK2MSFTNGP03.phx.gbl...
Bob,
Now, as I see it, the Pubs.mdb database lives in a folder on the
webserver with the appropriate permissions.


Are you sure of that because the ASPNET user is ASPNET.

Cor

May 18 '06 #7

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

Similar topics

12
by: Ann Marinas | last post by:
Hi all, I would like to ask for some help regarding separating the asp.net webserver and the sql server. I have created an asp.net application for a certain company. Initially, we installed...
7
by: TCDolphin. | last post by:
Hi everyone, I'm currently developing an intranet application for a company and I have an informative question about the webserver. Before users can access a certain webpage they must identify...
0
by: Jakob Lithner | last post by:
I use VS 2005 and ASP.Net. For conveniance I use the inbuilt webserver, but recently I have encountered a lot of problem. When I debug it sometimes takes extremely long time to launch the...
1
by: Owen Blacker | last post by:
Apologies, first of all, for the cross-posting. I'm getting WebDev.WebServer.exe crashing all the time at the moment, despite having done a Detect and Repair with Visual Studio 2005, but I guess...
2
by: ¥|¥J | last post by:
Dear all, Please help~~ I have a problem in connecting my new FC5 webserver (apache 2.2 + php 5.1.4) to a few database servers through the PHP scripts (RH9, FC2, FC3). I have set host...
17
by: kartheek | last post by:
hi friends, can any one out here help me by giving me the code to connect to an MSACCESS database using javascript.
1
by: swissclash79 | last post by:
Good morning everybody I have a question regarding configuring mappings in the development webserver. I am currently implementing a proxy server that is lied between the clients and a customer's...
1
by: Tina | last post by:
At my old company we used to put the IIS web server, containing our asp and asp.net websites, in the DMZ and the database on a machine that was behind the firewall. In this scenario we knew we...
1
by: mpc | last post by:
hello, how does one run a PHP page with a python webserver? Lets say i have a simple python web server running /path/webserver.py #!/usr/bin/env python from BaseHTTPServer import HTTPServer...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.