Showing posts with label microsoft. Show all posts
Showing posts with label microsoft. Show all posts

Monday, March 26, 2012

Ok. I give up! Help please

Hi,
I was following the article
http://msdn.microsoft.com/msdnmag/i...ns/default.aspx I
got everything working until I go the the Progress bar section. Here is wher
e
I am stuck.
This is the vb.net code for the wait.aspx page
Public redirectPage As String = ""
Public secondsToWait As String = "0"
Public minutesToWait As String = "0"
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
'If Request.QueryString("redirectPage") <> "" Then
' redirectPage = Request.QueryString("redirectPage")
'End If
Dim secondsToWait As String = Request.QueryString("secondsToWait")
Dim minutesToWait As String = Request.QueryString("minutesToWait")
If (minutesToWait <> String.Empty) Then
secondsToWait = "0"
Else
Dim seconds As Integer = Int32.Parse(secondsToWait)
Dim minutes As Integer = seconds / 60
If (seconds Mod 60 = 0) And (minutes > 1) Then
minutesToWait = minutes.ToString()
secondsToWait = "0"
End If
End If
End Sub
This is the html
<%@dotnet.itags.org. Page Language="vb" AutoEventWireup="false" Codebehind="wait.aspx.vb"
Inherits="Webtest.wait"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>wait</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
<SCRIPT language="javascript">
var i = 0;
function redirectTo(targetPage, querystring, secondsForWaiting,
minutesForWaiting)
{
if (0 < targetPage.length)
{
b1.style.cursor="wait";
location.replace(targetPage + querystring);
if (secondsForWaiting.valueOf() > 0)
{
ProcessingLabel.innerText =
"This process can take up to "
+ secondsForWaiting + " seconds...";
timedIterations(secondsForWaiting);
}
else
{
if (minutesForWaiting.valueOf() > 0)
{
ProcessingLabel.innerText =
"This process can take up to "
+ minutesForWaiting + " minutes...";
timedIterations(minutesForWaiting * 60);
}
}
}
else
{
ProcessingLabel.innerText = "Page not found."
}
}
function timedIterations(secondsForIterating)
{
incrementalWidth = 800 / secondsForIterating;
if (i <= secondsForIterating + 10)
{
d1.innerText="Elapsed time: " + i + " seconds.";
d2.style.width=i*incrementalWidth;
setTimeout(
"timedIterations(" + secondsForIterating + ");",
1000);
i++;
}
else
{
b1.style.cursor="";
d1.style.visibility = "hidden";
d2.style.visibility = "hidden";
ProcessingLabel.innerText =
"The server is taking longer than "
+ "anticipated to process your request. "
+ "Thank you for your patience. "
+ "You can wait a few minutes longer for "
+ "the process to complete, or you can press "
+ "the back button and try again later...";
}
}
</SCRIPT>
</HEAD>
<body id=b1
onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Requ
est.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(minu
tesToWait)%>')">
<form id="Form1" method="post" runat="server">
<asp:Label id="ProcessingLabel" runat="server"
CssClass="DarkMediumSizeText">Processing...</asp:Label>
<p></p>
<DIV id="d1" class="DarkSmallSizeText"></DIV>
<DIV id="d2" style="BACKGROUND-COLOR:red"></DIV>
</form>
</body>
</HTML>
When I call the wait page from my "starttheprocess.aspx" page with this
Response.Redirect("Wait.aspx?redirectPage=" + "ProcessTheData.aspx&Data=" +
TextBox1.Text + "&secondsToWait=30")
I get
Page not found.
Thats from the javascript.
Any ideas? Please.
ThanksAre just pasting the Jscript before the HEAD element in ASP.NET(HTML)?
Or you are registering it?
"Chris" wrote:

