BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Unhandled Exception occurs when creating local site on Vista
Rank: Member
Joined: 5/2/2005(UTC) Posts: 259
|
My client wants to install a test BVC5 site on his computer, so that he can do dry-runs of importing Product files (before importing into the live site). I told him to be sure to install IIS and SQL Server 2005 Express, and I'm pretty sure Vista comes with ASP.NET 2.0 or 3.x. He's running Vista, when he tries to create a site, he gets an Unhandled Exception error that says: Code: An error occurred creating the form. See Exception.InnerException for Details. The error is: Unknown error (0x80005000)."
(I've attached an image file of his initial error message at the bottom of this posting).
Any idea what's causing this? (I haven't personally looked at his computer yet).
Also, here's the error log:
[code]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Unknown error (0x80005000) ---> System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
at System.DirectoryServices.DirectoryEntries.GetEnumerator()
at SiteManagerUtilities.Utilities.IISHelper.ListWebSites()
at SiteManager.CreateSiteWizard..ctor()
--- End of inner exception stack trace ---
at SiteManager.My.MyProject.MyForms.Create__Instance__[T](T Instance)
at SiteManager.Main.NewSite()
at SiteManager.Main.btnCreate_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: <a target="_blank" href="file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll" target=_blank>file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll</A>
----------------------------------------
SiteManager
Assembly Version: 5.0.0.947
Win32 Version: 5.0.0.947
CodeBase: <a target="_blank" href="file:///C:/Program%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]Files/BV%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]Software/Bvc%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]5.0.0.947/SiteManager.exe" target=_blank>file:///C:/Program%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]Files/BV%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]Software/Bvc%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]5.0.0.947/SiteManager.exe</A>
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.312 (rtmLHS.050727-3100)
CodeBase: <a target="_blank" href="file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll" target=_blank>file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll</A>
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: <a target="_blank" href="file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll" target=_blank>file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll</A>
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: <a target="_blank" href="file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll" target=_blank>file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll</A>
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: <a target="_blank" href="file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll" target=_blank>file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll</A>
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: <a target="_blank" href="file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll" target=_blank>file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll</A>
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: <a target="_blank" href="file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll" target=_blank>file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll</A>
----------------------------------------
SiteManagerUtilities
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: <a target="_blank" href="file:///C:/Program%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]Files/BV%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]Software/Bvc%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]5.0.0.947/SiteManagerUtilities.DLL" target=_blank>file:///C:/Program%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]Files/BV%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]Software/Bvc%20[b][/b][b][/b][b][/b][b][/b][b][/b][b][/b]5.0.0.947/SiteManagerUtilities.DLL</A>
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.833 (QFE.050727-8300)
CodeBase: <a target="_blank" href="file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll" target=_blank>file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll</A>
----------------------------------------
System.DirectoryServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: <a target="_blank" href="file:///C:/Windows/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll" target=_blank>file:///C:/Windows/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll</A>
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
cdakz attached the following image(s): BVC5Error.bmp (232kb) downloaded 74 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Member
Joined: 5/6/2004(UTC) Posts: 225
|
If you look under the system requirements, Vista is not listed as an approved operating system. This is still true for many applications out there, as even UPS world ship is not working yet on Vista. If you search for Vista, in the forums, you will see some info on this.
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
The error code (0x80005000) indicates that some sort of login error occurred. Perhaps your client should try running the installer as an administrator. |
|
|
|
|
Rank: Member
Joined: 5/2/2005(UTC) Posts: 259
|
Hmm... Dan, I did a lot of searching on Vista (I think mostly in this "BV Commerce 5 Technical Questions" forum), figuring there might be known Vista-related problems, and couldn't find any. I did some references to people running Vista successfully (like http://forums.bvcommerce.com/default.aspx?f=78&m=47967). Can you point me to any Vista-problem postings? Andy, I'll definitely tackle it form the user/permissions angle when I meet with my client. I haven't started running Visat personally yet, but have been hearing that the locked down permissions in Vista have been a bit of a bugaboo.
|
|
|
|
Rank: Member
Joined: 5/6/2004(UTC) Posts: 225
|
There was one post where someone had mentioned what he had done to get BV to run under Vista, and I have no idea what it was, as it has been so long.
|
|
|
|
Rank: Member
Joined: 3/24/2005(UTC) Posts: 311
|
This is what I did to get my Dev IIS7 running Vista Business to work.
First you need to make sure that IIS7 is installed and running correctly.
Goto Start/Control Panel/Programs and Features
Click on "Turn Windows features on or off" *on left panel
A list of options will come up
Explode Internet Information Services Explode World Wide Web Services Explode Application Development Features Check all the checkboxes under Application Development Features
Click OK.
It will install/configure components.
Next launch your IIS7 management console.
Right Click on your Default Web Site and choose Add Application
Enter alias name. For Application Pool choose "Classic .NET AppPool" *this one is critical. And place the Physical path to the folder where your BV5 data is. Click on OK
Your pretty much set. As long as you have your SQLExpress installed correctly and the Web.config file pointing to the correct DB thats it. |
|
|
|
|
Rank: Member
Joined: 1/23/2006(UTC) Posts: 103
|
I followed jonm's instruction and got BVC5 working on my vista laptop. One thing different about Vista is that you will get errors if you put a web site under your "Documents" folder or any of your other personal folders. It's best to make a new foler off the c:/inetpub/wwwroot folder. Another point, VS2005 is a bit tricky to get running on vista. Here's an article that will help out: http://www.codeproject.c...igure_IIS_with_Vista.aspI prefer to slistream VS SP1 and the VS Vista update into the administrative install and then install visual studio instead of applying the service packs afterward.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.