473,385 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

.NET Framework Configuration Issue

Hi all,
I'm new to the .NET environment, and have run into an issue configuring the
..NET environment and deploying my code onto our production server. Everything
runs fine on our development box, but go figure, it's completely different!

I am trying to migrate a VB 6.0 DLL, ASP based web site over to .NET, and
decided to start with the DB and middle tiers first, thus leaving the
presentation layer in ASP. I have no problem with that specifically, my issue
lies in my system security settings somewhere. I have .NET DLLs (created with
COM Interop), ASP pages, and a few .NET Web Services.

When callinging the WebServices directly from my ASP page via the
MSSOAPClient, I have no issues. (Namespaces start with
"http://localhost/webservices/...", tried the site's main address, but the
DNS cannot be resolved locally)

When calling my DLLs (which access the webservice) from a .NET EXE and a VB
6.0 EXE (late bound), I have no issues

When calling my DLLs from the ASP pages, I get the following error trying to
access the web services:
File or assembly name h6v-a4my.dll, or one of its dependencies, was not
found.
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef,
Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence
assemblySecurity)
at System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly()
at System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMapping s(XmlMapping[]
mappings)
at System.Web.Services.Protocols.SoapClientType..ctor (Type type)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol..ctor()
at wc3Object.wcCommonUtility.CommonUtility..ctor()
at wc3Object.WC3Object..ctor()

This leads me to believe that the DLLHost.exe cannot access a folder
involved with the instantiation of my web services, but I have no idea where,
I just opened my "Temporary ASP .NET Files" folder to Everyone, but will have
to wait for a good window to restart IIS.

I have my .NET DLLs installed in a folder on the webserver (same drive as
the website itself) with the following accounts granted full-access to the
folders:
ASP.NET, BATCH, Everyone, INTERACTIVE, NETWORK, SERVICE, SYSTEM,
WebSiteAnonymousUser (just added this one)

I have my web services installed in a folder under the website's root folder
with the same user access authorities as the one above.

I have allowed full access to the
WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP .NET Files to the same
users listed above (just added the Everyone account)

Any help, advice, etc. Would be greatly appreciated. Thanks!
-Brian-
Jul 22 '05 #1
0 1237

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

Similar topics

0
by: David de Passos | last post by:
Hi! As I can make to configure framework with one setup. The configuration that I am to speak is: Control Panel->Administrative Tools->Microsoft .NET Framework 1.1 Configuration: Run Time...
0
by: lvpaul | last post by:
Hello ! I have created a Dotnet Windows-Application (.EXE) and stored it on a Server. If a client calls this exe, he gets a Security Exception Error. When I give full thrust to this EXE in...
0
by: Namratha Shah \(Nasha\) | last post by:
Hi All, We have almost covered all the .NET Framework Tools except a few, which we will cover in the coming days. Today we will are going to check out a tool called as mscorcfg.msc. This is a...
0
by: Brian Riley | last post by:
Hi all, I'm new to the .NET environment, and have run into an issue configuring the ..NET environment and deploying my code onto our production server. Everything runs fine on our development box,...
1
by: poppy | last post by:
I have just installed Version 2.0 of the .net framework on a spare machine at work and run "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis /i" The problem is that I cannot find...
1
by: shefu | last post by:
when i use internet in pc it doesnt show me the problem but when i dont use internet emctl command could not start and gives problem of oc4j configuration issue <path>local_host could not found
3
by: Robert Kochem | last post by:
Hi, I have some problems locating .NET Framework Configuration Tool for configuring an snk as fully trusted. On the PC I want to do this only the frameworks up to 3.5 were installed therefore I...
5
by: blaine | last post by:
The wxPython group is a bit stale compared to this group, so I'll give it a shot :) (READ: Originally when I started htis post, Python 2.5 at the shell did not work (identical behavior to...
4
by: John Coltrane | last post by:
I installed VS 2008 with the .Net framework and the Configuration utility doesn't seem to be installed. The book I am using says it should be installed in the administration applet. How can I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.