Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Death of a Server
Sportif
#1 Posted : Monday, September 17, 2012 3:09:53 PM(UTC)
Groups: Member
Joined: 9/17/2012(UTC)
Posts: 6

Hello Team UltiDev,

After months of no hassle seamless performance... UltiDev has gone to the digital underground. Thankfully it was only my dev enviroment.

A check of the recommended logs shows nothing to lift an eye at.
A complete wipe of UD, associated files, and new install results in the same.

UD no longer host any appplications / sites. The status of every app registered stays in the red.

Screen:


Error: UltiDev Web Server's windows service is not running" Do you want to try access application anyway?

Windows 7 Service snap in shows the service is running.
Sportif
#2 Posted : Monday, September 17, 2012 4:18:04 PM(UTC)
Groups: Member
Joined: 9/17/2012(UTC)
Posts: 6

UWS.RegApp.exe Information: 0 :
---------------- Starting ----------------------
DateTime=2012-09-17T20:34:55.0912582Z
UWS.RegApp.exe Information: 0 : User security context: NT AUTHORITY\SYSTEM (WORKGROUP\SYSTEM), Elevated: True.
DateTime=2012-09-17T20:34:55.1002587Z
UWS.RegApp.exe Warning: 0 : Failed to add ports of "UltiDev Web Server App Redirector" to the Windows firewall exception due to "System.Runtime.InteropServices.COMException (0x800706D9): Creating an instance of the COM component with CLSID {304CE942-6E39-40D8-943A-B913C40C9CD4} from the IClassFactory failed due to the following error: 800706d9.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at UWS.Framework.WindowsFirewallHelper.get_FirewallProfile()
at UWS.Framework.WindowsFirewallHelper.GetApplicationPorts(String applicationName)
at UWS.Framework.WindowsFirewallHelper.SetExceptionForPorts(String applicationName, UInt16[] ports)
at UWS.Configuration.Metabase.AttemptToAddPortsToFirewallException(ListenEndpoint application)".
DateTime=2012-09-17T20:34:55.7232943Z
UWS.RegApp.exe Information: 0 : Successfully registered or unregistered an application with command line:
"C:\Program Files (x86)\UltiDev\Web Server\UWS.RegApp.exe" /AppID:4fd8b3f7-bc73-4583-95fe-e7b69b10a3ae /Clr:2 "/VDir:/" "/EndPoints:http://*:7756/,http://*:5677,http://*:56777" "/Folder:C:\Program Files (x86)\UltiDev\Web Server\\Redirector" "/AppName:UltiDev Web Server App Redirector" /host:PrivateNetworkService "/AppDesc:Service web application for redicrecting to applications served by UltiDev Web Server" /SaveToUnregApps:false /Ping:Default.aspx
DateTime=2012-09-17T20:34:55.7262945Z
UWS.RegApp.exe Information: 0 :
---------------- Finished ----------------------
DateTime=2012-09-17T20:34:55.7262945Z




UWS.Reg.Repair.exe Information: 0 : Registering Configuration API as COM typelib...Done.
Creating Windows Firewall Exceptions...Failed to create Windows Firewall Exception. UWS.Reg.Repair utility may need to be run later. Error:
System.Runtime.InteropServices.COMException (0x800706D9): Creating an instance of the COM component with CLSID {304CE942-6E39-40D8-943A-B913C40C9CD4} from the IClassFactory failed due to the following error: 800706d9.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at UWS.Framework.WindowsFirewallHelper.get_FirewallProfile()
at UWS.Framework.WindowsFirewallHelper.GetApplicationPorts(String applicationName)
at UWS.Framework.WindowsFirewallHelper.SetExceptionForPorts(String applicationName, UInt16[] ports)
at UWS.Configuration.Metabase.CreateWindowsFirewallException()
at UWS.Reg.Repair.Program.CreateWindowsFirewalException()
Deploying UWS as setup prerequisite for installer authoring tools...Visual Studio was not found on this system.
InstallShield was not found on this system.
Successfully copied Advanced Installer prerequisite from "C:\Program Files (x86)\UltiDev\Web Server\Redist\Advanced Installer\UltiDev Web Server Pro.aip" to "d:\ProgramData\Caphyon\Advanced Installer\Prerequisites\UltiDev Web Server Pro\UltiDev Web Server Pro.aip".
Done.
Re-registering Legacy Cassini API assembly in GAC...Done.
Replace Visual Studio WebDev.WebServer with UWS Interactive Host...Not necessary.

