473,408 Members | 2,032 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,408 software developers and data experts.

Data Access Vista/IIS&/Access2000

Hi

Have just installed IIS7 on Vista and am trying to access a .mdb file
through ASP. Getting server error.

I think the problem is in the file permission. Under XP Pro/IIS6 is used to
have to set the .mdb file security via windows explorer to give
IUSR_machinename full permissions on this file for anonymous web access.

Cant seem to do this with Vista explorer - says object cannot be found.

Also, getting conflicting statements from IIS Help - it tells me firstly
that

a. By default, IIS 7.0 uses IUSR as the account for anonymous access.
This account is created when you install IIS 7.0.

and then

b. Similarly, a new Windows built-in account named IUSRS replaces the
local IUSR_MachineName anonymous account from IIS 6.0.

Anyway, whatever syntax I use, I cant seem to add anonymous web user
permission to daters.mdb via the security tab in Windown Explorer.

Any help greatly appreciated - getting very frustrated

Thanks

Hugh

Aug 26 '07 #1
10 3051
"hugh welford" <hu**********@btinternet.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi

Have just installed IIS7 on Vista and am trying to access a .mdb file
through ASP. Getting server error.
I know this is a Microsoft group and I'll get shot down for saying this,
but...

1. Remove Vista
2. Revert to XP Pro (or preferably Server 2003)
3. Wait 18 months to 2 years for sufficient servicepacks to render Vista
usable.

Past experience has shown (think back even to MS-DOS 4) that you should
never trust a new operating system for any critical use. Might be great for
games, but wait 'til it's had at least the major failings ironed out before
using it for work.

--
Bob Milutinovic
Cognicom - "Australia's Web Presence Specialists"
http://www.cognicom.net.au/
telephone (0417) 45-77-66
facsimile (02) 9824-2240
Aug 27 '07 #2
hugh welford wrote:
Hi

Have just installed IIS7 on Vista and am trying to access a .mdb file
through ASP. Getting server error.
Huh? What is the error message?
I think the problem is in the file permission.
Why? Does the error message give you a clue?
If it IS a file permission error, you need to figure out how to assign
Modify permissions for the folder containing the file to ALL users of the
database file. Try posting to a Vista group for help with that, or maybe
someone in the iis group will be able to help.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Aug 27 '07 #3
thanks Bob - already thinking along these lines

hugh
"Bob Milutinovic" <co******@gmail.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
"hugh welford" <hu**********@btinternet.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>Hi

Have just installed IIS7 on Vista and am trying to access a .mdb file
through ASP. Getting server error.

I know this is a Microsoft group and I'll get shot down for saying this,
but...

1. Remove Vista
2. Revert to XP Pro (or preferably Server 2003)
3. Wait 18 months to 2 years for sufficient servicepacks to render Vista
usable.

Past experience has shown (think back even to MS-DOS 4) that you should
never trust a new operating system for any critical use. Might be great
for games, but wait 'til it's had at least the major failings ironed out
before using it for work.

--
Bob Milutinovic
Cognicom - "Australia's Web Presence Specialists"
http://www.cognicom.net.au/
telephone (0417) 45-77-66
facsimile (02) 9824-2240

Aug 27 '07 #4
Hi Bob

Thanks for reply.

The error merssage is the non-specific "An error occurred on the server when
processing the URL" - not much help is it?

I am assuming that the error is a permissions problem, as I have not been
able to set the full permissions for the file - hence the post. I will
re-post in vista and iis groups as suggested - thanks.

Hugh

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:Ot**************@TK2MSFTNGP06.phx.gbl...
hugh welford wrote:
>Hi

Have just installed IIS7 on Vista and am trying to access a .mdb file
through ASP. Getting server error.

Huh? What is the error message?
>I think the problem is in the file permission.

Why? Does the error message give you a clue?
If it IS a file permission error, you need to figure out how to assign
Modify permissions for the folder containing the file to ALL users of the
database file. Try posting to a Vista group for help with that, or maybe
someone in the iis group will be able to help.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Aug 27 '07 #5
Well your first step should be to shut off "friendly errors".
This can be done in IIS Manager and may also need to be done in the
browser you are using.

hugh welford wrote:
Hi Bob

Thanks for reply.

The error merssage is the non-specific "An error occurred on the
server when processing the URL" - not much help is it?

I am assuming that the error is a permissions problem, as I have not
been able to set the full permissions for the file - hence the post.
I will re-post in vista and iis groups as suggested - thanks.

Hugh

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:Ot**************@TK2MSFTNGP06.phx.gbl...
>hugh welford wrote:
>>Hi

Have just installed IIS7 on Vista and am trying to access a .mdb
file through ASP. Getting server error.

Huh? What is the error message?
>>I think the problem is in the file permission.

Why? Does the error message give you a clue?
If it IS a file permission error, you need to figure out how to
assign Modify permissions for the folder containing the file to ALL
users of the database file. Try posting to a Vista group for help
with that, or maybe someone in the iis group will be able to help.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Aug 27 '07 #6
Thanks Bob.

