Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Cannot use MSAccess database on WorkGroup with ASP

Reply
Thread Tools

Cannot use MSAccess database on WorkGroup with ASP

 
 
Yall
Guest
Posts: n/a
 
      01-11-2005
I have an ASP app on our site IIS server. Win2K
Our site doesn't allow me to map the IIS server so the database can't be on
the IIS sever.
This doesn't work
<appSettings>
< add key="OleDBConnectString" value="Provider=Microsoft.jet.OLEDB.4.0;Data
Source=\\wg04\wg04data\SWDTP\ScienceFair1.MDB" />
</appSettings>
**************************************************
This works if I have the app and database on my local machine IIS and don't
use UNC.
<appSettings>
<add key="OleDBConnectString" value="Provider=Microsoft.jet.OLEDB.4.0;Data
Source=D:\ScienceFair\ScienceFair1.MDB" />
</appSettings>

How can I have the database on a workgroup and use UNC to access it?
And the ASP app on our site IIS.

OBTW if I have a windows .net app, not ASP, then I can use UNC to access the
database on the same workgroup, no problem.
 
Reply With Quote
 
 
 
 
Dilip Krishnan
Guest
Posts: n/a
 
      01-12-2005
Hello Yall,

This is because your asp user account doesnt have permissions to access
a network resource. Try giving it permissions it should work. The windows
app works because it runs under the priveledges of the user currently signed
on.
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> I have an ASP app on our site IIS server. Win2K
> Our site doesn't allow me to map the IIS server so the database can't
> be on
> the IIS sever.
> This doesn't work
> <appSettings>
> < add key="OleDBConnectString"
> value="Provider=Microsoft.jet.OLEDB.4.0;Data
> Source=\\wg04\wg04data\SWDTP\ScienceFair1.MDB" />
> </appSettings>
> **************************************************
> This works if I have the app and database on my local machine IIS and
> don't
> use UNC.
> <appSettings>
> <add key="OleDBConnectString"
> value="Provider=Microsoft.jet.OLEDB.4.0;Data
> Source=D:\ScienceFair\ScienceFair1.MDB" />
> </appSettings>
> How can I have the database on a workgroup and use UNC to access it?
> And the ASP app on our site IIS.
>
> OBTW if I have a windows .net app, not ASP, then I can use UNC to
> access the database on the same workgroup, no problem.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot see workgroup computers by ''view workgroup computers'' - important! kimiraikkonen Computer Support 5 02-07-2007 12:06 PM
Connecting to a msaccess project database adp paulcis ASP General 2 09-12-2006 10:09 PM
How to have C# Web page query MSAccess Database and simultaneously populate MSAccess DB? Siegfried Heintze ASP .Net 1 04-15-2006 11:41 AM
"The provider could not determine the Object value" when accessing MSAccess database with ASP.NETV1 Siegfried Heintze ASP .Net 0 11-11-2005 05:55 AM
Compacting an MSAccess Database with ADO.NET code (C#) Timothy ASP .Net 1 01-02-2004 01:42 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57