Page not being accessed?

Discussion in 'ASP.NET / ASP.NET Core' started by browng, Dec 16, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi.

    I need to record link hits on some pages on our site and have done so the following way. I created an aspx page with no content just code behind to write the query string to the database. I connect using the following from my web.config file to set my connect string:
    <add key="server" value="mssql07" />
    <add key="catalog" value="DB_117661" />

    And i build the string as shown on the sql server admin page.

    Well when i test the site from my development machine it updates the stats no problem. When i move the page to www.realcatalogue.com it no longer updates.

    the stats.aspx page is on realcatalogue.com the entire time, so I hit the exact url wether I am running it on my machine or after I move it. I hit the url with http://www.realcatalogue.com/webservices/administration/stats.aspx?querystringHere.

    How my application hits the page is a bit of a work around because I cannot pop up a page to hit the aspx so I fudge it a bit by setting an Image object to the aspx page with the correct query string.

    I really need this to work and have no idea how it can work off my machine and not on the host server when the code is server side so I not see how it is possible to not run in a consistent manner.

    I would appreciate any assistance on this.

    Thanks.

    Geoff
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page