Windows Form Control in IE Not Loading

R

reepicheep

Hi I am hosting a .NET control within an html page. This is hosted on
a Win 2000 server in a local intranet. Can anyone help with the
following error? It is raised from the .Net wizard on my PC (Trust An
Assembly).

Unable to load assembly: http://serverA/Control/bin/mycontrol.dll

Funny thing is I have this control installed on another server (Win
2000 also) and it can be trusted and loads just fine in the page.
From the problem server the html page loads but no control shows.
What to do?
 
M

Martijn Bodeman

When you create a new project, Visual Studio denies "read" access to the bin
folder, so your application can not be downloaded and possibly decompiled if
anyone wanted to. The reason it works on the other server probably is that
you copied all folders but did not specify that specific permission (which
you really should to avoid malicious use of your webapp). In case of user
controls that need to be hosted in the browser, move the required dll's to
another folder and leave the actual serverside application files in the bin
folder.

Hope this helps,

Martijn
 
R

reepicheep

Thanks for the response... However, I have checked permissions and
read is not a problem. At this time I have it wide open with everyone
given rights to everything (and scripts only on the VD). This really
is a simple app. The only dll in the bin folder is my control. It is
hosted in an HTML page, thus no other aspx dll's are involved.
Between both servers the VD's and permissions are identical. Any
other thoughts???
 

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

Top