Home All Groups Group Topic Archive Search About

Problem with .aspx file types

Author
7 Sep 2006 5:01 AM
tshad
At work we are setting up a new web site and had a problem with running a
page when using URL:

\\phoenix\cdrive\inetpub\wwwroot\hrworkshop\index.aspx

It would start up notepad to edit the file.

When I went to IIS and changed the default file to index.aspx,  this made it
work fine.

At home using our vpn, we are now having the same problem - my machine
starts up notepad to edit the file from IE.  My bosses machine starts VS
2003 to open index.aspx.

How do we tell our home machines not to open the file but send it to the IIS
server at work?

Thanks,

Tom

Author
7 Sep 2006 5:25 AM
Rob MacFadyen
Tom,

IE looks at \\phoenix\... and determines that it is a UNC (share drive) and
switches to Windows Explorer mode... which just opens the file using notepad
(I bet it asked what program to use to open the file).

Try http://phoenix/hrworkshop/index.aspx

You may or may not need to setup hrworkshop as a true virtual directory. If
you haven't done anything to configure the webserver then hrworkshop is
probably just a subdirectory (and not a virtual directory).

Regards,

Rob

Show quote
"tshad" <t**@dslextreme.com> wrote in message
news:uLewqqj0GHA.2072@TK2MSFTNGP06.phx.gbl...
> At work we are setting up a new web site and had a problem with running a
> page when using URL:
>
> \\phoenix\cdrive\inetpub\wwwroot\hrworkshop\index.aspx
>
> It would start up notepad to edit the file.
>
> When I went to IIS and changed the default file to index.aspx,  this made
> it
> work fine.
>
> At home using our vpn, we are now having the same problem - my machine
> starts up notepad to edit the file from IE.  My bosses machine starts VS
> 2003 to open index.aspx.
>
> How do we tell our home machines not to open the file but send it to the
> IIS
> server at work?
>
> Thanks,
>
> Tom
>
>
Author
7 Sep 2006 3:58 PM
tshad
"Rob MacFadyen" <rmacfadyen_at_gmail.com> wrote in message
news:%23Uovh4j0GHA.4580@TK2MSFTNGP05.phx.gbl...
> Tom,
>
> IE looks at \\phoenix\... and determines that it is a UNC (share drive)
> and switches to Windows Explorer mode... which just opens the file using
> notepad (I bet it asked what program to use to open the file).
>

cdrive is a shared drive.  I would expect that it is a shared drive or I
wouldn't be able to open it at all.  The workstations at work don't have
this behavior.  I assume that somewhere on my drive it is saying run a
particular program to open this type of file - which is not the same at
work.

You mention switching to Windows Explorer mode.  Where would that be
defined?

Thanks,

Tom
Show quote
> Try http://phoenix/hrworkshop/index.aspx
>
> You may or may not need to setup hrworkshop as a true virtual directory.
> If you haven't done anything to configure the webserver then hrworkshop is
> probably just a subdirectory (and not a virtual directory).
>
> Regards,
>
> Rob
>
> "tshad" <t**@dslextreme.com> wrote in message
> news:uLewqqj0GHA.2072@TK2MSFTNGP06.phx.gbl...
>> At work we are setting up a new web site and had a problem with running a
>> page when using URL:
>>
>> \\phoenix\cdrive\inetpub\wwwroot\hrworkshop\index.aspx
>>
>> It would start up notepad to edit the file.
>>
>> When I went to IIS and changed the default file to index.aspx,  this made
>> it
>> work fine.
>>
>> At home using our vpn, we are now having the same problem - my machine
>> starts up notepad to edit the file from IE.  My bosses machine starts VS
>> 2003 to open index.aspx.
>>
>> How do we tell our home machines not to open the file but send it to the
>> IIS
>> server at work?
>>
>> Thanks,
>>
>> Tom
>>
>>
>
>
Author
7 Sep 2006 5:25 PM
Rob MacFadyen
Tom,

The switch to Windows Explorer mode is "just the way IE works".

Here's what I mean... first "windows explorer":
1. Start->My Computer, click on C: -> this is windows explorer

Now "IE":
1. Start->All Programs->Internet Explorer (home page loads)
2. In the address bar type "c:\" and press enter
3. Viola... IE has "become" a "Windows Explorer"


Does that make what I meant by "windows explorer" mode clearer?

You can't deliver a webbased application via a shared drive. Shared drives
are for delivering raw file contents... and .ASPX files need to be processed
by a webserver to produce the final output.

This means you have to deliver the webapplication via IIS... so on your
Phoenix server you have to be running IIS, it has to be configured to
execute .NET webapplications, and it has to have your webapplication
installed on it.

Does that make sense?

Regards,

Rob