> Hi,
> I was following the article
> http://msdn.microsoft.com/msdnmag/i...ns/default.aspx
I
> got everything working until I go the the Progress bar section. Here is wh
ere
> I am stuck.
> This is the vb.net code for the wait.aspx page
> Public redirectPage As String = ""
> Public secondsToWait As String = "0"
> Public minutesToWait As String = "0"
>
> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles MyBase.Load
> 'Put user code to initialize the page here
> 'If Request.QueryString("redirectPage") <> "" Then
> ' redirectPage = Request.QueryString("redirectPage")
> 'End If
> Dim secondsToWait As String = Request.QueryString("secondsToWait")
> Dim minutesToWait As String = Request.QueryString("minutesToWait")
> If (minutesToWait <> String.Empty) Then
> secondsToWait = "0"
> Else
> Dim seconds As Integer = Int32.Parse(secondsToWait)
> Dim minutes As Integer = seconds / 60
> If (seconds Mod 60 = 0) And (minutes > 1) Then
> minutesToWait = minutes.ToString()
> secondsToWait = "0"
> End If
> End If
>
> End Sub
>
> This is the html
>
> <%@. Page Language="vb" AutoEventWireup="false" Codebehind="wait.aspx.vb"
> Inherits="Webtest.wait"%>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML>
> <HEAD>
> <title>wait</title>
> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> <meta name="vs_defaultClientScript" content="JavaScript">
> <meta name="vs_targetSchema"
> content="http://schemas.microsoft.com/intellisense/ie5">
> <SCRIPT language="javascript">
> var i = 0;
> function redirectTo(targetPage, querystring, secondsForWaiting,
> minutesForWaiting)
> {
> if (0 < targetPage.length)
> {
> b1.style.cursor="wait";
> location.replace(targetPage + querystring);
> if (secondsForWaiting.valueOf() > 0)
> {
> ProcessingLabel.innerText =
> "This process can take up to "
> + secondsForWaiting + " seconds...";
> timedIterations(secondsForWaiting);
> }
> else
> {
> if (minutesForWaiting.valueOf() > 0)
> {
> ProcessingLabel.innerText =
> "This process can take up to "
> + minutesForWaiting + " minutes...";
> timedIterations(minutesForWaiting * 60);
> }
> }
> }
> else
> {
> ProcessingLabel.innerText = "Page not found."
> }
> }
> function timedIterations(secondsForIterating)
> {
> incrementalWidth = 800 / secondsForIterating;
> if (i <= secondsForIterating + 10)
> {
> d1.innerText="Elapsed time: " + i + " seconds.";
> d2.style.width=i*incrementalWidth;
> setTimeout(
> "timedIterations(" + secondsForIterating + ");",
> 1000);
> i++;
> }
> else
> {
> b1.style.cursor="";
> d1.style.visibility = "hidden";
> d2.style.visibility = "hidden";
> ProcessingLabel.innerText =
> "The server is taking longer than "
> + "anticipated to process your request. "
> + "Thank you for your patience. "
> + "You can wait a few minutes longer for "
> + "the process to complete, or you can press "
> + "the back button and try again later...";
> }
> }
> </SCRIPT>
>
>
>
> </HEAD>
> <body id=b1
> onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Re
quest.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(mi
nutesToWait)%>')">
> <form id="Form1" method="post" runat="server">
> <asp:Label id="ProcessingLabel" runat="server"
> CssClass="DarkMediumSizeText">Processing...</asp:Label>
> <p></p>
> <DIV id="d1" class="DarkSmallSizeText"></DIV>
> <DIV id="d2" style="BACKGROUND-COLOR:red"></DIV>
> </form>
> </body>
> </HTML>
>
> When I call the wait page from my "starttheprocess.aspx" page with this
> Response.Redirect("Wait.aspx?redirectPage=" + "ProcessTheData.aspx&Data="
+
> TextBox1.Text + "&secondsToWait=30")
> I get
> Page not found.
> Thats from the javascript.
> Any ideas? Please.
> Thanks
>
>
What is the address of the "page not found". What appears in the address
bar?
Seems like you could reproduce the problem in 2-3 lines of code around the
Response.Redirect, by hard-coding values, to start.
Jeff
"Chris" <Chris@.discussions.microsoft.com> wrote in message
news:F00528E5-31CA-4D36-9423-11DAC6A7C1CC@.microsoft.com...
> Hi,
> I was following the article
> http://msdn.microsoft.com/msdnmag/i...ns/default.aspx
I
> got everything working until I go the the Progress bar section. Here is
where
> I am stuck.
> This is the vb.net code for the wait.aspx page
> Public redirectPage As String = ""
> Public secondsToWait As String = "0"
> Public minutesToWait As String = "0"
>
> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles MyBase.Load
> 'Put user code to initialize the page here
> 'If Request.QueryString("redirectPage") <> "" Then
> ' redirectPage = Request.QueryString("redirectPage")
> 'End If
> Dim secondsToWait As String = Request.QueryString("secondsToWait")
> Dim minutesToWait As String = Request.QueryString("minutesToWait")
> If (minutesToWait <> String.Empty) Then
> secondsToWait = "0"
> Else
> Dim seconds As Integer = Int32.Parse(secondsToWait)
> Dim minutes As Integer = seconds / 60
> If (seconds Mod 60 = 0) And (minutes > 1) Then
> minutesToWait = minutes.ToString()
> secondsToWait = "0"
> End If
> End If
>
> End Sub
>
> This is the html
>
> <%@. Page Language="vb" AutoEventWireup="false" Codebehind="wait.aspx.vb"
> Inherits="Webtest.wait"%>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML>
> <HEAD>
> <title>wait</title>
> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> <meta name="vs_defaultClientScript" content="JavaScript">
> <meta name="vs_targetSchema"
> content="http://schemas.microsoft.com/intellisense/ie5">
> <SCRIPT language="javascript">
> var i = 0;
> function redirectTo(targetPage, querystring, secondsForWaiting,
> minutesForWaiting)
> {
> if (0 < targetPage.length)
> {
> b1.style.cursor="wait";
> location.replace(targetPage + querystring);
> if (secondsForWaiting.valueOf() > 0)
> {
> ProcessingLabel.innerText =
> "This process can take up to "
> + secondsForWaiting + " seconds...";
> timedIterations(secondsForWaiting);
> }
> else
> {
> if (minutesForWaiting.valueOf() > 0)
> {
> ProcessingLabel.innerText =
> "This process can take up to "
> + minutesForWaiting + " minutes...";
> timedIterations(minutesForWaiting * 60);
> }
> }
> }
> else
> {
> ProcessingLabel.innerText = "Page not found."
> }
> }
> function timedIterations(secondsForIterating)
> {
> incrementalWidth = 800 / secondsForIterating;
> if (i <= secondsForIterating + 10)
> {
> d1.innerText="Elapsed time: " + i + " seconds.";
> d2.style.width=i*incrementalWidth;
> setTimeout(
> "timedIterations(" + secondsForIterating + ");",
> 1000);
> i++;
> }
> else
> {
> b1.style.cursor="";
> d1.style.visibility = "hidden";
> d2.style.visibility = "hidden";
> ProcessingLabel.innerText =
> "The server is taking longer than "
> + "anticipated to process your request. "
> + "Thank you for your patience. "
> + "You can wait a few minutes longer for "
> + "the process to complete, or you can press "
> + "the back button and try again later...";
> }
> }
> </SCRIPT>
>
>
>
> </HEAD>
> <body id=b1
>
onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Requ
est.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(minu
tesToWait)%>')">
> <form id="Form1" method="post" runat="server">
> <asp:Label id="ProcessingLabel" runat="server"
> CssClass="DarkMediumSizeText">Processing...</asp:Label>
> <p></p>
> <DIV id="d1" class="DarkSmallSizeText"></DIV>
> <DIV id="d2" style="BACKGROUND-COLOR:red"></DIV>
> </form>
> </body>
> </HTML>
>
> When I call the wait page from my "starttheprocess.aspx" page with this
> Response.Redirect("Wait.aspx?redirectPage=" + "ProcessTheData.aspx&Data="
+
> TextBox1.Text + "&secondsToWait=30")
> I get
> Page not found.
> Thats from the javascript.
> Any ideas? Please.
> Thanks
>
>
Hi,
Yes I am just pasting the JScript within the HEAD TAG
"Patrick.O.Ige" wrote:
> Are just pasting the Jscript before the HEAD element in ASP.NET(HTML)?
> Or you are registering it?
>
> "Chris" wrote:
>
Hi,
This is the address for the page not found
http://localhost/webtest/Wait.aspx?... />
sToWait=30
"Jeff Dillon" wrote:

