|
 |
aspx thread: Silly Question
Message #1 by "Simon Robinson" <srobinson@g...> on Fri, 10 Jan 2003 14:38:16 -0000
|
|
My apologies for the following question but visual studio is pissin me
off!
Does anyone know how to view the line numbers of code in VS.net?
Cheers,
Simon.
-----Original Message-----
From: Piyush Prakash [mailto:piyush_prakash@i...]
Sent: 08 January 2003 09:08
To: ASP.NET
Subject: [aspx] Putting a Hashtable value into a Queue using a Web
Service
Hi all,
I have implemented a class which has a property which returns a
Hashtable. Code is something like this :
public class OrderInfo
{
private Hashtable orderDetails = new Hashtable();
public ICollection Values
{
get
{
return orderDetails.Values;
}
}
.............
..............
}
I have written a Web Service which puts this value (Hashtable) into a
Queue(MSMQ) after formatting it using XmlMessageFormatter.
Code for this is something like this :
[WebMethod]
public void SendOrder(OrderInfo tmpOrder)
{
MessageQueue OrderQ = new
MessageQueue(".\\Private$\\Orders");
((XmlMessageFormatter)OrderQ.Formatter).TargetTypeNames = new
String[]{"BPLib.OrderInfo"};
OrderQ.Send(tmpOrder,"Order Submission");
}
Am getting the following error.
"You must implement a default accessor on System.Collections.ICollection
because it inherits from ICollection. "
Please help.
Regds,
Piyush
piyush_prakash@i...
-----Original Message-----
From: ASP.NET digest [mailto:aspx@p...]
Sent: Tuesday, November 19, 2002 5:31 AM
To: aspx digest recipients
Subject: aspx digest: November 18, 2002
-----------------------------------------------
When replying to the digest, please quote only
relevant material, and edit the subject line to
reflect the message you are replying to.
-----------------------------------------------
The URL for this list is: http://p2p.wrox.com/list.asp?list=aspx
ASPX Digest for Monday, November 18, 2002.
1. Re: ***URGENT*** aspx installation issues
2. Http Request from Windows Service
3. RE: Datagrid Driving Me Up The Wall
4. RE: ***URGENT*** aspx installation issues
5. Re: ***URGENT*** aspx installation issues
----------------------------------------------------------------------
Subject: Re: ***URGENT*** aspx installation issues
From: "Ken Schaefer" <ken@a...>
Date: Mon, 18 Nov 2002 13:55:44 +1100
X-Message-Number: 1
Seems like .aspx pages are not being interpreted
Find aspnet_regiis.exe and run this from the command prompt:
aspnet_regiis.exe -r
to setup IIS properly
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <bmcelhany@h...>
Subject: [aspx] ***URGENT*** aspx installation issues
: We installed the .NET redistributable (& service pack 2) on our
production
: web server last night (Win2K/IIS 5.0) and are having an issue. The
install
: went fine, but when I call up a test page that has the following code:
:
: <asp:label text="Hello World" runat="server"/>
:
: I just get a blank page...the server control is not rendered. When I
view
: the source, the above text is just sent through as part of the HTML
page.
: Does anyone have any ideas?
:
: Thank you very much for your help!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------------------------------
Subject: Http Request from Windows Service
From: Terrence Joubert <Terrence@v...>
Date: Mon, 18 Nov 2002 11:32:40 +0400
X-Message-Number: 2
Hi,
I want to send an HTTP Request to a web page from within a windows
service.
Will appreciate any help on how this can be done.
Thanks
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria, Mahe
----------------------------------------------------------------------
Subject: RE: Datagrid Driving Me Up The Wall
From: "Daniel Klemm" <daniel_klemm@b...>
Date: Mon, 18 Nov 2002 11:28:58 -0000
X-Message-Number: 3
I think I have solved my problem now,
Can someone confirm this
If you Click on the button that runs some code is it executed after the
page_load event or before ?
Thanks
Daniel
----- Original Message -----
From: "Paul Riley" <rilez@t...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, November 15, 2002 8:43 AM
Subject: [aspx] RE: Datagrid Driving Me Up The Wall
> Sounds like there's something slightly wrong with the order of what
you
> are doing. Can you post some code please for people to have a good
look
> at it?
>
> -----Original Message-----
> From: Daniel Klemm [mailto:daniel_klemm@b...]
> Sent: 15 November 2002 08:38
> To: ASP.NET
> Subject: [aspx] Datagrid Driving Me Up The Wall
>
> Hi all,
>
> I have a .net page with a datagrid and button,
> When I click the button it adds a new record to a database. However
> the datagrid does not display the last record added. I know the grid
> is being refreshed as when I add the next record the previous record
> added is shown.
>
> e.g.
> Add Record 1 New Record NOT Seen.
> Add Record 2 - Record 1 is now displayed.
> Add Record 3 - Record 2 is now displayed.
> etc, etc.............
>
> This is now starting to be a major milestone in my project.
>
> Can anyone help me
>
> Thanks in advance
>
> Daniel.
>
>
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to
> unsubscribe send a blank email to
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to
> unsubscribe send a blank email to
>
----------------------------------------------------------------------
Subject: RE: ***URGENT*** aspx installation issues
From: "Greg Quinn" <greg@i...>
Date: Mon, 18 Nov 2002 04:20:09 -0800
X-Message-Number: 4
The SDK is not neccessary to run asp.net files, only the .net runtime,
which is 100 megs or so less in size.
Make sure you have installed MDAC 2.7 as well.
Greg
-----Original Message-----
From: Paul Riley [mailto:rilez@t...]
Sent: Friday, November 15, 2002 6:16 AM
To: ASP.NET
Subject: [aspx] RE: ***URGENT*** aspx installation issues
Try reinstalling the SDK
-----Original Message-----
From: bmcelhany@h... [mailto:bmcelhany@h...]
Sent: 15 November 2002 14:22
To: ASP.NET
Subject: [aspx] ***URGENT*** aspx installation issues
Hello,
We installed the .NET redistributable (& service pack 2) on our
production web server last night (Win2K/IIS 5.0) and are having an
issue. The install went fine, but when I call up a test page that has
the following code:
<asp:label text="Hello World" runat="server"/>
I just get a blank page...the server control is not rendered. When I
view the source, the above text is just sent through as part of the HTML
page. Does anyone have any ideas?
Thank you very much for your help!
Brian
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
----------------------------------------------------------------------
Subject: Re: ***URGENT*** aspx installation issues
From: "Greg Quinn" <greg@i...>
Date: Mon, 18 Nov 2002 09:37:03 -0800
X-Message-Number: 5
Incorrect,
An asp:label does not need to be within a form tag.
If a control needs to be in a server side form tag, an exception will be
thrown, not a blank screen.
-----Original Message-----
From: Clif Dunaway [mailto:csdunaway@y...]
Sent: Friday, November 15, 2002 6:59 AM
To: ASP.NET
Subject: [aspx] Re: ***URGENT*** aspx installation issues
You need to place the code within a for, like this:
<html>
<body>
<form runat="server" >
<asp:label text="Hello World" runat="server"/>
</form>
</body>
</html>
bmcelhany@h... wrote:Hello,
We installed the .NET redistributable (& service pack 2) on our
production web server last night (Win2K/IIS 5.0) and are having an
issue. The install went fine, but when I call up a test page that has
the following code:
I just get a blank page...the server control is not rendered. When I
view the source, the above text is just sent through as part of the HTML
page. Does anyone have any ideas?
Thank you very much for your help!
Brian
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
END OF DIGEST
Message #2 by Sam Clohesy <sam@e...> on Fri, 10 Jan 2003 14:52:34 -0000
|
|
Not silly took me about a week to find it:
1) Tools
2) Options
3) Choose your language
4) Tick 'Display' line numbers
Sam Clohesy
Project Manager
T: 0208 772 3958
E: samc@e...
W: http://www.etypemedia.co.uk
-----Original Message-----
From: Simon Robinson [mailto:srobinson@g...]
Sent: 10 January 2003 14:38
To: ASP.NET
Subject: [aspx] Silly Question
My apologies for the following question but visual studio is pissin me
off!
Does anyone know how to view the line numbers of code in VS.net?
Cheers,
Simon.
-----Original Message-----
From: Piyush Prakash [mailto:piyush_prakash@i...]
Sent: 08 January 2003 09:08
To: ASP.NET
Subject: [aspx] Putting a Hashtable value into a Queue using a Web
Service
Hi all,
I have implemented a class which has a property which returns a
Hashtable. Code is something like this :
public class OrderInfo
{
private Hashtable orderDetails = new Hashtable();
public ICollection Values
{
get
{
return orderDetails.Values;
}
}
.............
..............
}
I have written a Web Service which puts this value (Hashtable) into a
Queue(MSMQ) after formatting it using XmlMessageFormatter.
Code for this is something like this :
[WebMethod]
public void SendOrder(OrderInfo tmpOrder)
{
MessageQueue OrderQ = new
MessageQueue(".\\Private$\\Orders");
((XmlMessageFormatter)OrderQ.Formatter).TargetTypeNames = new
String[]{"BPLib.OrderInfo"};
OrderQ.Send(tmpOrder,"Order Submission");
}
Am getting the following error.
"You must implement a default accessor on System.Collections.ICollection
because it inherits from ICollection. "
Please help.
Regds,
Piyush
piyush_prakash@i...
-----Original Message-----
From: ASP.NET digest [mailto:aspx@p...]
Sent: Tuesday, November 19, 2002 5:31 AM
To: aspx digest recipients
Subject: aspx digest: November 18, 2002
-----------------------------------------------
When replying to the digest, please quote only
relevant material, and edit the subject line to
reflect the message you are replying to.
-----------------------------------------------
The URL for this list is: http://p2p.wrox.com/list.asp?list=aspx
ASPX Digest for Monday, November 18, 2002.
1. Re: ***URGENT*** aspx installation issues
2. Http Request from Windows Service
3. RE: Datagrid Driving Me Up The Wall
4. RE: ***URGENT*** aspx installation issues
5. Re: ***URGENT*** aspx installation issues
----------------------------------------------------------------------
Subject: Re: ***URGENT*** aspx installation issues
From: "Ken Schaefer" <ken@a...>
Date: Mon, 18 Nov 2002 13:55:44 +1100
X-Message-Number: 1
Seems like .aspx pages are not being interpreted
Find aspnet_regiis.exe and run this from the command prompt:
aspnet_regiis.exe -r
to setup IIS properly
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <bmcelhany@h...>
Subject: [aspx] ***URGENT*** aspx installation issues
: We installed the .NET redistributable (& service pack 2) on our
production
: web server last night (Win2K/IIS 5.0) and are having an issue. The
install
: went fine, but when I call up a test page that has the following code:
:
: <asp:label text="Hello World" runat="server"/>
:
: I just get a blank page...the server control is not rendered. When I
view
: the source, the above text is just sent through as part of the HTML
page.
: Does anyone have any ideas?
:
: Thank you very much for your help!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------------------------------
Subject: Http Request from Windows Service
From: Terrence Joubert <Terrence@v...>
Date: Mon, 18 Nov 2002 11:32:40 +0400
X-Message-Number: 2
Hi,
I want to send an HTTP Request to a web page from within a windows
service.
Will appreciate any help on how this can be done.
Thanks
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria, Mahe
----------------------------------------------------------------------
Subject: RE: Datagrid Driving Me Up The Wall
From: "Daniel Klemm" <daniel_klemm@b...>
Date: Mon, 18 Nov 2002 11:28:58 -0000
X-Message-Number: 3
I think I have solved my problem now,
Can someone confirm this
If you Click on the button that runs some code is it executed after the
page_load event or before ?
Thanks
Daniel
----- Original Message -----
From: "Paul Riley" <rilez@t...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, November 15, 2002 8:43 AM
Subject: [aspx] RE: Datagrid Driving Me Up The Wall
> Sounds like there's something slightly wrong with the order of what
you
> are doing. Can you post some code please for people to have a good
look
> at it?
>
> -----Original Message-----
> From: Daniel Klemm [mailto:daniel_klemm@b...]
> Sent: 15 November 2002 08:38
> To: ASP.NET
> Subject: [aspx] Datagrid Driving Me Up The Wall
>
> Hi all,
>
> I have a .net page with a datagrid and button,
> When I click the button it adds a new record to a database. However
> the datagrid does not display the last record added. I know the grid
> is being refreshed as when I add the next record the previous record
> added is shown.
>
> e.g.
> Add Record 1 New Record NOT Seen.
> Add Record 2 - Record 1 is now displayed.
> Add Record 3 - Record 2 is now displayed.
> etc, etc.............
>
> This is now starting to be a major milestone in my project.
>
> Can anyone help me
>
> Thanks in advance
>
> Daniel.
>
>
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to
> unsubscribe send a blank email to
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to
> unsubscribe send a blank email to
>
----------------------------------------------------------------------
Subject: RE: ***URGENT*** aspx installation issues
From: "Greg Quinn" <greg@i...>
Date: Mon, 18 Nov 2002 04:20:09 -0800
X-Message-Number: 4
The SDK is not neccessary to run asp.net files, only the .net runtime,
which is 100 megs or so less in size.
Make sure you have installed MDAC 2.7 as well.
Greg
-----Original Message-----
From: Paul Riley [mailto:rilez@t...]
Sent: Friday, November 15, 2002 6:16 AM
To: ASP.NET
Subject: [aspx] RE: ***URGENT*** aspx installation issues
Try reinstalling the SDK
-----Original Message-----
From: bmcelhany@h... [mailto:bmcelhany@h...]
Sent: 15 November 2002 14:22
To: ASP.NET
Subject: [aspx] ***URGENT*** aspx installation issues
Hello,
We installed the .NET redistributable (& service pack 2) on our
production web server last night (Win2K/IIS 5.0) and are having an
issue. The install went fine, but when I call up a test page that has
the following code:
<asp:label text="Hello World" runat="server"/>
I just get a blank page...the server control is not rendered. When I
view the source, the above text is just sent through as part of the HTML
page. Does anyone have any ideas?
Thank you very much for your help!
Brian
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
----------------------------------------------------------------------
Subject: Re: ***URGENT*** aspx installation issues
From: "Greg Quinn" <greg@i...>
Date: Mon, 18 Nov 2002 09:37:03 -0800
X-Message-Number: 5
Incorrect,
An asp:label does not need to be within a form tag.
If a control needs to be in a server side form tag, an exception will be
thrown, not a blank screen.
-----Original Message-----
From: Clif Dunaway [mailto:csdunaway@y...]
Sent: Friday, November 15, 2002 6:59 AM
To: ASP.NET
Subject: [aspx] Re: ***URGENT*** aspx installation issues
You need to place the code within a for, like this:
<html>
<body>
<form runat="server" >
<asp:label text="Hello World" runat="server"/>
</form>
</body>
</html>
bmcelhany@h... wrote:Hello,
We installed the .NET redistributable (& service pack 2) on our
production web server last night (Win2K/IIS 5.0) and are having an
issue. The install went fine, but when I call up a test page that has
the following code:
I just get a blank page...the server control is not rendered. When I
view the source, the above text is just sent through as part of the HTML
page. Does anyone have any ideas?
Thank you very much for your help!
Brian
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
END OF DIGEST
Message #3 by Carlos Magalhaes <CarlosM@t...> on Fri, 10 Jan 2003 16:45:22 +0200
|
|
Tools --> options --> text editor (Folder/option) --> All Languages --->
General --> third check box from the bottom = Line Numbers
Have fun ;)
Regards,
Carlos Magalhaes
-----Original Message-----
From: Simon Robinson [mailto:srobinson@g...]
Sent: Friday, January 10, 2003 4:38 PM
To: ASP.NET
Subject: [aspx] Silly Question
My apologies for the following question but visual studio is pissin me
off!
Does anyone know how to view the line numbers of code in VS.net?
Cheers,
Simon.
-----Original Message-----
From: Piyush Prakash [mailto:piyush_prakash@i...]
Sent: 08 January 2003 09:08
To: ASP.NET
Subject: [aspx] Putting a Hashtable value into a Queue using a Web
Service
Hi all,
I have implemented a class which has a property which returns a
Hashtable. Code is something like this :
public class OrderInfo
{
private Hashtable orderDetails = new Hashtable();
public ICollection Values
{
get
{
return orderDetails.Values;
}
}
.............
..............
}
I have written a Web Service which puts this value (Hashtable) into a
Queue(MSMQ) after formatting it using XmlMessageFormatter.
Code for this is something like this :
[WebMethod]
public void SendOrder(OrderInfo tmpOrder)
{
MessageQueue OrderQ = new
MessageQueue(".\\Private$\\Orders");
((XmlMessageFormatter)OrderQ.Formatter).TargetTypeNames = new
String[]{"BPLib.OrderInfo"};
OrderQ.Send(tmpOrder,"Order Submission");
}
Am getting the following error.
"You must implement a default accessor on System.Collections.ICollection
because it inherits from ICollection. "
Please help.
Regds,
Piyush
piyush_prakash@i...
-----Original Message-----
From: ASP.NET digest [mailto:aspx@p...]
Sent: Tuesday, November 19, 2002 5:31 AM
To: aspx digest recipients
Subject: aspx digest: November 18, 2002
-----------------------------------------------
When replying to the digest, please quote only
relevant material, and edit the subject line to
reflect the message you are replying to.
-----------------------------------------------
The URL for this list is: http://p2p.wrox.com/list.asp?list=aspx
ASPX Digest for Monday, November 18, 2002.
1. Re: ***URGENT*** aspx installation issues
2. Http Request from Windows Service
3. RE: Datagrid Driving Me Up The Wall
4. RE: ***URGENT*** aspx installation issues
5. Re: ***URGENT*** aspx installation issues
----------------------------------------------------------------------
Subject: Re: ***URGENT*** aspx installation issues
From: "Ken Schaefer" <ken@a...>
Date: Mon, 18 Nov 2002 13:55:44 +1100
X-Message-Number: 1
Seems like .aspx pages are not being interpreted
Find aspnet_regiis.exe and run this from the command prompt:
aspnet_regiis.exe -r
to setup IIS properly
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <bmcelhany@h...>
Subject: [aspx] ***URGENT*** aspx installation issues
: We installed the .NET redistributable (& service pack 2) on our
production
: web server last night (Win2K/IIS 5.0) and are having an issue. The
install
: went fine, but when I call up a test page that has the following code:
:
: <asp:label text="Hello World" runat="server"/>
:
: I just get a blank page...the server control is not rendered. When I
view
: the source, the above text is just sent through as part of the HTML
page.
: Does anyone have any ideas?
:
: Thank you very much for your help!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------------------------------
Subject: Http Request from Windows Service
From: Terrence Joubert <Terrence@v...>
Date: Mon, 18 Nov 2002 11:32:40 +0400
X-Message-Number: 2
Hi,
I want to send an HTTP Request to a web page from within a windows
service.
Will appreciate any help on how this can be done.
Thanks
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria, Mahe
----------------------------------------------------------------------
Subject: RE: Datagrid Driving Me Up The Wall
From: "Daniel Klemm" <daniel_klemm@b...>
Date: Mon, 18 Nov 2002 11:28:58 -0000
X-Message-Number: 3
I think I have solved my problem now,
Can someone confirm this
If you Click on the button that runs some code is it executed after the
page_load event or before ?
Thanks
Daniel
----- Original Message -----
From: "Paul Riley" <rilez@t...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, November 15, 2002 8:43 AM
Subject: [aspx] RE: Datagrid Driving Me Up The Wall
> Sounds like there's something slightly wrong with the order of what
you
> are doing. Can you post some code please for people to have a good
look
> at it?
>
> -----Original Message-----
> From: Daniel Klemm [mailto:daniel_klemm@b...]
> Sent: 15 November 2002 08:38
> To: ASP.NET
> Subject: [aspx] Datagrid Driving Me Up The Wall
>
> Hi all,
>
> I have a .net page with a datagrid and button,
> When I click the button it adds a new record to a database. However
> the datagrid does not display the last record added. I know the grid
> is being refreshed as when I add the next record the previous record
> added is shown.
>
> e.g.
> Add Record 1 New Record NOT Seen.
> Add Record 2 - Record 1 is now displayed.
> Add Record 3 - Record 2 is now displayed.
> etc, etc.............
>
> This is now starting to be a major milestone in my project.
>
> Can anyone help me
>
> Thanks in advance
>
> Daniel.
>
>
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to
> unsubscribe send a blank email to
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to
> unsubscribe send a blank email to
>
----------------------------------------------------------------------
Subject: RE: ***URGENT*** aspx installation issues
From: "Greg Quinn" <greg@i...>
Date: Mon, 18 Nov 2002 04:20:09 -0800
X-Message-Number: 4
The SDK is not neccessary to run asp.net files, only the .net runtime,
which is 100 megs or so less in size.
Make sure you have installed MDAC 2.7 as well.
Greg
-----Original Message-----
From: Paul Riley [mailto:rilez@t...]
Sent: Friday, November 15, 2002 6:16 AM
To: ASP.NET
Subject: [aspx] RE: ***URGENT*** aspx installation issues
Try reinstalling the SDK
-----Original Message-----
From: bmcelhany@h... [mailto:bmcelhany@h...]
Sent: 15 November 2002 14:22
To: ASP.NET
Subject: [aspx] ***URGENT*** aspx installation issues
Hello,
We installed the .NET redistributable (& service pack 2) on our
production web server last night (Win2K/IIS 5.0) and are having an
issue. The install went fine, but when I call up a test page that has
the following code:
<asp:label text="Hello World" runat="server"/>
I just get a blank page...the server control is not rendered. When I
view the source, the above text is just sent through as part of the HTML
page. Does anyone have any ideas?
Thank you very much for your help!
Brian
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
----------------------------------------------------------------------
Subject: Re: ***URGENT*** aspx installation issues
From: "Greg Quinn" <greg@i...>
Date: Mon, 18 Nov 2002 09:37:03 -0800
X-Message-Number: 5
Incorrect,
An asp:label does not need to be within a form tag.
If a control needs to be in a server side form tag, an exception will be
thrown, not a blank screen.
-----Original Message-----
From: Clif Dunaway [mailto:csdunaway@y...]
Sent: Friday, November 15, 2002 6:59 AM
To: ASP.NET
Subject: [aspx] Re: ***URGENT*** aspx installation issues
You need to place the code within a for, like this:
<html>
<body>
<form runat="server" >
<asp:label text="Hello World" runat="server"/>
</form>
</body>
</html>
bmcelhany@h... wrote:Hello,
We installed the .NET redistributable (& service pack 2) on our
production web server last night (Win2K/IIS 5.0) and are having an
issue. The install went fine, but when I call up a test page that has
the following code:
I just get a blank page...the server control is not rendered. When I
view the source, the above text is just sent through as part of the HTML
page. Does anyone have any ideas?
Thank you very much for your help!
Brian
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
END OF DIGEST
Message #4 by "Simon Robinson" <srobinson@g...> on Fri, 10 Jan 2003 14:58:27 -0000
|
|
Sam, Carlos, Thanks a lot guys!
-----Original Message-----
From: Carlos Magalhaes [mailto:CarlosM@t...]
Sent: 10 January 2003 14:45
To: ASP.NET
Subject: [aspx] RE: Silly Question
Tools --> options --> text editor (Folder/option) --> All Languages --->
General --> third check box from the bottom = Line Numbers
Have fun ;)
Regards,
Carlos Magalhaes
-----Original Message-----
From: Simon Robinson [mailto:srobinson@g...]
Sent: Friday, January 10, 2003 4:38 PM
To: ASP.NET
Subject: [aspx] Silly Question
My apologies for the following question but visual studio is pissin me
off!
Does anyone know how to view the line numbers of code in VS.net?
Cheers,
Simon.
-----Original Message-----
From: Piyush Prakash [mailto:piyush_prakash@i...]
Sent: 08 January 2003 09:08
To: ASP.NET
Subject: [aspx] Putting a Hashtable value into a Queue using a Web
Service
Hi all,
I have implemented a class which has a property which returns a
Hashtable. Code is something like this :
public class OrderInfo
{
private Hashtable orderDetails = new Hashtable();
public ICollection Values
{
get
{
return orderDetails.Values;
}
}
.............
..............
}
I have written a Web Service which puts this value (Hashtable) into a
Queue(MSMQ) after formatting it using XmlMessageFormatter.
Code for this is something like this :
[WebMethod]
public void SendOrder(OrderInfo tmpOrder)
{
MessageQueue OrderQ = new
MessageQueue(".\\Private$\\Orders");
((XmlMessageFormatter)OrderQ.Formatter).TargetTypeNames = new
String[]{"BPLib.OrderInfo"};
OrderQ.Send(tmpOrder,"Order Submission");
}
Am getting the following error.
"You must implement a default accessor on System.Collections.ICollection
because it inherits from ICollection. "
Please help.
Regds,
Piyush
piyush_prakash@i...
-----Original Message-----
From: ASP.NET digest [mailto:aspx@p...]
Sent: Tuesday, November 19, 2002 5:31 AM
To: aspx digest recipients
Subject: aspx digest: November 18, 2002
-----------------------------------------------
When replying to the digest, please quote only
relevant material, and edit the subject line to
reflect the message you are replying to.
-----------------------------------------------
The URL for this list is: http://p2p.wrox.com/list.asp?list=aspx
ASPX Digest for Monday, November 18, 2002.
1. Re: ***URGENT*** aspx installation issues
2. Http Request from Windows Service
3. RE: Datagrid Driving Me Up The Wall
4. RE: ***URGENT*** aspx installation issues
5. Re: ***URGENT*** aspx installation issues
----------------------------------------------------------------------
Subject: Re: ***URGENT*** aspx installation issues
From: "Ken Schaefer" <ken@a...>
Date: Mon, 18 Nov 2002 13:55:44 +1100
X-Message-Number: 1
Seems like .aspx pages are not being interpreted
Find aspnet_regiis.exe and run this from the command prompt:
aspnet_regiis.exe -r
to setup IIS properly
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <bmcelhany@h...>
Subject: [aspx] ***URGENT*** aspx installation issues
: We installed the .NET redistributable (& service pack 2) on our
production
: web server last night (Win2K/IIS 5.0) and are having an issue. The
install
: went fine, but when I call up a test page that has the following code:
:
: <asp:label text="Hello World" runat="server"/>
:
: I just get a blank page...the server control is not rendered. When I
view
: the source, the above text is just sent through as part of the HTML
page.
: Does anyone have any ideas?
:
: Thank you very much for your help!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------------------------------
Subject: Http Request from Windows Service
From: Terrence Joubert <Terrence@v...>
Date: Mon, 18 Nov 2002 11:32:40 +0400
X-Message-Number: 2
Hi,
I want to send an HTTP Request to a web page from within a windows
service.
Will appreciate any help on how this can be done.
Thanks
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria, Mahe
----------------------------------------------------------------------
Subject: RE: Datagrid Driving Me Up The Wall
From: "Daniel Klemm" <daniel_klemm@b...>
Date: Mon, 18 Nov 2002 11:28:58 -0000
X-Message-Number: 3
I think I have solved my problem now,
Can someone confirm this
If you Click on the button that runs some code is it executed after the
page_load event or before ?
Thanks
Daniel
----- Original Message -----
From: "Paul Riley" <rilez@t...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, November 15, 2002 8:43 AM
Subject: [aspx] RE: Datagrid Driving Me Up The Wall
> Sounds like there's something slightly wrong with the order of what
you
> are doing. Can you post some code please for people to have a good
look
> at it?
>
> -----Original Message-----
> From: Daniel Klemm [mailto:daniel_klemm@b...]
> Sent: 15 November 2002 08:38
> To: ASP.NET
> Subject: [aspx] Datagrid Driving Me Up The Wall
>
> Hi all,
>
> I have a .net page with a datagrid and button,
> When I click the button it adds a new record to a database. However
> the datagrid does not display the last record added. I know the grid
> is being refreshed as when I add the next record the previous record
> added is shown.
>
> e.g.
> Add Record 1 New Record NOT Seen.
> Add Record 2 - Record 1 is now displayed.
> Add Record 3 - Record 2 is now displayed.
> etc, etc.............
>
> This is now starting to be a major milestone in my project.
>
> Can anyone help me
>
> Thanks in advance
>
> Daniel.
>
>
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to
> unsubscribe send a blank email to
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to
> unsubscribe send a blank email to
>
----------------------------------------------------------------------
Subject: RE: ***URGENT*** aspx installation issues
From: "Greg Quinn" <greg@i...>
Date: Mon, 18 Nov 2002 04:20:09 -0800
X-Message-Number: 4
The SDK is not neccessary to run asp.net files, only the .net runtime,
which is 100 megs or so less in size.
Make sure you have installed MDAC 2.7 as well.
Greg
-----Original Message-----
From: Paul Riley [mailto:rilez@t...]
Sent: Friday, November 15, 2002 6:16 AM
To: ASP.NET
Subject: [aspx] RE: ***URGENT*** aspx installation issues
Try reinstalling the SDK
-----Original Message-----
From: bmcelhany@h... [mailto:bmcelhany@h...]
Sent: 15 November 2002 14:22
To: ASP.NET
Subject: [aspx] ***URGENT*** aspx installation issues
Hello,
We installed the .NET redistributable (& service pack 2) on our
production web server last night (Win2K/IIS 5.0) and are having an
issue. The install went fine, but when I call up a test page that has
the following code:
<asp:label text="Hello World" runat="server"/>
I just get a blank page...the server control is not rendered. When I
view the source, the above text is just sent through as part of the HTML
page. Does anyone have any ideas?
Thank you very much for your help!
Brian
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
----------------------------------------------------------------------
Subject: Re: ***URGENT*** aspx installation issues
From: "Greg Quinn" <greg@i...>
Date: Mon, 18 Nov 2002 09:37:03 -0800
X-Message-Number: 5
Incorrect,
An asp:label does not need to be within a form tag.
If a control needs to be in a server side form tag, an exception will be
thrown, not a blank screen.
-----Original Message-----
From: Clif Dunaway [mailto:csdunaway@y...]
Sent: Friday, November 15, 2002 6:59 AM
To: ASP.NET
Subject: [aspx] Re: ***URGENT*** aspx installation issues
You need to place the code within a for, like this:
<html>
<body>
<form runat="server" >
<asp:label text="Hello World" runat="server"/>
</form>
</body>
</html>
bmcelhany@h... wrote:Hello,
We installed the .NET redistributable (& service pack 2) on our
production web server last night (Win2K/IIS 5.0) and are having an
issue. The install went fine, but when I call up a test page that has
the following code:
I just get a blank page...the server control is not rendered. When I
view the source, the above text is just sent through as part of the HTML
page. Does anyone have any ideas?
Thank you very much for your help!
Brian
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
END OF DIGEST
Message #5 by Carlos Magalhaes <CarlosM@t...> on Fri, 10 Jan 2003 16:51:01 +0200
|
|
Tools --> options --> text editor (Folder/option) --> All Languages --->
General --> third check box from the bottom = Line Numbers
Have fun ;)
Regards,
Carlos Magalhaes
-----Original Message-----
From: Simon Robinson [ mailto:srobinson@g...
<mailto:srobinson@g...> ]
Sent: Friday, January 10, 2003 4:38 PM
To: ASP.NET
Subject: [aspx] Silly Question
My apologies for the following question but visual studio is pissin me
off!
Does anyone know how to view the line numbers of code in VS.net?
Cheers,
Simon.
-----Original Message-----
From: Piyush Prakash [ mailto:piyush_prakash@i...
<mailto:piyush_prakash@i...> ]
Sent: 08 January 2003 09:08
To: ASP.NET
Subject: [aspx] Putting a Hashtable value into a Queue using a Web
Service
Hi all,
I have implemented a class which has a property which returns a
Hashtable. Code is something like this :
public class OrderInfo
{
private Hashtable orderDetails = new Hashtable();
public ICollection Values
{
get
{
return orderDetails.Values;
}
}
.............
..............
}
I have written a Web Service which puts this value (Hashtable) into a
Queue(MSMQ) after formatting it using XmlMessageFormatter.
Code for this is something like this :
[WebMethod]
public void SendOrder(OrderInfo tmpOrder)
{
MessageQueue OrderQ = new
MessageQueue(".\\Private$\\Orders");
((XmlMessageFormatter)OrderQ.Formatter).TargetTypeNames = new
String[]{"BPLib.OrderInfo"};
OrderQ.Send(tmpOrder,"Order Submission");
}
Am getting the following error.
"You must implement a default accessor on System.Collections.ICollection
because it inherits from ICollection. "
Please help.
Regds,
Piyush
piyush_prakash@i...
-----Original Message-----
From: ASP.NET digest [ mailto:aspx@p...
<mailto:aspx@p...> ]
Sent: Tuesday, November 19, 2002 5:31 AM
To: aspx digest recipients
Subject: aspx digest: November 18, 2002
-----------------------------------------------
When replying to the digest, please quote only
relevant material, and edit the subject line to
reflect the message you are replying to.
-----------------------------------------------
The URL for this list is: http://p2p.wrox.com/list.asp?list=aspx
<http://p2p.wrox.com/list.asp?list=aspx>
ASPX Digest for Monday, November 18, 2002.
1. Re: ***URGENT*** aspx installation issues
2. Http Request from Windows Service
3. RE: Datagrid Driving Me Up The Wall
4. RE: ***URGENT*** aspx installation issues
5. Re: ***URGENT*** aspx installation issues
----------------------------------------------------------------------
Subject: Re: ***URGENT*** aspx installation issues
From: "Ken Schaefer" <ken@a...>
Date: Mon, 18 Nov 2002 13:55:44 +1100
X-Message-Number: 1
Seems like .aspx pages are not being interpreted
Find aspnet_regiis.exe and run this from the command prompt:
aspnet_regiis.exe -r
to setup IIS properly
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <bmcelhany@h...>
Subject: [aspx] ***URGENT*** aspx installation issues
: We installed the .NET redistributable (& service pack 2) on our
production
: web server last night (Win2K/IIS 5.0) and are having an issue. The
install
: went fine, but when I call up a test page that has the following code:
:
: <asp:label text="Hello World" runat="server"/>
:
: I just get a blank page...the server control is not rendered. When I
view
: the source, the above text is just sent through as part of the HTML
page.
: Does anyone have any ideas?
:
: Thank you very much for your help!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------------------------------
Subject: Http Request from Windows Service
From: Terrence Joubert <Terrence@v...>
Date: Mon, 18 Nov 2002 11:32:40 +0400
X-Message-Number: 2
Hi,
I want to send an HTTP Request to a web page from within a windows
service.
Will appreciate any help on how this can be done.
Thanks
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria, Mahe
----------------------------------------------------------------------
Subject: RE: Datagrid Driving Me Up The Wall
From: "Daniel Klemm" <daniel_klemm@b...>
Date: Mon, 18 Nov 2002 11:28:58 -0000
X-Message-Number: 3
I think I have solved my problem now,
Can someone confirm this
If you Click on the button that runs some code is it executed after the
page_load event or before ?
Thanks
Daniel
----- Original Message -----
From: "Paul Riley" <rilez@t...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, November 15, 2002 8:43 AM
Subject: [aspx] RE: Datagrid Driving Me Up The Wall
> Sounds like there's something slightly wrong with the order of what
you
> are doing. Can you post some code please for people to have a good
look
> at it?
>
> -----Original Message-----
> From: Daniel Klemm [ mailto:daniel_klemm@b...
<mailto:daniel_klemm@b...> ]
> Sent: 15 November 2002 08:38
> To: ASP.NET
> Subject: [aspx] Datagrid Driving Me Up The Wall
>
> Hi all,
>
> I have a .net page with a datagrid and button,
> When I click the button it adds a new record to a database. However
> the datagrid does not display the last record added. I know the grid
> is being refreshed as when I add the next record the previous record
> added is shown.
>
> e.g.
> Add Record 1 New Record NOT Seen.
> Add Record 2 - Record 1 is now displayed.
> Add Record 3 - Record 2 is now displayed.
> etc, etc.............
>
> This is now starting to be a major milestone in my project.
>
> Can anyone help me
>
> Thanks in advance
>
> Daniel.
>
>
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp> or to
> unsubscribe send a blank email to
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp> or to
> unsubscribe send a blank email to
>
----------------------------------------------------------------------
Subject: RE: ***URGENT*** aspx installation issues
From: "Greg Quinn" <greg@i...>
Date: Mon, 18 Nov 2002 04:20:09 -0800
X-Message-Number: 4
The SDK is not neccessary to run asp.net files, only the .net runtime,
which is 100 megs or so less in size.
Make sure you have installed MDAC 2.7 as well.
Greg
-----Original Message-----
From: Paul Riley [ mailto:rilez@t...
<mailto:rilez@t...> ]
Sent: Friday, November 15, 2002 6:16 AM
To: ASP.NET
Subject: [aspx] RE: ***URGENT*** aspx installation issues
Try reinstalling the SDK
-----Original Message-----
From: bmcelhany@h... [ mailto:bmcelhany@h...
<mailto:bmcelhany@h...> ]
Sent: 15 November 2002 14:22
To: ASP.NET
Subject: [aspx] ***URGENT*** aspx installation issues
Hello,
We installed the .NET redistributable (& service pack 2) on our
production web server last night (Win2K/IIS 5.0) and are having an
issue. The install went fine, but when I call up a test page that has
the following code:
<asp:label text="Hello World" runat="server"/>
I just get a blank page...the server control is not rendered. When I
view the source, the above text is just sent through as part of the HTML
page. Does anyone have any ideas?
Thank you very much for your help!
Brian
---
Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp> or to
unsubscribe send a blank email to
---
Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp> or to
unsubscribe send a blank email to
----------------------------------------------------------------------
Subject: Re: ***URGENT*** aspx installation issues
From: "Greg Quinn" <greg@i...>
Date: Mon, 18 Nov 2002 09:37:03 -0800
X-Message-Number: 5
Incorrect,
An asp:label does not need to be within a form tag.
If a control needs to be in a server side form tag, an exception will be
thrown, not a blank screen.
-----Original Message-----
From: Clif Dunaway [ mailto:csdunaway@y...
<mailto:csdunaway@y...> ]
Sent: Friday, November 15, 2002 6:59 AM
To: ASP.NET
Subject: [aspx] Re: ***URGENT*** aspx installation issues
You need to place the code within a for, like this:
<html>
<body>
<form runat="server" >
<asp:label text="Hello World" runat="server"/>
</form>
</body>
</html>
bmcelhany@h... wrote:Hello,
We installed the .NET redistributable (& service pack 2) on our
production web server last night (Win2K/IIS 5.0) and are having an
issue. The install went fine, but when I call up a test page that has
the following code:
I just get a blank page...the server control is not rendered. When I
view the source, the above text is just sent through as part of the HTML
page. Does anyone have any ideas?
Thank you very much for your help!
Brian
---
Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp> or to
unsubscribe send a blank email to
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
---
Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp> or to
unsubscribe send a blank email to
---
END OF DIGEST
---
Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp> or
---
Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp> or
---
Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp> or
|
|
 |