global.asax

  • Thread starter Thread starter Vanessa Berni
  • Start date Start date
V

Vanessa Berni

Hi all!
I've created a simple aspx application and when I run it locally on my pc
all works fine.
If I move it on the web server I get the following error

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

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

1) I've built the application and the files are in the correct bin directory
2) The aspnet user has all the permissions

Any suggestions?

Thanks Vanessa
 
Unfortunately we've already given all the needed permissions ... and we
still get the same error
 
There are few issues which you have to take care off in this case:
1)You have to run asp.net application under domain user which have
permissions on
remote machine and local machine:
on remote it have read permissions on application root
on local it have permission on c:\winnt\microsoft.net\framework path.
2)You have to make changes in Microsoft Net configaration:
to allow full trust all assemblies which comming from this network share.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top