> What is the address of the "page not found". What appears in the address
> bar?
> Seems like you could reproduce the problem in 2-3 lines of code around the
> Response.Redirect, by hard-coding values, to start.
> Jeff
> "Chris" <Chris@.discussions.microsoft.com> wrote in message
> news:F00528E5-31CA-4D36-9423-11DAC6A7C1CC@.microsoft.com...
> I
> where
> onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Re
qu
> est.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(mi
nu
> tesToWait)%>')">
> +
>
>
So what happens when you manually browse to this page? Does it exist'
And what exactly are you trying to accomplish?
Jeff
"Chris" <Chris@.discussions.microsoft.com> wrote in message
news:382AAAC3-CFD0-4F5D-AA98-30C6303D080C@.microsoft.com...
> Hi,
> This is the address for the page not found
>
[url]http://localhost/webtest/Wait.aspx?redirectPage=ProcessTheData.aspx&Data=th&secondsToWait=30[/url
]
> "Jeff Dillon" wrote:
>
the
http://msdn.microsoft.com/msdnmag/i...ns/default.aspx
is
Request.QueryString("secondsToWait")
Request.QueryString("minutesToWait")
Codebehind="wait.aspx.vb"
onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Requ
est.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(minu
this
"ProcessTheData.aspx&Data="

Ok. I give up! Help please

Hi,
I was following the article
http://msdn.microsoft.com/msdnmag/i...ns/default.aspx I
got everything working until I go the the Progress bar section. Here is where
I am stuck.

This is the vb.net code for the wait.aspx page

Public redirectPage As String = ""
Public secondsToWait As String = "0"
Public minutesToWait As String = "0"

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

'Put user code to initialize the page here

'If Request.QueryString("redirectPage") <> "" Then
' redirectPage = Request.QueryString("redirectPage")
'End If

Dim secondsToWait As String = Request.QueryString("secondsToWait")
Dim minutesToWait As String = Request.QueryString("minutesToWait")

If (minutesToWait <> String.Empty) Then
secondsToWait = "0"
Else
Dim seconds As Integer = Int32.Parse(secondsToWait)
Dim minutes As Integer = seconds / 60

If (seconds Mod 60 = 0) And (minutes > 1) Then
minutesToWait = minutes.ToString()
secondsToWait = "0"
End If

End If

End Sub

This is the html

<%@dotnet.itags.org. Page Language="vb" AutoEventWireup="false" Codebehind="wait.aspx.vb"
Inherits="Webtest.wait"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>wait</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5"
<SCRIPT language="javascript">
var i = 0;
function redirectTo(targetPage, querystring, secondsForWaiting,
minutesForWaiting)
{
if (0 < targetPage.length)
{
b1.style.cursor="wait";
location.replace(targetPage + querystring);

if (secondsForWaiting.valueOf() > 0)
{
ProcessingLabel.innerText =
"This process can take up to "
+ secondsForWaiting + " seconds...";
timedIterations(secondsForWaiting);
}
else
{
if (minutesForWaiting.valueOf() > 0)
{
ProcessingLabel.innerText =
"This process can take up to "
+ minutesForWaiting + " minutes...";
timedIterations(minutesForWaiting * 60);
}
}
}
else
{
ProcessingLabel.innerText = "Page not found."
}
}

function timedIterations(secondsForIterating)
{
incrementalWidth = 800 / secondsForIterating;
if (i <= secondsForIterating + 10)
{
d1.innerText="Elapsed time: " + i + " seconds.";
d2.style.width=i*incrementalWidth;
setTimeout(
"timedIterations(" + secondsForIterating + ");",
1000);
i++;
}
else
{
b1.style.cursor="";
d1.style.visibility = "hidden";
d2.style.visibility = "hidden";
ProcessingLabel.innerText =
"The server is taking longer than "
+ "anticipated to process your request. "
+ "Thank you for your patience. "
+ "You can wait a few minutes longer for "
+ "the process to complete, or you can press "
+ "the back button and try again later...";
}
}
</SCRIPT
</HEAD>
<body id=b1
onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Request.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(minutesToWait)%>')">
<form id="Form1" method="post" runat="server">
<asp:Label id="ProcessingLabel" runat="server"
CssClass="DarkMediumSizeText">Processing...</asp:Label>
<p></p>
<DIV id="d1" class="DarkSmallSizeText"></DIV>
<DIV id="d2" style="BACKGROUND-COLOR:red"></DIV>
</form>
</body>
</HTML
When I call the wait page from my "starttheprocess.aspx" page with this

Response.Redirect("Wait.aspx?redirectPage=" + "ProcessTheData.aspx&Data=" +
TextBox1.Text + "&secondsToWait=30")

I get

Page not found.

Thats from the javascript.

Any ideas? Please.

ThanksAre just pasting the Jscript before the HEAD element in ASP.NET(HTML)?
Or you are registering it?

"Chris" wrote:

> Hi,
> I was following the article
> http://msdn.microsoft.com/msdnmag/i...ns/default.aspx I
> got everything working until I go the the Progress bar section. Here is where
> I am stuck.
> This is the vb.net code for the wait.aspx page
> Public redirectPage As String = ""
> Public secondsToWait As String = "0"
> Public minutesToWait As String = "0"
>
> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles MyBase.Load
> 'Put user code to initialize the page here
> 'If Request.QueryString("redirectPage") <> "" Then
> ' redirectPage = Request.QueryString("redirectPage")
> 'End If
> Dim secondsToWait As String = Request.QueryString("secondsToWait")
> Dim minutesToWait As String = Request.QueryString("minutesToWait")
> If (minutesToWait <> String.Empty) Then
> secondsToWait = "0"
> Else
> Dim seconds As Integer = Int32.Parse(secondsToWait)
> Dim minutes As Integer = seconds / 60
> If (seconds Mod 60 = 0) And (minutes > 1) Then
> minutesToWait = minutes.ToString()
> secondsToWait = "0"
> End If
> End If
>
> End Sub
>
> This is the html
>
> <%@. Page Language="vb" AutoEventWireup="false" Codebehind="wait.aspx.vb"
> Inherits="Webtest.wait"%>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML>
> <HEAD>
> <title>wait</title>
> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> <meta name="vs_defaultClientScript" content="JavaScript">
> <meta name="vs_targetSchema"
> content="http://schemas.microsoft.com/intellisense/ie5">
> <SCRIPT language="javascript">
> var i = 0;
> function redirectTo(targetPage, querystring, secondsForWaiting,
> minutesForWaiting)
> {
> if (0 < targetPage.length)
> {
> b1.style.cursor="wait";
> location.replace(targetPage + querystring);
> if (secondsForWaiting.valueOf() > 0)
> {
> ProcessingLabel.innerText =
> "This process can take up to "
> + secondsForWaiting + " seconds...";
> timedIterations(secondsForWaiting);
> }
> else
> {
> if (minutesForWaiting.valueOf() > 0)
> {
> ProcessingLabel.innerText =
> "This process can take up to "
> + minutesForWaiting + " minutes...";
> timedIterations(minutesForWaiting * 60);
> }
> }
> }
> else
> {
> ProcessingLabel.innerText = "Page not found."
> }
> }
> function timedIterations(secondsForIterating)
> {
> incrementalWidth = 800 / secondsForIterating;
> if (i <= secondsForIterating + 10)
> {
> d1.innerText="Elapsed time: " + i + " seconds.";
> d2.style.width=i*incrementalWidth;
> setTimeout(
> "timedIterations(" + secondsForIterating + ");",
> 1000);
> i++;
> }
> else
> {
> b1.style.cursor="";
> d1.style.visibility = "hidden";
> d2.style.visibility = "hidden";
> ProcessingLabel.innerText =
> "The server is taking longer than "
> + "anticipated to process your request. "
> + "Thank you for your patience. "
> + "You can wait a few minutes longer for "
> + "the process to complete, or you can press "
> + "the back button and try again later...";
> }
> }
> </SCRIPT>
>
>
>
> </HEAD>
> <body id=b1
> onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Request.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(minutesToWait)%>')">
> <form id="Form1" method="post" runat="server">
> <asp:Label id="ProcessingLabel" runat="server"
> CssClass="DarkMediumSizeText">Processing...</asp:Label>
> <p></p>
> <DIV id="d1" class="DarkSmallSizeText"></DIV>
> <DIV id="d2" style="BACKGROUND-COLOR:red"></DIV>
> </form>
> </body>
> </HTML>
>
> When I call the wait page from my "starttheprocess.aspx" page with this
> Response.Redirect("Wait.aspx?redirectPage=" + "ProcessTheData.aspx&Data=" +
> TextBox1.Text + "&secondsToWait=30")
> I get
> Page not found.
> Thats from the javascript.
> Any ideas? Please.
> Thanks
>
>
What is the address of the "page not found". What appears in the address
bar?

Seems like you could reproduce the problem in 2-3 lines of code around the
Response.Redirect, by hard-coding values, to start.

Jeff
"Chris" <Chris@.discussions.microsoft.com> wrote in message
news:F00528E5-31CA-4D36-9423-11DAC6A7C1CC@.microsoft.com...
> Hi,
> I was following the article
> http://msdn.microsoft.com/msdnmag/i...ns/default.aspx
I
> got everything working until I go the the Progress bar section. Here is
where
> I am stuck.
> This is the vb.net code for the wait.aspx page
> Public redirectPage As String = ""
> Public secondsToWait As String = "0"
> Public minutesToWait As String = "0"
>
> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles MyBase.Load
> 'Put user code to initialize the page here
> 'If Request.QueryString("redirectPage") <> "" Then
> ' redirectPage = Request.QueryString("redirectPage")
> 'End If
> Dim secondsToWait As String = Request.QueryString("secondsToWait")
> Dim minutesToWait As String = Request.QueryString("minutesToWait")
> If (minutesToWait <> String.Empty) Then
> secondsToWait = "0"
> Else
> Dim seconds As Integer = Int32.Parse(secondsToWait)
> Dim minutes As Integer = seconds / 60
> If (seconds Mod 60 = 0) And (minutes > 1) Then
> minutesToWait = minutes.ToString()
> secondsToWait = "0"
> End If
> End If
>
> End Sub
>
> This is the html
>
> <%@. Page Language="vb" AutoEventWireup="false" Codebehind="wait.aspx.vb"
> Inherits="Webtest.wait"%>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML>
> <HEAD>
> <title>wait</title>
> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> <meta name="vs_defaultClientScript" content="JavaScript">
> <meta name="vs_targetSchema"
> content="http://schemas.microsoft.com/intellisense/ie5">
> <SCRIPT language="javascript">
> var i = 0;
> function redirectTo(targetPage, querystring, secondsForWaiting,
> minutesForWaiting)
> {
> if (0 < targetPage.length)
> {
> b1.style.cursor="wait";
> location.replace(targetPage + querystring);
> if (secondsForWaiting.valueOf() > 0)
> {
> ProcessingLabel.innerText =
> "This process can take up to "
> + secondsForWaiting + " seconds...";
> timedIterations(secondsForWaiting);
> }
> else
> {
> if (minutesForWaiting.valueOf() > 0)
> {
> ProcessingLabel.innerText =
> "This process can take up to "
> + minutesForWaiting + " minutes...";
> timedIterations(minutesForWaiting * 60);
> }
> }
> }
> else
> {
> ProcessingLabel.innerText = "Page not found."
> }
> }
> function timedIterations(secondsForIterating)
> {
> incrementalWidth = 800 / secondsForIterating;
> if (i <= secondsForIterating + 10)
> {
> d1.innerText="Elapsed time: " + i + " seconds.";
> d2.style.width=i*incrementalWidth;
> setTimeout(
> "timedIterations(" + secondsForIterating + ");",
> 1000);
> i++;
> }
> else
> {
> b1.style.cursor="";
> d1.style.visibility = "hidden";
> d2.style.visibility = "hidden";
> ProcessingLabel.innerText =
> "The server is taking longer than "
> + "anticipated to process your request. "
> + "Thank you for your patience. "
> + "You can wait a few minutes longer for "
> + "the process to complete, or you can press "
> + "the back button and try again later...";
> }
> }
> </SCRIPT>
>
>
>
> </HEAD>
> <body id=b1
onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Requ
est.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(minu
tesToWait)%>')">
> <form id="Form1" method="post" runat="server">
> <asp:Label id="ProcessingLabel" runat="server"
> CssClass="DarkMediumSizeText">Processing...</asp:Label>
> <p></p>
> <DIV id="d1" class="DarkSmallSizeText"></DIV>
> <DIV id="d2" style="BACKGROUND-COLOR:red"></DIV>
> </form>
> </body>
> </HTML>
>
> When I call the wait page from my "starttheprocess.aspx" page with this
> Response.Redirect("Wait.aspx?redirectPage=" + "ProcessTheData.aspx&Data="
+
> TextBox1.Text + "&secondsToWait=30")
> I get
> Page not found.
> Thats from the javascript.
> Any ideas? Please.
> Thanks
>
Hi,
Yes I am just pasting the JScript within the HEAD TAG

"Patrick.O.Ige" wrote:

> Are just pasting the Jscript before the HEAD element in ASP.NET(HTML)?
> Or you are registering it?
>
> "Chris" wrote:
> > Hi,
> > I was following the article
> > http://msdn.microsoft.com/msdnmag/i...ns/default.aspx I
> > got everything working until I go the the Progress bar section. Here is where
> > I am stuck.
> > This is the vb.net code for the wait.aspx page
> > Public redirectPage As String = ""
> > Public secondsToWait As String = "0"
> > Public minutesToWait As String = "0"
> > Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> > System.EventArgs) Handles MyBase.Load
> > 'Put user code to initialize the page here
> > 'If Request.QueryString("redirectPage") <> "" Then
> > ' redirectPage = Request.QueryString("redirectPage")
> > 'End If
> > Dim secondsToWait As String = Request.QueryString("secondsToWait")
> > Dim minutesToWait As String = Request.QueryString("minutesToWait")
> > If (minutesToWait <> String.Empty) Then
> > secondsToWait = "0"
> > Else
> > Dim seconds As Integer = Int32.Parse(secondsToWait)
> > Dim minutes As Integer = seconds / 60
> > If (seconds Mod 60 = 0) And (minutes > 1) Then
> > minutesToWait = minutes.ToString()
> > secondsToWait = "0"
> > End If
> > End If
> > End Sub
> > This is the html
> > <%@. Page Language="vb" AutoEventWireup="false" Codebehind="wait.aspx.vb"
> > Inherits="Webtest.wait"%>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML>
> > <HEAD>
> > <title>wait</title>
> > <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> > <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> > <meta name="vs_defaultClientScript" content="JavaScript">
> > <meta name="vs_targetSchema"
> > content="http://schemas.microsoft.com/intellisense/ie5">
> > <SCRIPT language="javascript">
> > var i = 0;
> > function redirectTo(targetPage, querystring, secondsForWaiting,
> > minutesForWaiting)
> > {
> > if (0 < targetPage.length)
> > {
> > b1.style.cursor="wait";
> > location.replace(targetPage + querystring);
> > if (secondsForWaiting.valueOf() > 0)
> > {
> > ProcessingLabel.innerText =
> > "This process can take up to "
> > + secondsForWaiting + " seconds...";
> > timedIterations(secondsForWaiting);
> > }
> > else
> > {
> > if (minutesForWaiting.valueOf() > 0)
> > {
> > ProcessingLabel.innerText =
> > "This process can take up to "
> > + minutesForWaiting + " minutes...";
> > timedIterations(minutesForWaiting * 60);
> > }
> > }
> > }
> > else
> > {
> > ProcessingLabel.innerText = "Page not found."
> > }
> > }
> > function timedIterations(secondsForIterating)
> > {
> > incrementalWidth = 800 / secondsForIterating;
> > if (i <= secondsForIterating + 10)
> > {
> > d1.innerText="Elapsed time: " + i + " seconds.";
> > d2.style.width=i*incrementalWidth;
> > setTimeout(
> > "timedIterations(" + secondsForIterating + ");",
> > 1000);
> > i++;
> > }
> > else
> > {
> > b1.style.cursor="";
> > d1.style.visibility = "hidden";
> > d2.style.visibility = "hidden";
> > ProcessingLabel.innerText =
> > "The server is taking longer than "
> > + "anticipated to process your request. "
> > + "Thank you for your patience. "
> > + "You can wait a few minutes longer for "
> > + "the process to complete, or you can press "
> > + "the back button and try again later...";
> > }
> > }
> > </SCRIPT>
> > </HEAD>
> > <body id=b1
> > onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Request.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(minutesToWait)%>')">
> > <form id="Form1" method="post" runat="server">
> > <asp:Label id="ProcessingLabel" runat="server"
> > CssClass="DarkMediumSizeText">Processing...</asp:Label>
> > <p></p>
> > <DIV id="d1" class="DarkSmallSizeText"></DIV>
> > <DIV id="d2" style="BACKGROUND-COLOR:red"></DIV>
> > </form>
> > </body>
> > </HTML>
> > When I call the wait page from my "starttheprocess.aspx" page with this
> > Response.Redirect("Wait.aspx?redirectPage=" + "ProcessTheData.aspx&Data=" +
> > TextBox1.Text + "&secondsToWait=30")
> > I get
> > Page not found.
> > Thats from the javascript.
> > Any ideas? Please.
> > Thanks
Hi,
This is the address for the page not found