Made a few changes, and now getting unspecified error on trying to open a
connection with the string

cst = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=c:/access/brits/daters.mdb"

Presume new Provider with Vista.

Any idea what the correct string should be under Vista???

Thanks

Hugh
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:eA**************@TK2MSFTNGP02.phx.gbl...
Well your first step should be to shut off "friendly errors".
This can be done in IIS Manager and may also need to be done in the
browser you are using.

hugh welford wrote:
>Hi Bob

Thanks for reply.

The error merssage is the non-specific "An error occurred on the
server when processing the URL" - not much help is it?

I am assuming that the error is a permissions problem, as I have not
been able to set the full permissions for the file - hence the post.
I will re-post in vista and iis groups as suggested - thanks.

Hugh

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:Ot**************@TK2MSFTNGP06.phx.gbl...
>>hugh welford wrote:
Hi

Have just installed IIS7 on Vista and am trying to access a .mdb
file through ASP. Getting server error.
Huh? What is the error message?

I think the problem is in the file permission.

Why? Does the error message give you a clue?
If it IS a file permission error, you need to figure out how to
assign Modify permissions for the folder containing the file to ALL
users of the database file. Try posting to a Vista group for help
with that, or maybe someone in the iis group will be able to help.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Aug 27 '07 #7
No, there is no new provider for Vista per se.
However, there IS a new provider for Access 2007 if that is what you are
using. See www.connectionstrings.com

hugh welford wrote:
Thanks Bob.

Made a few changes, and now getting unspecified error on trying to
open a connection with the string

cst = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=c:/access/brits/daters.mdb"

Presume new Provider with Vista.

Any idea what the correct string should be under Vista???

Thanks

Hugh
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:eA**************@TK2MSFTNGP02.phx.gbl...
>Well your first step should be to shut off "friendly errors".
This can be done in IIS Manager and may also need to be done in the
browser you are using.

hugh welford wrote:
>>Hi Bob

Thanks for reply.

The error merssage is the non-specific "An error occurred on the
server when processing the URL" - not much help is it?

I am assuming that the error is a permissions problem, as I have not
been able to set the full permissions for the file - hence the post.
I will re-post in vista and iis groups as suggested - thanks.

Hugh

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:Ot**************@TK2MSFTNGP06.phx.gbl...
hugh welford wrote:
Hi
>
Have just installed IIS7 on Vista and am trying to access a .mdb
file through ASP. Getting server error.
>

Huh? What is the error message?

I think the problem is in the file permission.

Why? Does the error message give you a clue?
If it IS a file permission error, you need to figure out how to
assign Modify permissions for the folder containing the file to ALL
users of the database file. Try posting to a Vista group for help
with that, or maybe someone in the iis group will be able to help.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap
so I don't check it very often. If you must reply off-line, then
remove the "NO SPAM"

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Aug 27 '07 #8
Thanks again, Bob.

It was permissions after all - it appears the following must have full
control permissions for IUSR and IIS_IUSRS accounts

a. The .mdb file to be accessed
b. C:\Windows\Temp
c. C:\Windows\ServiceProfiles\NetworkService\AppData\ Local\Temp

Hope this is useful

Regards

Hugh
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:ey**************@TK2MSFTNGP06.phx.gbl...
No, there is no new provider for Vista per se.
However, there IS a new provider for Access 2007 if that is what you are
using. See www.connectionstrings.com

hugh welford wrote:
>Thanks Bob.

Made a few changes, and now getting unspecified error on trying to
open a connection with the string

cst = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=c:/access/brits/daters.mdb"

Presume new Provider with Vista.

Any idea what the correct string should be under Vista???

Thanks

Hugh
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:eA**************@TK2MSFTNGP02.phx.gbl...
>>Well your first step should be to shut off "friendly errors".
This can be done in IIS Manager and may also need to be done in the
browser you are using.

hugh welford wrote:
Hi Bob

Thanks for reply.

The error merssage is the non-specific "An error occurred on the
server when processing the URL" - not much help is it?

I am assuming that the error is a permissions problem, as I have not
been able to set the full permissions for the file - hence the post.
I will re-post in vista and iis groups as suggested - thanks.

Hugh

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:Ot**************@TK2MSFTNGP06.phx.gbl...
hugh welford wrote:
>Hi
>>
>Have just installed IIS7 on Vista and am trying to access a .mdb
>file through ASP. Getting server error.
>>
>
Huh? What is the error message?
>
>I think the problem is in the file permission.
>
Why? Does the error message give you a clue?
If it IS a file permission error, you need to figure out how to
assign Modify permissions for the folder containing the file to ALL
users of the database file. Try posting to a Vista group for help
with that, or maybe someone in the iis group will be able to help.
>
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap
so I don't check it very often. If you must reply off-line, then
remove the "NO SPAM"

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Aug 27 '07 #9
"Full" permissions is overkill. All that is required is "Modify". The
users do not need the ability to assign permissions. Always work from
the standpoint of assigning the least level of permission required to
perform the task. In this case, users need to be able to create, modify
and delete a locking file to enable multi-user access to the mdb file.
The only permission required for that is "Modify", known as "Read/Write"
in some OSs.

