473,324 Members | 2,531 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,324 software developers and data experts.

How configure an IIS folder from remote to run web service or asp app ?

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 caused by a virtual directory not being configured as
an application in IIS.
----------------------------------------

Assume that I have a remote site: http://Mysite/MyApps/MyAppDir
I want to upload - via FTP - my application (asp.net + 1 web service)
to MyAppDir,
but I have forgotten to configure the MyAppDir folder as an application
in IIS,
so it will not work.

My question:
Assuming that I can connect to the http root via FTP and can write any
file, is it possible
for me - from remote - to configure IIS so that my service and asp.net
application will run ? How would I do that?

Many thanks for any help,

- Tom

Jul 7 '06 #1
4 5732
If you are using Windows Server 2003, then try this
There would be a default Sharepoint Administration services site created.
THe Port number has to be configured for this.
On configuring the port number, try to acces the website from another machine.

Challenge for Credentials will be thrown. The default user having access to
that site is the Local administrator

once logged in, a Subweb can be created on the name of the folder that needs
to be turned into a virtual directory

try accessing the webservice. If it does not work, then, merge the subweb
with the main website and try accessing again.

I am not sure if this would work.

"to**************@uniroma1.it" wrote:
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 caused by a virtual directory not being configured as
an application in IIS.
----------------------------------------

Assume that I have a remote site: http://Mysite/MyApps/MyAppDir
I want to upload - via FTP - my application (asp.net + 1 web service)
to MyAppDir,
but I have forgotten to configure the MyAppDir folder as an application
in IIS,
so it will not work.

My question:
Assuming that I can connect to the http root via FTP and can write any
file, is it possible
for me - from remote - to configure IIS so that my service and asp.net
application will run ? How would I do that?

Many thanks for any help,

- Tom

Jul 13 '06 #2
Thank you very much Kiran,

actually I cannot test your ingenious procedure because my server is
running on XP professional. Sorry, I should have mentioned the OS. Any
workaround for XP?

Probably if one would know how does windows "mark" a folder as an
application in IIS it would probably be possible to do it manually from
remote, provided that this setting is written on some file accessible
from remote (and not in the registry or somewhere else)...

-tom

Kiran ha scritto:
If you are using Windows Server 2003, then try this
There would be a default Sharepoint Administration services site created.
THe Port number has to be configured for this.
On configuring the port number, try to acces the website from another machine.

Challenge for Credentials will be thrown. The default user having access to
that site is the Local administrator

once logged in, a Subweb can be created on the name of the folder that needs
to be turned into a virtual directory

try accessing the webservice. If it does not work, then, merge the subweb
with the main website and try accessing again.

I am not sure if this would work.

"to**************@uniroma1.it" wrote:
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 caused by a virtual directory not being configured as
an application in IIS.
----------------------------------------

Assume that I have a remote site: http://Mysite/MyApps/MyAppDir
I want to upload - via FTP - my application (asp.net + 1 web service)
to MyAppDir,
but I have forgotten to configure the MyAppDir folder as an application
in IIS,
so it will not work.

My question:
Assuming that I can connect to the http root via FTP and can write any
file, is it possible
for me - from remote - to configure IIS so that my service and asp.net
application will run ? How would I do that?

Many thanks for any help,

- Tom
Jul 13 '06 #3
hmm, this is something out of my scope :-)

I use XP professional as my Desktop OS.

If you use installers for installing the webservice, then, a virtual folder
would be made automatically. I believe that this is the easiest solution. One
created, the virtual folder will not get deleted till its deleted manually.

Other option I can see is to use VNC or VPN to access the remote machine and
configure the IIS Manually.

not sure if there is any other solution. Please let us know if you get
another solution.

"to**************@uniroma1.it" wrote:
Thank you very much Kiran,

actually I cannot test your ingenious procedure because my server is
running on XP professional. Sorry, I should have mentioned the OS. Any
workaround for XP?

Probably if one would know how does windows "mark" a folder as an
application in IIS it would probably be possible to do it manually from
remote, provided that this setting is written on some file accessible
from remote (and not in the registry or somewhere else)...

-tom

Kiran ha scritto:
If you are using Windows Server 2003, then try this
There would be a default Sharepoint Administration services site created.
THe Port number has to be configured for this.
On configuring the port number, try to acces the website from another machine.

Challenge for Credentials will be thrown. The default user having access to
that site is the Local administrator

once logged in, a Subweb can be created on the name of the folder that needs
to be turned into a virtual directory

try accessing the webservice. If it does not work, then, merge the subweb
with the main website and try accessing again.

I am not sure if this would work.

