Commerce Server Solution Sites - RetailExtensions Directory Error on Starter Site?

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server Solution Sites > December 2004 > RetailExtensions Directory Error on Starter Site?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RetailExtensions Directory Error on Starter Site?
Adam Christianson

2004-12-07, 5:49 pm

I just installed Commerce Server 2002 SP3 on Windows 2000 Server and then
unpacked the new Starter Site. everything appears to be fine until I attempt
to access a page (aspx) that is inside the 'RetailExtensions' directory,
'NewAccount.aspx' for example. Everytime I attempt to access this page I get
the error 'Cannot find server or DNS Error' in Internet Explorer. I went
back carefull through all of the install documentation for both CS2K SP3 and
the Starter Site, specifically checking for any permissions or DNS stuff,
but found nothing. The interesting thing is that if I create another
directory inside 'RetailExtension' and move the 'NewAccount.aspx' file to
that directory and change my links to access that directory, everything
works. The same is tru if I move the file out to the main directory. Does
anyone know what is going on here? I have searched everywhere and found
nothing.

Thanks.


Adam Christianson

2004-12-08, 5:51 pm

Can anyone help with this???

Thanks.

"Adam Christianson" <adam_christianson@upperdeck.com> wrote in message
news:Ok1m%237L3EHA.3380@TK2MSFTNGP09.phx.gbl...
>I just installed Commerce Server 2002 SP3 on Windows 2000 Server and then
>unpacked the new Starter Site. everything appears to be fine until I
>attempt to access a page (aspx) that is inside the 'RetailExtensions'
>directory, 'NewAccount.aspx' for example. Everytime I attempt to access
>this page I get the error 'Cannot find server or DNS Error' in Internet
>Explorer. I went back carefull through all of the install documentation for
>both CS2K SP3 and the Starter Site, specifically checking for any
>permissions or DNS stuff, but found nothing. The interesting thing is that
>if I create another directory inside 'RetailExtension' and move the
>'NewAccount.aspx' file to that directory and change my links to access that
>directory, everything works. The same is tru if I move the file out to the
>main directory. Does anyone know what is going on here? I have searched
>everywhere and found nothing.
>
> Thanks.
>



Adam Christianson

2004-12-08, 8:46 pm

This issue is also fixed if I rename the ASPX file. For example if I rename
the NewAccount.aspx file in VisualStudio to NewAccount2.aspx. I can then
rebuild the project and point my browser to
http://<<mysite>>/RetailExtensions/NewAccount2.aspx and the page will load
fine. As long as it is named NewAccount.aspx I will get the 'Cannot find
server or DNS Error'. HELP PLEASE.


"Adam Christianson" <adam_christianson@upperdeck.com> wrote in message
news:Ok1m%237L3EHA.3380@TK2MSFTNGP09.phx.gbl...
>I just installed Commerce Server 2002 SP3 on Windows 2000 Server and then
>unpacked the new Starter Site. everything appears to be fine until I
>attempt to access a page (aspx) that is inside the 'RetailExtensions'
>directory, 'NewAccount.aspx' for example. Everytime I attempt to access
>this page I get the error 'Cannot find server or DNS Error' in Internet
>Explorer. I went back carefull through all of the install documentation for
>both CS2K SP3 and the Starter Site, specifically checking for any
>permissions or DNS stuff, but found nothing. The interesting thing is that
>if I create another directory inside 'RetailExtension' and move the
>'NewAccount.aspx' file to that directory and change my links to access that
>directory, everything works. The same is tru if I move the file out to the
>main directory. Does anyone know what is going on here? I have searched
>everywhere and found nothing.
>
> Thanks.
>



Adam Christianson

2004-12-09, 5:49 pm

Here is a resopnse I received via email:
Do you have SSL enabled on the server on which you are trying this? It might
be an SSL issue (Starter Site requires SSL) or could be something
incorrectly got setup on the IIS side. Could you check the IIS Manager
settings for this directory and also that SSL is enabled on the server? (You
can use Certificate Services to generate an SSL certificate on your dev box,
if you do not have a VeriSign cert for your company handy).