http://localhost/webtest/Wait.aspx?...econdsToWait=30

"Jeff Dillon" wrote:

> What is the address of the "page not found". What appears in the address
> bar?
> Seems like you could reproduce the problem in 2-3 lines of code around the
> Response.Redirect, by hard-coding values, to start.
> Jeff
> "Chris" <Chris@.discussions.microsoft.com> wrote in message
> news:F00528E5-31CA-4D36-9423-11DAC6A7C1CC@.microsoft.com...
> > Hi,
> > I was following the article
> > http://msdn.microsoft.com/msdnmag/i...ns/default.aspx
> I
> > got everything working until I go the the Progress bar section. Here is
> where
> > I am stuck.
> > This is the vb.net code for the wait.aspx page
> > Public redirectPage As String = ""
> > Public secondsToWait As String = "0"
> > Public minutesToWait As String = "0"
> > Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> > System.EventArgs) Handles MyBase.Load
> > 'Put user code to initialize the page here
> > 'If Request.QueryString("redirectPage") <> "" Then
> > ' redirectPage = Request.QueryString("redirectPage")
> > 'End If
> > Dim secondsToWait As String = Request.QueryString("secondsToWait")
> > Dim minutesToWait As String = Request.QueryString("minutesToWait")
> > If (minutesToWait <> String.Empty) Then
> > secondsToWait = "0"
> > Else
> > Dim seconds As Integer = Int32.Parse(secondsToWait)
> > Dim minutes As Integer = seconds / 60
> > If (seconds Mod 60 = 0) And (minutes > 1) Then
> > minutesToWait = minutes.ToString()
> > secondsToWait = "0"
> > End If
> > End If
> > End Sub
> > This is the html
> > <%@. Page Language="vb" AutoEventWireup="false" Codebehind="wait.aspx.vb"
> > Inherits="Webtest.wait"%>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML>
> > <HEAD>
> > <title>wait</title>
> > <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> > <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> > <meta name="vs_defaultClientScript" content="JavaScript">
> > <meta name="vs_targetSchema"
> > content="http://schemas.microsoft.com/intellisense/ie5">
> > <SCRIPT language="javascript">
> > var i = 0;
> > function redirectTo(targetPage, querystring, secondsForWaiting,
> > minutesForWaiting)
> > {
> > if (0 < targetPage.length)
> > {
> > b1.style.cursor="wait";
> > location.replace(targetPage + querystring);
> > if (secondsForWaiting.valueOf() > 0)
> > {
> > ProcessingLabel.innerText =
> > "This process can take up to "
> > + secondsForWaiting + " seconds...";
> > timedIterations(secondsForWaiting);
> > }
> > else
> > {
> > if (minutesForWaiting.valueOf() > 0)
> > {
> > ProcessingLabel.innerText =
> > "This process can take up to "
> > + minutesForWaiting + " minutes...";
> > timedIterations(minutesForWaiting * 60);
> > }
> > }
> > }
> > else
> > {
> > ProcessingLabel.innerText = "Page not found."
> > }
> > }
> > function timedIterations(secondsForIterating)
> > {
> > incrementalWidth = 800 / secondsForIterating;
> > if (i <= secondsForIterating + 10)
> > {
> > d1.innerText="Elapsed time: " + i + " seconds.";
> > d2.style.width=i*incrementalWidth;
> > setTimeout(
> > "timedIterations(" + secondsForIterating + ");",
> > 1000);
> > i++;
> > }
> > else
> > {
> > b1.style.cursor="";
> > d1.style.visibility = "hidden";
> > d2.style.visibility = "hidden";
> > ProcessingLabel.innerText =
> > "The server is taking longer than "
> > + "anticipated to process your request. "
> > + "Thank you for your patience. "
> > + "You can wait a few minutes longer for "
> > + "the process to complete, or you can press "
> > + "the back button and try again later...";
> > }
> > }
> > </SCRIPT>
> > </HEAD>
> > <body id=b1
> onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Requ
> est.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(minu
> tesToWait)%>')">
> > <form id="Form1" method="post" runat="server">
> > <asp:Label id="ProcessingLabel" runat="server"
> > CssClass="DarkMediumSizeText">Processing...</asp:Label>
> > <p></p>
> > <DIV id="d1" class="DarkSmallSizeText"></DIV>
> > <DIV id="d2" style="BACKGROUND-COLOR:red"></DIV>
> > </form>
> > </body>
> > </HTML>
> > When I call the wait page from my "starttheprocess.aspx" page with this
> > Response.Redirect("Wait.aspx?redirectPage=" + "ProcessTheData.aspx&Data="
> +
> > TextBox1.Text + "&secondsToWait=30")
> > I get
> > Page not found.
> > Thats from the javascript.
> > Any ideas? Please.
> > Thanks
>
So what happens when you manually browse to this page? Does it exist??

