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

lack of .NET project file on web server

Hi,
I just transferred to another location at my company and am attempting to add some newly created webpages to their existing Windows Server 2003 Web Edition. I am new to ASP.Net, but have been coding ASP pages for a couple of years. The previous web admin apparently wasnt using a project file to work out of when he created all of the ASP.Net web pages. (The only instance of a project file that is loaded on the server isnt valid and doesnt apply to the web directory that the server is providing.) I created a couple of web pages in a new .Net project on my local machine. I realize there is a problem transferring files from one project to another on different machines, and I know of a way to do that, but as I mentioned, there is no valid project file in existence on the target machine (web server). Any suggestions on how to address that? I would just create a new project file on the server and somehow map the web directory to it, but being unfamiliar with the .Net environment, I dont know if that's a good/valid idea for fear of causing some change in configuration that might bump the server offline. I have already placed my .aspx. and .vb files into the correct directory (the .resx file is also included), but I get a parser error stating that the inherited file (referenced in the .aspx file) cant be parsed:

(<%@ Page Language="vb" AutoEventWireup="false" Codebehind="test.aspx.vb" Inherits="plant_server.test" %>

I've checked the code references in my pages against the ones in the previous admin's, and everthing is identical. I even pasted a copy of one of his pages into a new file and saved it, but I get the same error. So I know there arent any errors in my code, but rather in the configuration of something.
Any help would be greatly appreciated. I've already written several pages in this new environment and can see that once I get it running, it will be a tremendous difference between writing things the old way (notepad or Interdev) vs. using the .Net environment for deveopment.
---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Nov 19 '05 #1
1 1304
I think you need a good dose of "big picture" with .NET web development. This
is probably a large topic for this forum but I will try to help a little
without making myself seem foolish in the eyes of those who are more versed
in .NET than I am.

In ASP your HTML, ASP pages, images, etc. were all part of your web site
content and a code change on the web server was immediate if you used notepad
or something. The project file did not have to be deployed to the live web
server since it was only used by the deveopment environment. (or maybe
Frontpage something or other...).

Good news. The project file still does not get deployed to the live web
server because it is only used by the development environment(Studio). HTML
pages, images, and other static stuff remains the same.

However, all of the ".res", ".vb", or ".cs", depending on your language of
choice, files are compiled into a DLL . They may result in several DLLs,
depending on development choices and needs. In the end only the DLL(s),
".aspx", and ".config" files are deployed to the live server. Images, JScript
files, HTML pages, etc are not compiled into the DLL so they are deployed as
before.

In order to get your web content combined with that of the previous
developer of the web site you will need to add your new page(s) to the
existing project and recompile the project to create the web site DLL.

This is a little oversimplified to cover all web content but I hope it helps.

"keith russell" wrote:
Hi,
I just transferred to another location at my company and am attempting to add some newly created webpages to their existing Windows Server 2003 Web Edition. I am new to ASP.Net, but have been coding ASP pages for a couple of years. The previous web admin apparently wasnt using a project file to work out of when he created all of the ASP.Net web pages. (The only instance of a project file that is loaded on the server isnt valid and doesnt apply to the web directory that the server is providing.) I created a couple of web pages in a new .Net project on my local machine. I realize there is a problem transferring files from one project to another on different machines, and I know of a way to do that, but as I mentioned, there is no valid project file in existence on the target machine (web server). Any suggestions on how to address that? I would just create a new project file on the server and somehow map the web directory to it, but being unfamiliar with the .Net environment, I dont know if that's a good/valid idea for fear of causing some change in configuration that might bump the server offline. I have already placed my .aspx. and .vb files into the correct directory (the .resx file is also included), but I get a parser error stating that the inherited file (referenced in the .aspx file) cant be parsed:
(<%@ Page Language="vb" AutoEventWireup="false" Codebehind="test.aspx.vb" Inherits="plant_server.test" %>

I've checked the code references in my pages against the ones in the previous admin's, and everthing is identical. I even pasted a copy of one of his pages into a new file and saved it, but I get the same error. So I know there arent any errors in my code, but rather in the configuration of something.
Any help would be greatly appreciated. I've already written several pages in this new environment and can see that once I get it running, it will be a tremendous difference between writing things the old way (notepad or Interdev) vs. using the .Net environment for deveopment.
---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/

Nov 19 '05 #2

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

Similar topics

3
by: Kent P. Iler | last post by:
Hi, I've been using Visual Studio (not .Net) for many years (6+). I'm just now switching to VS.NET 2003. I am building my first project. In the past, I tend to work on my local machine...
5
by: David Webb | last post by:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been...
4
by: Brad | last post by:
Error when opening a solution with a web services project in it: "Unable to open the Web project 'myproj'. The file path 'c:\code\myservice' does not correspond to the URL...
3
by: David N | last post by:
I got a solution that contains about 30 projects, three of which cannot be open. When I open the project, I always receive the error message "Unable to get the project file from the Web Server" ...
4
by: Brad | last post by:
I'm not one to rant or flame....so please excuse me while I do so for this once. I've now spent a bit of time working with VS2005 beta 2 to see how it functions for web development, especially how...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
29
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. How do I...
4
by: Warren Peace | last post by:
'Tis my first time trying to install PHP on my Win XP machine... Apache/2.2.3(Win32) PHP/5.2.0 Main problem is that with my lack of PHP experience, I'm not sure if my syntax is incorrect, or if...
1
by: =?Utf-8?B?cnNvbWFzdW5kYXI=?= | last post by:
Hi, I got the following error while trying to run the project in ASP.Net 2003 to one of my application in my machine. I think some where im loosing the IIS configurations. Error Detail:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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...
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:
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.