Problem with .aspx file types

T

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
 
R

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
 
T

tshad

Rob MacFadyen said:
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
 
R

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
 
T

tshad

Rob MacFadyen said:
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
 
Joined
Oct 10, 2006
Messages
2
Reaction score
0
Hi Tom / Rob,

Can you please help me in the issue with browsing the .aspx from the client machine which is there in server because i am also facing same problem when i tried to open .aspx filr from the client machine..
How do you resolve this problem..
Please revert back to me at (e-mail address removed)

Thanks & regards,

Kumarm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top