Solved

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

Posted on 2008-10-28
7
1,943 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
ID: 22825953
Could it have anything to do with this:
http://support.microsoft.com/kb/941386
0
 

Author Comment

by:DevenLF
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.
1309.txt
0
 
LVL 15

Assisted Solution

by:dosth
dosth earned 30 total points
ID: 22838700
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:DevenLF
ID: 22842152
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
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:
xmlhttp.open "GET", url, false

Open in new window

0
 
LVL 15

Expert Comment

by:dosth
ID: 22896484
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Summernote and form validation 10 97
error on the asp.net page 1 33
Not showing page correctly 3 29
Help with C#, MVC, razor. 6 23
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

21 Experts available now in Live!

Get 1:1 Help Now