CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_web_deployment_projects Tags:
Item Type: NewsGroup Date Entered: 9/14/2007 1:17:58 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 6 Views: 570 Favorited: 0 Favorite
7 Items, 1 Pages 1 |< << Go >> >|
stringme6
Asp.Net User
error ASPPARSE: Could not load type Global9/14/2007 1:17:58 PM

0

I'm trying to use ASPNET Compiler in MSBuild.
For some reason it doesn't like it when I do a GET from MSBUILD and run ASPNET Compiler.

However, once I pull up the same Project in VS2005 and do a build. And then go back and call ASPNET Compiler, it is able to run fine. 

GLOBAL.ASAX file has the following:
<%@ Application Codebehind="Global.asax.vb" Inherits="Global" %>

Any help will be greatly appreciated. Thanks 

 

 

 

 

 

hongping
Asp.Net User
Re: error ASPPARSE: Could not load type Global9/14/2007 4:57:11 PM

0

Are you using the AspNetCompiler task in your project file? Or are you doing it differently?

stringme6
Asp.Net User
Re: error ASPPARSE: Could not load type Global9/17/2007 12:28:54 PM

-1

I tried it in my project file and with Visual Studio 2005 command prompt as well. None of them works

with msbuild, I wrote-
<AspNetCompiler Debug="false" VirtualPath="/build" PhysicalPath="$(Root)\myProject" TargetPath="$(Root)\mytarget" Updateable="false" />

For the VS2005 CommandPrompt, I wrote-
aspnet_compiler -p "c:\myproject" -v / "c:\mytarget"

 

hongping
Asp.Net User
Re: error ASPPARSE: Could not load type Global9/17/2007 5:49:29 PM

0

What do you have in global.asax.vb?

hongping
Asp.Net User
Re: error ASPPARSE: Could not load type Global9/17/2007 5:50:37 PM

0

Also, is this a "Web application project" or a "Web site"?

atomic_mass
Asp.Net User
Re: error ASPPARSE: Could not load type Global9/18/2007 10:54:17 AM

0

We had the same issue. Apparently has something to do with web application projects. This link explains it and has some keys to be added to the deploy project:

http://blogs.msdn.com/aaronhallberg/archive/2007/07/02/team-build-and-web-deployment-projects.aspx

 
 

stringme6
Asp.Net User
Re: error ASPPARSE: Could not load type Global9/24/2007 3:01:27 PM

0

Atomic mass Thanks for the tip. It did answer part of my question.
hongping- this is a web service project. Global.asax- is an empty shell. 
               Once I took it out it did the same to my service.asmx file

If anyone is interested, here is the Fix- It turns out that Asp_net compiler wants a "bin" folder with all the dll references inside the project (the one you are tyring to build).
But that was not happening when I just ran Asp_Net compiler.

Here is my script with the fix (this comes after you got the project to build):
ProjectName- the name of the project you are working on
DLL_Destination- the path to the dll your project is using.
$(SolutionRoot)- you might need to declare the property for this- e.g- c:\build... (to create a property refer-> http://msdn2.microsoft.com/en-us/library/63ckb9s9.aspx)
$(WebDirectory)- you need to declare this property. e.g. c:\Build\web...

<MakeDir Directories="$(SolutionRoot)\ProjectName\bin" Condition="!Exists('$(SolutionRoot)\ProjectName\bin')"/>
<
Exec Command="xcopy /Y /R %22DLL_Destination\*.dll%22 %22$(SolutionRoot)\ProjectName\bin%22" ContinueOnError="true" />
<AspNetCompiler Debug="false" VirtualPath="/ProjectName" PhysicalPath="$(SolutionRoot)\ProjectName" TargetPath="$(WebDirectory)\ProjectName" Updateable="false" />

(NOTE: If any of you know a better way to do this, let me know. thanks) 

 

7 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
error ASPPARSE: Could not load type Global - ASP.NET Forums Re: error ASPPARSE: Could not load type Global. 09-14-2007, 12:57 PM ... Re: error ASPPARSE: Could not load type Global. 09-17-2007, 8:28 AM ...
aspnet_compiler ASPParse Could Not Load Type - Stack Overflow We get the following error. error ASPPARSE: Could not load type 'X.Y.Admin.Site. Global. If I compile from the ide it is successful. ...
80% Complete: error ASPPARSE: Could not load type 'Global' The build failed with the "error ASPPARSE: Could not load type 'Global' " error. I looked for a solution on the Web and It turns out that Asp_net compiler ...
Team Build - /temp/global.asax(1): error ASPPARSE: Could not load ... When using Team Build on a project the build fails with "/temp/global.asax(1): error ASPPARSE: Could not load type 'MVC'). ...
Team Build - /temp/global.asax(1): error ASPPARSE: Could not load ... Team Build - /temp/global.asax(1): error ASPPARSE: Could not load type 'Mvc' ... Related. Team Build MSBuild Task Does Not Update Main Build Log File ...

error ASPPARSE: Could not load type Global - ng.asp-net-forum ... error ASPPARSE: Could not load type Global, > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio.vs_web_deployment_projects, Date: 9/14/2007 ...
Could not load type Global - ng.asp-net-forum.migrating_from_asp ... Could not load type Global, > ROOT > NEWSGROUP > Asp.Net Forum ... Parser Error Message: Could not load type 'NHQTrnProposal. ... Global' Labguage='c#' %> ... error ASPPARSE: Could not load type Global - ng.asp-net-forum ...
Could not load type 'DotNetNuke.Global' - ng.asp-net-forum.dotnetnuke error ASPPARSE: Could not load type Global - ng.asp-net-forum ... error ASPPARSE : Could not load type Global, > ROOT > NEWSGROUP . ...
Unalbe to use Web Deployment project - ng.asp-net-forum ... /MyProject/global.asax(1): error ASPPARSE: Could not load type 'MyProject.Global '. I appreciate any help. ...
With Web Deployment Project - ng.asp-net-forum ... Web.csproj/Applications/AddUsersToApplication.aspx(1): error ASPPARSE: Could not load type 'Corp.Security.Web.Applications. ...






error after publishing website

web deployment project come too late for a developer!

"error occurred creating the configuration section handler" for web deployment project and assemblies

assembly code access problem on 1and1 server

installer for aplication web

replacing encrypted connection string

error creating deployment project

web deployment project copies .csproj and .sln files

.exe deployment output file sizes differ between developers

web deploy project causes visual studio to become unstable

can two different version of .net framwork web site run on same iis?

merging not working

web deployment project download link doesn't work

need help in publishing

is there a way to do web.config replacement "on the fly"?

web deployment project with custom configuration

problem with website publishing

could not load assembly error

weird problem with option merge each individual folder output its own assembly

web deplyment problems: proxy error but i don't have proxy

vs 2005 internal server problems

special characters get removed with wdp.

xml docs

fileupload control fails.

bug using checkbox dialog to impose an install condition on a merge module

.net web site code is not working in the new computer

project did not work on isp web server

determine installation address during setup (web setup project)

excluding wdp from building

"merge each folder output to its own assembly" doesn't work with wap?

   
  Privacy | Contact Us
All Times Are GMT