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

Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds



Blog Entry: 3/25/2006 4:32:30 PM

no the "expected path" is something that gets generated for you if you have parent paths enabled. to help you fill things in correctly...

basically if parent paths are enabled it shows you what the path should be for each path field on the settings page... if parent paths are disabled there will be nothing to the right of expected path for technical reasons (lack of being able to do a "../../" to figure out the paths more or less)

in that case there is a file called "expected_paths" in the data folder that you can run to tell you the expected path info
,

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.

  • ,



    Larry,

    I have a new computer up and running and am back on the Internet full time. I am here to help when you are ready to continue with this.

    I went to your site to look around and "try it" like you mentioned but I can not really try anything as the admin username/password seems to be something other than the default

    ,

    humm, those are some very big images to be starting off with but I am not sure that would cause a problem under the importing scenario

    what width are you having the system resize them to ?

    What happens when you upload a image manually (one a t a time)

    Also, try the import process out with some pictures no bigger than say 1024 and lets see what happens

    ,

    do you have the smtp part of iis installed on your machine

    cdonts needs that

    then again I am not sure you can even use cdonts on a xp box without making some changes...

    cdonts has kinds died out and as of windows 2000 basically got replaces by cdosys

    ,

    Just got back 10 minutes ago..
    Missed plane yesterday because of traffic and the flight today was 3 hours plus 4 hours of driving

    The fact that you are using Server 2003 is not relevant. I am very familiar with it and all my sites run on it.

    The ASPNET account will be there by default once the .NET framework is installed. It won’t just show up in the list, you have to search for it like my article mentions.

    http://www.powerasp.com/content/new/windows_2003_server_and_ permissions.asp

    That error really means exactly what it says. You have to give that account permissions correctly. ,

    Really, only you or your hosting company would know that information...

    It is usally installed in the "_database" folder but the physical path including the drive letter  to that can only be known by asking your hosting company or by using server mappath to learn the path on you own.
    http://www.powerasp.com/content/hintstips/physical-path.asp

    That folder also needs special permissions. The permissions it needs are covered in the documentation for the software and generally only your hosting compnay can set those permissions.

    The online support forums here are full of information and resources on correctly setting up data connections. It is ASP 101 and something you really need to have an understanding of.

    I am happy to answer questions and try to help, but if you dont want to deal with it or can't we do offer installation services.

    http://www.cjwsoft.com/installation_service.asp

    , Have tried doing that but same error... ,

    The application automatically generates all the code for you for each method of calling banners. It does this on the zones screen.

    If you are using flash it also possible that the actualy flash file is what is causing things to slow up.

    It really all depends... it could also be server resource related

    using sql server or access.. ? etc etc

    all important details

    cwilliams38362.6615972222, ok, I got it all sorted out for you and aspupload seems to be working now.

    Basically they seem to have an odd version of it installed and I had to tweak the code a little. I also uploaded the server info page in the admin area to test for it.

    Just back up the gallery folder so you have a backup copy of the modified code.

    CJW , Hello,

    While there is no option in the admin area / asp code we give you here is what I can tell you.

    You have the source code and we also use an open database structure. (MSAccess or MSSQL) So that means you can really run any query you want on the database whether with ASP code or directly in your database.  You can even tie other systems and code into the database via OBDC and manipulate data. The sky is the limit.

    In MSSQL you can run queries in SQL enterprise manager or query analyzer. Using Access you can run queries in query view.

    It's really not that hard if you do some research on SQL Statements and how to use them. You can do some very powerful queries and save yourself a lot of time. ,

    It a generic error that means something is wrong with your data connection.

    http://support.cjwsoft.com/code/moreinfo27-1.htm

    http://support.cjwsoft.com/code/moreinfo136-1.htm

     

     

    , Also, I notice you are using iframes to load the banners. That is probably your issue more than anything. That browser probably does not handle them well.

    Possibly try other methods of displaying the banners and see what happens. The XML parser is usually one the best methods to try as it will output just your banner code straight into your html. ,

    Thanks very much for the quick reply.

    That sets my mind at ease

    I was just worried if users would see warnings in their firewall software too.

    I realize that the admin would have to have to go through some errors...

    And since we are throwing things in here... Definately, if you have your own server you need a Hardware Firewall and a Managed one at that. The internet can be pretty dangerous for business if you don't.

    Plus, I agree Black Ice although in it's heyday a few years ago was considered great. It is not suitable for todays standards alone even for the normal user (But, it is required by the company I work with for VPN. I think it's stupid too using old technology. I have 2 more firewalls setup besides that just so that I do have some security. And, that's just for my PC)...

    Thanks 

    ,

    I have set up a user to be redirected to a different page when logging in for the first time.

    I assumed this function would count the number of times a user has logged in. When the login count was greater than 1, the user would be taken to the default.asp 

    This isn't happening. The user is always redirected.  The user login count in the database is now 9.

    What am I missing?

     

    ,

    Your going to have a lot of problems and a lot of the code will have to be re-written.

    There are a lot of things in the the code that the MYSQL database system does not support or has issues with . I know because I once made a version of ASPBanner work with MYSQL and it took weeks of work to get it stable.

    Null field types can cause problems... but mostly ADO updates which I don't think MYSQL supports at all. All of the ADO stuff would have have to be rewritten.. etc etc

    That's probably why you cant get much of the code to write to the database.


    Here is a generic example.

    An update to an existing record using ADO
    http://www.powerasp.com/content/database/ado_update.asp

    And update to an existing record using an update query.
    http://www.powerasp.com/content/database/using_update.asp

    All through the the code the ADO updates would have to converted to update queries which means a lot of work.

    I used ADO a lot because I like it and it is little easier to validate data before it is written to the database.

    It is also a little easier for customers to understand when they look at the code.


    Anyway....

    The app just was not designed to work with MYSQL.
    It was specifically designed to work with MSSQL and MSACCESS only.

    This holds true for all of our applications.

    Your running off an IIS 5 Server so I would suggest just using MSACCESS as the database. The Photo Gallery app will run very well using MSACCESS. 

    ,

    Post a request in the "custom code work" forum.
    Perhaps another customer will want to do the work or help you out with some code.

    I am just too busy to do any custom work for quite a while.

     

    ,

    Hello,

    Sorry
    No, there is not.

    not the way the code ships.. The program keeps tracks of everything by the way it ranames files. The system has been tested to work well with as many as 10,000 images files. Any more than that and you need something a little more serious meant for that amount of images.

    You could certainly modify it do work that way if you are good with source code. There are actually as many drawbacks as doing doing it that way as there are advantages.
    Take Care

     

    ,

    Chris,

    2Checkout.com has added to their required cart parameters:

    https://www.2checkout.com/documentation/newparameters.html

    Do you have a version of 2checkout2.asp that will support these?

    Thanks,

    Nick

    ,

    Nobody ever asked me, so i guess npegley sorted it.

    The solution is indeed a single line added to your button form code ..

    eg :

    <input type='hidden' name='return' value='http://www.your-return-url/here.asp'>

    This will overwrite any settings you have in your paypal preferences.

    I posted this reply for anyone stumbling on here with the same problem. Hope it helps. :)

    Dave.

    , Do what it says so you can see the real error and then post that information here. It could be anything from incorrect permissions to whatever.cwilliams38454.4272916667,

    Can I have the logon be in a top frame while having the protected pages displayed in a main frame?

    Using frames with forms based authentication is not the best thing to be doing. Your much better off not using frames and using includes files to do a virtual frames sort of thing (search google) but if you are going to use frames I would suggest password protecting the frameset page as well as any pages it contains.

    If you want to have a login form in a non protected top frame all the time.. that posts to a lower frame that is password protected.. you would do this
    http://support.cjwsoft.com/code/moreinfo169-1.htm
    but change the target of the form to one of your frames

    personally though I think that would be a somewhat goofy setup to have going on


    Also, how will it behave if a user moves in between a protected page to a public page and back to the protected page again?

    As long as they have cookies enabled which is required for session variables to work... then you will have no issues because once they come back to a page they have permission to they will just be allowed in without login.. at least while that session is still active.. or for a longer time if they choose the remeber me option which keeps track of them with a cookie
    .

    Really, the best thing to do is expirment and see how things behave.

     

    ,

    I think I've found the problem..

    The password "abcdefgh" works

    The password "abcdefghi" does not

    (username "ace45")

    Passwords can obviously only contain up to and including 8 characters... By some coincidence I only used short passwords with MS Access.

     

    , Chris,

    I'm setting up the subscription locally so I can't test it out until I put the site live.  I have a question in how the paypal subscription works.

    1. What is telling paypal to return the info to the ipn.asp page for processing?  Is that something I have to set up in my paypal account?

    2. I'd like to use Paypal's auto return.  I assume the return page would be  ipn.asp?  Would I just need to add a redirect  to the login page at the end of the appropriate txn_type if/then statement?

    Thanks,
    Michelle

    P.S. I did finish the integration of the webwizforum with ASPProtect.  Thanks for the great headstart on that!  Will be putting everything live in a couple weeks.


    , its that server, it's way underpowered when it comes to running dynamic code and databases.. and that other app is probably stealing all the leftover odbc resources..... did you try doing the import on another machine running ASP? Thats the way to go.. I am afraid I won't be much help at the moment.. I am battling with a crashed system and a lot of lost data,

    I do not think it it anything to do with the Application.

    You most likely have some sort of ad blocking software that is doing it.

    It is seeing the word "banner" or "ad" and blocking the images in your browser.

    I doubt it is anything built into xp doing it. XP with SP2 has built in pop-up blockers but no ad blockers like that really. It is norton ad blocker or something of that nature.

    ,

    Are you reffering to the number of the left of the users name in admin.

    I thought it was a counter at first but that number only displays the number of albums they have set up.

    ,

    I am not sure totally understand your question.
    I need you to explain it differently.

    Any ".asp" page that is protected is going to automatically prompt them for a login box or log them in automatically depending on if they set that option.. In the end returning them to that same page.

    So, it really all takes care of itself for the most part.. It doesn't even matter if the bookmark a protected page deep in your site. The system is smart enough to keep them at that page as well as handle their access.

    Now of course if they are at an unprotected page of your site and navigate to a protected page they get a loin prompt or are allowed in if they already logged in...

    Also.. when you say unprotected page ? do you mean ".htm" or ".asp"

    cwilliams38298.6571759259, The folder named Pictures permissions are set to your specs.  It has jpg's that were uploaded per the aspphotogal instructions.  But, the error message still appears and I am unable to access using aspphotogal.,

    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

    ,

    Got it working.  Embarrassed  Had purchased a long time ago and forgot about needing to run the userreg.exe.  All is well and thanks for the follow up.

    Lance

    ,

    I am still a little confused... one thing I would like to mention is that the passwords in the aspprotect database are encrypted... meaning you cant just add a password to the user database by hand because it wont be the encrypted value and wont work.

    It is something the application takes care of when you add a user via the web based interface.

    You can however still add users manaully or with careful import/exporting... but you will have to use the existing password conversion technique which is covered at the end of our upgrade instructions in these forums.
    http://support.cjwsoft.com/code/moreinfo174-1.htm

    Basically you want to add a field to the "ASPP_Users" table called "Old_Password" and that is where you enter the password in plain text. Then after you are finished adding users to the database manually you do this.

    You want to run a special page via the browser.

    http://www.mysite.com/password_admin/convert_to_encrypted.asp


    Which will convert the passwords to the encrypted value for you.
    See the bottom of this thread for all the info on that.
    http://support.cjwsoft.com/code/moreinfo174-1.htm

    , actually, passwords can be up to 75 characters long in ASPProtect.
    the only requirement when entered from a non admin user is that they are at least 4 characters long.

    what does MSAccess have to do with this ? Are you trying to convert and old system or something? I noticed you created and "old password" field in there ? Is there something I do not know about as far as what you are trying to do?

    Passwords in version 7 are encrypted so I hope you understand all of that and realize you can not enter or change passwords right from SQL server. Also if you import info you must handle that accordingly and convert the passwords to encrypted format for the new version.,

    ADODB.Recordset error '800a0cc1'

    Item cannot be found in the collection corresponding to the requested name or ordinal.

    /aspprotect/password_admin/default.asp, line 287

    I'm doing an upgrade from an OOOOOOOOOOLD version (not sure if it was 6 or not) and it read my database OK prior to adding a new user. Now I get this error message. I was able to run the password encryption function OK, but I still get this error when I try to view the password_admin stuff. I can log in via the "get_me_in" asp page just fine, but I get the above error.

    If I try to log in with my admin account, I get

    ADODB.Recordset error '800a0cc1'

    Item cannot be found in the collection corresponding to the requested name or ordinal.

    /aspprotect/password_admin/check_admin_inc.asp, line 166

    *****

    OK, my question is this... if I retype all the info from the old DB into a brand new one, never before used, that would work, right? I only have 108 users, so that's about an hour of work. Or is there a 5-minute fix that I can try? I've done some messing around that got nowhere and returned all edited files to their original state, with the exceptions of the ones calling the DB location.

    I'll start the C&P process and await your reply...

    On a side note, I really love the new format and am excited about the new features. I'm not married to upgrading the DB and if copy and paste is faster (I just need first name, last name, username, password, email, and expiration date), then I'm using v.7 that much faster.

    cwilliams38457.6090509259,

    Chris, if there is no way to change this, I understand. I just though maybe it might be possible and I can't find out if i don't ask.

    Thanks Chris.

    Let me know.

    -john

     

    , I really can not support it because you made that modification and it probably directly relates to the issue your having.

    There are many issues that can be caused when dealing with encryption. Sometimes the encrpted passwords can end up with problematic characters. etc etc Maybe the users are changing there passwords to ones that do that... after you fix them.. Its hard to say

    I know as I had to sort things like out when I designed version 7 which has built in encrpytion.

    It could be anything really.. since you made changes like you sorta need to figure out what is backfiring. There has to be a reason.

    Chris , Well my hosting company has finally gotten back with me, so I'm having them troubleshoot the webserver to see what might be eating up those resources.  So I'm in a holding pattern on this for right now.,

    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 have been told it does as I got about 5 people or so who upgraded but I have not used SQL 2005 yet. I'll order a copy.,

    I had not rebooted after installing the Jet driver updates, so I tried that and the asptest page worked fine, and said that all the tests were successful and that the data connection was setup correctly. I then installed aspprotect again, but with the same results. I cannot log-in from the get_me_in.asp page. It still says that it is opening the page, but does not respons for an indefinite period. The asptest page is in the same directory.

    I have looked for alternate databases for this product on your site, but I cannot seem to find them.

    ,


    Timecard Entry: 3/25/2006 4:32:30 PM

    answered calls, checked rad log, email, and online reports, and called expiring users., evening team meeting, Testing al data entry forms & fixing bugs in form validation code., downloading and burning redhat 6.2 cd...also kicking compaq...., Email/Voice Mail, On phone w/Jacki at Lafargeville, printing gisco online posters, printing channel partners flyers, Copied all of the spids from the netservers in watertown to a word file for andy to find a problem with 8940., training with ben , sales and marketing meeting, Manning NOC. Watching network. Checking e-mail. Checking voice mail. Finishing a streaming station for Z93., Had Elaine call Ziplink. Nate pinged their CO DNS number and it timed out. Doug called and got new DNS number, called our customer, changed his settings, and he is squared away now., Did the expiring user list for the day, and took calls., Meeting with Nichols Grocery Store/information about web site pricing & information, Emails, E-mail, Doing expired accounts and checking over other items to make sure they are taken care of, Mgrs Mtg, paperwork, prepare for NYAB, Answered tech related calls., jrecks , Amy - Discussing shipping charges for Heritage Cheese. ''For Rent'' admin for Alexbay.Com, Ray cook- whisperingwind - resgiert three doamin name/ l;ink to current web site/ wouldlike to put pages , SCHOLASTIC STRUCTURES - rebuilding web site to fit on printed sheet of paper, The Work place- need proosla fosend softpublication instructions, Switchboard, brief billing calls, Daily routine, TICC A/P entry and bill paying, Budget report - revised entire month to actual, On phone w/Bill Shumway from North Country now. Discussing Mac IE problems, ordering of the banner ads on each page, new links section, image resizing, and the possibly automaticly detecting links in text submissions.,

       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 help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free 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