473,396 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

State Service error with space in Virtual Directory

Hi,

ENV: Windows 2003 Server SP1 (+all updates), VS 2003, .Net 1.1 SP1

We've got an ASP.Net web application using State Service. All is fine until
we tried to use the app through a virtual directory with a space in it.
e.g. 'http://localhost/My%20App'.

The following exception is thrown:
----------
System.Web.HttpException: Unable to make the session state request to the
session state server. Please ensure that the ASP.NET State service is
started and that the client and server ports are the same. If the server is
on a remote machine, please ensure that it accepts remote requests by
checking the value of
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\aspnet_state\Parameters\AllowRemoteConnection.
-----------

IIS allows us to create Virtual Directories with a space, so does the State
Service not support it? I couldn't find any documentation on this or any
previous posts via Google...

If it doesn't support it, can you point me to any docs which list what are
invalid characters. The real reason is that we have an app which allows
customers to create new Virtual Directories that run our other ASP.Net apps.
We just need to know so we can stop customers creating VD's with spaces and
any other dodgy characters.

Thanks,
Stuart
Nov 19 '05 #1
5 2914
Hi Stuart,

Welcome to ASPNET newsgroup.
As for the problem of stateserver session when the asp.net app's virtual
dir folder name contains space char, I've checked our internal product
database and did found this issue. This has been recorded as a known issue
of the current ASP.NET's stateserver session manager's implemtation. So
basically, there doesn't have any particular limtation on the chars used
for web application's virtual dir(just as the IIS's rule). Also, this
issue has been confirmed to be fixed in whidbey and based on my test on a
whidbey beta2 environment, I did manage to get this work. I think this
behavior will be consistent in the final release of ASP.NET whidbey.
Currently, as for the asp.net 1.x , for your scenario, I'd still recommend
that you add limitation for the space char in your application so as to
prevent the user from creating virtual dir with names that contains spaces.
Sorry for the inconvenience this has brought you.

Thanks for your understanding.

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Stu Carter" <St********@nospam.nospam>
| Subject: State Service error with space in Virtual Directory
| Date: Tue, 27 Sep 2005 09:23:16 +0100
| Lines: 32
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| X-RFC2646: Format=Flowed; Original
| Message-ID: <eF**************@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: brooklyn-bridge.emea.veritas.com 62.172.234.2
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:127325
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi,
|
| ENV: Windows 2003 Server SP1 (+all updates), VS 2003, .Net 1.1 SP1
|
| We've got an ASP.Net web application using State Service. All is fine
until
| we tried to use the app through a virtual directory with a space in it.
| e.g. 'http://localhost/My%20App'.
|
| The following exception is thrown:
| ----------
| System.Web.HttpException: Unable to make the session state request to the
| session state server. Please ensure that the ASP.NET State service is
| started and that the client and server ports are the same. If the server
is
| on a remote machine, please ensure that it accepts remote requests by
| checking the value of
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\aspnet_state\Parameters
\AllowRemoteConnection.
| -----------
|
| IIS allows us to create Virtual Directories with a space, so does the
State
| Service not support it? I couldn't find any documentation on this or any
| previous posts via Google...
|
| If it doesn't support it, can you point me to any docs which list what
are
| invalid characters. The real reason is that we have an app which allows
| customers to create new Virtual Directories that run our other ASP.Net
apps.
| We just need to know so we can stop customers creating VD's with spaces
and
| any other dodgy characters.
|
| Thanks,
| Stuart
|
|
|

Nov 19 '05 #2
Hi Steven,

Thanks for the quick reply. I just need clarification on your response:
This has been recorded as a known issue
of the current ASP.NET's stateserver session manager's implemtation. So
basically, there doesn't have any particular limtation on the chars used
for web application's virtual dir(just as the IIS's rule).
I don't understand what you mean when you say 'there isn't any particular
limitation on the characters used - just the IIS rules'. We followed the
IIS rules and it broke! :)

Is it only a space that causes the issue or can other characters cause a
problem too?