And what exactly are you trying to accomplish?

Jeff
"Chris" <Chris@.discussions.microsoft.com> wrote in message
news:382AAAC3-CFD0-4F5D-AA98-30C6303D080C@.microsoft.com...
> Hi,
> This is the address for the page not found
>
http://localhost/webtest/Wait.aspx?...econdsToWait=30
> "Jeff Dillon" wrote:
> > What is the address of the "page not found". What appears in the address
> > bar?
> > Seems like you could reproduce the problem in 2-3 lines of code around
the
> > Response.Redirect, by hard-coding values, to start.
> > Jeff
> > "Chris" <Chris@.discussions.microsoft.com> wrote in message
> > news:F00528E5-31CA-4D36-9423-11DAC6A7C1CC@.microsoft.com...
> > > Hi,
> > > I was following the article
> http://msdn.microsoft.com/msdnmag/i...ns/default.aspx
> > I
> > > got everything working until I go the the Progress bar section. Here
is
> > where
> > > I am stuck.
> > > > This is the vb.net code for the wait.aspx page
> > > > Public redirectPage As String = ""
> > > Public secondsToWait As String = "0"
> > > Public minutesToWait As String = "0"
> > > > > Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> > > System.EventArgs) Handles MyBase.Load
> > > > 'Put user code to initialize the page here
> > > > 'If Request.QueryString("redirectPage") <> "" Then
> > > ' redirectPage = Request.QueryString("redirectPage")
> > > 'End If
> > > > Dim secondsToWait As String =
Request.QueryString("secondsToWait")
> > > Dim minutesToWait As String =
Request.QueryString("minutesToWait")
> > > > If (minutesToWait <> String.Empty) Then
> > > secondsToWait = "0"
> > > Else
> > > Dim seconds As Integer = Int32.Parse(secondsToWait)
> > > Dim minutes As Integer = seconds / 60
> > > > If (seconds Mod 60 = 0) And (minutes > 1) Then
> > > minutesToWait = minutes.ToString()
> > > secondsToWait = "0"
> > > End If
> > > > End If
> > > > > End Sub
> > > > > > This is the html
> > > > > <%@. Page Language="vb" AutoEventWireup="false"
Codebehind="wait.aspx.vb"
> > > Inherits="Webtest.wait"%>
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > > <HTML>
> > > <HEAD>
> > > <title>wait</title>
> > > <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> > > <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> > > <meta name="vs_defaultClientScript" content="JavaScript">
> > > <meta name="vs_targetSchema"
> > > content="http://schemas.microsoft.com/intellisense/ie5">
> > > > <SCRIPT language="javascript">
> > > var i = 0;
> > > function redirectTo(targetPage, querystring, secondsForWaiting,
> > > minutesForWaiting)
> > > {
> > > if (0 < targetPage.length)
> > > {
> > > b1.style.cursor="wait";
> > > location.replace(targetPage + querystring);
> > > > if (secondsForWaiting.valueOf() > 0)
> > > {
> > > ProcessingLabel.innerText =
> > > "This process can take up to "
> > > + secondsForWaiting + " seconds...";
> > > timedIterations(secondsForWaiting);
> > > }
> > > else
> > > {
> > > if (minutesForWaiting.valueOf() > 0)
> > > {
> > > ProcessingLabel.innerText =
> > > "This process can take up to "
> > > + minutesForWaiting + " minutes...";
> > > timedIterations(minutesForWaiting * 60);
> > > }
> > > }
> > > }
> > > else
> > > {
> > > ProcessingLabel.innerText = "Page not found."
> > > }
> > > }
> > > > function timedIterations(secondsForIterating)
> > > {
> > > incrementalWidth = 800 / secondsForIterating;
> > > if (i <= secondsForIterating + 10)
> > > {
> > > d1.innerText="Elapsed time: " + i + " seconds.";
> > > d2.style.width=i*incrementalWidth;
> > > setTimeout(
> > > "timedIterations(" + secondsForIterating + ");",
> > > 1000);
> > > i++;
> > > }
> > > else
> > > {
> > > b1.style.cursor="";
> > > d1.style.visibility = "hidden";
> > > d2.style.visibility = "hidden";
> > > ProcessingLabel.innerText =
> > > "The server is taking longer than "
> > > + "anticipated to process your request. "
> > > + "Thank you for your patience. "
> > > + "You can wait a few minutes longer for "
> > > + "the process to complete, or you can press "
> > > + "the back button and try again later...";
> > > }
> > > }
> > > </SCRIPT>
> > > > > > > > > </HEAD>
> > > <body id=b1
> onload="redirectTo('<%Response.Write(redirectPage)%>','<%Response.Write(Requ
est.Url.Query)%>','<%Response.Write(secondsToWait)%>','<%Response.Write(minu
> > tesToWait)%>')">
> > > <form id="Form1" method="post" runat="server">
> > > <asp:Label id="ProcessingLabel" runat="server"
> > > CssClass="DarkMediumSizeText">Processing...</asp:Label>
> > > <p></p>
> > > <DIV id="d1" class="DarkSmallSizeText"></DIV>
> > > <DIV id="d2" style="BACKGROUND-COLOR:red"></DIV>
> > > </form>
> > > </body>
> > > </HTML>
> > > > > When I call the wait page from my "starttheprocess.aspx" page with
this
> > > > Response.Redirect("Wait.aspx?redirectPage=" +
"ProcessTheData.aspx&Data="
> > +
> > > TextBox1.Text + "&secondsToWait=30")
> > > > I get
> > > > Page not found.
> > > > Thats from the javascript.
> > > > Any ideas? Please.
> > > > Thanks
> > > >

