Data Connection On Intranet ....Serious Issue..... Please Help
Apr 9, 2008
I have access database created in my desktop, which has tables, queries and DAP's....... everthing works fine on my desktop.
But when i take whole project to my intranet shared folder, it doesnot get connected to database (even though i change the connection).
I get the fallowing errors.
Error1
Microsoft Office Access is unable to connect to the data source specified in the connection string of this page.
The server may not exist on the network, or there may be an error in the connection string information for this page.
Error2
Cannot find the database or some database objects that this page refers to. Update the connection information of the page, or fix the references to the missing database objects.
Please...... help...... it's urgent..... any help would be appreciated.
My database uses forms to specify various criteria for queries and then to run reports based on these queries. It has been suggested that other areas of my company might like to share my reports etc. So I have been given a brief of finding the most cost effective way of sharing my DB. Seperate access full installs with rights to my DB and access run time are being considered bu I have thought about our intranet.
This leaves ASP conversion or data access pages. Can either of these be used for forms of this type ?
I am thinking of putting my access database on a server and work with html files. I have heard about .asp.
Do I need programming knowledge and is there some good web site where I can learn how to convert my database and create html pages that can access my database?
I've Googled my problem and read a dozen of posts on this site but I still have not resolved my problem. Since there appear to be lots of people with the same issue maybe one of you kind people can help me go through this task by task.
I have split my Access Db into a Front End (FE) and Back End (BE), thanks to Rural Guy for helping out with that some months ago. The FE resides on my Desktop PC and the BE on my laptop. They are connected via cable through a router on my local network.
FE PC ----- Access 2002 SP3 Windows XPPro SP2 IE7.0.5730.11
BE Laptop --------- Access 2007 Windows XPPro IE7.0.5730.11
When I try to link my FE to the tables on the BE, I get the all too familar:-
"The file is located outside your intranet or on an untrusted site" etc etc
Here's what I've checked so far.
1. Done A TRACERT to my make sure my Laptop (BE) is on my local network. It only took 1 hop so nothing's routed outside
2. Checked the IE Options (security) on my Desktop (FE) PC to verify that the IP address of my Laptop is in the Local Intranet zones.
3. Checked the IE Options (security) on my Desktop (FE) PC to verify that the IP address of my Laptop is in the Trusted Sites (both http and https)
4. Set the IE Options (security) on my Desktop (FE) PC for both Local Intranet and Trusted Sites to LOW.
5. Checked that from my FE Desktop I can read, write and modify (documents) on the Laptop share in which the BE resides.
6. Checked the Properties box for my BE .mdb to see if there is a UNBLOCK tick box. It does not have one.
7. Checked that EVERYONE has Full Control, Change and Read permissions on the BE folder and it's parent folder.
This error also happened when my Laptop only had Access 2002 too so I don;t think it's a mis-match of the Access versions.
I have an excel spreadsheet that uses a data connection to a website to download text. I have the data connection properties to refresh upon opening the file. If i double click the file from windows, it updates. Although using the code below doesn't work. When i've added the code ObjXL.Save before closing it, it usually saves a file with no data and no cells. I'm eventually going to switch visible to false.
Private Sub btnDownLoadSettle_Click() Dim XLapp As New Excel.Application Dim ObjXL As Excel.Workbook Set ObjXL = XLapp.Workbooks.Open("C:...Settlements.xlsx") ObjXL.Application.Visible = True ObjXL.Windows(1).Visible = True Sleep (5000) ObjXL.Close XLapp.Quit End Sub
I am in need of consultation for MS Access reading data from ODBC connection. I have SQL Server that has all the data for the project financials etc.
I need a database that will read only certain data from the tables, for example, I don't need to import all 500,000 lines from SQL through ODBC connection, I just want to bring certain data for a list of projects whichever are opened and load only that data in MS Access so the group then can add additional details for that project in a shared MS Access.
Right now, all I can do is connect to that database through ODBC and brings all the data which I don't need all as it increases the size of the database, but just a criteria to specify which data to bring, if that's possible to do.
I would like to use an Access database over an Intranet. What are the limitations of doing this? I want multiple individuals to be able to open forms and enter data. I would also want others to be able to run queries and reports on the database. Would I need to upsize to an Oracle database to run with multiple users? Any words of wisdom would be appreciated.
I have splited the system into foreend (FE) and backend (BE). FE and BE are located in different PC lying in company internat! However, I found there always give an error message 3219. And, nseems it is caused by not pointing correcly to the BE when I open tables, the syntax are as follows
Dim db As Database Dim rs As Recordset Set db = CurrentDb() Set rs = db.OpenRecordset("Invoiceyr", dbOpenTable) rs.MoveFirst rs.Edit Me.THISYR = rs!Invoiceyr
The 3219 error appeared at statement "Set rs = "what's the syntax of the path that I should include in the statement in order to point correctly the BE.
I want to consider ways of sharing an Access database within our company. This could be web-based via our intranet or done some other way.
I understand that Microsoft's preferred way of sharing via an Intranet is to use SharePoint. However, as we don't use SharePoint (we use Atlassian Confluence) the cost of that route would be prohibitive.
Any methods of sharing an Access database across, say, 20 people? Simultaneous read/write access would be required but in reality the usage will be low, so performance is not really an issue. I would like to consider web-based or other methods.
I have chosen Access 2013 simply because we use Office Professional 2013 and Access will be familiar to some developers. We could use a different product. But I would certainly prefer a tool that supports RAD design of forms.
Does anyone know if ti is possible to link an access table to one stored on an intranet site? This is used for logging help desk calls and various locations need to look at it at the same time.
I have tried it and seems to work but I get a "Not a valid file name" message
Right Ok i hope i can get some help cause im absolutely stumped.. i cant get my login page to work since moving it from my PWS(iis on xp) DSN connection to a 24/7 server on the net with DSNless connection here is the code for the include file "conntopwd.asp" http://www.pritchardwebdesign.pwp.blueyonder.co.uk/conntopwd.txt the username and path has been changed slightly for security purposes, and the code for the login page which attempts to access the database is here http://www.pritchardwebdesign.pwp.blueyonder.co.uk/login.txt the connection has been tested by one of the tech support guys at brinkster and he told me it was ok, the problem was the way that the data is called from the data base is wrong .. The tech support guy said that it was this line that was causing the problem.. MM_rsUser.ActiveConnection = MM_conntopwd_STRING Any help would be much appreciated as im stuck for now..
I have a data base that I use ADO primarly to connect to the backend access database. Each time I query a table I create a new connection and then kill the connection after I'm done with it. Should I be creating a global connection and leave open the entire time the program is open, or should I be killing the connection each time?
I simply want to create a connection to an Access db, and run an execute an SQL statement. I have only used RecordSets in the past, so this ADO.NET is completely new to me.
Can someone give me a sample code to execute an SQL statement, and take the result and assign it to a string variable?
I can bind my results to a DataGrid, but if I need it in a string, what good does that do me???
Also, I am only familiar with VB, but if someone has to post it in C#, I'm sure I can figure it out! I appreciate any help.
hi everyone; I'm trying to make an ADO connection to my local database named "dbTest.mdb". Here is the code I'm writing in my editor:
Code: <body> <% Set CN =server.CreateObject("ADODB.Connection") CN.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:InetpubwwwrootNew FolderdatadbTest.mdb;Persist Security Info=False" Set RS =server.CreateObject("ADODB.Recordset") Set RS.ActiveConnection = CN RS.Source = "select * from tblTest" RS.CursorLocation = adUseServer RS.CursorType = adOpenKeyset RS.LockType = adLockOptimistic RS.Open response.Write(RS.fields(0)) RS.close Set RS=Nothing %> </body>
and this error comes up in my browser:
Code: Error Type: ADODB.Recordset (0x800A0BB9) Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. whats the problem with my code???!!
Rookie Alert ! I am trying to incorporate simple Access database to web page. In page one, I use Database Results Wizard to display records in database. I pass parameter (last name) via hyperlink to second web page to view complete record. I always get no records found. When I asked tech support, they sent me this:
We do not have registered DSN's on the host server. You will need to use a DSN-less connection string using an absolute path to the file. The path to your account is c:accountsusername and from there you would add the path to the db within your home directory, I.E. -
I have seen other references to this and I have tried what they said with no luck. Where in the page code would I put this? I am using Frontpage 2003. Any suggestions would be helpful or a working example would be nice.
I will create an Access application as a Front end application. The matter is that the users will need to update some data from Internet where there is a MySql server. I thought in creating a local DSN to connect to that MySql server. Is it right ? I already created it but... I dont know the code to connect it from Access. Could you please help me with the code to write in Access ? Im a new with it. sorry. Or you can send me an example of it in an Access database to: osvaldo@ord.com.ar
I am creating an Access database that will be used by multiple users. This database will be on the network and will be the front end of an oracle database connected to it via ODBC. Do I have to set up the ODBC to oracle only on the machine that hold the database on the network or do I have to set up an ODBC on each user's machine?
i'm create a aplication in ms access 2000 developer edition. this app comunicate with sql 2000.
we have problem with slow connection provided by access. in headquater wher people use access app it working quickly. sql 2000 is localted at headquarter too. but if i run app in warehouse it working very slowly.
VPN connection doesn't slow. but access can't use all vpn connection capacity but only 1/5 from this capacity?
how can i do something that acces can use all capacity that i have?
example: link is 512 kbps but access use only 100kbps and work very slowly.
I have a small access database that my users keep open all day long. Access 2000.
I have one primary version of the DB on the network. No one uses it. I have another file on the network that has linked tables to the primary db. I copy a version of this DB to each workstation.
So each user has a full blown DB on their desktop with linked tables back to the main DB. Is this a good set up or are there any issues doing this? What is the best set up for multiple users across the network? Thanks.
one another database have started showing a new error "the database has been placed in state by user 'Admin' on machine 'XXXXXX' that prevents it from being opened."
I read some of the articles on google and find out tht database splitting is solution for this. Now my question is if after splitting i keep the front end and back end at the same location does it gonna effct some how? i mean even after spliting if users use the same copy of database as fromt end. Does it make some sense.