Thanks again,
Stuart

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:S9*************@TK2MSFTNGXA01.phx.gbl... Hi Stuart,

Welcome to ASPNET newsgroup.
As for the problem of stateserver session when the asp.net app's virtual
dir folder name contains space char, I've checked our internal product
database and did found this issue. This has been recorded as a known issue
of the current ASP.NET's stateserver session manager's implemtation. So
basically, there doesn't have any particular limtation on the chars used
for web application's virtual dir(just as the IIS's rule). Also, this
issue has been confirmed to be fixed in whidbey and based on my test on a
whidbey beta2 environment, I did manage to get this work. I think this
behavior will be consistent in the final release of ASP.NET whidbey.
Currently, as for the asp.net 1.x , for your scenario, I'd still recommend
that you add limitation for the space char in your application so as to
prevent the user from creating virtual dir with names that contains
spaces.
Sorry for the inconvenience this has brought you.

Thanks for your understanding.

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Stu Carter" <St********@nospam.nospam>
| Subject: State Service error with space in Virtual Directory
| Date: Tue, 27 Sep 2005 09:23:16 +0100
| Lines: 32
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| X-RFC2646: Format=Flowed; Original
| Message-ID: <eF**************@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: brooklyn-bridge.emea.veritas.com 62.172.234.2
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:127325
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi,
|
| ENV: Windows 2003 Server SP1 (+all updates), VS 2003, .Net 1.1 SP1
|
| We've got an ASP.Net web application using State Service. All is fine
until
| we tried to use the app through a virtual directory with a space in it.
| e.g. 'http://localhost/My%20App'.
|
| The following exception is thrown:
| ----------
| System.Web.HttpException: Unable to make the session state request to
the
| session state server. Please ensure that the ASP.NET State service is
| started and that the client and server ports are the same. If the server
is
| on a remote machine, please ensure that it accepts remote requests by
| checking the value of
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\aspnet_state\Parameters
\AllowRemoteConnection.
| -----------
|
| IIS allows us to create Virtual Directories with a space, so does the
State
| Service not support it? I couldn't find any documentation on this or
any
| previous posts via Google...
|
| If it doesn't support it, can you point me to any docs which list what
are
| invalid characters. The real reason is that we have an app which allows
| customers to create new Virtual Directories that run our other ASP.Net
apps.
| We just need to know so we can stop customers creating VD's with spaces
and
| any other dodgy characters.
|
| Thanks,
| Stuart
|
|
|

Nov 19 '05 #3
Hi Stuart,

Sorry for my unclear description. the

==========
'there isn't any particular
limitation on the characters used - just the IIS rules'.
=============

