Visual Basic .NET Forums    

Go Back   Visual Basic .NET Forums > ASP.NET > Web Deployment

VB.NET Forums Newsletter Signup:
Email address:


Web Deployment Everything related to packaging and deploying ASP.NET applications and components

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-21-2008, 5:25 PM
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Feb 2007
Posts: 9
Reputation: 0
mkolias is on a distinguished programming path ahead
Default Visual Studio Deployment not copying all files

Hello Everyone,

I am having the weirdest issue. I converted from Visual Studio 2003 to Visual Studio 2005 and fixed all the errors and warnings. When I install my application on the web server and then go to test the application I get the error :

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'WebClient.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="WebClient.Global" %>


I tracked this down to the fact that not all of my pages and the code behind were being copied during deployment. I copied over the files I had on my local machine and it worked. Th problem with this was that it was referencing items on my local machine instead of the server and it would blow up on occasion. I found out that I could set the files to "copy always" and it should include it in the output directory that is included in the setup project. I did this at first and everything looked like it was working. Out of no where it stopped working and eventhough I am including the files to "copy always" it is not copying the files and I am back to the global.asax error. Why isn't copying over the files on deployment? What am I missing? Do I need to explicitly set something up in the webclient project or the setup project? Please help
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On


All times are GMT -4. The time now is 2:57 PM.




Click to advertise here

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
For advertising opportunities click here.