Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPProtect.NET Authentication Add-On Support Archives (Info Locked Info Locked)
 CJWSoft Support Info : ASPProtect.NET Authentication Add-On Support Archives
Subject Info: Difficulties getting the .Net Add-On to w A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
dododi
New User
New User


Joined: October/07/2004
Location: Australia
Online Status: Offline
Info: 13
Added: July/05/2006 at 1:26am | IP Logged Quote dododi

I am hoping you can help and point out where I might be going wrong.

I have installed the aspprotect v7 and tested it. I am able to login and create a user etc.

I have just installed the .net addon and followed your instructions but I am getting teh following error after i try to login:

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

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: Cannot start your application. The workgroup information file is missing or opened exclusively by another user.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


[OleDbException (0x80040e4d): Cannot start your application. The workgroup information file is missing or opened exclusively by another user.]
   Microsoft.VisualBasic.CompilerServices.Container.InvokeMetho d(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) +272
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMe thod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure) +196
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCa ll(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn) +216
   aspprotectauthentication.aspplogin.Login_Click(Object Src, EventArgs E) +638
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEven tHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102


I have tried placing the .net files in the root and also within a dotnet folder within the aspprotect folder but I get the same error.

The current location of the files are:

E:\hosthome\account\mysite.com\aspplogin.aspx                                                 E:\hosthome\account\mysite.com\ASPPstyles.css                                                 E:\hosthome\account\mysite.com\protectpage.ascx                                                 E:\hosthome\account\mysite.com\testprotect.aspx                                                         E:\hosthome\account\mysite.com\Web.config                                                 E:\hosthome\account\mysite.com\bin\aspprotect.authentication .dll

ASPProtect version 7:
E:\hosthome\account\mysite.com\aspprotect\

I have replaced the relevant asp files in password_admin with the "new classic asp admin area files"


I would appreciate your ideas on what could be causing this error and how i might be able to fix it.

I have attached a modified version of my webconfig file.


Thanks
Back to Top View dododi's Profile Search for other info by dododi
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: July/05/2006 at 1:45am | IP Logged Quote cwilliams

That connection string is quite invalid..

use one like in our example.... look carefully at the provided example connection string for the .net add-on cause you messed it up bad in what you just showed me

you got all sorts of stuff wrong in there for using an ole connection string

Driver={Microsoft Access Driver (*.mdb) ... is not supposed to be there  at all

Your setting the username/password for the database wrong for using an ole connectiong string..

etc etc

Just look at the example from the zip file and you will see yours is messed up



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: July/05/2006 at 1:57am | IP Logged Quote cwilliams

This is the example I am talking about from the web.config file

<!-- This is the connection string to the database. It must be in the exact same format as the example below and use the OLE Driver-->

<add key="ASPPConnStr" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Inetpub\wwwroot\aspprotectnet\data\ASPProtect_acce ss2002.mdb;Jet OLEDB:Database Password=temp" />


And then here is what you just showed me

<add key="ASPPConnStr" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\hosthome\account\mysite.com\aspprotect\data\databa se\ASPProtect_access2002.mdb;Driver={Microsoft Access Driver (*.mdb)};UID=Admin;Password=temp" />

The part in red is wrong

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com