• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1959
  • Last Modified:

ASP.NET error 1309. Very simple GET page causing the error.

This page is causing all kinds of problems.  Throws ASP.NET error 1309 in event log, and webpage display 'Application Error'.  Any ideas on what might be wrong with this?


<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>HttpWebRequest Example</title>
</head>
<body runat="server">

<%
    dim url
    dim xmlhttp
    url = "https://www.sagrader.com/api/submission/"&request.querystring("id")&"/?key=xxxxxxxx"
    xmlhttp = CreateObject("MSXML2.ServerXMLHTTP.3.0")
    xmlhttp.open ("GET", url, false)
    xmlhttp.send ()
    Response.ContentType = "text/xml"
    Response.Write (xmlhttp.responseXML.xml)
    Response.write (xmlhttp.responseText)
    xmlhttp = nothing
%>
</body>
</html>
0
DevenLF
Asked:
DevenLF
3 Solutions
 
bluV11tCommented:
Could it have anything to do with this:
http://support.microsoft.com/kb/941386
0
 
DevenLFAuthor Commented:
Thanks for the reply.  Unfortunately, my error message doesn't have anything to do with the serialization problem.  Please see attached file for full error in event log.
1309.txt
0
 
dosthCommented:
can you check you have correctly getting the value from query string

 url = "https://www.sagrader.com/api/submission/"&request.querystring("id")&"/?key=xxxxxxxx"


try printing the url and check once.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
DevenLFAuthor Commented:
dosth:  Thanks, all information is being placed in the string.  (the querystring id is being printed).
0
 
NorushCommented:
Can you do the following and run the page again?

In Internet Explorer goto Tools-->Internet options-->Advanced and UNcheck the entry called "Show friendly HTTP error messages"

Now run the page again and report the exact error you are getting.

Also try removing the parentheses from the .open line:
xmlhttp.open "GET", url, false

Open in new window

0
 
dosthCommented:
thanks
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now