From: David Kriz on
Hello,

Having some troubles getting Smarttag Integration to work. I've followed
the installation procedure from "Smart Tag Installation Guide 400 .doc"
(from Navision ver. "4.0 SP1 Czech").
- Application server is running on OS "Microsoft Windows 2003 Server SP1
CZ".
- Database server is running on OS "Microsoft Windows 2003 Server SP1 CZ".
- Workstation has OS "Microsoft Windows XP Professional CZ SP2" and
"Microsoft Office 2003 Professional Edition SP2 CZ".

Unfortunately, in step "C.2" was showed error message without caption
and text "Smart Tag Toolkit Web Service could not be configured on this
computer, see C:\DOCUME~1\ADMIND~1\LOCALS~1\Temp\TestWS.log for further
details".
I tested this on another 2 Workstations and it was the same.
How can I solve this problem?

Thanks in Advance for all help

Best regards,

David K?í?
CCV, s.r.o. (http://www.ccv.cz)

P.S.
In file "TestWS.log" is:

Client found response content type of 'text/html; charset=utf-8', but
expected 'text/xml'.
The request failed with the error message:
--
<html>
<head>
<title>File or assembly name WebCaching, or one of its
dependencies, was not found.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size:
..7em;color:black;}
p
{font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b
{font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 {
font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 {
font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold;
color:navy; cursor:hand; }
</style>
</head>

<body bgcolor="white">

<span><H1>Server Error in '/SmartTags' Application.<hr
width=100% size=1 color=silver></H1>

<h2> <i>File or assembly name WebCaching, or one of its
dependencies, was not found.</i> </h2></span>

<font face="Arial, Helvetica, Geneva, SunSans-Regular,
sans-serif ">

<b> Description: </b>An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the code.

<br><br>

<b> Exception Details: </b>System.IO.FileNotFoundException:
File or assembly name WebCaching, or one of its dependencies, was not
found.<br><br>

<b>Source Error:</b> <br><br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>

Line 30: private static bool __initialized = false;
Line 31:
<font color=red>Line 32: public Global_asax() {
</font>Line 33: if ((ASP.Global_asax.__initialized == false)) {
Line 34: ASP.Global_asax.__initialized = true;</pre></code>

</td>
</tr>
</table>

<br>

<b> Source File: </b>
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\smarttags\337e3785\65e2ddc7\0m0495zo.0.cs<b> &nbsp;&nbsp; Line:
</b> 32
<br><br>

<b>Assembly Load Trace:</b> The following information can be
helpful to determine why the assembly 'WebCaching' could not be
loaded.<br><br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>

=== Pre-bind state information ===
LOG: DisplayName = WebCaching, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=412fa6df75913294
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/SmartTags
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: WebCaching, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=412fa6df75913294
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/smarttags/337e3785/65e2ddc7/WebCaching.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/smarttags/337e3785/65e2ddc7/WebCaching/WebCaching.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/SmartTags/bin/WebCaching.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/SmartTags/bin/WebCaching/WebCaching.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/smarttags/337e3785/65e2ddc7/WebCaching.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/smarttags/337e3785/65e2ddc7/WebCaching/WebCaching.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/SmartTags/bin/WebCaching.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/SmartTags/bin/WebCaching/WebCaching.EXE.
</pre></code>

</td>
</tr>
</table>

<br>

<b>Stack Trace:</b> <br><br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>

[FileNotFoundException: File or assembly name WebCaching, or one of its
dependencies, was not found.]
Navision.SmartTags.Global..ctor() +0
ASP.Global_asax..ctor() in
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\smarttags\337e3785\65e2ddc7\0m0495zo.0.cs:32

[TargetInvocationException: Exception has been thrown by the target of
an invocation.]
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes) +664
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes) +200
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance() +160
System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext
context) +20
System.Web.HttpApplicationFactory.Init(HttpContext context) +497
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
</pre></code>

</td>
</tr>
</table>

<br>

<hr width=100% size=1 color=silver>

<b>Version Information:</b>&nbsp;Microsoft .NET Framework
Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

</font>

</body>
</html>
<!--
[FileNotFoundException]: File or assembly name WebCaching, or one of its
dependencies, was not found.
at Navision.SmartTags.Global..ctor()
at ASP.Global_asax..ctor() in
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\smarttags\337e3785\65e2ddc7\0m0495zo.0.cs:line 32
[TargetInvocationException]: Exception has been thrown by the target of
an invocation.
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags
bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance()
at
System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext
context)
at System.Web.HttpApplicationFactory.Init(HttpContext context)
at
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
-->
--.
From: Oscar Koeleman [MSFT] on
Don't worry about this error message. As far as I can remember, it has to do
with the fact that you are trying to install it on Windows 2003 and IIS has
undergone some major changes from 2000 to 2003. It throws you this error,
but you should be able to continue.

Let me know how it goes.

Kind regards,

Oscar Koeleman - Technical Support Specialist - Microsoft Services
This posting is provided "AS IS" with no warranties, and confers no rights.

--

"David Kriz" wrote:

> Hello,
>
> Having some troubles getting Smarttag Integration to work. I've followed
> the installation procedure from "Smart Tag Installation Guide 400 .doc"
> (from Navision ver. "4.0 SP1 Czech").
> - Application server is running on OS "Microsoft Windows 2003 Server SP1
> CZ".
> - Database server is running on OS "Microsoft Windows 2003 Server SP1 CZ".
> - Workstation has OS "Microsoft Windows XP Professional CZ SP2" and
> "Microsoft Office 2003 Professional Edition SP2 CZ".
>
> Unfortunately, in step "C.2" was showed error message without caption
> and text "Smart Tag Toolkit Web Service could not be configured on this
> computer, see C:\DOCUME~1\ADMIND~1\LOCALS~1\Temp\TestWS.log for further
> details".
> I tested this on another 2 Workstations and it was the same.
> How can I solve this problem?
>
> Thanks in Advance for all help
>
> Best regards,
>
> David K?í?
> CCV, s.r.o. (http://www.ccv.cz)
>
> P.S.
> In file "TestWS.log" is:
>
> Client found response content type of 'text/html; charset=utf-8', but
> expected 'text/xml'.
> The request failed with the error message:
> --
> <html>
> <head>
> <title>File or assembly name WebCaching, or one of its
> dependencies, was not found.</title>
> <style>
> body {font-family:"Verdana";font-weight:normal;font-size:
> ..7em;color:black;}
> p
> {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
> b
> {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
> H1 {
> font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
> H2 {
> font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
> pre {font-family:"Lucida Console";font-size: .9em}
> .marker {font-weight: bold; color: black;text-decoration: none;}
> .version {color: gray;}
> .error {margin-bottom: 10px;}
> .expandable { text-decoration:underline; font-weight:bold;
> color:navy; cursor:hand; }
> </style>
> </head>
>
> <body bgcolor="white">
>
> <span><H1>Server Error in '/SmartTags' Application.<hr
> width=100% size=1 color=silver></H1>
>
> <h2> <i>File or assembly name WebCaching, or one of its
> dependencies, was not found.</i> </h2></span>
>
> <font face="Arial, Helvetica, Geneva, SunSans-Regular,
> sans-serif ">
>
> <b> Description: </b>An unhandled exception occurred during
> the execution of the current web request. Please review the stack trace
> for more information about the error and where it originated in the code.
>
> <br><br>
>
> <b> Exception Details: </b>System.IO.FileNotFoundException:
> File or assembly name WebCaching, or one of its dependencies, was not
> found.<br><br>
>
> <b>Source Error:</b> <br><br>
>
> <table width=100% bgcolor="#ffffcc">
> <tr>
> <td>
> <code><pre>
>
> Line 30: private static bool __initialized = false;
> Line 31:
> <font color=red>Line 32: public Global_asax() {
> </font>Line 33: if ((ASP.Global_asax.__initialized == false)) {
> Line 34: ASP.Global_asax.__initialized = true;</pre></code>
>
> </td>
> </tr>
> </table>
>
> <br>
>
> <b> Source File: </b>
> c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\smarttags\337e3785\65e2ddc7\0m0495zo.0.cs<b> Line:
> </b> 32
> <br><br>
>
> <b>Assembly Load Trace:</b> The following information can be
> helpful to determine why the assembly 'WebCaching' could not be
> loaded.<br><br>
>
> <table width=100% bgcolor="#ffffcc">
> <tr>
> <td>
> <code><pre>
>
> === Pre-bind state information ===
> LOG: DisplayName = WebCaching, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=412fa6df75913294
> (Fully-specified)
> LOG: Appbase = file:///c:/inetpub/wwwroot/SmartTags
> LOG: Initial PrivatePath = bin
> Calling assembly : (Unknown).
> ===
>
> LOG: Publisher policy file is not found.
> LOG: No redirect found in host configuration file
> (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
> LOG: Using machine configuration file from
> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
> LOG: Post-policy reference: WebCaching, Version=1.0.0.0,
> Culture=neutral, PublicKeyToken=412fa6df75913294
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/smarttags/337e3785/65e2ddc7/WebCaching.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/smarttags/337e3785/65e2ddc7/WebCaching/WebCaching.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/SmartTags/bin/WebCaching.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/SmartTags/bin/WebCaching/WebCaching.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/smarttags/337e3785/65e2ddc7/WebCaching.EXE.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/smarttags/337e3785/65e2ddc7/WebCaching/WebCaching.EXE.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/SmartTags/bin/WebCaching.EXE.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/SmartTags/bin/WebCaching/WebCaching.EXE.
> </pre></code>
>
> </td>
> </tr>
> </table>
>
> <br>
>
> <b>Stack Trace:</b> <br><br>
>
> <table width=100% bgcolor="#ffffcc">
> <tr>
> <td>
> <code><pre>
>
> [FileNotFoundException: File or assembly name WebCaching, or one of its
> dependencies, was not found.]
> Navision.SmartTags.Global..ctor() +0
> ASP.Global_asax..ctor() in
> c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\smarttags\337e3785\65e2ddc7\0m0495zo.0.cs:32
>
> [TargetInvocationException: Exception has been thrown by the target of
> an invocation.]
> System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
> System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
> System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
> Binder binder, Object[] args, CultureInfo culture, Object[]
> activationAttributes) +664
> System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
> Binder binder, Object[] args, CultureInfo culture, Object[]
> activationAttributes) +200
> System.Web.HttpApplicationFactory.GetSpecialApplicationInstance() +160
> System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext
> context) +20
> System.Web.HttpApplicationFactory.Init(HttpContext context) +497
> System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
> context) +170
> System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
> </pre></code>
>
> </td>
> </tr>
> </table>
>
> <br>
>
> <hr width=100% size=1 color=silver>
>
> <b>Version Information:</b> Microsoft .NET Framework
> Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
>
> </font>
>
> </body>
> </html>
> <!--
> [FileNotFoundException]: File or assembly name WebCaching, or one of its
> dependencies, was not found.
> at Navision.SmartTags.Global..ctor()
> at ASP.Global_asax..ctor() in
> c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\smarttags\337e3785\65e2ddc7\0m0495zo.0.cs:line 32
> [TargetInvocationException]: Exception has been thrown by the target of
> an invocation.
> at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
> at System.Activator.CreateInstance(Type type, Boolean nonPublic)
> at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
> Binder binder, Object[] args, CultureInfo culture, Object[]
> activationAttributes)
> at System.Activator.CreateInstance(Type type, BindingFlags
> bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[]
> activationAttributes)
> at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance()
> at
> System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext
> context)
> at System.Web.HttpApplicationFactory.Init(HttpContext context)
> at
> System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
> context)
> at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
> -->
> --.
>