Show quote
"tshad" <tscheider***@ftsolutions.com> wrote in message
news:uLT2pZp0GHA.3716@TK2MSFTNGP03.phx.gbl...
> "Rob MacFadyen" <rmacfadyen_at_gmail.com> wrote in message
> news:%23Uovh4j0GHA.4580@TK2MSFTNGP05.phx.gbl...
>> Tom,
>>
>> IE looks at \\phoenix\... and determines that it is a UNC (share drive)
>> and switches to Windows Explorer mode... which just opens the file using
>> notepad (I bet it asked what program to use to open the file).
>>
>
> cdrive is a shared drive.  I would expect that it is a shared drive or I
> wouldn't be able to open it at all.  The workstations at work don't have
> this behavior.  I assume that somewhere on my drive it is saying run a
> particular program to open this type of file - which is not the same at
> work.
>
> You mention switching to Windows Explorer mode.  Where would that be
> defined?
>
> Thanks,
>
> Tom
>> Try http://phoenix/hrworkshop/index.aspx
>>
>> You may or may not need to setup hrworkshop as a true virtual directory.
>> If you haven't done anything to configure the webserver then hrworkshop
>> is probably just a subdirectory (and not a virtual directory).
>>
>> Regards,
>>
>> Rob
>>
>> "tshad" <t**@dslextreme.com> wrote in message
>> news:uLewqqj0GHA.2072@TK2MSFTNGP06.phx.gbl...
>>> At work we are setting up a new web site and had a problem with running
>>> a
>>> page when using URL:
>>>
>>> \\phoenix\cdrive\inetpub\wwwroot\hrworkshop\index.aspx
>>>
>>> It would start up notepad to edit the file.
>>>
>>> When I went to IIS and changed the default file to index.aspx,  this
>>> made it
>>> work fine.
>>>
>>> At home using our vpn, we are now having the same problem - my machine
>>> starts up notepad to edit the file from IE.  My bosses machine starts VS
>>> 2003 to open index.aspx.
>>>
>>> How do we tell our home machines not to open the file but send it to the
>>> IIS
>>> server at work?
>>>
>>> Thanks,
>>>
>>> Tom
>>>
>>>
>>
>>
>
>
Author
8 Sep 2006 2:21 AM
tshad
Show quote
"Rob MacFadyen" <rmacfadyen_at_gmail.com> wrote in message
news:%23j3asKq0GHA.5072@TK2MSFTNGP03.phx.gbl...
> Tom,
>
> The switch to Windows Explorer mode is "just the way IE works".
>
> Here's what I mean... first "windows explorer":
> 1. Start->My Computer, click on C: -> this is windows explorer
>
> Now "IE":
> 1. Start->All Programs->Internet Explorer (home page loads)
> 2. In the address bar type "c:\" and press enter
> 3. Viola... IE has "become" a "Windows Explorer"
>
>
> Does that make what I meant by "windows explorer" mode clearer?
>
> You can't deliver a webbased application via a shared drive. Shared drives
> are for delivering raw file contents... and .ASPX files need to be
> processed by a webserver to produce the final output.
>
> This means you have to deliver the webapplication via IIS... so on your
> Phoenix server you have to be running IIS, it has to be configured to
> execute .NET webapplications, and it has to have your webapplication
> installed on it.
>
> Does that make sense?

Yes.

And if my XP at work didn't open the page as a normal Web page, that would
make sense.  But why is may machine at work opening it as a web page.  Why
doesn't it open it in edit mode (Windows Explorer mode)?

That is what is confusing.

I always thought the same thing as you until this happened.  My boss has
been asking this and I am trying to get an answer for him.

Thanks,

Tom
Show quote
>
> Regards,
>
> Rob
>
>
>
>
>
> "tshad" <tscheider***@ftsolutions.com> wrote in message
> news:uLT2pZp0GHA.3716@TK2MSFTNGP03.phx.gbl...
>> "Rob MacFadyen" <rmacfadyen_at_gmail.com> wrote in message
>> news:%23Uovh4j0GHA.4580@TK2MSFTNGP05.phx.gbl...
>>> Tom,
>>>
>>> IE looks at \\phoenix\... and determines that it is a UNC (share drive)
>>> and switches to Windows Explorer mode... which just opens the file using
>>> notepad (I bet it asked what program to use to open the file).
>>>
>>
>> cdrive is a shared drive.  I would expect that it is a shared drive or I
>> wouldn't be able to open it at all.  The workstations at work don't have
>> this behavior.  I assume that somewhere on my drive it is saying run a
>> particular program to open this type of file - which is not the same at
>> work.
>>
>> You mention switching to Windows Explorer mode.  Where would that be
>> defined?
>>
>> Thanks,
>>
>> Tom
>>> Try http://phoenix/hrworkshop/index.aspx
>>>
>>> You may or may not need to setup hrworkshop as a true virtual directory.
>>> If you haven't done anything to configure the webserver then hrworkshop
>>> is probably just a subdirectory (and not a virtual directory).
>>>
>>> Regards,
>>>
>>> Rob
>>>
>>> "tshad" <t**@dslextreme.com> wrote in message
>>> news:uLewqqj0GHA.2072@TK2MSFTNGP06.phx.gbl...
>>>> At work we are setting up a new web site and had a problem with running
>>>> a
>>>> page when using URL:
>>>>
>>>> \\phoenix\cdrive\inetpub\wwwroot\hrworkshop\index.aspx
>>>>
>>>> It would start up notepad to edit the file.
>>>>
>>>> When I went to IIS and changed the default file to index.aspx,  this
>>>> made it
>>>> work fine.
>>>>
>>>> At home using our vpn, we are now having the same problem - my machine
>>>> starts up notepad to edit the file from IE.  My bosses machine starts
>>>> VS
>>>> 2003 to open index.aspx.
>>>>
>>>> How do we tell our home machines not to open the file but send it to
>>>> the IIS
>>>> server at work?
>>>>
>>>> Thanks,
>>>>
>>>> Tom
>>>>
>>>>
>>>
>>>
>>
>>
>
>

AddThis Social Bookmark Button