Home Search Member List Faq Register Login  
UltimateMenu
Re: Compilation error axshdocvw.dll

Thread Starter: bet08075   Started: 02-23-2006 1:01 PM   Replies: 12
 Karamasoft Support Forums » General Discussions » UltimateMenu » Re: Compilation error axshdocvw.dll
 Printable Version    « Previous Thread   Next Thread »
  23 Feb 2006, 1:01 PM
bet08075 is not online. Last active: 2/26/2006 9:28:55 AM bet08075

Top 10 Posts
Joined on 02-23-2006
Posts 7
Compilation error axshdocvw.dll
I am also getting the compilation error involving axshdocvw.dll.  I do not see that file in GAC.  I can manually get it to work by adding subfolders containing that file to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\2135a508\8d69a834\assembly\dl2.  Within that directory, I see subfolders with localhost.dll, ultimatemenu.dll, but no entry for axshdocvw.dll.  If anyone can help, I would appreciate it.


  
  23 Feb 2006, 1:12 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Compilation error axshdocvw.dll
SHDocVw.dll and AxSHDocVw.dll are under C:\Inetpub\wwwroot\Karamasoft\UltimateMenu\v3.1\Designer\bin. When you drag-and-drop UltimateMenu.dll those two additional dll's must be added to References and into the bin directory of your web application automatically. If not you have to copy them into bin and add to references manually. Those two dll's shouldn't be in the GAC.
  
  23 Feb 2006, 1:52 PM
bet08075 is not online. Last active: 2/26/2006 9:28:55 AM bet08075

Top 10 Posts
Joined on 02-23-2006
Posts 7
Re: Compilation error axshdocvw.dll
I do see those files in the bin directory of my web application.  They are in C:\Inetpub\wwwroot\bin.  However, in Visual studio references, I see those files with a different path...c:\inetpub\wwwroot\karamasoft\ultimatemenu\v3.1\designer\bin\AxSHDocVw.dll.  In Windows XP, exactly where do I go to verify that those files don't exist in GAC?  I checked in C:\WINDOWS\assembly and didn't see either of them.
  
  23 Feb 2006, 2:03 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Compilation error axshdocvw.dll
What is the problem you're experiencing regarding these dlls?
  
  23 Feb 2006, 2:08 PM
bet08075 is not online. Last active: 2/26/2006 9:28:55 AM bet08075

Top 10 Posts
Joined on 02-23-2006
Posts 7
Re: Compilation error axshdocvw.dll
When I build my project and hit F5 to start it, it goes to an error screen that has the following message:

C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library /utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\2135a508\8d69a834\assembly\dl2\df82d29c\00f5c492_f245c401\shdocvw.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\2135a508\8d69a834\assembly\dl2\cb6a83b1\484d7b94_b938c601\localhost.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\2135a508\8d69a834\assembly\dl2\5f6261b2\00337725_71fcc501\ultimatemenu.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\2135a508\8d69a834\assembly\dl2\58c2aaf6\007c5896_f245c401\axshdocvw.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\2135a508\8d69a834\sck8m-za.dll" /DBig SmileEBUG=1 /debug+  "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\2135a508\8d69a834\sck8m-za.0.vb"


Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322.2032
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

vbc : Command line error BC2017 : could not find library 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\2135a508\8d69a834\assembly\dl2\df82d29c\00f5c492_f245c401\shdocvw.dll'
vbc : Fatal error BC2000 : compiler initialization failed unexpectedly: The filename, directory name, or volume label syntax is incorrect.

Not sure what it means or how to fix it.  I can manually add the file to directory listed immediately above, and it will compile, and show the page with no menu.

  
  23 Feb 2006, 2:15 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Compilation error axshdocvw.dll
Have you tried the sample C# and VB.NET applications provided under C:\Inetpub\wwwroot\Karamasoft\UltimateMenu\v3.1\Demos. If you have IIS installed on your machine you should be able to open the solutions in VS.NET and run.
  
  23 Feb 2006, 2:23 PM
bet08075 is not online. Last active: 2/26/2006 9:28:55 AM bet08075

Top 10 Posts
Joined on 02-23-2006
Posts 7
Re: Compilation error axshdocvw.dll
They all work fine.  Thus far, all I have done is create a menu with three "Test" links in the designer, save it to a database, dragged a menu onto my webform, and added the following code:

Dim conn As New SqlClient.SqlConnection("server=XXXXX\SQLExpress;UID=sa;PWD=xxxxx;database=db6")

Dim menucmd As New SqlClient.SqlCommand("spUltimateMenu", conn)

menucmd.CommandType = CommandType.StoredProcedure

menucmd.Parameters.Add("@ID", SqlDbType.VarChar, 50)

