Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-28
7
Medium Priority
?
1,956 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 60 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 90 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 300 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
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…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

916 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