Home | Advertising Info106 USERS CURRENTLY ONLINE   
PowerASP
   Site Search Contact Us Friday, March 14, 2025  

Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds



Blog Entry: 3/25/2006 4:23:54 PM

[QUOTE=cwilliams]Humm, Did you make any changes to the code ?
Solid Black is not the default so it must have changed at least once.[/quote]

I did change the top_logo.gif and the associated link. That was on the default page not the Solid Black skin which is unchanged. After downloading/uploading the skins I tried changing it to one of the Beach skins and that's when it changed to Solid Black and has been stuck there ever since.

[quote]Otherwise it might be some sort of application variable problem.
I would make sure the web is and "application" in the IIS console.[/quote]I don't have access to the Microsoft IIS console as this is a host site. I can access the site's "control panel" but it does allow for those type of settings. Mostly just permissions, DSN entries, etc.

Thanks.
Al

,

ok...

you got problems if you cant import a file created by the system..

You using SQL or MSACCESS and do any of the users data have apostraphes in it ?

,



The login page sends the user to redirect.asp (which is as follows)

<%@ LANGUAGE="VBSCRIPT" %>
<!--#INCLUDE FILE="check_user_inc.asp"-->
 
<%
If InStr(Session("Groups"),"*1*") Then
    Response.Redirect("gp01.asp")
End If
%>

<%
If InStr(Session("Groups"),"*2*") Then
    Response.Redirect("gp02.asp")
End If
%>

 

I am not being redirected to gp02.asp if I am a member of group2.  Also, we wish users who are part of group 2 and 3 to go to a different page (ie. gp2-3.asp)

Thanks in advance.

,

More Info in Case Anyone is Interested:

This bug was mentioned by a couple people. The cause of it was never really understood until I recently re-wrote some of the banner code for an upcoming version.

The fix for this bug was very simple. It was just one of those weird situations where code should have worked but did not. I added some code to do it a bit differently and it worked as it should have..

It really still makes no sense to me why it didnt work the way it was, but at least there is a fix.

 

cwilliams38203.5883680556,

Microsoft has a free version of SQL server 2000 than you can run on a development machine.


http://www.microsoft.com/downloads/details.aspx?FamilyID=413 744d1-a0bc-479f-bafa-e4b278eb9147&DisplayLang=en

This is really the same thing as the MSDN version of SQL server that comes with Visual Studio