menucmd.Parameters("@ID").Direction = ParameterDirection.Input

menucmd.Parameters("@ID").Value = "MainMenu"

Dim menugroupcmd As New SqlClient.SqlCommand("spUltimateMenuGroup", conn)

menugroupcmd.CommandType = CommandType.StoredProcedure

menugroupcmd.Parameters.Add("@menuID", SqlDbType.VarChar, 50)

menugroupcmd.Parameters("@menuID").Direction = ParameterDirection.Input

menugroupcmd.Parameters("@menuID").Value = "MainMenu"

Dim menuitemcmd As New SqlClient.SqlCommand("spUltimateMenuItem", conn)

menuitemcmd.CommandType = CommandType.StoredProcedure

menuitemcmd.Parameters.Add("@menuID", SqlDbType.VarChar, 50)

menuitemcmd.Parameters("@menuID").Direction = ParameterDirection.Input

menuitemcmd.Parameters("@menuID").Value = "MainMenu"

Dim menuadap As New SqlClient.SqlDataAdapter(menucmd)

Dim menugroupadap As New SqlClient.SqlDataAdapter(menugroupcmd)

Dim menuitemadap As New SqlClient.SqlDataAdapter(menuitemcmd)

Dim ds As New DataSet

Try

conn.Open()

menuadap.Fill(ds)

menugroupadap.Fill(ds)

menuitemadap.Fill(ds)

Me.UltimateMenu1.DataSource = ds

Me.UltimateMenu1.DataBind()

Me.UltimateMenu1.Visible = True

Catch ex As Exception

Response.Write("Error loading menu: " & ex.Message)

Finally

conn.Close()

conn.Dispose()

menucmd.Dispose()

menugroupcmd.Dispose()

menuitemcmd.Dispose()

menuadap.Dispose()

menugroupadap.Dispose()

menuitemadap.Dispose()

ds.Dispose()

End Try

End Sub

All the stored procedures run fine and produce output except for the group procedure...there are no records in that table.


  
  24 Feb 2006, 9:40 AM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Compilation error axshdocvw.dll
It is hard to tell what may be wrong with your database table contents, but you should be aware that the column names must be case-sensitive as they are transformed into XML, which is case-sensitive by definition. Other than that you may send us the table contents and we may look into them. Also note that Group table may not have anything and it's normal because you don't have to have group definitions.
  
  24 Feb 2006, 10:51 AM
bet08075 is not online. Last active: 2/26/2006 9:28:55 AM bet08075

Top 10 Posts
Joined on 02-23-2006
Posts 7
Re: Compilation error axshdocvw.dll

To whom should I email the contents of the database tables and screenshot of the db design?


  
  24 Feb 2006, 1:55 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Compilation error axshdocvw.dll
Replace TRUE with True and FALSE with False in your UltimateMenu table.
  
  25 Feb 2006, 12:23 PM
bet08075 is not online. Last active: 2/26/2006 9:28:55 AM bet08075

Top 10 Posts
Joined on 02-23-2006
Posts 7
Re: Compilation error axshdocvw.dll
In the actual database table, those are mixed case.  I guess that the export made them all caps.
  
  25 Feb 2006, 1:27 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Compilation error axshdocvw.dll
Instead of using the code at the top can you just set the following properties of the UltimateMenu control on your aspx page such as

<cc1:UltimateMenu id="UltimateMenu1" runat="server" DatabaseConnStr="Provider=SQLOLEDB;User ID=youruser;Password=yourpassword;Initial Catalog=yourdatabase;Data Source=yourserver;" DatabaseMenuID="MainMenu"></cc1:UltimateMenu>

  
  25 Feb 2006, 7:50 PM
bet08075 is not online. Last active: 2/26/2006 9:28:55 AM bet08075

Top 10 Posts
Joined on 02-23-2006
Posts 7
Re: Compilation error axshdocvw.dll
I finally got time to play around with it myself.  Two things seemed to have caused the issue.  It seems there has to be a name on the dataset equal to your menu name, such as:

Dim ds as new dataset("Main Menu")

Also, the sort order of the UltimateMenuItem table has to be included:

Dim menuitemcmd As New OleDb.OleDbCommand("SELECT * FROM UltimateMenuItem WHERE MenuID='Main Menu' ORDER BY ParentItemID, SortOrder", conn)

This is a bit different than the databinding I am used to with datagrids/etc.  However, making these changes seems to have made the menu work fine.  I appreciate the help that was offered. 


  
 Page 1 of 1 (13 items)
Karamasoft Support Forums » General Discussions » UltimateMenu » Re: Compilation error axshdocvw.dll

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2021 Karamasoft LLC. All rights reserved.