Solved

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

Posted on 2008-10-28
7
1,941 Views
Last Modified: 2011-10-19
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
Comment
Question by:DevenLF
7 Comments
 
LVL 7

Assisted Solution

by:bluV11t
bluV11t earned 20 total points
Comment Utility
Could it have anything to do with this:
http://support.microsoft.com/kb/941386
0
 

Author Comment

by:DevenLF
Comment Utility
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
 
LVL 15

Assisted Solution

by:dosth
dosth earned 30 total points
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:DevenLF
Comment Utility
dosth:  Thanks, all information is being placed in the string.  (the querystring id is being printed).
0
 
LVL 7

Accepted Solution

by:
Norush earned 100 total points
Comment Utility
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
 
LVL 15

Expert Comment

by:dosth
Comment Utility
thanks
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Explain Unit of Work pattern 2 46
How to perform calculation 2 24
Select2 jquery help 9 41
asp syntax 3 20
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now