"to**************@uniroma1.it" wrote:
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 caused by a virtual directory not being configured as
an application in IIS.
----------------------------------------
>
Assume that I have a remote site: http://Mysite/MyApps/MyAppDir
I want to upload - via FTP - my application (asp.net + 1 web service)
to MyAppDir,
but I have forgotten to configure the MyAppDir folder as an application
in IIS,
so it will not work.
>
My question:
Assuming that I can connect to the http root via FTP and can write any
file, is it possible
for me - from remote - to configure IIS so that my service and asp.net
application will run ? How would I do that?
>
Many thanks for any help,
>
- Tom
>
>

Jul 13 '06 #4
Thank you Kiran,

if I find around some trick to do it, I will post it here.

My personal preference is just to copy the files, without using any
installer. Just drag and drop, that's it. Why to make life complicate?
:) It would be nice that one has also the possibility to allow the app
running by manually setting some files in some folder (like App_Conf or
whatever). It's strange that MS did not think about it...

-tom

Kiran ha scritto:
hmm, this is something out of my scope :-)

I use XP professional as my Desktop OS.

If you use installers for installing the webservice, then, a virtual folder
would be made automatically. I believe that this is the easiest solution. One
created, the virtual folder will not get deleted till its deleted manually.

Other option I can see is to use VNC or VPN to access the remote machine and
configure the IIS Manually.

not sure if there is any other solution. Please let us know if you get
another solution.

"to**************@uniroma1.it" wrote:
Thank you very much Kiran,

actually I cannot test your ingenious procedure because my server is
running on XP professional. Sorry, I should have mentioned the OS. Any
workaround for XP?

Probably if one would know how does windows "mark" a folder as an
application in IIS it would probably be possible to do it manually from
remote, provided that this setting is written on some file accessible
from remote (and not in the registry or somewhere else)...

-tom

Kiran ha scritto:
If you are using Windows Server 2003, then try this
There would be a default Sharepoint Administration services site created.
THe Port number has to be configured for this.
On configuring the port number, try to acces the website from another machine.
>
Challenge for Credentials will be thrown. The default user having access to
that site is the Local administrator
>
once logged in, a Subweb can be created on the name of the folder that needs
to be turned into a virtual directory
>
try accessing the webservice. If it does not work, then, merge the subweb
with the main website and try accessing again.
>
I am not sure if this would work.
>
"to**************@uniroma1.it" wrote:
>
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 caused by a virtual directory not being configured as
an application in IIS.
----------------------------------------

Assume that I have a remote site: http://Mysite/MyApps/MyAppDir
I want to upload - via FTP - my application (asp.net + 1 web service)
to MyAppDir,
but I have forgotten to configure the MyAppDir folder as an application
in IIS,
so it will not work.

My question:
Assuming that I can connect to the http root via FTP and can write any
file, is it possible
for me - from remote - to configure IIS so that my service and asp.net
application will run ? How would I do that?

Many thanks for any help,

- Tom
Jul 13 '06 #5

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

Similar topics

0
by: Ref | last post by:
Hi I am new with Replication I develop Now the Microsoft Server 2000 Replication And I chose Snapshot type for replication All I need to copy Part of db from Publisher via distributor to...
4
by: Stéphane | last post by:
Hi, Did somebody knows how to configure ASP.NET in XP PRO with service pack installed? The problem that I have actually is I cannot display any web controls in my web page. I have installed .NET...
16
by: MLH | last post by:
Using MS Access, I have attached to MySQL servers in other states and other countries on the other side of my router. But when I use the MySQL ODBC driver 3.51 to connect to a MySQL server on my...
3
by: trialproduct2004 | last post by:
hi all i have one problem in windows service. i have code as following:- DirectoryInfo di = new DirectoryInfo(szfolder); if(di.Exists==true) eventLog1.WriteEntry("exist"); else
7
by: tonelab | last post by:
I have an aspx page that does not have a separate source for the VB - it is on top in between the <script> tags. I use the following statement Dim oComLib as New ComLib To reference a class...
0
by: thatsMaBoy | last post by:
Hi, I have an ASP.Net web service application. The .Net installer (a deployment project) currently installs the web service in the Default Website area in IIS on the target server PC. This is...
13
by: José Joye | last post by:
Hello, What is the best way to stop a remoting server (Singleton SAO) that has been started with RemotingConfiguration.Configure(). For sure, I want to do this without quitting the application...
3
by: Crash | last post by:
VS 2003 ..NET 1.x Windows 2000 SP4 Hi all, We recently migrated a data center containing several database and ASP web service servers. We have a Windows Forms application that runs on 200+...
0
by: brian.freyle | last post by:
Hi, i'm trying to configure a wcf service with https, but when I generate the wsdl , it contains the schemaLocation pointing to the service with the local name instead of the DNS (https://...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.