"Adam Christianson" <adam_christianson@upperdeck.com> wrote in message
news:Ok1m%237L3EHA.3380@TK2MSFTNGP09.phx.gbl...
>I just installed Commerce Server 2002 SP3 on Windows 2000 Server and then
>unpacked the new Starter Site. everything appears to be fine until I
>attempt to access a page (aspx) that is inside the 'RetailExtensions'
>directory, 'NewAccount.aspx' for example. Everytime I attempt to access
>this page I get the error 'Cannot find server or DNS Error' in Internet
>Explorer. I went back carefull through all of the install documentation for
>both CS2K SP3 and the Starter Site, specifically checking for any
>permissions or DNS stuff, but found nothing. The interesting thing is that
>if I create another directory inside 'RetailExtension' and move the
>'NewAccount.aspx' file to that directory and change my links to access that
>directory, everything works. The same is tru if I move the file out to the
>main directory. Does anyone know what is going on here? I have searched
>everywhere and found nothing.
>
> Thanks.
>



Adam Christianson

2004-12-09, 5:49 pm

I did disable SSL on my development server. Is there any way to run the 2002
Starter Site on a development server with SSL disabled? I found instructions
in the "Commerce Server 2002 Starter Site Developer's Guide" Under SSL
Enforcement that explained how to disable SSL and that is what I used. Do
these instructions not work? If I need to use SSL where can I find
instructions for setting up IIS with a "fake" certificate, since I don't
have one to use.

Thanks.

"Adam Christianson" <adam_christianson@upperdeck.com> wrote in message
news:Ok1m%237L3EHA.3380@TK2MSFTNGP09.phx.gbl...
>I just installed Commerce Server 2002 SP3 on Windows 2000 Server and then
>unpacked the new Starter Site. everything appears to be fine until I
>attempt to access a page (aspx) that is inside the 'RetailExtensions'
>directory, 'NewAccount.aspx' for example. Everytime I attempt to access
>this page I get the error 'Cannot find server or DNS Error' in Internet
>Explorer. I went back carefull through all of the install documentation for
>both CS2K SP3 and the Starter Site, specifically checking for any
>permissions or DNS stuff, but found nothing. The interesting thing is that
>if I create another directory inside 'RetailExtension' and move the
>'NewAccount.aspx' file to that directory and change my links to access that
>directory, everything works. The same is tru if I move the file out to the
>main directory. Does anyone know what is going on here? I have searched
>everywhere and found nothing.
>
> Thanks.
>



Nihit Kaul [MSFT]

2004-12-09, 5:49 pm

Adam - You will need to customize the code to run without SSL, including
fixes to IIS.

From an another Newsgroup thread:

"Just remove "Require SSL channel" on those secure pages using IIS Manager
(page properties->file security->edit secure communications). The same can
be
done on the site or folder level as well."

Also - you will need to modify certain places in your code. From the same
thread:

"However, I did need to go through the code to make certain calls to
"buildUrl" functionality to "false" where the parameter was "require
secure"
or something to that effect."

Thanks,

Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
From: "Adam Christianson" <adam_christianson@upperdeck.com>
References: <Ok1m#7L3EHA.3380@TK2MSFTNGP09.phx.gbl>
Subject: Re: RetailExtensions Directory Error on Starter Site?
Date: Thu, 9 Dec 2004 10:41:26 -0800
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
Message-ID: <OJRR06h3EHA.1404@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.commerceserver.solutionsites
NNTP-Posting-Host: 208.1.120.200
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.solutionsites:6040
X-Tomcat-NG: microsoft.public.commerceserver.solutionsites

Here is a resopnse I received via email:
Do you have SSL enabled on the server on which you are trying this? It
might
be an SSL issue (Starter Site requires SSL) or could be something
incorrectly got setup on the IIS side. Could you check the IIS Manager
settings for this directory and also that SSL is enabled on the server?
(You
can use Certificate Services to generate an SSL certificate on your dev
box,
if you do not have a VeriSign cert for your company handy).

"Adam Christianson" <adam_christianson@upperdeck.com> wrote in message
news:Ok1m%237L3EHA.3380@TK2MSFTNGP09.phx.gbl...
>I just installed Commerce Server 2002 SP3 on Windows 2000 Server and then
>unpacked the new Starter Site. everything appears to be fine until I
>attempt to access a page (aspx) that is inside the 'RetailExtensions'
>directory, 'NewAccount.aspx' for example. Everytime I attempt to access
>this page I get the error 'Cannot find server or DNS Error' in Internet
>Explorer. I went back carefull through all of the install documentation