Saturday, March 24, 2012

Old Versions of ASPX showing

Hi All,
Here is a long story short.
On one of our IIS platforms, I am running Microsoft CMS, which
utilizes ASP.NET and CSharp.
After changing some code, I noticed that old ASP page code will be
shown/executed when a certain amount of time has elapsed. For
example, if on one page I told it to respond with 'Dog' 3 months ago,
then I changed the code to respond as 'Cat', it responds as 'Cat' for
a bit, then after a time (days/w?), it starts responding with 'Dog'
again, even though the CSharp/ASP pages don't contain 'Dog' anymore.
I assumed this was a caching issue, and recently went into IIS,
Website-->Web Sites-->Home Directory-->Configuration-->Cache Options
and changed from 'Cache limited...', to 'Do not cache ASP...'.
I have yet to see if this will do the trick, but, I was hoping anyone
else could point me in the right direction,if I am doing in the wrong
one.
Thank you in advance.
Dave<goldborder@.gmail.com> wrote in message
news:1173967893.356701.147310@.o5g2000hsb.googlegroups.com...
> Hi All,
> Here is a long story short.
> On one of our IIS platforms, I am running Microsoft CMS, which
> utilizes ASP.NET and CSharp.
> After changing some code, I noticed that old ASP page code will be
> shown/executed when a certain amount of time has elapsed. For
> example, if on one page I told it to respond with 'Dog' 3 months ago,
> then I changed the code to respond as 'Cat', it responds as 'Cat' for
> a bit, then after a time (days/w?), it starts responding with 'Dog'
> again, even though the CSharp/ASP pages don't contain 'Dog' anymore.
> I assumed this was a caching issue, and recently went into IIS,
> Website-->Web Sites-->Home Directory-->Configuration-->Cache Options
> and changed from 'Cache limited...', to 'Do not cache ASP...'.
> I have yet to see if this will do the trick, but, I was hoping anyone
> else could point me in the right direction,if I am doing in the wrong
> one.
> Thank you in advance.
> Dave
You talking classic ASP or ASP.NET here ?
It the former, place this on top of the page
<% Response.CacheControl = "no-cache" %>
Just below the
<%@.LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
Never heard of it caching for months though.
If it's ASP.NET then I usually like to delete the CAC after updating the
site.
Simon

