473,545 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'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="colle ction5.aspx.cs"
Inherits="colle ction5" Title="caramelb aby&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 2195
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******** *************@j 33g2000cwa.goog legroups.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="colle ction5.aspx.cs"
Inherits="colle ction5" Title="caramelb aby&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******** *************@j 33g2000cwa.goog legroups.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="colle ction5.aspx.cs"
Inherits="colle ction5" Title="caramelb aby&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
2593
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 much time I could spend more productively. I'd therefore like to know the different approaches you guys employ to deploy builds from your staging...
1
1240
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 them on local development machine. However, the listview shows the following error when I installed and run them on production server (I can login to...
0
895
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 written on). When I copy the project to a production IIS web server, the pages load properly on the first load for each page. I have multiple list...
5
1448
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 discussed about different ways to improbe performances. Two days ago we started our first production server 7.4.2 migration at our biggest customer, a...
2
1975
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 fine locally but fails to load remotely (receive the famous XML Parsing Error: no element found error). I was able to trap in the...
0
1087
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 Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error
3
10762
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 when I upload this project into our production server (Production server only contains Framework 2.0 and IIS) and deployed the site to the production...
2
1530
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 wierd. I can login ok. But it doesn't run the login redirect properly. Also, I wrote a simple test page that consists of this... Protected Sub...
6
4895
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 and the file is copied from the server to the server, rather than from the web client to the server. Please help!!!
0
7478
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7410
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...
0
7668
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. ...
0
7773
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...
1
5343
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4960
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...
0
3466
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...
1
1901
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
722
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...

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.