473,624 Members | 2,261 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to deploy an ASP.NET page?

Hi:

I built some sample applications from Tutorials, now I want to put them on
my server. They work fine on my local machine, but when I put them on my
Win2003 server I get the following error:
Server cannot access application directory 'E:\wwwroot\xyz .com\'. The
directory does not exist or is not accessible because of security settings.

I simply copied all my files into a subdirectory of my one of my sites. Is
there something else I need to do? I have been using ASP classic for a
while on this server, so I know the server works. In the IIS properties,
Execute Permissions are set to "Scripts only"

Thanx for your help.
--
Anil Gupte
Aug 26 '07 #1
3 1331
This is a C# language news group. You should post ASP.NET questions to:
microsoft.publi c.dotnet.framew ork.aspnet

-S

"Anil Gupte" <an*******@icin ema.comwrote in message
news:u0******** ******@TK2MSFTN GP04.phx.gbl...
Hi:

I built some sample applications from Tutorials, now I want to put them on
my server. They work fine on my local machine, but when I put them on my
Win2003 server I get the following error:
Server cannot access application directory 'E:\wwwroot\xyz .com\'. The
directory does not exist or is not accessible because of security
settings.

I simply copied all my files into a subdirectory of my one of my sites.
Is there something else I need to do? I have been using ASP classic for a
while on this server, so I know the server works. In the IIS properties,
Execute Permissions are set to "Scripts only"

Thanx for your help.
--
Anil Gupte


Aug 26 '07 #2
Well, I am using ASP.Net with C#.Net as the coding language. Anyway, I will
try there as well.

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Smithers" <A@B.comwrote in message
news:OY******** ******@TK2MSFTN GP02.phx.gbl...
This is a C# language news group. You should post ASP.NET questions to:
microsoft.publi c.dotnet.framew ork.aspnet

-S

"Anil Gupte" <an*******@icin ema.comwrote in message
news:u0******** ******@TK2MSFTN GP04.phx.gbl...
>Hi:

I built some sample applications from Tutorials, now I want to put them
on my server. They work fine on my local machine, but when I put them on
my Win2003 server I get the following error:
Server cannot access application directory 'E:\wwwroot\xyz .com\'. The
directory does not exist or is not accessible because of security
settings.

I simply copied all my files into a subdirectory of my one of my sites.
Is there something else I need to do? I have been using ASP classic for
a while on this server, so I know the server works. In the IIS
properties, Execute Permissions are set to "Scripts only"

Thanx for your help.
--
Anil Gupte



Aug 26 '07 #3
The web server needs to know about your application. Currently, it doesn't.
Either use the publish feature in Visual Studio to deploy your project and
have it configured for you automatically or use inetmgr to create a virtual
directory that maps to the physical directory (e:\...) on disk.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book www.lulu.com/owc

"Anil Gupte" <an*******@icin ema.comwrote in message
news:Ot******** *****@TK2MSFTNG P05.phx.gbl...
Well, I am using ASP.Net with C#.Net as the coding language. Anyway, I
will try there as well.

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Smithers" <A@B.comwrote in message
news:OY******** ******@TK2MSFTN GP02.phx.gbl...
>This is a C# language news group. You should post ASP.NET questions to:
microsoft.publ ic.dotnet.frame work.aspnet

-S

"Anil Gupte" <an*******@icin ema.comwrote in message
news:u0******* *******@TK2MSFT NGP04.phx.gbl.. .
>>Hi:

I built some sample applications from Tutorials, now I want to put them
on my server. They work fine on my local machine, but when I put them
on my Win2003 server I get the following error:
Server cannot access application directory 'E:\wwwroot\xyz .com\'. The
directory does not exist or is not accessible because of security
settings.

I simply copied all my files into a subdirectory of my one of my sites.
Is there something else I need to do? I have been using ASP classic for
a while on this server, so I know the server works. In the IIS
properties, Execute Permissions are set to "Scripts only"

Thanx for your help.
--
Anil Gupte




Aug 29 '07 #4

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

Similar topics

0
1488
by: mqsash | last post by:
Hi Problem : Unable to deploy an assembly in IE, as a cab file. (Works fine when deployed as a dll ) Description : I have created a assembly (dll with no user interface)in C# which I deploy in IE. The dll name is test.dll and the object tag in the html page is as follows. <OBJECT ID="myAssembly" classid="test.dll#testNS.Class1"></OBJECT>
2
5488
by: mqsash | last post by:
Hi Problem : Unable to deploy an assembly in IE, as a cab file. (Works fine when deployed as a dll ) Description : I have created a assembly (.dll) in C# which I deploy in IE. The dll name is test.dll and the object tag in the html page is as follows. <OBJECT ID="myAssembly"
0
1628
by: ATS | last post by:
HOWTO Make a UserControl deploy an embedded resource. Please help, I need to embed an EXE into a C# UserControl that is run from script in an HTML web page as such: <html> <object id=objTest
1
1384
by: James X. Li | last post by:
We are using an ISP to host our web site. All we get from our ISP is a root directory for our web site. We can deploy a single ASP.NET application by copying all the related files (global.asax, web.config, etc.) to the root directory. Things work fine in this way. But, we would like to deploy a second application ( for administration purpose) on this web site. How can we do it? In general, How can we deploy multiple ASP.NET applications...
1
1281
by: joe | last post by:
Is there a way to deploy a web site with several physical aspx pages left out? Say the client requests ABC.aspx. I want to intercept the request (which I already do with a custom HttpModule) and then Server.Transfer() to another page. Everything works, except that at this point I still have to deploy a meaningless and empty ABC.aspx page. BTW: I do this to assist Search Engines to better index our site without name/value pairs on the...
2
1880
by: Nils Hedström | last post by:
I have a ASP.NET 1.1 project that I want to be able to deploy on my web-servers while they have real traffic (40 requests/second). When I copy the projects assembly in the bin-directory of the website directory the application gets restarted and the web server needs to recompile all my aspx-pages. Because the traffic is high the web server needs to recompile a lot of aspx-pages at the same time. Because of this alot of requests gets...
2
1506
by: Douglas J. Badin | last post by:
I am using VS 2005 to Publish my ASP.NET 2.0 Website with the following: - Not allowing this precompiled site to be updatable - Use fixed naming and single page assemblies - Not Enable strong naming on precompiled assemblies As it is, I get around 300 files in the bin directory and it takes almost 10 minutes to copy them. I am using code-behind and was wondering if I change the code-behind of only
1
1235
by: KNC | last post by:
Hi all, I wonder if someone got the trouble below. I'd like to merge all assemblies into 1 assembly for entire site, so I installed webdeployment add-in and going through all necessary to build to a website_deploy folder. Then, I tried to deploy the website by manual, but when browsing the default page default.aspx, I got the error: "The XML page cannot be displayed
0
1235
by: Mircea Pleteriu | last post by:
Hi, I will present you a virtual scenario. Here it is. Say, we develop a web app consisting in one page only. The page displays a culture-dependent text and a switch (as a dropdown list) to select one of 20 possible languages. Changing the language entails changing the text. At current time, the app supports only 5 cultures - having a resources file for each of the 5 cultures.
1
3148
by: Afshar | last post by:
Hi all friends, I have a big aspnet project including several several .aspx .ascx .resx. I publish this project everytime that i want to deploy it. I use full compile-no update options so I just bring some dlls to customers server. All aspx are converted to a plcaeholder. The problem is: Sometimes I modify just one page (aspx or cs) and wants just to deploy it. Is it possible to publish just that single page using aspnet_compiler.exe...
0
8170
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8675
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8619
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8334
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8474
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2604
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.