DateTime=2012-09-17T20:34:59.2794977Z
Ultidev Team
#3 Posted : Monday, September 17, 2012 11:34:23 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

The problem of the service not running may be different from the problem during the registration (Windows Firewall COM API class missing). Missing Windows Firewall COM class looks like registry corruption, or some poorly written installer unregistered Windows Firewall COM DLL. To find out why UWS service is not running, please take a look at Windows Event Log and let us know what log entries are generated after you hit the Start service button in UWS Explorer.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Sportif
#4 Posted : Tuesday, September 18, 2012 10:20:35 AM(UTC)
Groups: Member
Joined: 9/17/2012(UTC)
Posts: 6

Event log Info:
Service started successfully.

Event log Error:

Metabase change handling failed due to:
System.ApplicationException: Failed to load XML data from "d:\ProgramData\UltiDev\WebServer\UWS.Configuration.xml". Error: Could not find a part of the path 'C:\Temp\Sys\4mwwvryy.tmp'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Temp\Sys\4mwwvryy.tmp'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at UltiDev.Framework.XmlSerializationHelper.XmlDesrializeFromFile[T](String filePath)
--- End of inner exception stack trace ---
at UltiDev.Framework.XmlSerializationHelper.XmlDesrializeFromFile[T](String filePath)
at UWS.Configuration.Metabase.LoadMetabase()
at UWS.Configuration.Metabase.LoadHostAndAppConfigFromMetabase()
at UltiDev.WebServer.Monitor.MonitorService.GetConfiguration(List`1& newLegacyCassiniUrlsToACL, List`1& oldLegacyCassiniUrlsToDeACL)
at UltiDev.WebServer.Monitor.MonitorService.ReloadAppConfigData2()

Following changes were partially done:
Ultidev Team
#6 Posted : Tuesday, September 18, 2012 10:27:25 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Could you please check whether "d:\ProgramData\UltiDev\WebServer\UWS.Configuration.xml" file, if it exists, is a not corrupted, properly-formatted XML file? If the file is OK, it appears that something pretty bad has happened to your system. It fails to deserialize UWS application config file, and if file is alright, then something is likely to be going on with the system.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Sportif
#7 Posted : Tuesday, September 18, 2012 2:55:59 PM(UTC)
Groups: Member
Joined: 9/17/2012(UTC)
Posts: 6

File upload... forum crask when posting contents of xml named:


http://www.mediafire.com/view/?30phdqqr9x6qz9d
Ultidev Team
#8 Posted : Tuesday, September 18, 2012 3:13:42 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Sorry for XML attachment not working - putting it in ZIP should have worked. The file looks OK. It looks like something bad is going on on the system itself. Can you look for a Restore Point that precedes UWS starting acting up?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Sportif
#9 Posted : Tuesday, September 18, 2012 3:44:30 PM(UTC)
Groups: Member
Joined: 9/17/2012(UTC)
Posts: 6

That would be a no go. System restore is not enabled on this machine. -_- I'm leaning towards the latest batch of Win7 x64 updates causing the problem. This didnt happen until after updating and a later freeze/crash after a soft reboot. Will likely be imaging this one.


Thanks for your assistance.

If it's anything you can think of before I go all reformat this weekend... please let me know. I'll just use another server locally to get done with my current project.
Ultidev Team
#10 Posted : Tuesday, September 18, 2012 4:30:22 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi!

We are sorry to say this but some kind of restore of the system is probably required. The issues you have reported are highly irregular and look very much like system was corrupted. You could try to repair .NET installation and manually re-register Windows Firewall COM server, but who knows how many other issues stand in the way of full recovery. Moreover, should further issues arise, you will not fully know whether they are true UWS problems or remnants of the crash/freeze.

Best wishes,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Sportif
#11 Posted : Wednesday, September 19, 2012 4:11:05 PM(UTC)
Groups: Member
Joined: 9/17/2012(UTC)
Posts: 6

So yeah... laid waste to each version of .NET that Win7 does have as a core of the system. re-reg'd all dll's tied to the windows firewall even though I dont use it.

UltiDev is back online. Thanks for the pointer.

Ultidev Team
#12 Posted : Wednesday, September 19, 2012 4:15:21 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Super! We are glad your system is back up & running.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest
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 can vote in polls in this forum.