| Blog News Main Page NEWS FROM 2006-03-25
Blog Entry: 3/25/2006 1:41:50 PM
I am using v7 with other software written in ASP.NET. When I include the the "checkfor" and include file, I'm receiving a compliation error.
Here is the include I have on the .aspx file: <% CHECKFOR = "4" %> <!--#INCLUDE FILE="../../ASPProtect/check_user_inc.asp"-->
Here is the error:
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30689: Statement cannot appear outside of a method body.
Source Error: Line 15: <% Line 16: ' This is part of the too many login attempts lockdown code which sets a cookie to block login attempts for a certain amount of time Line 17: If LoginLockDown Then Line 18: If Request.Cookies("PASSWORDSYSTEMCOOKIETRIAL")("LoginTries") <> "" Then Line 19: If Cint(Request.Cookies("PASSWORDSYSTEMCOOKIETRIAL")("L oginTries")) = Cint(LoginLockDownAttempts) Then
Source File: D:\Sites\resadmin\NetOptions\testsite.com\www\ASPProtect\che ck_user_inc.asp Line: 17
, Banners no longer show up on my site ?
If banners were working fine and now they are just not showing up. 1st check to see that you are calling a valid zone with live banners in it. If you are then most likely this it what hapened.
The web server must have crashed or lost power and now the application variables are in limbo/not working.
I have seen this happen a few times.
Basically the application variable system gets messed up because it was not shut down properlly.
The way to cure it are as follows.
Edit and save a banner in the system. Hopefully that gets things going again.
,
I just made a new admin account and I still can not log in using it ?
Did you by chance edit the code by adding LCID info or something like that ? Something is just very wrong.
The simple example protected pages can not even be logged into ?
, I am not talking about image resizing. I need to know if it is possible to limit the upload to images where their height or width is less than 500 PIX. , humm, I am curious
If these people are employees and sales reps why are are you using expiration dates at all ? and why the renewing issues... etc etc
I am sure there is a reason but you did not explain.
it might help me to better understand and possibly think about new features for new versions in the future., We are using this photo gallery to manage galeries of all the prodcut
lines we carry, we have no use for users to be able to sign up so i hid
that part of the pages, what i am wondering is how can i hide the rest
of the navigational links and still be able to get logged in to
admin. Here is a link to the unfinished demo site.
http://www.scs-cases.com/photogallery/
, I downloaded v7 3/7/2005
I entered a password that was supposed to be all caps with only first letter caps.
it is odd, if I go to other user and enter wrong password that does not come up. it apprpriately goes to a screen that says Access Denied.
thx , works fine now , If you want to have a login form on a non protected page that posts to a protected ".asp" page use code like this.
Change the action of the form to the page you want them to log into. Make sure the page you send them to is protected by the "check_user_inc.asp" file.
<center> <table border="0" width="400" height="200" bgcolor="#000000"> <tr> <td bgcolor="#F4F4F4"> <form method="POST" action="memberarea.asp"> <input type="hidden" name="Status" value="Checkem"> <p align="center"><font face="Arial">ASPProtect Login</font></p> <div align="center"> <center> <table border="0" bgcolor="#C0C0C0"> <tr> <td bgcolor="#EBEBEB"><strong><small><font face="Arial">Username</font></small></stro ng></td> <td><input type="text" name="Username" size="10"></td> </tr> <tr> <td bgcolor="#EBEBEB"><strong><small><font face="Arial">Password</font></small></stro ng></td> <td><input type="Password" name="Password" size="10"></td> </tr> <tr> <td bgcolor="#EBEBEB" colspan="2"><font face="Verdana, Arial, Helvetica" size="-1"><input type="checkbox" name="KEEPMESIGNEDIN" value="True">Keep me signed in on this computer unless I log off.</font></td> </tr> </table> </center> </div> <div align="center"> <center> <p> <input type="submit" value="Login"></p> </center> </div> </form> </td> </tr> </table> </center> cwilliams38411.453912037, If the physical path isnt right and the permissions are not right it just plain will not work. You will not get an error.
If the filesystem object is disabled on the webserver it will not work either. Something has to be wrong.
Please start a new thread when the topic changes.. thanks
It helps to keep the forums organized for other users in the future. cwilliams38454.6146180556, basically one at a time because of limitations of the file uploads that browsers can support
more on that here http://www.aspphotogallery.com/pro_add_ons.asp
An Admins can however ftp a bunch of pics to the import folder and import them into any album all at once pretty easily
, sounds like the data/export folde does not have permissions, When I enter www.vickerylightning.com/aspgallery/dataconn_inc.asp on the screen it says "Not a valid bookmark"
as far as that goes I have no idea.. I have never seen that message before but you are not suppose to run that page by itself regardless.. it is an include file not meant to run on its own , I checked the SQL table and had 1 banner with no zone ID. I added it in
directly through the SQL interface and now it seems to be ok., Well you can put a link on all your pages that links to the login page?
modify the code in the login page so the return page is members.aspx or
whatever you need and thats it?
I dont see your point? probably because I understand how the program works and your not 100% up to speed on how it works.
, MSACCESS or SQL server ?, I do not have any programming knowledge and have what might be a simple question.
I am having a hard time getting my hosting company to modify the rights on the data folder. They state they support ASP and access databases however this is the response I got when I requested the modify permissions set for the internet guest account:
Were the rights changed on the data folder? No, we do not manage rights to folders.
My question to you is: Doesn't supporting asp require those permissions be set on the database folder or can asp (not just aspprotect) work without those rights modified?
Thanks , I dont get it.. I am still looking into it..
I think this has something to do with your original experience when things would work and then not work.
something weird is going on , I encountered the same problem and eventually found out that my Norton protection was not allowing scripts to work so I had to uncheck the setting before the banners reappeared., I would like to create a login form on the home page which will not be password protected to the site for members so that they can login right from the home page and not a password protected page like many sites have. And every portal I have seen.
Plus the login form looks really pretty and proffesional on the home page ...
I can't find anything in the documentation that says how to do this or if it's even possible. Everything I have found says to password protect a page and then direct them there which isn't what I would like to do.
Here is the code of the login page which is an asp include file on the main page:
<html>
<head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> </head>
<body> <td><img src="images/a026.jpg" alt="" width="187" height="21"></td> </tr> <tr> <td bgcolor="#EBEBEB"><table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td><table width="180" border="0" cellpadding="0" cellspacing="0" bgcolor="#AAAAAA"> <tr> <td><img src="images/spacer.gif" alt="" width="1" height="1"></td> <td><img src="images/spacer.gif" alt="" width="178" height="1"></td> <td><img src="images/spacer.gif" alt="" width="1" height="1"></td> </tr> <tr> <td><img src="images/spacer.gif" alt="" width="1" height="1"></td> <td bgcolor="#FFFFFF"><form name="form_login" method="post" action=""> <table width="100%" border="0" cellspacing="5" cellpadding="0"> <tr> <td width="53%"><input name="textfield" type="text" class="style-01" value="username"></td> <td width="47%"><a href="#" class="link-02">Forgot pass?</a> </td> </tr> <tr> <td><input name="textfield2" type="text" class="style-01" value="password"></td> <td><a href="#" class="link-02">Not registered?</a> </td> </tr> </table> </form></td> <td><img src="images/spacer.gif" alt="" width="1" height="1"></td> </tr> <tr> <td colspan="3"><a href="#"><img src="images/a027.jpg" alt="" width="180" height="15" border="0"></a></td> </tr> </table></td> </tr> </table></td> </body>
</html>
Does anybody know what values I would put in the form to send the correct login to AspProtect. And, if I would have to add any extra includes or code to it.
TIA  , Hi,
ok, I am a bit confused... you make it sound like as if you are running a different version than you were when you ordered this a couple/few weeks back... that confuses me because you were able to log in to the admin area of aspprotect.net before? weren't you ?
there have been no changes to the download or the version in quite some time ?
I guess I need more information to make any sort of guess at this point. I do not know enough., Hello,
for an admin.. you view albums for a user.. make a new album... then click manage pictures
for a regular user you log in.. go to user user area.. create an album..then click on manage your albums , Because employees and sales reps might leave or go to work at competitors without our knowledge and we can't have them get an perm account so we need to implement some sort of expiry and then review their account with them., ok , I am in process of upgrading from v6 to v7. I have made database changes, can connect to database and get in to Administration area just fine. However when I go to create a new user I get the following error
ADODB.Recordset error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name or ordinal.
/password_admin/save.asp, line 227
Thanks
, thanks.. it was not taken as a complaint. I just wanted to explain
When you said you tried using the web version of sql manager. Did you use the microsoft one I link to here "just curious"
http://support.cjwsoft.com/code/moreinfo127-1.htm
, Great Thank you!
As of thus far the program is working rather nicely.
I am very impressed :) , Hi, I haven't heard anything from you.
Has this issue been resolved ?
Thanks , I purchased and installed the full version ASPProtect 6.0 in Feb 05 (must have been just before 7.0 came out) and have been using CDONTS for email authorization during the registration process.
It was working fine for about three months. Now, after registering, the email authorization is NOT delivered to the new registrant. There are no error messages.It just doesn't arrive.
Any thoughts on the subject would be appreciated.
, So do I just replace the four folders that came with aspprotect with the four (in my case domain directory) folders in the patch or just move the files?, Turn off "Show Friendly HTTP error messages" If you are getting errors with your ASP application go to Internet Explorer and make sure this setting is unchecked. Having this checked can cause a generic error to be displayed in you web browser when ASP code encounters an error. This generic error message doesn't really help you fix the problem. Having this setting unchecked will usually result in a more detailed error message and the line number the error is occurring at, thus giving you a good clue as to where the problem is within the ASP code. If detailed ASP error messages have been disabled at the server level this setting will make no difference. cwilliams38084.7513773148, I need more details... telling me you cant get it to work doesn't give me much to go on , Need to clarify something..
Your talking about the page where a new user registers right ? Your not talking about adding a new user from the admin area ?
Either way under no circumstances do I see anything like you are saying happening nor has any other ASPProtect user ever mentioned this probem.
I am going to need to see your site and see this happening. It just makes no sense the way you are describing it.
Also. did you edit the registration page code in any way. If so please revert back to an original copy to ensure this is not some sort of problem introduced by editing the code. cwilliams38164.8115046296, Well, you cant have a login box on the home page when using ASPProtect.NET.. there is no way to make that work. I tried all day to come up with something and it is not going to happen. I suggest you make a login button and link it directly to the protected page you want them to start on. The redirect or link them whereever from there. Either that or write your own forms based authentication solution that works exactly the way you want it to or edit the code accordingly since you have the source. It is not a feature we advertise for the product regardless. It works the way it works. , Christopher
Thanks for a speedy reply. This is what I have used most recently...
ListingsConnectionString = "DSN=longreach;UID=lradmin;PWD=skipper;" DatabaseType = "SQL"
but that throws an error of:
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
I have private messaged you my SQL server IP address. I am a fast learner with ASP (I think!) but some things really catch me out! , O.K. , I register myself as a user. No problem, Iget an e-mail saying account active. No problem. I click the link in the e-mail. No problem. I click sign in and get this message. Big problem!!
Microsoft VBScript compilation error '800a0411'
Name redefined
/aspprotect/config_inc.asp, line 15 Dim Address_Required,CDONTS_Installed,City_Required,Registration _Type,VerifyURL,Log_Off_Page ----^ cwilliams38456.0969444444, I sent you a PM, i was only kidding!! , Excellent.
Payment now taken in £.
Pasted <input type="hidden" name="currency_code" value="GDP"> into
paypal_signup/paypal2.asp
Thanks Folks.
, I think you may be using old code where that was an issue... I am going to PM you the latest version..
to be safe upgrade all the ASP files except the dataconn_inc.asp files and your config_inc.asp files
"be real careful not to lose your current encryption keys in the "config_inc.asp" file or you will be in real trouble
You can use your existing database
,
Timecard Entry: 3/25/2006 1:41:50 PM
meet with howard about work order system, billing spreadsheet, switchboard, billing calls, Had a talk with Paul, TICC,HB, CONSOLIDATED, Meet With Donald, Contacting Network Services, Cortel, e-mail, voice mail. , lunch, researched credit card verify/e-commerce products, teched calls - slow, spoke to Mike Looney of Pepsi to inform him his replacement router was in and that I would be installing it tonight, Travel to Watn., researching backup software options. , RNB and POSI Plus, Checking emails, with Fred about 401k back to GiSCO, dropped off the CREG van and called verizon about a ticket. , lunch, Checking out link Paul sent as model for the "McGiSCO" website approach. Also researching company Mascots., Setting up office and other software on my computer. Monitoring and maintinence software., Normal calls concerning our software and installing setup of DUN., Working on the display of Units and components to properly line up using a loop. Took out the Base Units feature and changed it to package. Added some Javascript features to hold the data when someone clicks back. , dead! not much of anything, trying to keep my wits about me, yet failing miserably, Drive back to Clayton (50 miles), billing, client e-mail, lunch, Printing & alphabetizing invoices & statements, Watertown to Clayton, Helping Matt locate and fix error in his project., write Purchase order, download install Flash 4, entered bills , matching receipts for Capital One and entered the bill, filed bills, Network solution letter, reviewed Lisa billing and what Michele sent from Beth-both had already been billed,
|