I mentioned just means, from a developer perspective, there has no
limitation on the name of the asp.net application's virtual dir name. In
other words, the NAME IIS allowed is also allowed to be used for ASP.NET
app.
The "space" char problem is due to an existing BUG of our current ASP.NET's
stateserver session manager implementation. Also, if you find any other
new problems with it, please feel free to report to us.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Stu Carter" <St********@nospam.nospam>
| References: <eF**************@TK2MSFTNGP12.phx.gbl>
<S9*************@TK2MSFTNGXA01.phx.gbl>
| Subject: Re: State Service error with space in Virtual Directory
| Date: Tue, 27 Sep 2005 15:09:49 +0100
| Lines: 116
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| X-RFC2646: Format=Flowed; Original
| Message-ID: <#V**************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: brooklyn-bridge.emea.veritas.com 62.172.234.2
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:127414
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi Steven,
|
| Thanks for the quick reply. I just need clarification on your response:
|
| > This has been recorded as a known issue
| > of the current ASP.NET's stateserver session manager's implemtation. So
| > basically, there doesn't have any particular limtation on the chars used
| > for web application's virtual dir(just as the IIS's rule).
|
| I don't understand what you mean when you say 'there isn't any particular
| limitation on the characters used - just the IIS rules'. We followed the
| IIS rules and it broke! :)
|
| Is it only a space that causes the issue or can other characters cause a
| problem too?
|
| Thanks again,
| Stuart
|
| "Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
| news:S9*************@TK2MSFTNGXA01.phx.gbl...
| > Hi Stuart,
| >
| > Welcome to ASPNET newsgroup.
| > As for the problem of stateserver session when the asp.net app's virtual
| > dir folder name contains space char, I've checked our internal product
| > database and did found this issue. This has been recorded as a known
issue
| > of the current ASP.NET's stateserver session manager's implemtation. So
| > basically, there doesn't have any particular limtation on the chars used
| > for web application's virtual dir(just as the IIS's rule). Also, this
| > issue has been confirmed to be fixed in whidbey and based on my test on
a
| > whidbey beta2 environment, I did manage to get this work. I think this
| > behavior will be consistent in the final release of ASP.NET whidbey.
| > Currently, as for the asp.net 1.x , for your scenario, I'd still
recommend
| > that you add limitation for the space char in your application so as to
| > prevent the user from creating virtual dir with names that contains
| > spaces.
| > Sorry for the inconvenience this has brought you.
| >
| > Thanks for your understanding.
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| >
| >
| >
| > --------------------
| > | From: "Stu Carter" <St********@nospam.nospam>
| > | Subject: State Service error with space in Virtual Directory
| > | Date: Tue, 27 Sep 2005 09:23:16 +0100
| > | Lines: 32
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| > | X-RFC2646: Format=Flowed; Original
| > | Message-ID: <eF**************@TK2MSFTNGP12.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: brooklyn-bridge.emea.veritas.com 62.172.234.2
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:127325
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Hi,
| > |
| > | ENV: Windows 2003 Server SP1 (+all updates), VS 2003, .Net 1.1 SP1
| > |
| > | We've got an ASP.Net web application using State Service. All is fine
| > until
| > | we tried to use the app through a virtual directory with a space in
it.
| > | e.g. 'http://localhost/My%20App'.
| > |
| > | The following exception is thrown:
| > | ----------
| > | System.Web.HttpException: Unable to make the session state request to
| > the
| > | session state server. Please ensure that the ASP.NET State service is
| > | started and that the client and server ports are the same. If the
server
| > is
| > | on a remote machine, please ensure that it accepts remote requests by
| > | checking the value of
| > |
| >
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\aspnet_state\Parameters
| > \AllowRemoteConnection.
| > | -----------
| > |
| > | IIS allows us to create Virtual Directories with a space, so does the
| > State
| > | Service not support it? I couldn't find any documentation on this or
| > any
| > | previous posts via Google...
| > |
| > | If it doesn't support it, can you point me to any docs which list what
| > are
| > | invalid characters. The real reason is that we have an app which
allows
| > | customers to create new Virtual Directories that run our other ASP.Net
| > apps.
| > | We just need to know so we can stop customers creating VD's with
spaces
| > and
| > | any other dodgy characters.
| > |
| > | Thanks,
| > | Stuart
| > |
| > |
| > |
| >
|
|
|

Nov 19 '05 #4
OK, thanks Steven

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:%2******************@TK2MSFTNGXA01.phx.gbl...
Hi Stuart,

Sorry for my unclear description. the

==========
'there isn't any particular
limitation on the characters used - just the IIS rules'.
=============

