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

Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds



Blog Entry: 3/25/2006 4:46:11 PM

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

,

Your actually confusing me with the whole "joe bloe" thing and user access. I just do not get what you are trying to tell me. Perhaps you can explain in a less confusing way. Your just not technically explaining it andand thats what I need to know to possibly help.

As for the subweb thing you just can not do that. Subwebs have their own sets of application and session variables. An ASPProtect installation and any pages you protect with it are required to be in the same "application" in IIS. Sicne subwebs have their own "applications" in IIS that won't work. It is the nature of "forms based authentication" A sub web is alo considered by our licensing to be a seperate web site and ASPProtect is licensed per web site.

As for breaking pages.. you really shouldnt be editing any pages in the admin area as you will break them unles you are very good with ASP. (does not sound like you are..no offense meant at all)

Pages in the "users" folder are less complex and it is usually ok to edit them carefully.
http://www.powerasp.com/content/hintstips/common_sense.asp

Pages of your own that you password protect can still be edited in your usualy way though without effecting anything.

Truth is if you back things up before you start editing how can you go wrong ? That's how you learn.

,



ASPProtect version 6 does not officially support any sort of redirection or is it a feature.

You can however do redirection after login with some basic ASP if-else statements and ASP redirects. Basically you check the session variables after successful login and send users where based on that info. You of course also need to protect any pages you send users to and make sure any people that aren't supposed to go there do not go there directly and bypass your security.

I highly frown on Redirecting during login (In my opinion it is poor site design and it defeats the purpose of dynamic web pages, there is seldom a good reason to even need to do it if you design your site well) but you can check out this thread which should give you lots of good information.

http://support.cjwsoft.com/code/code_info.asp?TID=17&KW= redirect,

that's they way it should be done..

the only other thing would have been to test everything with sql before trying to import any data.. and make sure all was fine at that stage




more info on the errors would be helpful.

Id' also carefully visually compare the SQL tables and fields with the SQL scripts and make sure all field types and settings got set correctly.

Also, make sure the user accessign the database has datareader and datawriter permissions of course.

, you would have to edit the application in visual studio.net.. change some things around  and recompile the application... in the process figuring out how you want to handle all of that (probably combining the username and email fields just on the registration form then saving both values to the database)

very doable.. just not anything documented or supported as it is custimization

I do have a very  nice article on the forums on how to set up a project in visual studio.net with the application..  it is in the forums, it might.. I might be wrong though as I guess that could still be an issue with access not being able to keep up.. and then the xml parser just isnt getting the page it is requesting in time,

It appears there was a flag problem. When reading it into SQL Server, it converted the True/False in Access to 1/0 in SQL Server.

 

,
 
Thanks for the quick reply.
 
I will consider editing the code.
, Chris,

Well some good news! This from my hosting company this morning...

"
I'd say that the vendor is right so I've submitted a work order to
create the *****.com/aspnetprotect directory as an application.
If there are any other directories for which this needs to be done,
please let us know. This particular task always needs to be performed
by our staff.


If you need to follow up on this job with one of our on-line or phone
technicians, you can reference ticket id 11860.

With regards
"

Thanks for your help thus far

Andy
cwilliams38455.5654513889, Chris:

Quick question.  I'm currently using navigation style 1 which keeps everything within the 1 window.  I'd like to take the text descriptions and place them under the main photo when it is displayed.  Before i modify anything, I'd like to check if I'm in the right neighborhood first.  It looks like I need to:
    - modify the behaviour of the 'onmouseover' function in the file 'view_album_style_1.asp'
    - add in a few lines of code to take FixStr(UserArray1(PicIndex - 1),"PrepareForJavaScript"), put it into a text string and do a response.write under (or over) the photo in question.

Question Part 2 -- if i wanted to use the first line of the description as a title could I:
   - add in an input to the photo upload
   - concatenate the 2 strings together (title and description)
   - display the title under the thumbs
   - bold the display of the title over the large version of the image.

Pretty complicated questions, but I'm coming along nicely (IMHO).   Have a look at
   http://www.iphotosite.com/galleryapp/default.asp