Old Versions of ASPX showing

Hi All,

Here is a long story short.

On one of our IIS platforms, I am running Microsoft CMS, which
utilizes ASP.NET and CSharp.

After changing some code, I noticed that old ASP page code will be
shown/executed when a certain amount of time has elapsed. For
example, if on one page I told it to respond with 'Dog' 3 months ago,
then I changed the code to respond as 'Cat', it responds as 'Cat' for
a bit, then after a time (days/week?), it starts responding with 'Dog'
again, even though the CSharp/ASP pages don't contain 'Dog' anymore.

I assumed this was a caching issue, and recently went into IIS,
Website-->Web Sites-->Home Directory-->Configuration-->Cache Options
and changed from 'Cache limited...', to 'Do not cache ASP...'.

I have yet to see if this will do the trick, but, I was hoping anyone
else could point me in the right direction,if I am doing in the wrong
one.

Thank you in advance.

Dave<goldborder@.gmail.comwrote in message
news:1173967893.356701.147310@.o5g2000hsb.googlegro ups.com...

Quote:

Originally Posted by

Hi All,
>
Here is a long story short.
>
On one of our IIS platforms, I am running Microsoft CMS, which
utilizes ASP.NET and CSharp.
>
After changing some code, I noticed that old ASP page code will be
shown/executed when a certain amount of time has elapsed. For
example, if on one page I told it to respond with 'Dog' 3 months ago,
then I changed the code to respond as 'Cat', it responds as 'Cat' for
a bit, then after a time (days/week?), it starts responding with 'Dog'
again, even though the CSharp/ASP pages don't contain 'Dog' anymore.
>
I assumed this was a caching issue, and recently went into IIS,
Website-->Web Sites-->Home Directory-->Configuration-->Cache Options
and changed from 'Cache limited...', to 'Do not cache ASP...'.
>
I have yet to see if this will do the trick, but, I was hoping anyone
else could point me in the right direction,if I am doing in the wrong
one.
>
Thank you in advance.
>
Dave


