473,402 Members | 2,050 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,402 software developers and data experts.

'Could not load" the file problem on the production server ??

I'm using "Visual Studio 2005 Professional". I'm half way through in my
project development. I've created a New Website in the Visual Studio
2005 and developing my project over there. When i wanted to test my
current project on the main production server its giving an error
saying "Could not load collection5".

the page directive of the .aspx file is
<%@ Page Language="C#" MasterPageFile="~/home.master"
AutoEventWireup="true" CodeFile="collection5.aspx.cs"
Inherits="collection5" Title="caramelbaby&child" %>

and if I execute the code of the above page without any inheritance
attribute , its giving an error again - " MasterPageFile is not
supported by the Page directive"
I'm not able to understand where i'm going wrong. And this working fine
on my local machine. I actually copied all the project files and pasted
on my production server,.

I'm I deploying the website in wrong process?? Or
Is this a .dll file problem ?? Or
Is that any version problem ??

(there are no .dll files in my bin directory. I have least idea how to
create these .dll files )

Thanks in Advance if someone can spare some time for this problem

May 8 '06 #1
3 2190
Look in the IIS for your site, is the asp.net properties set to 2.0 off your
virtual directory properties? ( I assume framework 2.0 is in the prod
machine) HTH

Jose

"savvy" <jo******@gmail.com> wrote in message
news:11*********************@j33g2000cwa.googlegro ups.com...
I'm using "Visual Studio 2005 Professional". I'm half way through in my
project development. I've created a New Website in the Visual Studio
2005 and developing my project over there. When i wanted to test my
current project on the main production server its giving an error
saying "Could not load collection5".

the page directive of the .aspx file is
<%@ Page Language="C#" MasterPageFile="~/home.master"
AutoEventWireup="true" CodeFile="collection5.aspx.cs"
Inherits="collection5" Title="caramelbaby&child" %>

and if I execute the code of the above page without any inheritance
attribute , its giving an error again - " MasterPageFile is not
supported by the Page directive"
I'm not able to understand where i'm going wrong. And this working fine
on my local machine. I actually copied all the project files and pasted
on my production server,.

I'm I deploying the website in wrong process?? Or
Is this a .dll file problem ?? Or
Is that any version problem ??

(there are no .dll files in my bin directory. I have least idea how to
create these .dll files )

Thanks in Advance if someone can spare some time for this problem

May 8 '06 #2
There is a option in project menu to publish web site. Use that option to
publish the site in a separate folder and then copy that folder to
production server. If your production server is inhouse and you have access
to it, then I think there is an option to directly publish the site to web
server.

"savvy" <jo******@gmail.com> wrote in message
news:11*********************@j33g2000cwa.googlegro ups.com...
I'm using "Visual Studio 2005 Professional". I'm half way through in my
project development. I've created a New Website in the Visual Studio
2005 and developing my project over there. When i wanted to test my
current project on the main production server its giving an error
saying "Could not load collection5".

the page directive of the .aspx file is
<%@ Page Language="C#" MasterPageFile="~/home.master"
AutoEventWireup="true" CodeFile="collection5.aspx.cs"
Inherits="collection5" Title="caramelbaby&child" %>

and if I execute the code of the above page without any inheritance
attribute , its giving an error again - " MasterPageFile is not
supported by the Page directive"
I'm not able to understand where i'm going wrong. And this working fine
on my local machine. I actually copied all the project files and pasted
on my production server,.

I'm I deploying the website in wrong process?? Or
Is this a .dll file problem ?? Or
Is that any version problem ??

(there are no .dll files in my bin directory. I have least idea how to
create these .dll files )

Thanks in Advance if someone can spare some time for this problem

May 8 '06 #3
thnks for your help and time mates
yep, thats true
production server IIS was not set to .NET 2.0
so we installed 2.0 version on the production server and
mapped my website to 2.0 in the IIS
Thanks once again

May 11 '06 #4

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

Similar topics

3
by: yoda | last post by:
Hi Guys, I've been used to deploying code to the production server by checking out of subversion and manually sorting out any kinks. (yes, I know, it sounds primitive) I realize I'm losing so...
1
by: Tom | last post by:
Hi, I built and packaged some web applications written by .net and c#. They connect to the same DB and have listview to list data from DB. They did not have any errors when I built and test...
0
by: Dave Stewart | last post by:
I have two projects I am attempting to publish to a production environment. When I run the project and\or pages they run fine on my development machine(the pc with vs.net that the app\pages were...
5
by: Christophe Musielak | last post by:
Hi everyone at the list, Some months ago i asked you some questions about 7.2 - 7.4.3 migration. Then i switched to the performance list to complain about postgres 7.2 poor performance and...
2
by: mwallis76 | last post by:
I am in the stages of pushing up web app to a production server and I am running into an error that I cannot seem trace down. I have a page that allows one to change their password and runs just...
0
by: UJ | last post by:
I have a web site that works fine on my development machine. When I publish it to our production server and try to run a Crystal Report I get the following error message: Parser Error...
3
by: pratikkagda | last post by:
Hi all, My system contains Framework 3.5 with visual studio 2008 as well as 2005; here I have developed an application with crystal report with framework 2.0. It is working great in my system but...
2
by: Bobby Edward | last post by:
My site is utilizing asp.net membership. It works perfect on the development machine. I copied the entire directory to the production server. Now it seems that the membership stuff is acting...
6
by: =?Utf-8?B?U2NvdHQgVHJpY2s=?= | last post by:
I followed the instructions from MSDN for Webclient UploadFile and I get an error: Could not find file 'C:\testfile.xls'. If I add the file (c:\testfile.xls) to the server I do not get the error...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.