I mentioned just means, from a developer perspective, there has no
limitation on the name of the asp.net application's virtual dir name. In
other words, the NAME IIS allowed is also allowed to be used for ASP.NET
app.
The "space" char problem is due to an existing BUG of our current
ASP.NET's
stateserver session manager implementation. Also, if you find any other
new problems with it, please feel free to report to us.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Stu Carter" <St********@nospam.nospam>
| References: <eF**************@TK2MSFTNGP12.phx.gbl>
<S9*************@TK2MSFTNGXA01.phx.gbl>
| Subject: Re: State Service error with space in Virtual Directory
| Date: Tue, 27 Sep 2005 15:09:49 +0100
| Lines: 116
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| X-RFC2646: Format=Flowed; Original
| Message-ID: <#V**************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: brooklyn-bridge.emea.veritas.com 62.172.234.2
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:127414
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi Steven,
|
| Thanks for the quick reply. I just need clarification on your response:
|
| > This has been recorded as a known issue
| > of the current ASP.NET's stateserver session manager's implemtation.
So
| > basically, there doesn't have any particular limtation on the chars
used
| > for web application's virtual dir(just as the IIS's rule).
|
| I don't understand what you mean when you say 'there isn't any
particular
| limitation on the characters used - just the IIS rules'. We followed
the
| IIS rules and it broke! :)
|
| Is it only a space that causes the issue or can other characters cause a
| problem too?
|
| Thanks again,
| Stuart
|
| "Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
| news:S9*************@TK2MSFTNGXA01.phx.gbl...
| > Hi Stuart,
| >
| > Welcome to ASPNET newsgroup.
| > As for the problem of stateserver session when the asp.net app's
virtual
| > dir folder name contains space char, I've checked our internal product
| > database and did found this issue. This has been recorded as a known
issue
| > of the current ASP.NET's stateserver session manager's implemtation.
So
| > basically, there doesn't have any particular limtation on the chars
used
| > for web application's virtual dir(just as the IIS's rule). Also, this
| > issue has been confirmed to be fixed in whidbey and based on my test
on
a
| > whidbey beta2 environment, I did manage to get this work. I think this
| > behavior will be consistent in the final release of ASP.NET whidbey.
| > Currently, as for the asp.net 1.x , for your scenario, I'd still
recommend
| > that you add limitation for the space char in your application so as
to
| > prevent the user from creating virtual dir with names that contains
| > spaces.
| > Sorry for the inconvenience this has brought you.
| >
| > Thanks for your understanding.
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| >
| >
| >
| > --------------------
| > | From: "Stu Carter" <St********@nospam.nospam>
| > | Subject: State Service error with space in Virtual Directory
| > | Date: Tue, 27 Sep 2005 09:23:16 +0100
| > | Lines: 32
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| > | X-RFC2646: Format=Flowed; Original
| > | Message-ID: <eF**************@TK2MSFTNGP12.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: brooklyn-bridge.emea.veritas.com 62.172.234.2
| > | Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:127325
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Hi,
| > |
| > | ENV: Windows 2003 Server SP1 (+all updates), VS 2003, .Net 1.1 SP1
| > |
| > | We've got an ASP.Net web application using State Service. All is
fine
| > until
| > | we tried to use the app through a virtual directory with a space in
it.
| > | e.g. 'http://localhost/My%20App'.
| > |
| > | The following exception is thrown:
| > | ----------
| > | System.Web.HttpException: Unable to make the session state request
to
| > the
| > | session state server. Please ensure that the ASP.NET State service
is
| > | started and that the client and server ports are the same. If the
server
| > is
| > | on a remote machine, please ensure that it accepts remote requests
by
| > | checking the value of
| > |
| >
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\aspnet_state\Parameters
| > \AllowRemoteConnection.
| > | -----------
| > |
| > | IIS allows us to create Virtual Directories with a space, so does
the
| > State
| > | Service not support it? I couldn't find any documentation on this
or
| > any
| > | previous posts via Google...
| > |
| > | If it doesn't support it, can you point me to any docs which list
what
| > are
| > | invalid characters. The real reason is that we have an app which
allows
| > | customers to create new Virtual Directories that run our other
ASP.Net
| > apps.
| > | We just need to know so we can stop customers creating VD's with
spaces
| > and
| > | any other dodgy characters.
| > |
| > | Thanks,
| > | Stuart
| > |
| > |
| > |
| >
|
|
|

Nov 19 '05 #5
You're welcome Stu,

