473,508 Members | 2,367 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Permissions Issue with ASP.Net

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
Jul 21 '05 #1
2 1374
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
-----Original Message-----
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
.

Jul 21 '05 #2
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


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
2179
by: Lyle Fairfield | last post by:
There is an MS-SQL table named Bugs_Comments_and_Suggestions. There is a form named Bugs_Comments_and_Suggestions. To allow John Doe to use this form, we GRANT him LOGIN and ACCESS permissions...
1
5622
by: James Beilby | last post by:
Hello people, It's been a long time since I've asked any techie questions on Usenet but I am under pressure to finish a project and the following issue has me stumped. I appreciate that it's a...
8
7690
by: jporter188 | last post by:
Hello, I am working on a project to manipulate XML files. All of the files, the code, and the output are on network drives. When I run my program I get an exception (see below). I tried giving...
3
4420
by: palepimp | last post by:
Hello all, I have searched far and wide for a solution to my issue. In short, here is the problem: 1. 3 PC's enter data into an Access 2003 database (PC's are running Vista w/ Office 2007...
0
1389
by: Tim Payne | last post by:
I have an odd permissions issue with uploading files to a windows 2003 server. I have a reasonably unusual setup. We have a php website, running through IIS that was written to use mod_rewrite....
0
7120
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7380
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7494
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.