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

Posted on 2008-10-28
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" "">

<html xmlns="" >
<head runat="server">
    <title>HttpWebRequest Example</title>
<body runat="server">

    dim url
    dim xmlhttp
    url = ""&request.querystring("id")&"/?key=xxxxxxxx"
    xmlhttp = CreateObject("MSXML2.ServerXMLHTTP.3.0") ("GET", url, false)
    xmlhttp.send ()
    Response.ContentType = "text/xml"
    Response.Write (xmlhttp.responseXML.xml)
    Response.write (xmlhttp.responseText)
    xmlhttp = nothing
Question by:DevenLF

Assisted Solution

bluV11t earned 20 total points
ID: 22825953
Could it have anything to do with this:

Author Comment

ID: 22826129
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.
LVL 15

Assisted Solution

dosth earned 30 total points
ID: 22838700
can you check you have correctly getting the value from query string

 url = ""&request.querystring("id")&"/?key=xxxxxxxx"

try printing the url and check once.
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center


Author Comment

ID: 22842152
dosth:  Thanks, all information is being placed in the string.  (the querystring id is being printed).

Accepted Solution

Norush earned 100 total points
ID: 22893673
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: "GET", url, false

Open in new window

LVL 15

Expert Comment

ID: 22896484

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

789 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