473,383 Members | 1,870 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,383 software developers and data experts.

Problem with .aspx file types

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
Sep 7 '06 #1
4 2157
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

"tshad" <tf*@dslextreme.comwrote in message
news:uL**************@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


Sep 7 '06 #2
"Rob MacFadyen" <rmacfadyen_at_gmail.comwrote in message
news:%2****************@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" <tf*@dslextreme.comwrote in message
news:uL**************@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



Sep 7 '06 #3
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

"tshad" <ts**********@ftsolutions.comwrote in message
news:uL**************@TK2MSFTNGP03.phx.gbl...
"Rob MacFadyen" <rmacfadyen_at_gmail.comwrote in message
news:%2****************@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" <tf*@dslextreme.comwrote in message
news:uL**************@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\inde x.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




Sep 7 '06 #4
"Rob MacFadyen" <rmacfadyen_at_gmail.comwrote in message
news:%2****************@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
>
Regards,

Rob

"tshad" <ts**********@ftsolutions.comwrote in message
news:uL**************@TK2MSFTNGP03.phx.gbl...
>"Rob MacFadyen" <rmacfadyen_at_gmail.comwrote in message
news:%2****************@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" <tf*@dslextreme.comwrote in message
news:uL**************@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\ind ex.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




Sep 8 '06 #5

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

Similar topics

2
by: AlexS | last post by:
Hello, I have error when reading schema using XmlSchema. Read and then .Compile: System.Xml.Schema.XmlSchemaException: May not be nominated as the {substitution group affiliation} of any...
4
by: Corey Dyke | last post by:
K here's what happened. For my English project at DeVry, I had to design a website for a company of my choice. So since my dad has been after me for years to do one for him, I decided to finally...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
7
by: Paul Fi | last post by:
I have this page Index.aspx, page code shown below: void Page_Load(object sender, EventArgs e) { if (IsPostBack) { if (this.drpTypeOfStock.SelectedIndex != 0)...
2
by: ajikoe | last post by:
Hi, I tried to follow the example in swig homepage. I found error which I don't understand. I use bcc32, I already include directory where my python.h exist in bcc32.cfg. /* File : example.c...
7
by: Samuel Shulman | last post by:
Is there a method that will indicate the person who logged successfully is Logged and therefore allowed to browse freely other then using the...
14
by: Brad | last post by:
I have a .net 2.0 web application project that creates a pdf file, saves the pdf to disk (crystal reports does this part), and then my code reads the pdf file and writes it to the httpresponse ...
0
by: Syoam4ka | last post by:
My project is about jewellery. I have devided my jewelery into main types, which each one of them has sub types, and each one those sub types has the jewellery. I have a tabcontainer. It includes...
6
by: Tony Johansson | last post by:
Hello! We have a C#.ASP.NET application that runs on a IIS 6. The application contains actually several asp pages but there is no GUI. The application receive an xml file that is processed....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.