469,344 Members | 6,090 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,344 developers. It's quick & easy.

Asp.net runtime error - multiple users with Access Db

I have an asp.net ecommerce web application on a remote web server.
I'm using an Access database on the back end. I've notice a few
strange things. When I mimic an multiple user environment by surfin
it in multiple browsers simultaneously the site generates a generic
runtime error after awhile. I'm thinking this has something to do
with my access database and multiple connections. I'm using forms
authentication with a login page. Is there something else I should be
specifing in my connection to promote the use of multiple users. I've
had no problem in the past with access and asp 3.0 ecommerce sites.
I've also noticed that access makes the lock file for the database.
Could this be a problem. I've never noticed this with my asp 3.0
databases. When I put custom errors = Off to show the error it goes
back to a database.Open command in one of my class files, not always
the same one though.
Also a problem with the lock, can't ftp an updated database until the
lock is gone. Very annoying. Any help will be greatly appreciated.
<?xml version="1.0" encoding="utf-8" ?>
<!-- Online connstring -->
<add key="ConnectionString"
<add key="OrderConnectionString"
<!--<add key="ConnectionString"
Source=c://webshare/wwwroot/timex/timex.mdb"/> -->
<!-- <add key="OrderConnectionString"
<!-- offline connstring -->

Set compilation debug="true" to insert debugging symbols
(.pdb information)
into the compiled page. Because this creates a larger file
that executes
more slowly, you should set this value to true only when
debugging and to
false at all other times. For more information, refer to the
documentation about
debugging ASP.NET files.
<compilation defaultLanguage="vb" debug="true" />

Set customErrors mode="On" or "RemoteOnly" to enable custom
error messages, "Off" to disable.
Add <error> tags for each of the errors you want to handle.
<customErrors mode="Off" />

This section sets the authentication policies of the
application. Possible modes are "Windows",
"Forms", "Passport" and "None"
<authentication mode="Forms">
<forms name="IBuySpyStoreAuth" loginUrl="login.aspx"
protection="All" path="/" />
This section sets the authorization policies of the
application. You can allow or deny access
to application resources by user or role. Wildcards: "*"
mean everyone, "?" means anonymous
(unauthenticated) users.
<allow users="*" /> <!-- Allow all users -->

<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>

Application-level tracing enables trace log output for every
page within an application.
Set trace enabled="true" to enable application trace
logging. If pageOutput="true", the
trace information will be displayed at the bottom of each
page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from
your web application
<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />
By default ASP.NET uses cookies to identify which requests
belong to a particular session.
If cookies are not available, a session can be tracked by
adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
sqlConnectionString="data source=;user

This section sets the globalization settings of the
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />

<location path="ProductList.aspx">
<deny users="?" />
<location path="ProductDetails.aspx">
<deny users="?" />
<location path="ShoppingCart.aspx">
<deny users="?" />
<location path="OrderForm.aspx">
<deny users="?" />
<location path="Summary.aspx">
<deny users="?" />
Nov 17 '05 #1
0 2386

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by DD | last post: by
1 post views Thread by B&C | last post: by
2 posts views Thread by Paul | last post: by
5 posts views Thread by tech.rawsteak | last post: by
1 post views Thread by rickcross | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.