for
>both CS2K SP3 and the Starter Site, specifically checking for any
>permissions or DNS stuff, but found nothing. The interesting thing is that
>if I create another directory inside 'RetailExtension' and move the
>'NewAccount.aspx' file to that directory and change my links to access

that
>directory, everything works. The same is tru if I move the file out to the
>main directory. Does anyone know what is going on here? I have searched
>everywhere and found nothing.
>
> Thanks.
>




Adam Christianson

2004-12-09, 8:48 pm

Actually I saw this solution and it did not work for me because in order to
get to the (page properties->file security->edit secure communications) you
must have SSL enabled and configured. If you do not the 'edit secure
communications' option is grayed out.

The good news is I found my solution for running the CS2002 StarterSite in a
development environment with SSL disabled:

In CS2002 Starter Site -> ProgramFiles ->StarterSite directory there is the
'Developers_Guide.htm' documentation. In the 'SSL Enforcement' section of
that document there are instructions on how to disable SSL.

In that section they provide a VB script to run that will turn off SSL for
several pages in the root folder of CS2002 Starter site in IIS. The problem
is this script will not do this for the pages inside the 'RetailExtensions'
directory. So you will need to modify this script to include the files in
the 'RetailExtensions' directory.

Alternately you may also be able to use Microsoft's Metabase Editor to
change the AccessSSLFlags on these files, but I am not familiar with how to
do that.

I had to spend several days trying to figure this one out, so I hope this
information helps someone else out there.

"Nihit Kaul [MSFT]" <nihitk@online.microsoft.com> wrote in message
news:bsRA2mi3EHA.2148@cpmsftngxa10.phx.gbl...
> Adam - You will need to customize the code to run without SSL, including
> fixes to IIS.
>
> From an another Newsgroup thread:
>
> "Just remove "Require SSL channel" on those secure pages using IIS Manager
> (page properties->file security->edit secure communications). The same can
> be
> done on the site or folder level as well."
>
> Also - you will need to modify certain places in your code. From the same
> thread:
>
> "However, I did need to go through the code to make certain calls to
> "buildUrl" functionality to "false" where the parameter was "require
> secure"
> or something to that effect."
>
> Thanks,
>
> Nihit Kaul[MSFT]
> Commerce Server
> http://blogs.msdn.com/nihitk
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> --------------------
> From: "Adam Christianson" <adam_christianson@upperdeck.com>
> References: <Ok1m#7L3EHA.3380@TK2MSFTNGP09.phx.gbl>
> Subject: Re: RetailExtensions Directory Error on Starter Site?
> Date: Thu, 9 Dec 2004 10:41:26 -0800
> Lines: 28
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> X-RFC2646: Format=Flowed; Response
> Message-ID: <OJRR06h3EHA.1404@TK2MSFTNGP11.phx.gbl>
> Newsgroups: microsoft.public.commerceserver.solutionsites
> NNTP-Posting-Host: 208.1.120.200
> Path:
> cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
> phx.gbl
> Xref: cpmsftngxa10.phx.gbl
> microsoft.public.commerceserver.solutionsites:6040
> X-Tomcat-NG: microsoft.public.commerceserver.solutionsites
>
> Here is a resopnse I received via email:
> Do you have SSL enabled on the server on which you are trying this? It
> might
> be an SSL issue (Starter Site requires SSL) or could be something
> incorrectly got setup on the IIS side. Could you check the IIS Manager
> settings for this directory and also that SSL is enabled on the server?
> (You
> can use Certificate Services to generate an SSL certificate on your dev
> box,
> if you do not have a VeriSign cert for your company handy).
>
> "Adam Christianson" <adam_christianson@upperdeck.com> wrote in message
> news:Ok1m%237L3EHA.3380@TK2MSFTNGP09.phx.gbl...
> for
> that
>
>
>



Nihit Kaul [MSFT]

2004-12-16, 6:50 pm

Hi Adam,

