File or assembly name myDll or one of its dependencies, was not found.

A

Andrew Jocelyn

Hi

I get this error when I change something in the web.config file. When I
build the VS projects and load the first web page the application runs fine.
If I then make a save the web.config file I then get this error when I
refresh the browser. I have to restart IIS to fix the problem.

I've included the error info but it all looks very cryptic to me. How do I
find out what's really happening and how to fix it?
Thanks
Andrew

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Empetus.WebCMS.UI' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Empetus.WebCMS.UI, Version=2.1.2159.41614, Culture=en-GB,
PublicKeyToken=b17ba4affd856337
(Fully-specified)
LOG: Appbase = file:///C:/Documents and Settings/All Users/Documents/Visual
Studio Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.EXE.


Stack Trace:

[FileNotFoundException: File or assembly name Empetus.WebCMS.UI, or one of
its dependencies, was not found.]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
System.Reflection.Assembly.Load(AssemblyName assemblyRef) +22
System.Web.UI.Util.GetReferencedAssembliesHashtable(Assembly a) +70
System.Web.Compilation.BaseCompiler.GetCompiledType() +385
System.Web.UI.PageParser.CompileIntoType() +60
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() +126

[HttpException (0x80004005): File or assembly name Empetus.WebCMS.UI, or one
of its dependencies, was not found.]
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +692
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
virtualPath, String inputFile, HttpContext context) +119
System.Web.UI.TemplateControlParser.GetCompiledInstance(String
virtualPath, String inputFile, HttpContext context) +36
System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String
virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String
requestType, String url, String path) +44
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig) +696
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
+95
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +173
 
G

Guest

Andrew,
Is your indexing services running in ur box?If so turn it off,it
will solve ur problem.

Andrew Jocelyn said:
Hi

I get this error when I change something in the web.config file. When I
build the VS projects and load the first web page the application runs fine.
If I then make a save the web.config file I then get this error when I
refresh the browser. I have to restart IIS to fix the problem.

I've included the error info but it all looks very cryptic to me. How do I
find out what's really happening and how to fix it?
Thanks
Andrew

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Empetus.WebCMS.UI' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Empetus.WebCMS.UI, Version=2.1.2159.41614, Culture=en-GB,
PublicKeyToken=b17ba4affd856337
(Fully-specified)
LOG: Appbase = file:///C:/Documents and Settings/All Users/Documents/Visual
Studio Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.EXE.


Stack Trace:

[FileNotFoundException: File or assembly name Empetus.WebCMS.UI, or one of
its dependencies, was not found.]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
System.Reflection.Assembly.Load(AssemblyName assemblyRef) +22
System.Web.UI.Util.GetReferencedAssembliesHashtable(Assembly a) +70
System.Web.Compilation.BaseCompiler.GetCompiledType() +385
System.Web.UI.PageParser.CompileIntoType() +60
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() +126

[HttpException (0x80004005): File or assembly name Empetus.WebCMS.UI, or one
of its dependencies, was not found.]
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +692
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
virtualPath, String inputFile, HttpContext context) +119
System.Web.UI.TemplateControlParser.GetCompiledInstance(String
virtualPath, String inputFile, HttpContext context) +36
System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String
virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String
requestType, String url, String path) +44
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig) +696
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
+95
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +173
 
A

Andrew Jocelyn

Hi Santhi

Indexing was turned off. The problem seemed to go away when I changed this
line in the AssemblyInfo.vb file:

Assembly: AssemblyCulture("en-GB")

to

Assembly: AssemblyCulture("")

It does seem to be related to the 'Temporary ASP.NET Files' folder somehow.
Still not sure what it all means though?

Thanks
Andrew


Santhi Maadhaven said:
Andrew,
Is your indexing services running in ur box?If so turn it off,it
will solve ur problem.

Andrew Jocelyn said:
Hi

I get this error when I change something in the web.config file. When I
build the VS projects and load the first web page the application runs
fine.
If I then make a save the web.config file I then get this error when I
refresh the browser. I have to restart IIS to fix the problem.

I've included the error info but it all looks very cryptic to me. How do
I
find out what's really happening and how to fix it?
Thanks
Andrew

Assembly Load Trace: The following information can be helpful to
determine
why the assembly 'Empetus.WebCMS.UI' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Empetus.WebCMS.UI, Version=2.1.2159.41614,
Culture=en-GB,
PublicKeyToken=b17ba4affd856337
(Fully-specified)
LOG: Appbase = file:///C:/Documents and Settings/All
Users/Documents/Visual
Studio Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webcms_v2_dotnet/cfb87e29/810d0a11/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/All
Users/Documents/Visual Studio
Projects/WebCMS_v2_DOTNET_migration/WebCMS_v2/bin/en-GB/Empetus.WebCMS.UI/Empetus.WebCMS.UI.EXE.


Stack Trace:

[FileNotFoundException: File or assembly name Empetus.WebCMS.UI, or one
of
its dependencies, was not found.]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase,
Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
System.Reflection.Assembly.Load(AssemblyName assemblyRef) +22
System.Web.UI.Util.GetReferencedAssembliesHashtable(Assembly a) +70
System.Web.Compilation.BaseCompiler.GetCompiledType() +385
System.Web.UI.PageParser.CompileIntoType() +60
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
+126

[HttpException (0x80004005): File or assembly name Empetus.WebCMS.UI, or
one
of its dependencies, was not found.]
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +692
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
+125
System.Web.UI.TemplateParser.GetParserCacheItem() +88

System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
virtualPath, String inputFile, HttpContext context) +119
System.Web.UI.TemplateControlParser.GetCompiledInstance(String
virtualPath, String inputFile, HttpContext context) +36
System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String
virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context,
String
requestType, String url, String path) +44
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig)
+696

System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
+95
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +173
 

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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top