It is limited in two ways.

  • No single database can exceed 2 gigabytes in size. However, each Desktop Engine server instance can contain many databases, each of which can be up to 2 gigabytes in size. Each computer can host up to sixteen instances of Desktop Engine.

  • Performance will rapidly decline when more than five simultaneous users use the database engine at the same time. With five users or less Desktop Engine will operate with full SQL Server speed.

    After you install this your going to need a way to connect to your sql server as well as a way to run queires on it.

    I suggest either install the client tools off any SQL 2000 Installation Disc (giving you enterprise manager and query manager)

    or use the FREE SQL Server Web Data Administrator which will do amost everything you  will need to do. It is really very slick
    http://support.cjwsoft.com/forum/forum_posts.asp?TID=127& ; ; ;PN=1

    Then you have a pretty sweet setup for testing and developing locally using SQL server.

    If you are wondering why someone with a real SQL Server 2000 cd wouldn't just install the real SQL server locally it is because the server part will usually not install on XP Pro or non server versions of windows for licensing reasons. (at least every SQL 2000 CD I have is like that regardless of whether it is standard or enterprise) But the client side tools on the cd are invaluable so I just install the Desktop Version of SQL along with the client side tools and everything works great.

  • , Lastly, I put there information here to help, but please don't ask me any questions about it.

    I am not microsoft SQL server support. If this doesn't work for you simply start troubleshooting and doing google searches like I do. ,

    Not really sure how to do this.... i think you know what i am looking to do.. is there anyway you can show me or create that solution for me? It would prob. take you minutes as its been taking me hours

    , 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., If you are developing using Windows 2003 Server and running the NTFS file system setting proper permissions on a folder in your website is done like so.

    using "my computer" browse to the folder in your web that you need to set permissions on.

    Right click on that folder and then choose the "security" tab.

    Give the "Internet Guest Account" Modify Permissions
    This will check all the boxes under modify as well.

    You can also give permissions to the everyone account and accomplish the same thing.



    Other things to note:

    If you are using ASP.NET you need to give permissions to an account called ASPNET. It wont show up in the user list. You'll need to click "add" and then type in "ASPNET"

    In some cases you may want to go into the advanced tab and check both checkboxes shown in order to make sure the permissions you need get set. It really all depends on the situation.


    cwilliams38342.7343981481, Oh snap. Tried the blank database and got the same errors. Fixed THE FILE PATHS to conform to the AspProtect 7 setup, and it worked like a champ. I still need to copy and paste the info, but it's working just fine with the ones I add manually.

    Moral of the story: FOLLOW INSTRUCTIONS TO THE LETTER.
    ,

    [QUOTE=cwilliams]
    Is that a real term or just something you named it cause they have like a zillion people using that SQL server?[/QUOTE]

    yeah thats it, you buy into a part of the sql server so it's an sql server hotel...

    ,

    Is there a simple way to upgrade from 7.x Lite to 7.x Full?  I was testing out the software and I just purchased it.  I have made some look and feel changes to the lite version (ie: login page), but no look and feel changes to the admin section.  Is there certian files that I can add to have the full version without shorting myself features or functionalbity? 

    Thanks

    , sounds like trouble with the SQL database.

    Did you create it using the SQL scripts we provide as that is extremely important ? ,

    Well, thats not normal.
    (it should work just like our online demo does)

    Do you have everything turned on in the settings ?

    Uploading needs to be enabled and you also have to pick a valid upload method.

    , Just checked XML Parsing with your file. Got a clean bill of health on that: It's working.

    Got the right code for the location of the ipn.asp in my paypal1.asp, from http:// all the way to .asp.

    I think since everything is set up properly from the looks of things, I'll wait and see. If I get another one who flubs things, then I'll start the testing of the account. But if it goes through just fine, then maybe the Internet just hiccoughed on the first guy... thanks again!


    ,

    If you have an album with more than 96 pictures, the spacing in the tables can become incorrect, with pictures touching each other. (This program is not designed to handle more than 96 pictures due to server speed, but it can handle more than 96 with minor changes to the code.) Also, after 96 pictures, the pictures will not have 6 on a line, but rather 6 on a line up to 96 pictures and then the rest of the pictures on one line next to each other extending to the right of the screen endlessly. To fix this, I simply edited the ASP code using the following loop. It can be a perminent fix, because I used the maxpicsperalbum variable to define the spacing.

    <%
    Dim SixInterval
    For SixInterval = 2 to maxpicsperalbum
     SixInterval = SixInterval + 5
    %>
     <% If PicIndex = SixInterval THEN %> 
      </tr>
      <tr>
     <% End If %>
    <% Next %>


    Then, the following code must be commented out:

    <% If PicIndex = 6 or PicIndex = 12 or PicIndex = 18 or PicIndex = 24 or PicIndex = 30 or PicIndex = 36 or PicIndex = 42 or PicIndex = 48 or PicIndex = 54 or PicIndex = 60 or PicIndex = 66 or PicIndex = 72 or PicIndex = 78 or PicIndex = 84 or PicIndex = 90 or PicIndex = 96 Then %>
     </tr>
     <tr>
    <% End If %>

    This code can be found in scripts/view_album_style*STYLE NUMBER*_inc.asp . (STYLE NUMBER depending on which style you are using (found in config file))

    This change in code will enter a new table row after each 6th picture. You can have more or less than 6 pictures per line depending on the width of your files and preference by changing  changing the number 5 in this line of code: SixInterval = SixInterval + 5

    If you have any questions, JPortnoy@Checkernet.com

     

    jamapor38210.5987384259, It is most likely because they have something running like Norton Ad Blocker.

    Or something of that nature that blocks anything with certain words in it like "ad"

    They are running something that is doing it.cwilliams38450.0079282407,

    Hi there,

    Just bought ASPProtect 7.0 last week and just got around to installing it. I've gotten through the installation and am now trying to test the (Forgot Password) functionality.

    I get the following error when I type in the e-mail (or in some cases the username) and Post the form. 

    Error was [11004] Valid name, no data record of requested type

    I know that the add user functionality is pointing to the correct database (I see the additional rows via SQL Enterprise Manager) and that the e-mail address I am looking for is in the SQL database. 

    Any ideas? Any other information you need?

    Thanks,
    Toni


    , from the import page in the admin area.

    The import/export file must be tab delimited with no text qualifiers. The 1st row containing field names and the following each being a new user. To create your own import file it must be in this exact format. To find out what field names and their order are simply create an export file using ASPProtect and take a look at it. You can also import that text file into MSACCESS. ,

    I just did a quick google search... found a ton of info on how to find the setting. Here is one...



    These are directions for IIS6 but the process is similar for IIS4-5

    1. Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
    2. Double-click your computer name in the left pane, and then double-click Web Sites.
    3. Locate the Web site and directory that houses the ASP application.
    4. Right-click the application site or directory, and then click Properties.
    5. Select Home Directory, and then click Configuration.
    6. Click Options, and then click to select the Enable Parent Paths check box.
    7. Click OK two times.
    cwilliams38148.5822453704,

    Glad it is working.. for anyone reading this the customer bascially did this
    http://support.cjwsoft.com/forum/forum_posts.asp?TID=36& PN=1

    That being said asp photo gallery actually has a few more places that send email that you going to need to modify as well. Off hand the reply to album, admin massemail, admin send email,and postcard features come to mind possibly as 3 of them.

    using a multiple file search and replace utility like ReplaceEm would be the easy way to do all of this in one step and find all the instances

    http://www.orbit.org/replace/

     

     

    cwilliams38420.4424537037,
    That's excellent!
     
    I did learn that parent paths were disabled on my test 2003 server...
     
    But on the hosted server, it looks like parent paths are supported as I change the file location of the language file in the forum common.asp as such, and obviously moved the file as well:
     
    from:
    <!--#include file="language_files/language_file_inc.asp" -->
    to:
    <!--#include file="../language_file_inc.asp" -->
     
    Everything seems to work fine and I thank you very much for you quick response!!!
     
    Ok, time to buy...thanks again!
     
    - Jason
     
    ,

    Whein I went by the numbers off of your directions, which work well up to that point, the import would time out.

    At that point I tried to import directly into access...and then it hung trying to login.

    okay so I've put in a clean database and created a new record for me as admin.

    , Makes sense to me. I used the  ASPProtect_access2002.mdb supplied. (I am using 2003).  Only added more names and other personal info to it for test. Uploaded the amended db with FTP.  This did not restrict someone not listed in db from logging in.

    Would each individuals' information need to be added to the code in order to have it check the database first to find out if the person is authorized to view?

    Part of the problem is I dont know which ASP page or script links the db to the rest of the web, or how one page relates or links to the other. 

    Sometimes I wonder if problems I encounter originate with the server.

    Thanks for patience.


    ,

    again I will ask you what is the real error??

    see the link above when I asked you the 1st time.
    (I need the error details and line number.. etc etc)

    and what kind of a server are you trying to run it on ?
    you mention xp pro but in a confusing way ?

    , that is good news... good guess on my part I guess

    anyway, try this for your latest issue.

    http://support.cjwsoft.com/code/code_info.asp?TID=340&KW =%2D1,

    UPDATE

    Version 8.1 has code generators for these new methods built in...

    , Oh also, I tried to run the asp on my machine (win XP) and unless I'm missing something fairly obvious, I cannot get it to run correctly...when previewing it, I see all the code instead of what I should be seeing.,

    Hello:

     

    When using the Mass Mail feature and selecting the Users to ‘Active’ and the Access Level I want to send to the system will still send e-mails to the ‘Inactive’ users from the same Access Level.

     

    In other words it sends to everyone in the Access Level regardless if you choose “Active” only.

     

    Any ideas to correct?

     

    Thanks,

    -Ricardo

    ,

    My ISP uses ASPSmartMail. The email confirmation works except when I try to register an AOL user the server returns an error 500.

     

    ,

    Chris,

    I've given the IUSR account modify access for the aspprotect folder.

    In the ODBC manager module on the webserver I've taken out the aspprotect access driver option.

    The dataconn_inc.asp line reads as

    ConnectionString = "DBQ=D:\missourirealtor.org\members\aspprotect\data\database \ASPProtect_access2002.mdb;Driver={Microsoft Access Driver (*.mdb)};UID=Admin;Password=temp"

    Now this should make it DNS-less correct? with the permissions set properly?

    I've also taken out the password on the access database.

    The original database of users I had was an access database from a different program called spooky login.  I exported them into a tab delimited file and changed the column headings to match those in aspprotect exactly.  Actually access would not let me import them in the databases without them being exact.

    I imported that information directly using access's import options.  I tried the import/export manager in aspprotect but kept timing out as well.


     

    ,

    Christopher

    Many Thanks

    Seems like its working just got to test it bit to see, though it wasnt going to work as I had one too many End If's after the last part of the code you done for me. But even I eventually sussed it, nothing to do with your bit just another mistake on my part

    Great to get support like this especially on a Saturday

    regards

    John

    ,

    I have one file called asplistings.sql but I have license for ASPListings_auto and ASPListings_real_estate.  I really want to use the SQL server for both.  Please advise how?

    Thank you.
    Lance

    ,

    Update..

    I have support for the ibulc image uploading client working.

    http://www.ibulc.com/

    There is also an option in asp photo gallery pro to store the images original filename in the description field which is pretty cool.

    Ibulc client bulk upload support currently only works with the pure vbscript upload or the safileup component. (I may support the other two components asp photo gallery can use but it really depends on time) The pure vbscript upload code I am using for this is much better than the code I was using before so that method should be offer decent performance for anyone though using a component is always better.

    I still have to add the ibulc feature to the users side. It currently all only works for an admin user.

    The whole process is very cool. You install the ibulc client on you computer. It's tiny, and free for uploading up to 10 (100kb) pictures at once. You have to by a domain license from them to do more than 10. Anyway.. it lets you select multiple pictures off your hard drive and it then uploads them all at once with individual progress info for each picture. Its really cool and since it really treats each picture as an individual upload it doesn't hammer the server with one big upload at once.

    I also made it so you can start the picture uploads at any picture number.
    So if you already have pictures in an album you can add more without losing what is already there.

    This was one of the main features of the new version and now that it is working hopefully I can tie up any loose ends and get the new version out soon.

    cwilliams38327.5488541667,

    Can you incorporate a secure log in within the scripting.  I would like the account information to be secure without having to have the whole site using running through a secure (https://) path.  If this is possible, the scripting is perfect!

    ,

    maybe this is the issue...

    do you realize that the descriptive name you give a group is not always going to be the same ID in the database ? The two are not related.

    Perhaps what you named Group 1 is really group ID 3

    You can tell for sure by generating protection code for group 1 and see what ID it tells you to use..



    You also need to remember that you are testing this with different users and it is really easy to get confused so you need specifically log off using the log off page to ensure session info from the previous login doesn't show up and cause confusion when you log in with a different user... etc etc

    in addition to logging off that way you may also want clear the session and application info via the code at the bottom of my article
    http://www.powerasp.com/content/new/displaying-session-and-a pplication-variables.asp

    and do that in between any user you log in as

    ,

    I have activated both activity and log files. The directories exist on my server and don't give any errors.

    When I check the activity tab, some times there are a number of items in it.  Other times, there is only my login info.  From what I can see, it is supposed to show the last 50 items of activity at all times.  Am I missing something?

    Also, when I click on the log file tab, there is no file or information to see.  Is there something I need to do beyond activating it in the settings area and making sure the directory has write permissions?

    Thanks.

    ,

    ASPProtect and PayPal are fully automated and ready to go.
    Accounts will automatically get activated after payment.

    We actually do not tell you to put nothing in the PayPal system for the IPN URL. Something has to be there or PayPal will not let you enable IPN. We actually tell you in you PayPal settings to turn on IPN and make up an IPN url because something has to go there. (I think we suggested making a blank asp page on you're site to send it to) It really doesn't matter where you send that but it might as well be a valid page on your site to avoid any 404 errors in your logs when a non ASPProtect payment comes in.

    You see, we dont set that IPN url set in the PayPal system because each ASPProtect signup script directory (single payment and subcription) uses it own IPN url and that all gets set on the fly by the aspprotect system. There is a way to overide the defaul IPN url is what I am saying.

    Also:
    A  lot of people already have something there and we didn't want the ASPProtect system to interfere with things they already had going on.

    cwilliams38421.530787037,

    I'll give it a shot loading it on the laptop and publishing it, if it doesn't work I'll let you know and you can take a look at it tomorrow afternoon.  Thanks for all the help tonight...

    Good luck pouring that concrete!

    ,

    That was wrong of me but not what I meant. It seems as soon as I purchase something like this it doesn't work right and it can't be altered to work with what I have. The support ends up sucking or being none. Listen I’ve gone thru you're product and it's wonderful and does exactly what you say it does so that's a relief. Sorry about my ignorance with .NET but I’m from an ASP world and it's a lot different. You can see what I’m trying to protect here http://www.hotmixxent.com:8087/default.aspx. The final site after testing will be http://mxais.sfmx.org/default.aspx. Again thanks for the support on Christmas Sunday, that’s defiantly beyond the call and I appreciate it a lot.

    ,


    Timecard Entry: 3/25/2006 4:23:54 PM

    Cat Co DB conversion., Use 8 hours of vacation time please, Entering bills, moved furniture, vacuumed and steam cleaned carpet, to Watertown , installation of bits clock, Syracuse Business Fair, It was steady in the morning. , Took general tech calls, watched RADLOG and called expired users, Checked -ask Question and Checked voice mail., Board Mtg, Discovered that work request form isn't mailing notices as it should. Talked to Dave about problem, said he asked Randy/Ben for help. Emailed Amy and Lisa about it., Moving domains off ns2.imcnet.net to our servers., logins / imcdown, Jerry Eidem re: CyberShingle, DPEC, general billing, recp., switchboard, Emerald, tech support supervisor, helped techs, emonitor. calls to NOC, dial up issues, ask us a questions, voice mail, emails, qlight... new users, callbacks on expired users, steady night.. , phones, busy busy busy, Working on domains. Fixing problems with customer's access to domains., Checking out latest ASP Developors Magazine., Took a long call doing a total overhaul on his computer. Phones were quieter so that I could do this, met with jg, bc, cb and kv about vt seminar in february., Battching and answering phone, Sent follow up emails to Seth and Dave re: Whites , mandatory meeting about company finances, MBOs and direction, work on penguin server linux understanding it., All taken care of. Good job guys.....these were responded to very quickly, *24 Dollar Domains: add content and scripts sent by Mike Nelson, Fixes to NNYMLS DB & continued Warren conv., *EveryDayDad,

       Active Server Pages Rule The World
    Contact Us  
    All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
    Banner ads ,other site logos, etc are copyright of their respective companies.
    STATS Unless otherwise noted - All Rights Reserved.

    Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com