Can you send me the code for counter in asp that you made?
Thank you
Can you send me the code for counter in asp that you made?
Thank you
I couldnât get it to work⌠I did the three steps outlined. Maybe I donât understand the reference to the swf file. Need help. Looks cool and do have a need.
Thanks
If it makes a difference. I am on an IIS server and I am able to run asapâŚ
As well, it may be the global.asa file. The only reason why I state this is because the flash doesnât show any numbers for number of users that visit the site as well as how many are currently viewing it.
I try to run yours, after run zip to unpackage the files, from my IIS server and still get the same results as stated above.
ccdenny3;
What OS are you using?
If you are on WinXP or Win2000 you should have IIS installed on your pc.If you are on Win98 Personal Web Server have to be installed.
If you have IIS or PWS on your there should be a root folder (c:\inetpub\wwwroot). What you need to is extract the files to a folder in (or directly to) root folder and change the database path in âConnections\connDigi.aspâ .
The hit count is kept on database , the active or online users are traced via global.asa.
Hi Osman:
I have an IIS server. My we site is found in âC:\Inetpub\wwwroot\devdesktopâ.
The âConnections\connDigi.aspâ entry states âC:\Inetpub\wwwroot\devdesktop\db\digid.mdbâ I know it sees the database because if I change this to anything else, the text and numbers when you click on the âiâ box doesnât display. If it states that shown above, then the text does display (without the numbers).
The feature of displaying how many users have accessed the web site (utilizing the database) as well as how many are currently on line (global.asa) doesnât display (the numbers). (I know I am redundant to above, just stating for my peace of mind)
I have the âglobal.asaâ in âC:\Inetpub\wwwroot\devdesktopâ.
Your help is well appreciated and look forward to your reply.
Thanks againâŚ
I think itâs my fault. I forgot to state that global.asa should be in the root folder. In this case C:\Inetpub\wwwroot\ is the place where global.asa should be located to work.
I tried with no positive results
Questions:
If it doesnât see the database, the text itself doesnât display, correct?
If it does see the database, it displays the text, correct?
Reading the database and updating it then may be a read/write issue?
Thanks. I can do that only in the evenings on EST. I will try to catch you. One thing I noticed is that you reference a drive mapping while I am referencing a UNC. IE E:\db or C:\inetpub\wwwroot\devdesktop while I am doing [\amsapp11\devdesktop\db](file://\amsapp11devdesktopdb). Maybe the problem lies here?
What time are you on Eastern Standard Time to chat via msn? Otherwise, maybe if you have an AOL account during the day, we can chat that way?
Ok. So, here I am at home with an IIS server with ASP capability. I downloaded your zip file.
In C:\Inetpub\wwwroot est (the root of this web site), I put the global.asa file.
In the C:\Inetpub\wwwroot est\connections, I modify the conndigi.asp file so the database is equal to "C:\Inetpub\wwwroot est\db\digid.mdb"
I didnât modify the C:\Inetpub\wwwroot est\counter.asp. I left that pointing to hit_counter.asp.
I assume that I execute âhit_counter.aspâ to launch for everything to work.
I get the following error and I rebooted the IIS Service in hope to resolve. I get the same error. That error is as follows:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Technical Information (for support personnel)
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/test/counter_db_inc.asp, line 28
At work, it never errorred outâŚ
Hope this helps in trying to resolve my problem.
Thanks again. If you have AIM account, I can chat at work with that.
OK⌠I finally got it working. However, the problem lies here. Showing the âon-lineâ users works. However, the increment of the web site doesnât. How do I fix that? I looked at the database and it looks like I need to enter the path of where the html file or asp file is located for this to work. Can you shed some light on that?
Thanks
I did get it working. To get it working, I had to make a copy of the âhit_counter.aspâ and then rename that copy to âhit_counter.htmlâ. Didnât want to rename the original just in case. So the âhit_counter.aspâ is not being used. That is how I got the page to start working.
If I execute the âhit_counter.aspâ, it errors out with the following:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Technical Information (for support personnel)
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/test/counter_db_inc.asp, line 28
If I execute âhit_counter.htmlâ, it doesnât error out. However, the numbers donât increment on how many visitors the site had. So, that is the current problem I have.
For the global.asa and conndigi.asp, I followed the directions in the readme file.
If you can shed the light on the counter issue, it sure would help me out.
Thanks againâŚ
I did get it working. To get it working, I had to make a copy of the âhit_counter.aspâ and then rename that copy to âhit_counter.htmlâ. Didnât want to rename the original just in case. So the âhit_counter.aspâ is not being used. That is how I got the page to start working.
If I execute the âhit_counter.aspâ, it errors out with the following:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Technical Information (for support personnel)
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/test/counter_db_inc.asp, line 28
The numbers donât increment on how many visitors the site had. I added an entry called hit_counter.html in the database because the program didnât add it automatically. If I execute âhit_counter.htmlâ, it doesnât error out. For the on-line users increment, that keeps adding up everytime I open a new session. Though I am the only one on it. So, this is the current problem I have.
For the global.asa and conndigi.asp, I followed the directions in the readme file.
If you can shed the light on the counter issues, it sure would help me out.
Thanks againâŚ
Read only this reply and ignore all previous
I did get it working. To get it working, I had to make a copy of the âhit_counter.aspâ and then rename that copy to âhit_counter.htmlâ. Didnât want to rename the original just in case. So the âhit_counter.aspâ is not being used. That is how I got the page to start working.
If I execute the âhit_counter.aspâ, it errors out with the following:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Technical Information (for support personnel)
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/test/counter_db_inc.asp, line 28
I added an entry called hit_counter.html in the database because the program didnât add it automatically. The numbers donât increment on how many visitors the site had. So, this is the current problem I have.
For the global.asa and conndigi.asp, I followed the directions in the readme file.
If you can shed the light on the counter issues, it sure would help me out.
Thanks againâŚ
Just for the record⌠I tried the file and followed the instruction and I had no problem running the fileâŚ
As for the counter⌠Do the refresh on the web browser you are using to see the number increasedâŚ
What file did you use to execute the web page? hit_counter.asp? Or counter.asp?
It was hit_counter.asp fileâŚ
:: Copyright KIRUPA 2024 //--