hugh welford wrote:
Thanks again, Bob.

It was permissions after all - it appears the following must have full
control permissions for IUSR and IIS_IUSRS accounts

a. The .mdb file to be accessed
b. C:\Windows\Temp
c. C:\Windows\ServiceProfiles\NetworkService\AppData\ Local\Temp

Hope this is useful

Regards

Hugh
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:ey**************@TK2MSFTNGP06.phx.gbl...
>No, there is no new provider for Vista per se.
However, there IS a new provider for Access 2007 if that is what you
are using. See www.connectionstrings.com

hugh welford wrote:
>>Thanks Bob.

Made a few changes, and now getting unspecified error on trying to
open a connection with the string

cst = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=c:/access/brits/daters.mdb"

Presume new Provider with Vista.

Any idea what the correct string should be under Vista???

Thanks

Hugh
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:eA**************@TK2MSFTNGP02.phx.gbl...
Well your first step should be to shut off "friendly errors".
This can be done in IIS Manager and may also need to be done in the
browser you are using.

hugh welford wrote:
Hi Bob
>
Thanks for reply.
>
The error merssage is the non-specific "An error occurred on the
server when processing the URL" - not much help is it?
>
I am assuming that the error is a permissions problem, as I have
not been able to set the full permissions for the file - hence
the post. I will re-post in vista and iis groups as suggested -
thanks.
>
Hugh
>
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:Ot**************@TK2MSFTNGP06.phx.gbl.. .
>hugh welford wrote:
>>Hi
>>>
>>Have just installed IIS7 on Vista and am trying to access a .mdb
>>file through ASP. Getting server error.
>>>
>>
>Huh? What is the error message?
>>
>>I think the problem is in the file permission.
>>
>Why? Does the error message give you a clue?
>If it IS a file permission error, you need to figure out how to
>assign Modify permissions for the folder containing the file to
>ALL users of the database file. Try posting to a Vista group for
>help with that, or maybe someone in the iis group will be able
>to help.
>>
>--
>Microsoft MVP - ASP/ASP.NET
>Please reply to the newsgroup. This email account is my spam trap
>so I don't check it very often. If you must reply off-line, then
>remove the "NO SPAM"

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will
get a quicker response by posting to the newsgroup.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Aug 28 '07 #10
Gazing into my crystal ball I observed "hugh welford"
<hu**********@btinternet.comwriting in
news:uF**************@TK2MSFTNGP05.phx.gbl:
The error merssage is the non-specific "An error occurred on the
server when processing the URL" - not much help is it?

Do you have friendly errors messages turned on? IIRC, that's what the
"friendly" error message is.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Sep 2 '07 #11

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

Similar topics

6
by: Belinda | last post by:
Hello All I want to install the NT 4.0 Option pack to install the IIS web server. Does the option pack install to get the web server working on my Windows NT workstation running SP6a work. I...
0
by: Victor | last post by:
I have a XML webservice on IIS 5.1 with self-issued certificate. My ActiveX tryes to invoke a webservice method using class CSecureEvtSyncSocket from msdn sample...
3
by: highlandskye | last post by:
I've a new computer running Vista Home Premium and IE7. I've been using FrontPage2003 and Xara's Webstyle 4.0 for several years to maintain my website. I now have a problem creating menus using...
0
by: krithigadevi | last post by:
I Have Recently Installed Windows Vista. After That I Have Installed Visual Studio .net 2003. I Am Able To Use Vb.net, But I Am Not Able To Use Asp.net. It Is Giving A Message Saying Web...
9
by: Mark Rae | last post by:
Hi, Now that the VS.NET 2005 SP1 update patch is with us, I'm in the process of moving my main development environment onto 64-bit Vista Business Edition - so far, so good... However, there...
0
by: badkart | last post by:
i have adsl modem hooked to my vista machine via usb and out of that machine to a hub and from there to another pc running xp ...everything worked great before i installed vista on the first machine...
9
by: | last post by:
Does anyone know which edition of Vista you have to buy if you use Visual Studio and probably will upgrade to Visual Studio 2008? Is the Ultimate edition necessary, or will the home or business...
2
by: =?Utf-8?B?dHBrbm9tYWQ=?= | last post by:
Please don't send me to the Codeproject article, i'm looking for some native way to be able to elevate a user using VB. As it stands right now, Microsoft is providing that "privilege" to Visual C++...
2
by: fnbhns | last post by:
Dear Friends Would you tell me pls that a laptop is running by Windows Vista, if I want aonther operating System Windows-XP, that is I want 2 operating in my system. will it support or any problem...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.