You talking classic ASP or ASP.NET here ?
It the former, place this on top of the page
<% Response.CacheControl = "no-cache" %>

Just below the

<%@.LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

Never heard of it caching for months though.

If it's ASP.NET then I usually like to delete the CAC after updating the
site.

--
Simon

OLE version of microsoft applicaton block data access?

I used microsoft data access application block a lot. It make data access
task much easier.
However, it is only available for SQL client, does anyone has a OLE version?
?
regards,
Guoqi Zheng
http://www.ureader.com"guoqi zheng"<no@.sorry.com> wrote in
news:2adae36c2f8347868b22947a97cdf6e7@.ur
eader.com:

> I used microsoft data access application block a lot. It make data
> access task much easier.
> However, it is only available for SQL client, does anyone has a OLE
> version'
Nope, no OLE version. V3.0 does support Microsoft SQL Server, Oracle, and
DB2 however.
Lucas Tam (REMOVEnntp@.rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
[url]http://members.ebay.com/aboutme/spot18/[/url]
"guoqi zheng" <no@.sorry.com> wrote in message
news:2adae36c2f8347868b22947a97cdf6e7@.ur
eader.com...

>I used microsoft data access application block a lot. It make data access
> task much easier.
> However, it is only available for SQL client, does anyone has a OLE
> version'
As you say, the current version supports SQLClient only, but it would not be
a major undertaking to create a version of it for OleDb as the object
interfaces are to all intents and purposes the same.

OLE version of microsoft applicaton block data access?

I used microsoft data access application block a lot. It make data access
task much easier.

However, it is only available for SQL client, does anyone has a OLE version??

regards,

Guoqi Zheng
http://www.ureader.com"guoqi zheng"<no@.sorry.com> wrote in
news:2adae36c2f8347868b22947a97cdf6e7@.ureader.com:

> I used microsoft data access application block a lot. It make data
> access task much easier.
> However, it is only available for SQL client, does anyone has a OLE
> version??

Nope, no OLE version. V3.0 does support Microsoft SQL Server, Oracle, and
DB2 however.

--
Lucas Tam (REMOVEnntp@.rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
"guoqi zheng" <no@.sorry.com> wrote in message
news:2adae36c2f8347868b22947a97cdf6e7@.ureader.com. ..

>I used microsoft data access application block a lot. It make data access
> task much easier.
> However, it is only available for SQL client, does anyone has a OLE
> version??

As you say, the current version supports SQLClient only, but it would not be
a major undertaking to create a version of it for OleDb as the object
interfaces are to all intents and purposes the same.

Friday, March 16, 2012

On download, how to open .XSD file in its XML format instead Schema?

Hi,
I have one download link in my webform. On click, i have specified .XSD file to open. But it opens in Microsoft .Net Environment, and in Schema format.
My prob is, i want to open that .XSD file's Xml in Browser (Internet Explorer).
Thanx in advance.

I noticed you asked this in the Web Forms threadhttp://forums.asp.net/988565/ShowPost.aspx.
Have you tried that solution?