ASP.NET

Moderators: None (Apply to moderate this forum)
Number of threads: 1733
Number of posts: 3304

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
During Deployment could not load type 'namespace.GLOBAL' Posted by pmsuresh on 19 Oct 2003 at 5:34 AM
hi all,
I created the runtime files using deployment setup procedure.
Using Visual studio.net i created the project assembley file FOR example RAC.DLL
In bin folder in placed that dll file.
and i copied other aspx page and global.asax and web.config files in the root folder.
Then i created one virtual directory alias name for example rac in IIS SERVER IN MY MACHINE and file location path is

not in my machine, it is in another machine.

If i am trying to run that rac applications using http://localhost/rac/index.aspx

i am getting the following errors

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 'RAC.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="RAC.Global" %>



Source File: \\Idchennaint\web_workarea\RACSETUP\global.asax Line: 1


If i run the same set up in the my server where iss server resides, IT WILL WORK PROPERLY

Any one give solution for this.............
Thanks in Advance.
Suresh.M


Report
Re: During Deployment could not load type 'namespace.GLOBAL' Posted by kel76 on 8 Dec 2003 at 5:21 PM
Hi Suresh.M and all

I'm experiencing this same problem does any body know the exact reason. I'm assuming the problem lies in permissions of the local dotnet user not haveing access to the network resource but how can I amend this.

Cheers for you time

Shane

: hi all,
: I created the runtime files using deployment setup procedure.
: Using Visual studio.net i created the project assembley file FOR example RAC.DLL
: In bin folder in placed that dll file.
: and i copied other aspx page and global.asax and web.config files in the root folder.
: Then i created one virtual directory alias name for example rac in IIS SERVER IN MY MACHINE and file location path is
:
: not in my machine, it is in another machine.
:
: If i am trying to run that rac applications using http://localhost/rac/index.aspx
:
: i am getting the following errors
:
: 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 'RAC.Global'.
:
: Source Error:
:
:
: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="RAC.Global" %>
:
:
:
: Source File: \\Idchennaint\web_workarea\RACSETUP\global.asax Line: 1
:
:
: If i run the same set up in the my server where iss server resides, IT WILL WORK PROPERLY
:
: Any one give solution for this.............
: Thanks in Advance.
: Suresh.M
:
:
:

Report
Re: During Deployment could not load type 'namespace.GLOBAL' Posted by kel76 on 9 Dec 2003 at 11:17 PM
Hi All

For others information I found a fix to my problem at http://support.microsoft.com/?id=320268.

Hope it helps someone else

Shane


: Hi Suresh.M and all
:
: I'm experiencing this same problem does any body know the exact reason. I'm assuming the problem lies in permissions of the local dotnet user not haveing access to the network resource but how can I amend this.
:
: Cheers for you time
:
: Shane
:
: : hi all,
: : I created the runtime files using deployment setup procedure.
: : Using Visual studio.net i created the project assembley file FOR example RAC.DLL
: : In bin folder in placed that dll file.
: : and i copied other aspx page and global.asax and web.config files in the root folder.
: : Then i created one virtual directory alias name for example rac in IIS SERVER IN MY MACHINE and file location path is
: :
: : not in my machine, it is in another machine.
: :
: : If i am trying to run that rac applications using http://localhost/rac/index.aspx
: :
: : i am getting the following errors
: :
: : 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 'RAC.Global'.
: :
: : Source Error:
: :
: :
: : Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="RAC.Global" %>
: :
: :
: :
: : Source File: \\Idchennaint\web_workarea\RACSETUP\global.asax Line: 1
: :
: :
: : If i run the same set up in the my server where iss server resides, IT WILL WORK PROPERLY
: :
: : Any one give solution for this.............
: : Thanks in Advance.
: : Suresh.M
: :
: :
: :
:
:

Report
Re: During Deployment could not load type 'namespace.GLOBAL' Posted by iwilld0it on 9 Dec 2003 at 10:19 PM
: hi all,
: I created the runtime files using deployment setup procedure.
: Using Visual studio.net i created the project assembley file FOR example RAC.DLL
: In bin folder in placed that dll file.
: and i copied other aspx page and global.asax and web.config files in the root folder.
: Then i created one virtual directory alias name for example rac in IIS SERVER IN MY MACHINE and file location path is
:
: not in my machine, it is in another machine.
:
: If i am trying to run that rac applications using http://localhost/rac/index.aspx
:
: i am getting the following errors
:
: 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 'RAC.Global'.
:
: Source Error:
:
:
: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="RAC.Global" %>
:
:
:
: Source File: \\Idchennaint\web_workarea\RACSETUP\global.asax Line: 1
:
:
: If i run the same set up in the my server where iss server resides, IT WILL WORK PROPERLY
:
: Any one give solution for this.............
: Thanks in Advance.
: Suresh.M
:
:
:

By the sounds of it, I think you are trying to use a GLOBAL.ASAX file from a different application boundary located on another IIS server and use it within your local web application. I believe there is no way to make that work. Below I describe another possible reason, which may or may not help you, but could help others.

Instances where this error can occur is when the web or virtual directory is not set up properly in IIS. Open up the instance of IIS where the site is being hosted, right click on the pertaining web or virtual directory and choose "Properties." This will pull up a tabbed window. Make sure you select the "Directory", "Home Directory", or "Virtual Directory tab." The tab name depends on how the web application was created, it is usually the first tab. Anyways under the "Application Settings" section there is the "Application Name" setting. Make sure the application is created. The button next to "Application Name" textbox will say "Create" if it was not created before-hand. If it says "Create" click the button.

NOTE: If the web application is not created, then there is no HttpContext for the ASP.NET application and the global.asax has no way of loading or creating an HttpApplication object.

If the web was created properly on another IIS server, this would mean you would not see this error in that case.

Report
Re: During Deployment could not load type 'namespace.GLOBAL' Posted by busyweb on 13 Feb 2004 at 1:55 AM
try to open global.asax page with text view..
not in the code view...
you may find problem there ^^



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.