473,606 Members | 2,101 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="tes t.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 1317
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(Stu dio). 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="tes t.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
1901
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 (having local versions of IIS and SQL Server). Then after I'm ready to move the site to the web, I will initially create a new project in the same solution that contains the web server on the Internet. I start by doing a full copy, and then as I make...
5
11028
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 created in the wrong folder on the hard drive. Before I discovered these files, .NET kept trying to create a new project with _1 following the project name. Deleting those files corrected that problem. I deleted the Virtual Directory, rebooted, and...
4
2779
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 'http://localhost/myservices'. The two need to map to the same server location. HTTP Error 404: Object Not Found" First, this error comes up on a system that is serving other web services just fine. Second, the main issue here is project collaboration. We use CVS for...
3
4100
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" My machine is running Windows 2003. My colleagues are using the same hardware and software as I do, but I am the only one running into this problem. I searched the Internet and see that quite a lot of people having the same problem in the...
4
2885
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 our current extensive number of .Net 1.1 web apps convert to it. After a week's time I dont's mind the converted app code that was broken and had to be changed, due to deprecation, new framework classes (some of which have names identical to...
6
3356
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) I installed FrontPage server extensions to IIS on my computer while following instructions in a Microsoft ASP.Net MCSD training book. After installing the FrontPage Server Extensions I cannot create a new
29
2802
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 move this project/solution from a local development xp pro computer which uses IIS/localhost, to another xp pro computer that is on a Windows 2003 server domain. I want to be able to use the Windows 2003 server IIS instead of localhost.
4
1832
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 there was a problem with my PHP/Apache Install ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I do get PHP output if I use a simple block of code like
1
3147
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: Auto-attach to process ' aspnet_wp.exe' on machine '<machine name>' failed. Error code 0x8004000e. Could you help me to find resolution.
0
7942
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
8433
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...
1
8084
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
8300
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
6761
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5461
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3922
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...
1
1550
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1287
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.