Good luck!

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Stu Carter" <St********@nospam.nospam>
| References: <eF**************@TK2MSFTNGP12.phx.gbl>
<S9*************@TK2MSFTNGXA01.phx.gbl>
<#V**************@TK2MSFTNGP11.phx.gbl>
<##**************@TK2MSFTNGXA01.phx.gbl>
| Subject: Re: State Service error with space in Virtual Directory
| Date: Wed, 28 Sep 2005 10:43:06 +0100
| Lines: 197
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| X-RFC2646: Format=Flowed; Original
| Message-ID: <#t**************@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: brooklyn-bridge.emea.veritas.com 62.172.234.2
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:127617
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| OK, thanks Steven
|
| "Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
| news:%2******************@TK2MSFTNGXA01.phx.gbl...
| > Hi Stuart,
| >
| > Sorry for my unclear description. the
| >
| > ==========
| > 'there isn't any particular
| > limitation on the characters used - just the IIS rules'.
| > =============
| >
| > I mentioned just means, from a developer perspective, there has no
| > limitation on the name of the asp.net application's virtual dir name. In
| > other words, the NAME IIS allowed is also allowed to be used for ASP.NET
| > app.
| > The "space" char problem is due to an existing BUG of our current
| > ASP.NET's
| > stateserver session manager implementation. Also, if you find any other
| > new problems with it, please feel free to report to us.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| > --------------------
| > | From: "Stu Carter" <St********@nospam.nospam>
| > | References: <eF**************@TK2MSFTNGP12.phx.gbl>
| > <S9*************@TK2MSFTNGXA01.phx.gbl>
| > | Subject: Re: State Service error with space in Virtual Directory
| > | Date: Tue, 27 Sep 2005 15:09:49 +0100
| > | Lines: 116
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| > | X-RFC2646: Format=Flowed; Original
| > | Message-ID: <#V**************@TK2MSFTNGP11.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: brooklyn-bridge.emea.veritas.com 62.172.234.2
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:127414
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Hi Steven,
| > |
| > | Thanks for the quick reply. I just need clarification on your
response:
| > |
| > | > This has been recorded as a known issue
| > | > of the current ASP.NET's stateserver session manager's
implemtation.
| > So
| > | > basically, there doesn't have any particular limtation on the chars
| > used
| > | > for web application's virtual dir(just as the IIS's rule).
| > |
| > | I don't understand what you mean when you say 'there isn't any
| > particular
| > | limitation on the characters used - just the IIS rules'. We followed
| > the
| > | IIS rules and it broke! :)
| > |
| > | Is it only a space that causes the issue or can other characters
cause a
| > | problem too?
| > |
| > | Thanks again,
| > | Stuart
| > |
| > | "Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
| > | news:S9*************@TK2MSFTNGXA01.phx.gbl...
| > | > Hi Stuart,
| > | >
| > | > Welcome to ASPNET newsgroup.
| > | > As for the problem of stateserver session when the asp.net app's
| > virtual
| > | > dir folder name contains space char, I've checked our internal
product
| > | > database and did found this issue. This has been recorded as a known
| > issue
| > | > of the current ASP.NET's stateserver session manager's
implemtation.
| > So
| > | > basically, there doesn't have any particular limtation on the chars
| > used
| > | > for web application's virtual dir(just as the IIS's rule). Also,
this
| > | > issue has been confirmed to be fixed in whidbey and based on my
test
| > on
| > a
| > | > whidbey beta2 environment, I did manage to get this work. I think
this
| > | > behavior will be consistent in the final release of ASP.NET whidbey.
| > | > Currently, as for the asp.net 1.x , for your scenario, I'd still
| > recommend
| > | > that you add limitation for the space char in your application so
as
| > to
| > | > prevent the user from creating virtual dir with names that contains
| > | > spaces.
| > | > Sorry for the inconvenience this has brought you.
| > | >
| > | > Thanks for your understanding.
| > | >
| > | > Steven Cheng
| > | > Microsoft Online Support
| > | >
| > | > Get Secure! www.microsoft.com/security
| > | > (This posting is provided "AS IS", with no warranties, and confers
no
| > | > rights.)
| > | >
| > | >
| > | >
| > | >
| > | >
| > | > --------------------
| > | > | From: "Stu Carter" <St********@nospam.nospam>
| > | > | Subject: State Service error with space in Virtual Directory
| > | > | Date: Tue, 27 Sep 2005 09:23:16 +0100
| > | > | Lines: 32
| > | > | X-Priority: 3
| > | > | X-MSMail-Priority: Normal
| > | > | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| > | > | X-RFC2646: Format=Flowed; Original
| > | > | Message-ID: <eF**************@TK2MSFTNGP12.phx.gbl>
| > | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | > | NNTP-Posting-Host: brooklyn-bridge.emea.veritas.com 62.172.234.2
| > | > | Path:
| > TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| > | > | Xref: TK2MSFTNGXA01.phx.gbl
| > | > microsoft.public.dotnet.framework.aspnet:127325
| > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | > |
| > | > | Hi,
| > | > |
| > | > | ENV: Windows 2003 Server SP1 (+all updates), VS 2003, .Net 1.1 SP1
| > | > |
| > | > | We've got an ASP.Net web application using State Service. All is
| > fine
| > | > until
| > | > | we tried to use the app through a virtual directory with a space
in
| > it.
| > | > | e.g. 'http://localhost/My%20App'.
| > | > |
| > | > | The following exception is thrown:
| > | > | ----------
| > | > | System.Web.HttpException: Unable to make the session state
request
| > to
| > | > the
| > | > | session state server. Please ensure that the ASP.NET State
service
| > is
| > | > | started and that the client and server ports are the same. If the
| > server
| > | > is
| > | > | on a remote machine, please ensure that it accepts remote
requests
| > by
| > | > | checking the value of
| > | > |
| > | >
| >
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\aspnet_state\Parameters
| > | > \AllowRemoteConnection.
| > | > | -----------
| > | > |
| > | > | IIS allows us to create Virtual Directories with a space, so does
| > the
| > | > State
| > | > | Service not support it? I couldn't find any documentation on
this
| > or
| > | > any
| > | > | previous posts via Google...
| > | > |
| > | > | If it doesn't support it, can you point me to any docs which list
| > what
| > | > are
| > | > | invalid characters. The real reason is that we have an app which
| > allows
| > | > | customers to create new Virtual Directories that run our other
| > ASP.Net
| > | > apps.
| > | > | We just need to know so we can stop customers creating VD's with
| > spaces
| > | > and
| > | > | any other dodgy characters.
| > | > |
| > | > | Thanks,
| > | > | Stuart
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 19 '05 #6

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