I really like the progress that I've been able to make with this app without really spending a huge amount of time.

Kurt
, recently i've been getting a lot of unspecified errors.  i've been running aspbanner for about a year and a half now.  i don't know what would have caused all these problems.  also, for some reason it won't maintain my log-in, ever time i got from page to page or try to submit a form it asks me log-in again.

Jason S.
cwilliams38389.8791550926,

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.

  • ,

    right..

    I had to open up the permissions to get it to work.  I now have to go back and uncheck each one for directory listing.. :)

     

    ,

    The album ID thing is completely normal and by design. Once an ID in the database is used it can not be used again. That is how autonumber fields in a database work.

    As far as not being able to delete images... Are you by chance using ASP.NET to show dynamic thumbnails... Because if you are you must turn that feature off and wait 20 minutes or so (maybe more) before you will be able to delete any of the images. It is because the current version of the ASP.NET script used to make the thumbnails locks the images on the server temporarily anytime it creates a thumbnail.

    It is a known issue... and there is no fix at the moment other than what I told you above.

    cwilliams38324.744525463,

    Hello,

    Thank you for the feedback.

    I would like to point out the requirements of the application however as this is something I am aware of and do address.

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

    These requirments are directly linked to from the ASPProtect v7 web page, so its not like I dont try to tell people the deal regarding SQL server.

    Basically I only have the resources to provide scipts and instructions for using SQL Enterprise Manager and that is all I officially support. I also personally think anyone using a SQL Server should be using SQL Enterprise Manager because later on down the road there are things you may want to do such as backups/etc etc

    Take Care,

    Chris Williams
    www.CJWSoft.com

    ,

    If you can would you do it for a price as a mod or will this be added to the new version.

    , I do not what is going on at this time. It is not a known issue.
    If is is not working it would seem to be a problem with the application variables on the server possibly and your web.

    Perhaps try installing it on a local machine and see if it works for testing sake.

    Also.. if your stuck with the black skin you could always just edit the information in the that skins folder to get the app looking the way you want.

    That and the header and footer files that comes with the app are what control the look of the system.
    cwilliams38294.5880208333,

    Thanks

    It wasn't a complaint. I just bought it last night and installed it today. But, I must have missed the part about requiring Enterprise Manager for installing it on SQL.

    If you want it the link to the Web Based SQL Manager is : http://www.aspenterprisemanager.com/ which is free and the Trialware that I tried is EMS SQL Manager.

    Maybe that will help a little in not requiring that people have an MS SQL license to access their hosted MS SQL to install the software.

    Thanks

     

    ,

    If you still cant see the upload buttons after checking the settings send me a PM with the info and I will take a look at your installation. It will have to be up on a live server of course.

    ,

    like I said... you would have to modify the code
    (and really I dont think it is possible, how could it be when images uploaded are of all shapes and sizes)

    How are pictures of various shapes and size going to resized to a fixed width and height without distortion on either a horizontal or vertical level ? Uness the image uploaded matches the fixed thumbnail ratio you have set there is going to be distortion.

    There is no component that is going to make it any easier. You are already using an image resizing component.

    I give you two options the way the code ships.

    fixed width and height for thumbnails

    or

    fixed width / dynamic height for thumbnails

    The only other possible option would be

    fixed height / dynamic width for thumbnails

    and that you would have to code on your own because that option is not there

    The last thing I will say is this. Sorry, but I do not support custimizations to the code. It's just not easy to explain. Its a lot of code work. Its a lot of time.

    ,

    Hi Chris

    I've just recently purchased ASPBanner and have been testing out serving multiple Tradedoubler code using the IFRAME method. I have four types of banner on the same page refreshing every 15 seconds. (this will change on the live site) 

    I've been leaving the IE page up for x hours and coming back to find between 1-3 of the banners has stopped and in place is an "internal error".

    BannerZone=3&Refresh=15|40|800a0046|Permission_denied 80

    I thought it may have been the SQL permissions from one of your other messages so I gave the banner user the DataReader and DataWriter permissions.

    Its still happening and around the same time in the logs theres a couple of file not found errors.

    BannerZone=2&Refresh=15|23|800a0035|File_not_found 80 - 80.65.240.159

    BannerZone=4&Refresh=15|25|800a0035|File_not_found 80 - 80.65.240.159

    BannerZone=1&Refresh=15|25|800a0035|File_not_found 80 - 80.65.240.159

    Any ideas? I'm hoping its not the server as there is currently only 2 sites on it and this is pretty much the only traffic.

    Thanks

    Colin

    ,

    Sorry, not really.. not without a lot of changes to the code.
    the recent activity info recycles.. it is not meant to be day by day

    My suggestion there would be to look at both the log files and the user activty screens...

    ,

    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,

    again.. more custom code work would be required to handle it

     

     

    ,

    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.

     

    ,

    I get this error, Any ideas?

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

    /guestbook/save.asp, line 109

    , MODS are NOT SUPPORTED.. questions about them will not be answered in the support forums. If you want to use a MOD you are considered an advanced user and will need to sort out any issues that may or may not come up.

    MODS are used at your own risk and may or may not require certain basic coding skills. ,

    ok,

    when you say "we have set up to use the Subscription services exclusively for all new members "

    I am sorry to have to ask this again but what does that mean exactly ?

    how was that accomplished ?

    The reason I say this is because when a subscription is created by a user through the normal channels.. meaning they went to the paypal subscription directory and either started a new account or found their old one to start a subscription with.. either way the PayPal Subscripber ID that paypal assigns is added to the database for that user and the expiration date is set to null.

    Now, that being said the function that sends expiration emails to users will NEVER send an expiration to a user that has info in their PayPal Subscriber Field in the database. I just double checked that.

    So that is where I am confused ? How did all these users get set up to use subscriptions and not have the PayPal Subscriber ID field popluated in the database ?

    Seems to me the only way this could happen is if you set some stuff up manually and the PayPal Subscriber ID for each user never got put in the database. That and the expiration date didnt get set to null.

    Again, I am sorry to keep asking this but it just seems to me that something else must be going on that I am not clear on regarding how you upgraded these people to use subscriptions.

    In the end I think the answer may be to manually make sure each old user now using subscriptions has their PayPal Subscription ID set in the database as well as their expiration date from before set to null.

    ,

    Chris:

    The string is being saved and I get a .wav ring sound to confirm.  I have tried editing in "notepad" and then running the "data/show_path_info.asp" file after with the same results.

    Ken

     

     

    ,

    I'lll try to look at it this weekend. I have to leave the office now.

    There must be something wrong with the last build of the code. I dont think that upload export file thing is a feature too many people use or I would have heard of this sooner.

    For now just upload you export files to the export folder manually using ftp or frontpage explorer and you can accomplish the same thing.

    , 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 ,

    I have a customer who is asking the following:

    ... could you make a link from it to our website and is there a way to see what traffic goes from us to them.  They are going to pay a commission on sales, however I need to be able to track who views their site...

    Wishful thinking or could you add code to track their IP address and display in the report section?  Not sure that would be enough to satisfy this request.   Suggestions?

    Thanks, Lance

    , you can whatever you like but like I said those gif files are already in the correct place. The log parser is messing up. ,

    The parent paths things really should not be an issue.

    This is an article from the troubleshooting section of the documentation that takes care of it all very easily.

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


    As for a good host that knows ASP and does not mess around when you ask for something. I always recommened www.alentus.com

     

    ,

    (User Search & Contact Mod) for ASPProtect Version 7.x

    This will allow an individual user to search for other users as well as email or call them.

    Notes: This is a down and dirty mod. The users page from the admin area was used as a starting point. I then edited it up real quick to be used as a user search. The way it is it shows the user email as a regular email link. If you want to set it up so emailing is done from the application and emails are not actually shown you will have to do some extra work. If you don't want phone numbers shown you will have to remove that column which is not very difficult.

    Directions:
    Back up your existing ASPProtect installation.

    copy "search.asp" into your "users" folder

    2006-03-10_143253_User_Search_Contact_Mod.zip

    Direct your users there. They will have to be logged in to view the page.

    WARNING: This has not been extensively tested for SQL Injection attacks.
    I think it is perfectly fine the way it is by looking it over quickly, but use it at your own risk.

    , Ok, I tried what you suggested but the program won't let me leave the date area on the banner ad blank. I reset it to a date in 2010.

    I deleted the Level 1 Access note in the notes area.

    I then attempted to access the banner stats using the correct info and the right link.  Again,  got this message: 

    ACCESS DENIED

    INVALID Username & Password

    Username HAS EXPIRED

    Any ideas? Should I just delete the whole account and start fresh?

    TIA,

    Laura
    ,  I moved the password check file out of /user and am getting this message:

    Microsoft VBScript compilation error '800a0400'

    Expected statement

    /asplog/check_user_inc.asp, line 404

    End If
    ^
    Is this a standard database connection error so I should ask my IIS to make sure permissions are correct?
    Thanks..!
    ,
    Christopher,
     
    When viewing a list of albums with the navigation option 1, is there a way to get the Time Created sort to list Newest to Oldest, instead of Oldest to Newest.
     
    Looking at the code in albums_navigation1_inc.asp, I can not determine how this works.
     
    Thanks for your help!
     
    - Jason
     
    p.s. I always forget how addicting this stuff can be...lol.
     
    ,

    A mod like this would improve tracking by leaps and bounds.

    Do you think this addon would be availalbe anytime in the near future? If/when this feature or mod becomes availalbe, it certainly would be ideal if some script was made to import all the log file data.

    , if you just see code then you do not have ASP and Web Server setup correctly.. Basic IIS Server Setup stuff and not something I cover, but there is plenty of info out there.

    http://www.aspfaq.com/show.asp?id=2084

    http://www.codefixer.com/tutorials/installation.asp

    http://www.webwizguide.com/asp/tutorials/installing_iis_winX P_pro.asp

    http://www.w3schools.com/asp/asp_intro.asp





    ,


    Timecard Entry: 3/25/2006 4:46:11 PM

    lunch, TaskForce, Chamber Marketing, same as above, Emails and ran to the store for coffee for the meeting, Meet with Beth and then Jason on the Channel Partner site and go gisco site, tech support, 3.1 call.. signups rad log online reports, Time spent (earlier today) meeting w/ Jim Gilbert to go over proposal for IDA, printed and reviewed invoices; reviewed customer paperwork; cancellations for nonpayment; answered phone, *TaskForce, Voice-Mail, E-Mail, packup., Doc Manager , Took in 3 calls from price info to questions about bill. Easy calls. Also checked my e-mail, dial up , Worked with KV on Orlando-drew out on wipe board to come up with list of what we have and what we need; printing. Talked about shipping-with display. Banner?, tech supv duties radlog, open incidents, callbacks, voice mail online issues (none) good night... Let Bill go home at 8pm to come back at 11 to work the night shift, night person called in (per Ron) attempted to call in another tech (chris) got not reply back.. Asked Elaine to stay til 11 and asked alan to stay til 10pm and they did... qlight was steady from 830-930 as well as steady calls from then on.. good night...., TICC deposits & A/R posting, normal everyday noc stuff...watching the boards and answers techs questions, changed network cards in the tech emonitor maching and configured it to see the network after trying to get the old card to work., problems with Grater wireless link, Team meeting, noc, nothing major going on..., ST. LAWRENCE RADIOLOGY BUILT GRAPHIC LAYOUT IN PHOTOSHOP , finished organizing the fields and had a basic overview of sql server, working on reflashing 4911 microcoms per Howard and Pauls request to resolve disconnect problems. My laptop crashed in the middle of the flash and kill the microcom...took me 2 hours to get the MNC to work again (locked it out) had to fix the console port in order to console into it. End up having to rebuild the configuration since the crash wiped the configuration completely out of the MNC. Reflashed the cards again....everything seems to be working ok now., cancels and covered for Cathy. I am riding the waves, web design/development sales call, Answered phones. btw, how was the Ball?, Work out install left w/ Seacomm and Dave, paying bills, Resetting open modems.,

       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 asp search engine active server page asp application components tutorial 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