473,504 Members | 13,830 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help!! redirect classic asp page to asp.net 2.0 page using queryst

I made an application which includes classic asp page and asp.net page.
when I tried to redirect from classic asp page to asp.net 2.0 page, it works
under my local IIS directory.

ex)
<a href="default.aspx?store=<%=rs("store")%>"><%=rs(" store")%></a>
However, When I copy that application into one of IIS directory in another
intranet server, it doesn't work.
Both of them seems to configure same.
however the application within another intranet server still doesn't work.
what should I do?

please help.....

Apr 10 '06 #1
9 2181
Please define "doesn't work"

"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
I made an application which includes classic asp page and asp.net page.
when I tried to redirect from classic asp page to asp.net 2.0 page, it
works
under my local IIS directory.

ex)
<a href="default.aspx?store=<%=rs("store")%>"><%=rs(" store")%></a>
However, When I copy that application into one of IIS directory in another
intranet server, it doesn't work.
Both of them seems to configure same.
however the application within another intranet server still doesn't work.
what should I do?

please help.....

Apr 10 '06 #2
Of course you've done basic troubleshooting...like testing with hardcoded
values like

<a href="default.aspx?store=test">test</a>
"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
I made an application which includes classic asp page and asp.net page.
when I tried to redirect from classic asp page to asp.net 2.0 page, it
works
under my local IIS directory.

ex)
<a href="default.aspx?store=<%=rs("store")%>"><%=rs(" store")%></a>
However, When I copy that application into one of IIS directory in another
intranet server, it doesn't work.
Both of them seems to configure same.
however the application within another intranet server still doesn't work.
what should I do?

please help.....

Apr 10 '06 #3
this is error message body
************************************************** **********

Server Error in '/Life/NSB/IS4030_OJS' Application.
--------------------------------------------------------------------------------

Object variable or With block variable not set.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object variable or With
block variable not set.

Source Error:
Line 124: <grouptemplateheader>
Line 125: <tr>
Line 126: <td class="table1_region_row"
colspan="11"><%#Container.DataItem("REGION")%></td>
Line 127: </tr>
Line 128: </grouptemplateheader>
Source File: C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x Line: 126

Stack Trace:
[NullReferenceException: Object variable or With block variable not set.]
Microsoft.VisualBasic.CompilerServices.Container.. ctor(Object Instance)
+247156