Thanks a lot for posting your solution - I am sure this will be very useful
to other customers as well.

Thanks,
Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

--------------------
From: "Adam Christianson" <adam_christianson@upperdeck.com>
References: <Ok1m#7L3EHA.3380@TK2MSFTNGP09.phx.gbl>
<OJRR06h3EHA.1404@TK2MSFTNGP11.phx.gbl>
<bsRA2mi3EHA.2148@cpmsftngxa10.phx.gbl>
Subject: Re: RetailExtensions Directory Error on Starter Site?
Date: Thu, 9 Dec 2004 17:06:31 -0800
Lines: 112
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <OZ4E9Rl3EHA.3336@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.commerceserver.solutionsites
NNTP-Posting-Host: 208.1.120.200
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.solutionsites:6044
X-Tomcat-NG: microsoft.public.commerceserver.solutionsites

Actually I saw this solution and it did not work for me because in order to
get to the (page properties->file security->edit secure communications) you
must have SSL enabled and configured. If you do not the 'edit secure
communications' option is grayed out.

The good news is I found my solution for running the CS2002 StarterSite in
a
development environment with SSL disabled:

In CS2002 Starter Site -> ProgramFiles ->StarterSite directory there is
the
'Developers_Guide.htm' documentation. In the 'SSL Enforcement' section of
that document there are instructions on how to disable SSL.

In that section they provide a VB script to run that will turn off SSL for
several pages in the root folder of CS2002 Starter site in IIS. The problem
is this script will not do this for the pages inside the 'RetailExtensions'
directory. So you will need to modify this script to include the files in
the 'RetailExtensions' directory.

Alternately you may also be able to use Microsoft's Metabase Editor to
change the AccessSSLFlags on these files, but I am not familiar with how to
do that.

I had to spend several days trying to figure this one out, so I hope this
information helps someone else out there.

"Nihit Kaul [MSFT]" <nihitk@online.microsoft.com> wrote in message
news:bsRA2mi3EHA.2148@cpmsftngxa10.phx.gbl...
> Adam - You will need to customize the code to run without SSL, including
> fixes to IIS.
>
> From an another Newsgroup thread:
>
> "Just remove "Require SSL channel" on those secure pages using IIS Manager
> (page properties->file security->edit secure communications). The same can
> be
> done on the site or folder level as well."
>
> Also - you will need to modify certain places in your code. From the same
> thread:
>
> "However, I did need to go through the code to make certain calls to
> "buildUrl" functionality to "false" where the parameter was "require
> secure"
> or something to that effect."
>
> Thanks,
>
> Nihit Kaul[MSFT]
> Commerce Server
> http://blogs.msdn.com/nihitk
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> --------------------
> From: "Adam Christianson" <adam_christianson@upperdeck.com>
> References: <Ok1m#7L3EHA.3380@TK2MSFTNGP09.phx.gbl>
> Subject: Re: RetailExtensions Directory Error on Starter Site?
> Date: Thu, 9 Dec 2004 10:41:26 -0800
> Lines: 28
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> X-RFC2646: Format=Flowed; Response
> Message-ID: <OJRR06h3EHA.1404@TK2MSFTNGP11.phx.gbl>
> Newsgroups: microsoft.public.commerceserver.solutionsites
> NNTP-Posting-Host: 208.1.120.200
> Path:
>

cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
> phx.gbl
> Xref: cpmsftngxa10.phx.gbl
> microsoft.public.commerceserver.solutionsites:6040
> X-Tomcat-NG: microsoft.public.commerceserver.solutionsites
>
> Here is a resopnse I received via email:
> Do you have SSL enabled on the server on which you are trying this? It
> might
> be an SSL issue (Starter Site requires SSL) or could be something
> incorrectly got setup on the IIS side. Could you check the IIS Manager
> settings for this directory and also that SSL is enabled on the server?
> (You
> can use Certificate Services to generate an SSL certificate on your dev
> box,
> if you do not have a VeriSign cert for your company handy).
>
> "Adam Christianson" <adam_christianson@upperdeck.com> wrote in message
> news:Ok1m%237L3EHA.3380@TK2MSFTNGP09.phx.gbl...
> for
> that
>
>
>




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com