Similar topics

2
by: Edward W. | last post by:
I wrote my web service and I have no problem browsing to the asmx file and seeing the public methods. I can even invoke them with no problem. But in my asp.net application I get this error...
0
by: Nabani Silva | last post by:
Hi, hope someone could help I need to share session state (and contents) through differente web applications. I'm trying to get it done by using StateServer session state, below I paste code...
0
by: none | last post by:
Hi, I've got a problem with losing session state in ASP.NET version 2. It does it intermittently - sometimes it tanks - and sometimes it works OK. I've got the ASP.NET state service started...
4
by: tommaso.gastaldi | last post by:
If one does not configure a virtual dir as an IIS application, he/she receives the common error: ---------------------------------------- Server Error in '/' Application. .... This error can be...
11
by: sunil | last post by:
Dear All, I have created a .Net service in 2.0 and running it on a machine that has a Quad Processor. It is failing with the following error. "Error 1053: The service did not respond to the start...
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
4
weaknessforcats
by: weaknessforcats | last post by:
Design Patterns – State Often computer software operates based on a condition called a state. These states traditionally have been implemented using a switch statement. The cases of the switch...
3
by: Brent White | last post by:
I am trying to publish a web service project that works on my local machine just fine. I can access it by going to: http://localhost/service1.asmx and get the properties page. I then...
20
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.