Microsoft.VisualBasic.CompilerServices.NewLateBind ing.InternalLateIndexGet(Object
Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors,
ResolutionFailure& Failure) +71
Microsoft.VisualBasic.CompilerServices.NewLateBind ing.LateIndexGet(Object
Instance, Object[] Arguments, String[] ArgumentNames) +22
ASP.default_aspx.__DataBind__control12(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x:126
System.Web.UI.Control.OnDataBinding(EventArgs e) +99
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
System.Web.UI.Control.DataBind() +12
System.Web.UI.Control.DataBindChildren() +216
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
System.Web.UI.Control.DataBind() +12

SubtotalRepeater.Utils.Webcontrols.GroupingRepeate r.GroupingRepeater_PreRender(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\App_Code\Gr oupingRepeater.vb:312
System.Web.UI.Control.OnPreRender(EventArgs e) +2066972
System.Web.UI.WebControls.Repeater.OnPreRender(Eve ntArgs e) +21
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.42

************************************************** *********

I use the value of the "store" as part of SQL query to display.
I guess it don't take the querystring value correctly.
MY QUESTION WOULD BE
why???
howcome it works perfectly under one IIS but not under other IIS?

"Jeff Dillon" wrote:
Of course you've done basic troubleshooting...like testing with hardcoded
values like

<a href="default.aspx?store=test">test</a>
"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
I made an application which includes classic asp page and asp.net page.
when I tried to redirect from classic asp page to asp.net 2.0 page, it
works
under my local IIS directory.

ex)
<a href="default.aspx?store=<%=rs("store")%>"><%=rs(" store")%></a>
However, When I copy that application into one of IIS directory in another
intranet server, it doesn't work.
Both of them seems to configure same.
however the application within another intranet server still doesn't work.
what should I do?

please help.....


Apr 10 '06 #4
your object is not set (per the error message)

Like I said, use basic troubleshooting. Sounds like you are not connected to
the database correctly to me. What database, and where does it reside?

Does it work if your remove your SQL code? I suspect it does. Then trouble
shoot from there. Make sure you have a valid connection..etc etc

Jeff

"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com...
this is error message body
************************************************** **********

Server Error in '/Life/NSB/IS4030_OJS' Application.
--------------------------------------------------------------------------------

Object variable or With block variable not set.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object variable or With
block variable not set.

Source Error:
Line 124: <grouptemplateheader>
Line 125: <tr>
Line 126: <td class="table1_region_row"
colspan="11"><%#Container.DataItem("REGION")%></td>
Line 127: </tr>
Line 128: </grouptemplateheader>
Source File: C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x Line:
126

Stack Trace:
[NullReferenceException: Object variable or With block variable not set.]
Microsoft.VisualBasic.CompilerServices.Container.. ctor(Object Instance)
+247156

Microsoft.VisualBasic.CompilerServices.NewLateBind ing.InternalLateIndexGet(Object
Instance, Object[] Arguments, String[] ArgumentNames, Boolean
ReportErrors,
ResolutionFailure& Failure) +71

Microsoft.VisualBasic.CompilerServices.NewLateBind ing.LateIndexGet(Object
Instance, Object[] Arguments, String[] ArgumentNames) +22
ASP.default_aspx.__DataBind__control12(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x:126
System.Web.UI.Control.OnDataBinding(EventArgs e) +99
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
System.Web.UI.Control.DataBind() +12
System.Web.UI.Control.DataBindChildren() +216
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
System.Web.UI.Control.DataBind() +12

SubtotalRepeater.Utils.Webcontrols.GroupingRepeate r.GroupingRepeater_PreRender(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\App_Code\Gr oupingRepeater.vb:312
System.Web.UI.Control.OnPreRender(EventArgs e) +2066972
System.Web.UI.WebControls.Repeater.OnPreRender(Eve ntArgs e) +21
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET
Version:2.0.50727.42

************************************************** *********

I use the value of the "store" as part of SQL query to display.
I guess it don't take the querystring value correctly.
MY QUESTION WOULD BE
why???
howcome it works perfectly under one IIS but not under other IIS?

"Jeff Dillon" wrote:
Of course you've done basic troubleshooting...like testing with hardcoded
values like

<a href="default.aspx?store=test">test</a>
"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
>I made an application which includes classic asp page and asp.net page.
> when I tried to redirect from classic asp page to asp.net 2.0 page, it
> works
> under my local IIS directory.
>
> ex)
> <a href="default.aspx?store=<%=rs("store")%>"><%=rs(" store")%></a>
>
>
> However, When I copy that application into one of IIS directory in
> another
> intranet server, it doesn't work.
> Both of them seems to configure same.
> however the application within another intranet server still doesn't
> work.
> what should I do?
>
> please help.....
>


Apr 10 '06 #5
Also, what does your connection string look like

"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com...
this is error message body
************************************************** **********

Server Error in '/Life/NSB/IS4030_OJS' Application.
--------------------------------------------------------------------------------

Object variable or With block variable not set.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object variable or With
block variable not set.

Source Error:
Line 124: <grouptemplateheader>
Line 125: <tr>
Line 126: <td class="table1_region_row"
colspan="11"><%#Container.DataItem("REGION")%></td>
Line 127: </tr>
Line 128: </grouptemplateheader>
Source File: C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x Line:
126

Stack Trace:
[NullReferenceException: Object variable or With block variable not set.]
Microsoft.VisualBasic.CompilerServices.Container.. ctor(Object Instance)
+247156

Microsoft.VisualBasic.CompilerServices.NewLateBind ing.InternalLateIndexGet(Object
Instance, Object[] Arguments, String[] ArgumentNames, Boolean
ReportErrors,
ResolutionFailure& Failure) +71

Microsoft.VisualBasic.CompilerServices.NewLateBind ing.LateIndexGet(Object
Instance, Object[] Arguments, String[] ArgumentNames) +22
ASP.default_aspx.__DataBind__control12(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x:126
System.Web.UI.Control.OnDataBinding(EventArgs e) +99
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
System.Web.UI.Control.DataBind() +12
System.Web.UI.Control.DataBindChildren() +216
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
System.Web.UI.Control.DataBind() +12

SubtotalRepeater.Utils.Webcontrols.GroupingRepeate r.GroupingRepeater_PreRender(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\App_Code\Gr oupingRepeater.vb:312
System.Web.UI.Control.OnPreRender(EventArgs e) +2066972
System.Web.UI.WebControls.Repeater.OnPreRender(Eve ntArgs e) +21
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET
Version:2.0.50727.42

************************************************** *********

I use the value of the "store" as part of SQL query to display.
I guess it don't take the querystring value correctly.
MY QUESTION WOULD BE
why???
howcome it works perfectly under one IIS but not under other IIS?

"Jeff Dillon" wrote:
Of course you've done basic troubleshooting...like testing with hardcoded
values like

<a href="default.aspx?store=test">test</a>
"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
>I made an application which includes classic asp page and asp.net page.
> when I tried to redirect from classic asp page to asp.net 2.0 page, it
> works
> under my local IIS directory.
>
> ex)
> <a href="default.aspx?store=<%=rs("store")%>"><%=rs(" store")%></a>
>
>
> However, When I copy that application into one of IIS directory in
> another
> intranet server, it doesn't work.
> Both of them seems to configure same.
> however the application within another intranet server still doesn't
> work.
> what should I do?
>
> please help.....
>


Apr 10 '06 #6
OK...

this application works. the code works fine.
How do I know?
It works perfectly under my IIS. first page is asp page and then if I click
the link then it direct to another asp.net page.
So, I like to move all files for this application into another IIS server.
but it doesn't work in another IIS server.
I can open first asp page but after clicking the link then it shows the
errors like below.
I compared the two IIS with asp.net version and so on for IIS configuration.
everything seems same.

"Jeff Dillon" wrote:
your object is not set (per the error message)

Like I said, use basic troubleshooting. Sounds like you are not connected to
the database correctly to me. What database, and where does it reside?

Does it work if your remove your SQL code? I suspect it does. Then trouble
shoot from there. Make sure you have a valid connection..etc etc

Jeff

"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com...
this is error message body
************************************************** **********

Server Error in '/Life/NSB/IS4030_OJS' Application.
--------------------------------------------------------------------------------

Object variable or With block variable not set.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object variable or With
block variable not set.

Source Error:
Line 124: <grouptemplateheader>
Line 125: <tr>
Line 126: <td class="table1_region_row"
colspan="11"><%#Container.DataItem("REGION")%></td>
Line 127: </tr>
Line 128: </grouptemplateheader>
Source File: C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x Line:
126

Stack Trace:
[NullReferenceException: Object variable or With block variable not set.]
Microsoft.VisualBasic.CompilerServices.Container.. ctor(Object Instance)
+247156

Microsoft.VisualBasic.CompilerServices.NewLateBind ing.InternalLateIndexGet(Object
Instance, Object[] Arguments, String[] ArgumentNames, Boolean
ReportErrors,
ResolutionFailure& Failure) +71

Microsoft.VisualBasic.CompilerServices.NewLateBind ing.LateIndexGet(Object
Instance, Object[] Arguments, String[] ArgumentNames) +22
ASP.default_aspx.__DataBind__control12(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x:126
System.Web.UI.Control.OnDataBinding(EventArgs e) +99
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
System.Web.UI.Control.DataBind() +12
System.Web.UI.Control.DataBindChildren() +216
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
System.Web.UI.Control.DataBind() +12

SubtotalRepeater.Utils.Webcontrols.GroupingRepeate r.GroupingRepeater_PreRender(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\App_Code\Gr oupingRepeater.vb:312
System.Web.UI.Control.OnPreRender(EventArgs e) +2066972
System.Web.UI.WebControls.Repeater.OnPreRender(Eve ntArgs e) +21
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET
Version:2.0.50727.42

************************************************** *********

I use the value of the "store" as part of SQL query to display.
I guess it don't take the querystring value correctly.
MY QUESTION WOULD BE
why???
howcome it works perfectly under one IIS but not under other IIS?

"Jeff Dillon" wrote:
Of course you've done basic troubleshooting...like testing with hardcoded
values like

<a href="default.aspx?store=test">test</a>
"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
>I made an application which includes classic asp page and asp.net page.
> when I tried to redirect from classic asp page to asp.net 2.0 page, it
> works
> under my local IIS directory.
>
> ex)
> <a href="default.aspx?store=<%=rs("store")%>"><%=rs(" store")%></a>
>
>
> However, When I copy that application into one of IIS directory in
> another
> intranet server, it doesn't work.
> Both of them seems to configure same.
> however the application within another intranet server still doesn't
> work.
> what should I do?
>
> please help.....
>


Apr 10 '06 #7
If you want to ignore my advice, that is ok with me. Good luck. I told you
why it's working on one computer and not the other.

Jeff

"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:0D**********************************@microsof t.com...
OK...

this application works. the code works fine.
How do I know?
It works perfectly under my IIS. first page is asp page and then if I
click
the link then it direct to another asp.net page.
So, I like to move all files for this application into another IIS server.
but it doesn't work in another IIS server.
I can open first asp page but after clicking the link then it shows the
errors like below.
I compared the two IIS with asp.net version and so on for IIS
configuration.
everything seems same.

"Jeff Dillon" wrote:
your object is not set (per the error message)

Like I said, use basic troubleshooting. Sounds like you are not connected
to
the database correctly to me. What database, and where does it reside?

Does it work if your remove your SQL code? I suspect it does. Then
trouble
shoot from there. Make sure you have a valid connection..etc etc

Jeff

"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com...
> this is error message body
> ************************************************** **********
>
> Server Error in '/Life/NSB/IS4030_OJS' Application.
> --------------------------------------------------------------------------------
>
> Object variable or With block variable not set.
> Description: An unhandled exception occurred during the execution of
> the
> current web request. Please review the stack trace for more information
> about
> the error and where it originated in the code.
>
> Exception Details: System.NullReferenceException: Object variable or
> With
> block variable not set.
>
> Source Error:
>
>
> Line 124: <grouptemplateheader>
> Line 125: <tr>
> Line 126: <td class="table1_region_row"
> colspan="11"><%#Container.DataItem("REGION")%></td>
> Line 127: </tr>
> Line 128: </grouptemplateheader>
>
>
> Source File: C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x
> Line:
> 126
>
> Stack Trace:
>
>
> [NullReferenceException: Object variable or With block variable not
> set.]
> Microsoft.VisualBasic.CompilerServices.Container.. ctor(Object
> Instance)
> +247156
>
> Microsoft.VisualBasic.CompilerServices.NewLateBind ing.InternalLateIndexGet(Object
> Instance, Object[] Arguments, String[] ArgumentNames, Boolean
> ReportErrors,
> ResolutionFailure& Failure) +71
>
> Microsoft.VisualBasic.CompilerServices.NewLateBind ing.LateIndexGet(Object
> Instance, Object[] Arguments, String[] ArgumentNames) +22
> ASP.default_aspx.__DataBind__control12(Object sender, EventArgs e) in
> C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x:126
> System.Web.UI.Control.OnDataBinding(EventArgs e) +99
> System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
> System.Web.UI.Control.DataBind() +12
> System.Web.UI.Control.DataBindChildren() +216
> System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
> System.Web.UI.Control.DataBind() +12
>
> SubtotalRepeater.Utils.Webcontrols.GroupingRepeate r.GroupingRepeater_PreRender(Object
> sender, EventArgs e) in
> C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\App_Code\Gr oupingRepeater.vb:312
> System.Web.UI.Control.OnPreRender(EventArgs e) +2066972
> System.Web.UI.WebControls.Repeater.OnPreRender(Eve ntArgs e) +21
> System.Web.UI.Control.PreRenderRecursiveInternal() +77
> System.Web.UI.Control.PreRenderRecursiveInternal() +161
> System.Web.UI.Control.PreRenderRecursiveInternal() +161
> System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> +1360
>
>
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:2.0.50727.42;
> ASP.NET
> Version:2.0.50727.42
>
> ************************************************** *********
>
> I use the value of the "store" as part of SQL query to display.
> I guess it don't take the querystring value correctly.
> MY QUESTION WOULD BE
> why???
> howcome it works perfectly under one IIS but not under other IIS?
>
>
>
> "Jeff Dillon" wrote:
>
>> Of course you've done basic troubleshooting...like testing with
>> hardcoded
>> values like
>>
>> <a href="default.aspx?store=test">test</a>
>>
>>
>> "KenLee" <Ke****@discussions.microsoft.com> wrote in message
>> news:7C**********************************@microsof t.com...
>> >I made an application which includes classic asp page and asp.net
>> >page.
>> > when I tried to redirect from classic asp page to asp.net 2.0 page,
>> > it
>> > works
>> > under my local IIS directory.
>> >
>> > ex)
>> > <a href="default.aspx?store=<%=rs("store")%>"><%=rs(" store")%></a>
>> >
>> >
>> > However, When I copy that application into one of IIS directory in
>> > another
>> > intranet server, it doesn't work.
>> > Both of them seems to configure same.
>> > however the application within another intranet server still doesn't
>> > work.
>> > what should I do?
>> >
>> > please help.....
>> >
>>
>>
>>


Apr 10 '06 #8
Thanks Jeff.
I got the clue with your question.
I use connectionstring as a name so that the other server don't catch that.
it happened before however I forgot.
however, I still not quite sure why machine I worked on allow me use
connectionstring as name of connectionstring but not in the other server.

thanks

"Jeff Dillon" wrote:
Also, what does your connection string look like

"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com...
this is error message body
************************************************** **********

Server Error in '/Life/NSB/IS4030_OJS' Application.
--------------------------------------------------------------------------------

Object variable or With block variable not set.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object variable or With
block variable not set.

Source Error:
Line 124: <grouptemplateheader>
Line 125: <tr>
Line 126: <td class="table1_region_row"
colspan="11"><%#Container.DataItem("REGION")%></td>
Line 127: </tr>
Line 128: </grouptemplateheader>
Source File: C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x Line:
126

Stack Trace:
[NullReferenceException: Object variable or With block variable not set.]
Microsoft.VisualBasic.CompilerServices.Container.. ctor(Object Instance)
+247156

Microsoft.VisualBasic.CompilerServices.NewLateBind ing.InternalLateIndexGet(Object
Instance, Object[] Arguments, String[] ArgumentNames, Boolean
ReportErrors,
ResolutionFailure& Failure) +71

Microsoft.VisualBasic.CompilerServices.NewLateBind ing.LateIndexGet(Object
Instance, Object[] Arguments, String[] ArgumentNames) +22
ASP.default_aspx.__DataBind__control12(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x:126
System.Web.UI.Control.OnDataBinding(EventArgs e) +99
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
System.Web.UI.Control.DataBind() +12
System.Web.UI.Control.DataBindChildren() +216
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
System.Web.UI.Control.DataBind() +12

SubtotalRepeater.Utils.Webcontrols.GroupingRepeate r.GroupingRepeater_PreRender(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\App_Code\Gr oupingRepeater.vb:312
System.Web.UI.Control.OnPreRender(EventArgs e) +2066972
System.Web.UI.WebControls.Repeater.OnPreRender(Eve ntArgs e) +21
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET
Version:2.0.50727.42

************************************************** *********

I use the value of the "store" as part of SQL query to display.
I guess it don't take the querystring value correctly.
MY QUESTION WOULD BE
why???
howcome it works perfectly under one IIS but not under other IIS?

"Jeff Dillon" wrote:
Of course you've done basic troubleshooting...like testing with hardcoded
values like

<a href="default.aspx?store=test">test</a>
"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
>I made an application which includes classic asp page and asp.net page.
> when I tried to redirect from classic asp page to asp.net 2.0 page, it
> works
> under my local IIS directory.
>
> ex)
> <a href="default.aspx?store=<%=rs("store")%>"><%=rs(" store")%></a>
>
>
> However, When I copy that application into one of IIS directory in
> another
> intranet server, it doesn't work.
> Both of them seems to configure same.
> however the application within another intranet server still doesn't
> work.
> what should I do?
>
> please help.....
>


Apr 11 '06 #9
Sorry, I don't understand this English:

"I still not quite sure why machine I worked on allow me use
connectionstring as name of connectionstring but not in the other server"

Perhaps on one machine you had a SYSTEM dsn set up, but not on the other.

"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:B2**********************************@microsof t.com...
Thanks Jeff.
I got the clue with your question.
I use connectionstring as a name so that the other server don't catch
that.
it happened before however I forgot.
however, I still not quite sure why machine I worked on allow me use
connectionstring as name of connectionstring but not in the other server.

thanks

"Jeff Dillon" wrote:
Also, what does your connection string look like

"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com...
> this is error message body
> ************************************************** **********
>
> Server Error in '/Life/NSB/IS4030_OJS' Application.
> --------------------------------------------------------------------------------
>
> Object variable or With block variable not set.
> Description: An unhandled exception occurred during the execution of
> the
> current web request. Please review the stack trace for more information
> about
> the error and where it originated in the code.
>
> Exception Details: System.NullReferenceException: Object variable or
> With
> block variable not set.
>
> Source Error:
>
>
> Line 124: <grouptemplateheader>
> Line 125: <tr>
> Line 126: <td class="table1_region_row"
> colspan="11"><%#Container.DataItem("REGION")%></td>
> Line 127: </tr>
> Line 128: </grouptemplateheader>
>
>
> Source File: C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x
> Line:
> 126
>
> Stack Trace:
>
>
> [NullReferenceException: Object variable or With block variable not
> set.]
> Microsoft.VisualBasic.CompilerServices.Container.. ctor(Object
> Instance)
> +247156
>
> Microsoft.VisualBasic.CompilerServices.NewLateBind ing.InternalLateIndexGet(Object
> Instance, Object[] Arguments, String[] ArgumentNames, Boolean
> ReportErrors,
> ResolutionFailure& Failure) +71
>
> Microsoft.VisualBasic.CompilerServices.NewLateBind ing.LateIndexGet(Object
> Instance, Object[] Arguments, String[] ArgumentNames) +22
> ASP.default_aspx.__DataBind__control12(Object sender, EventArgs e) in
> C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\default.asp x:126
> System.Web.UI.Control.OnDataBinding(EventArgs e) +99
> System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
> System.Web.UI.Control.DataBind() +12
> System.Web.UI.Control.DataBindChildren() +216
> System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
> System.Web.UI.Control.DataBind() +12
>
> SubtotalRepeater.Utils.Webcontrols.GroupingRepeate r.GroupingRepeater_PreRender(Object
> sender, EventArgs e) in
> C:\Inetpub\wwwroot\Life\NSB\IS4030_OJS\App_Code\Gr oupingRepeater.vb:312
> System.Web.UI.Control.OnPreRender(EventArgs e) +2066972
> System.Web.UI.WebControls.Repeater.OnPreRender(Eve ntArgs e) +21
> System.Web.UI.Control.PreRenderRecursiveInternal() +77
> System.Web.UI.Control.PreRenderRecursiveInternal() +161
> System.Web.UI.Control.PreRenderRecursiveInternal() +161
> System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> +1360
>
>
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:2.0.50727.42;
> ASP.NET
> Version:2.0.50727.42
>
> ************************************************** *********
>
> I use the value of the "store" as part of SQL query to display.
> I guess it don't take the querystring value correctly.
> MY QUESTION WOULD BE
> why???
> howcome it works perfectly under one IIS but not under other IIS?
>
>
>
> "Jeff Dillon" wrote:
>
>> Of course you've done basic troubleshooting...like testing with
>> hardcoded
>> values like
>>
>> <a href="default.aspx?store=test">test</a>
>>
>>
>> "KenLee" <Ke****@discussions.microsoft.com> wrote in message
>> news:7C**********************************@microsof t.com...
>> >I made an application which includes classic asp page and asp.net
>> >page.
>> > when I tried to redirect from classic asp page to asp.net 2.0 page,
>> > it
>> > works
>> > under my local IIS directory.
>> >
>> > ex)
>> > <a href="default.aspx?store=<%=rs("store")%>"><%=rs(" store")%></a>
>> >
>> >
>> > However, When I copy that application into one of IIS directory in
>> > another
>> > intranet server, it doesn't work.
>> > Both of them seems to configure same.
>> > however the application within another intranet server still doesn't
>> > work.
>> > what should I do?
>> >
>> > please help.....
>> >
>>
>>
>>


Apr 11 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2292
by: Kent.Gallinger | last post by:
I have a web application that contains asp.net and classic asp pages. I have a vb.net function that I would like to use in one of the classic asp pages. How can I do this? Can I do this? ...
4
1780
by: David Hearn | last post by:
I have a classic asp page that has a submit button on it. There are other buttons on the page that are still connected to functions within the asp page and the forms action method is attached to...
0
1694
by: Sam | last post by:
Folks, Attached I am sending 2 URL's from MSFT ASP.net Quick Start Tutorial Web Site. 1) Run it URL: http://www.asp.net/QuickStart/aspnet/samples/data/GridViewMasterDetailsInsertPage_vb.aspx 2)...
1
2170
by: Sam | last post by:
Attached I am sending 2 URL's from MSFT ASP.net Quick Start Tutorial Web Site. 1) Run it URL: http://www.asp.net/QuickStart/aspnet/samples/data/GridViewMasterDetai... 2) View Source URL:...
0
1283
by: Sam | last post by:
Sorry to post the same post multiple times but the URL Addresses were not Correct in Earlier Posts. Here are the correct URL's: 1) Run It URL is here: ...
4
3643
by: MarkusJNZ | last post by:
Hi, I am trying to pass an number from a classic asp webpage to a .NET webservice. Because my C# webservice expects an integer and classic ASP uses variants I keep getting problems with object...
1
2533
by: rouellette | last post by:
Is it possible to redirect to another page in your application from the start page BEFORE the user has been authenticated if you're using FORMS authentication? I can't seem to get it to work. ...
1
4192
by: jdub33 | last post by:
I have a web project that used a vb6 class library. The asp page would call a createobject() to access the class library. I recently updated the vb6 class library to .net2005. I unregistered the...
4
2315
by: pvs1 | last post by:
I've been going around in circles for days on this. I developed over 200 pages of code in a software package and have written the Login scripts in PHP. On about 100 pages are 3 hotlinks in iframe -...
0
7213
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7298
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4698
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1526
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.