Ask a Question related to ASP Database, Design and Development.
-
Simeon Shapiro #1
ASP page call problem
Any suggestions on the following problem:
I am making a call to an ASP page with the following call string:
admin_update_notice_processor.asp?NoticeID=<%=Requ est.QueryString("Notic
eID")%>
The page is as follows:
<%@LANGUAGE="VBSCRIPT"%>
<%
Dim dbConn
Dim nt_fixed
nt_fixed = Replace(Request.Form("Notice"),"'","'")
Set dbConn = server.CreateObject("adodb.connection")
dbConn.open("CSh")
dbConn.Execute("UPDATE tbl_notices SET UserName = '" &
Request.Form("Author") & "', Header = '" & Request.Form("Header") & "',
Notice = '" & nt_fixed & "' WHERE NoticeID=" &
Request.QueryString("NoticeID"))
Response.Redirect("admin_manage_notice.asp")
%>
There is nothing else on the page. It works on my machine, but when
uploaded to the ISP, the page can't be found. All calls go to an Access
DB through a DNS called "CSh".
Thanks
Shimon
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Simeon Shapiro Guest
-
call page
hi, I have build a reminder.asp page what this is doing? when the page is loading email is send to the users where the have record is still open... -
Call page from function
Hi, I'm trying to use the web timer to schedule a call to an asp page. In practice, I want the server calls an asp page that makes several jobs. The... -
asynchronous call to web service from a web page
My web service is to update a database. When user clicks on a button on a web page, it calls web service to update database. With hundred... -
Can A web service call another web page
I have a web service to store information. I want the my webservice to call a vendors webservice for validation puposes. What I want to... -
DCOM call from an ASP page.
I have a COM component running on another Windows 2000 server. I want to call that component from the IIS server, which is on another Windows 2000... -
Ray at #2
Re: ASP page call problem
You're getting a 404 error? If so, this code isn't the issue. Are you sure
you're uploading the file to the right place? Are you running chilisoft on
a *nix server? If so, are you paying attention to case-sensitivity of the
filename? What error are you seeing in your browser? Did you upload
admin_manage_notice.asp? What happens if you comment out the redirect?
Which page is 404'ing?
Ray at work
"Simeon Shapiro" <shimon@iafrica.com> wrote in message
news:u6CFX8kuDHA.2492@TK2MSFTNGP12.phx.gbl...> Any suggestions on the following problem:
> I am making a call to an ASP page with the following call string:
> admin_update_notice_processor.asp?NoticeID=<%=Requ est.QueryString("Notic
> eID")%>
>
> The page is as follows:
>
> <%@LANGUAGE="VBSCRIPT"%>
> <%
> Dim dbConn
> Dim nt_fixed
> nt_fixed = Replace(Request.Form("Notice"),"'","'")
>
> Set dbConn = server.CreateObject("adodb.connection")
> dbConn.open("CSh")
> dbConn.Execute("UPDATE tbl_notices SET UserName = '" &
> Request.Form("Author") & "', Header = '" & Request.Form("Header") & "',
> Notice = '" & nt_fixed & "' WHERE NoticeID=" &
> Request.QueryString("NoticeID"))
> Response.Redirect("admin_manage_notice.asp")
> %>
>
> There is nothing else on the page. It works on my machine, but when
> uploaded to the ISP, the page can't be found. All calls go to an Access
> DB through a DNS called "CSh".
> Thanks
> Shimon
>
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Ray at Guest
-
Aaron Bertrand - MVP #3
Re: ASP page call problem
This is probably because you have "Show friendly HTTP errors" set in IE's
Tools/Internet Options/Advanced
--
Aaron Bertrand
SQL Server MVP
[url]http://www.aspfaq.com/[/url]
"Simeon Shapiro" <shimon@iafrica.com> wrote in message
news:u6CFX8kuDHA.2492@TK2MSFTNGP12.phx.gbl...> Any suggestions on the following problem:
> I am making a call to an ASP page with the following call string:
> admin_update_notice_processor.asp?NoticeID=<%=Requ est.QueryString("Notic
> eID")%>
>
> The page is as follows:
>
> <%@LANGUAGE="VBSCRIPT"%>
> <%
> Dim dbConn
> Dim nt_fixed
> nt_fixed = Replace(Request.Form("Notice"),"'","'")
>
> Set dbConn = server.CreateObject("adodb.connection")
> dbConn.open("CSh")
> dbConn.Execute("UPDATE tbl_notices SET UserName = '" &
> Request.Form("Author") & "', Header = '" & Request.Form("Header") & "',
> Notice = '" & nt_fixed & "' WHERE NoticeID=" &
> Request.QueryString("NoticeID"))
> Response.Redirect("admin_manage_notice.asp")
> %>
>
> There is nothing else on the page. It works on my machine, but when
> uploaded to the ISP, the page can't be found. All calls go to an Access
> DB through a DNS called "CSh".
> Thanks
> Shimon
>
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Aaron Bertrand - MVP Guest



Reply With Quote

