Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > 'Could not load" the file problem on the production server ??

Reply
Thread Tools

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

 
 
savvy
Guest
Posts: n/a
 
      05-08-2006
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

 
Reply With Quote
 
 
 
 
Jose Rodriguez
Guest
Posts: n/a
 
      05-08-2006
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" <> wrote in message
news: 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
>



 
Reply With Quote
 
 
 
 
Winista
Guest
Posts: n/a
 
      05-08-2006
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" <> wrote in message
news: 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
>



 
Reply With Quote
 
savvy
Guest
Posts: n/a
 
      05-11-2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using Membership on production server (Copy Web Site tool) - Used to SQL Server 2000 enterprise edition Louis R. ASP .Net 5 01-14-2009 06:21 AM
Exception Not Caught on Production Server Axel Dahmen ASP .Net 2 04-21-2005 10:32 PM
Datbound Controls do not work on production server =?Utf-8?B?RGF2ZSBTdGV3YXJ0?= ASP .Net 0 03-02-2005 05:39 PM
Ie Web Controls Problem (Not displaying Properly On Production Server) =?Utf-8?B?UmVkZHk=?= ASP .Net 2 10-30-2003 04:41 AM
validation controls not working on production server earwicker ASP .Net 2 10-28-2003 04:30 PM



Advertisments