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

Problem deploying ASP.NET 2.0 project from VS2005

JJ
I'm having problems trying to publish an ASP.NET project from VS2005 and was
hoping to get some pointers in the right direction.

The project works fine from my development system using the internal server
(Cassini).

Then I use Build/Publish Web Site to publish the app to another server. I
specify a URL to where I want it published (http://someserver/MyAppDir).

At the time I first publish, the virtual directory MyAppDir does not exist
on the web server.

Publish does copy over the files, but when I look at the properties on the
virtual directory it creates in IIS and look on the ASP.NET tab, the version
for ASP.NET shows as 1.1.4322. I have to manually change it to 2.0.

Then if I make a change to the app on my system and Publish again, it builds
the project then a message box appears that warns something like "some files
may be deleted" and I can click OK or Cancel. I click OK and the status bar
at the bottom seems to indicate that the app was published. But NO FILES
change on the web server. The only way I can get the updated project over
there is to delete the entire virtual directory via IIS and publish again.

I really don't think this is a problem with the server however - there is
another app on that system that another guy here is working on (in a
different virtual directory) and he can publish to that same web server with
no problem.

I also doubt that it is permissions - I am a domain admin, and they guy who
it works for is not (although he has admin rights on the web server).

So my question is what would cause it to (1) create the virtual dir with
ASP.NET 1.1 as the framework version and (2) why can't I publish changes
once the virtual directory is created?
Nov 22 '06 #1
1 1217
As to the first one, VS doesn't control this, IIS does. In this case, the
default settings for the web server are to make it a 1.1 app so this is
completely normal.

2) When publishing using http you are using the FrontPage Server Extensions.
Something that may cause a problem is VS and the server extensions aren't
agreeing on the timestamps of the files. You may want to check to see that
your timezone on your computer is set correctly. Sometimes a user will set
the time on their computer, but use the incorrect timezone which can
sometimes mess this up (ie: setting your computer time to 9 pm while living
in New York, but leaving the timezone as PST), causing VS to have issued
determining which is a newer file. Sometimes using FTP can work better,
especially if you want more control over which files you publish.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"JJ" <jj@nospam.comwrote in message
news:eu*************@TK2MSFTNGP03.phx.gbl...
I'm having problems trying to publish an ASP.NET project from VS2005 and
was hoping to get some pointers in the right direction.

The project works fine from my development system using the internal
server (Cassini).

Then I use Build/Publish Web Site to publish the app to another server. I
specify a URL to where I want it published (http://someserver/MyAppDir).

At the time I first publish, the virtual directory MyAppDir does not exist
on the web server.

Publish does copy over the files, but when I look at the properties on the
virtual directory it creates in IIS and look on the ASP.NET tab, the
version for ASP.NET shows as 1.1.4322. I have to manually change it to
2.0.

Then if I make a change to the app on my system and Publish again, it
builds the project then a message box appears that warns something like
"some files may be deleted" and I can click OK or Cancel. I click OK and
the status bar at the bottom seems to indicate that the app was published.
But NO FILES change on the web server. The only way I can get the updated
project over there is to delete the entire virtual directory via IIS and
publish again.

I really don't think this is a problem with the server however - there is
another app on that system that another guy here is working on (in a
different virtual directory) and he can publish to that same web server
with no problem.

I also doubt that it is permissions - I am a domain admin, and they guy
who it works for is not (although he has admin rights on the web server).

So my question is what would cause it to (1) create the virtual dir with
ASP.NET 1.1 as the framework version and (2) why can't I publish changes
once the virtual directory is created?


Nov 22 '06 #2

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

Similar topics

4
by: james | last post by:
I upgraded my 2002 project to 2003 and I am getting several of there errors on my forms xxxForm.resx Resource transformation for file 'xxxForm.resx' failed. Possible Version mismatch. Type...
0
by: dean mancini via DotNetMonster.com | last post by:
I'm having a problem with my installers failing when I try to install to a secure Windows server (SSL enabled in IIS). I have an installer for a .NET Web Service and a .NET Web Application. They...
2
by: Mike Eaton | last post by:
Hi all, I've created a vb.net app that opens and manipulates an excel file. The app works great on my system where I have all of the interop assemblies installed for visual studio. When I go...
1
by: Luis Ramos | last post by:
Happy new year for everybody... My problem is this: I can open a random file with vs2005 this way(normal project), but not in a smart device project. example: Structure Record public ID As...
1
by: Daniel Knöpfel | last post by:
Hello Im triying to create an installer using ClickOnce and visual studio 2005. This works fine on my computer, but as soon as i start the created installer on another pc I get the following...
0
by: Rich | last post by:
Hello, I have a simple console app for deploying an MS Access app. Recently, I started having a problem publishing the app to my webserver with the publisher feature of VS2005 when I do an...
4
by: JimCinLA | last post by:
On an ASP.Net 2.0 Web project, I created a deployment setup using the deployment wizard in Visual Studio 2005. I use SQL 2005 Express as a database server. The development version of my...
6
by: =?Utf-8?B?Qm8gTWNJbHZhaW4=?= | last post by:
I have a installation package which installs ok when setup.exe is used, but if I try to install via msiexec, I get an error "This installation package could not be opened. Verify that the package...
5
by: evilbungle | last post by:
Hi, I have created a program in VB.Net using Visual Studio 2008, the program works fine and everything is working until I try to install it. I need to be able to add it to a flash drive so I can...
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
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.