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

Deployment problem

I created a very simple Web Form application with Visual Studio 2005
Professional Edition.

It just has some text on it.
On the test machine it works fine.

I deployed it to a production server by copying
all the files in the project to the Website.

It does not work on the Site.
There are no errors in the Event Logs

I tested be the production sever by creating a Default.aspx
page in Dreamweaver and copying it to the server. It work fine.

Questions:

1) Should I have not copied the App_Data directory?

2) Is there some preparation that must be done before the
project is copied to the Server?

3) Are there settings in web.config that must be changed?

Thanks.I
May 4 '06 #1
2 1181
Hello cbr900rrderrick,

Make sure you have created an application in IIS for the folder in which
your web app resides. You can do this by going to IIS management and selecting
the site then the folder which you app is in, then right click and choose
properties. Under the "Directory" tab, half way down youll see "Application
Settings" and youll see a field "Application name" with a text box next to
it -both are disabled- then click the "Create" button. This will configure
IIS to recognise that there is a web application in that folder.

You also need to make sure you set this application to use .Net 2.0 -you
can set that by going to the "ASP.NET" tab at the top right.

Hope this solves it for you.
I created a very simple Web Form application with Visual Studio 2005
Professional Edition.

It just has some text on it.

On the test machine it works fine.

I deployed it to a production server by copying
all the files in the project to the Website.
It does not work on the Site.
There are no errors in the Event Logs
I tested be the production sever by creating a Default.aspx page in
Dreamweaver and copying it to the server. It work fine.

Questions:

1) Should I have not copied the App_Data directory?

2) Is there some preparation that must be done before the
project is copied to the Server?
3) Are there settings in web.config that must be changed?

Thanks.I

May 7 '06 #2
Strange thing occured. I had done this previously. However the application
still would not work (Even after rebooting the server). I emptied the
directory and created a plain html file, saved it as Default.aspx. Then that
file as well as my application file worked. There was several days before I
was able to get back and test it.

Everything is OK so far. Thanks.

"Jeeran" wrote:
Hello cbr900rrderrick,

Make sure you have created an application in IIS for the folder in which
your web app resides. You can do this by going to IIS management and selecting
the site then the folder which you app is in, then right click and choose
properties. Under the "Directory" tab, half way down youll see "Application
Settings" and youll see a field "Application name" with a text box next to
it -both are disabled- then click the "Create" button. This will configure
IIS to recognise that there is a web application in that folder.

You also need to make sure you set this application to use .Net 2.0 -you
can set that by going to the "ASP.NET" tab at the top right.

Hope this solves it for you.
I created a very simple Web Form application with Visual Studio 2005
Professional Edition.

It just has some text on it.

On the test machine it works fine.

I deployed it to a production server by copying
all the files in the project to the Website.
It does not work on the Site.
There are no errors in the Event Logs
I tested be the production sever by creating a Default.aspx page in
Dreamweaver and copying it to the server. It work fine.

Questions:

1) Should I have not copied the App_Data directory?

2) Is there some preparation that must be done before the
project is copied to the Server?
3) Are there settings in web.config that must be changed?

Thanks.I


May 8 '06 #3

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

Similar topics

5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
2
by: Felix | last post by:
Out of no where I'm starting to get these problems and my Deployment projects won't build anymore. Does anyone have any idea what's causing this? I've tried copying these files from another...
1
by: Richard Lewis Haggard | last post by:
I'm new to C# deployment project way of doing things and have run into a problem with a deployment project that has me stumped. I've put together a deployment of a project which works just fine for...
2
by: Scanner2001 | last post by:
This may not be the best group to post to, so if there are any suggestions as to a different group, please let me know. Here is what we are doing, we have a couple of dlls that are shared (i.e....
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: feng | last post by:
Hi, I am having a strange problem right now and I don't even know how to go about it. Someone please help me! Any inputs will be highly appreciated. We have an application that has a VB.Net...
0
by: Michael | last post by:
After a week of beating my head against a wall I still continue to receive the following error message when trying to deploy a package using the cabinet option. The same error occurs with a...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
1
by: =?Utf-8?B?dmNs?= | last post by:
Short version: IE7 and .NET Framework 2.0 breaks no touch deployment for .NET 1.1 applications. IE6 and .NET Framework 1.1 + 2.0 works fine. IE7 with .NET Framework 1.1 only is fine, once we add...
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
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...

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.