Permissions Issue with ASP.Net

  • Thread starter Thread starter brian
  • Start date Start date
B

brian

I've created an asp.net application that uses vb.net code
behind pages. This application runs fine on my local
machine
(I have IIS installed locally for testing). However, when
I place the application on the destination server and
attempt to run it, I receive the error message:

"File or Assembly Name System or one of it's dependencies,
was not found"

The file where the error occurs is "Global.asax.vb", on a
line reading "InitializeComponent()".

After a brief review of what InitializeComponent does, I
believe that this is a permissions issue, but am still
puzzled by it.

Any assistance will be appreciated.

Thanks.

Brian
 
Have you moved the .dll file from the bin directory on
your local machine to the bin directory on your server.

Your .vb files are compiled into the DLL and called from
the aspx files when they are requested through the server.
Hence "code behind"..

HTH..Paul
 
Thanks Paul.

I've been developing .net applications for a little while now, and I
understand the meaning of "code behind", and the purpose of bin
directory.

If the version of the application on the server differed from that on my
local machine I would look in the bin folder. However, this is not the
case, and late yesterday, I discovered that the problem was indeed with
the trust level.

Anyway, thanks for responding.

brian
 
Back
Top