Welcome to the Axosoft Community, Sign in | Register | Help
in Search

Issue with 2006 SDK and IIS 6.0

Last post 05-11-2007, 8:54 AM by Dan Suceava. 6 replies.
Sort Posts: Previous Next
  •  11-01-2006, 8:45 AM 8697

    Issue with 2006 SDK and IIS 6.0
    Hi,

    I'm encountering an issue whenever I try to run the sample applications provided with the SDK. I am receiving the following exception:

    An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll

    Additional information: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Security.SecurityException: The event source ExceptionManagerInternalException does not exist and cannot be created with the current permissions. ---> System.Security.SecurityException: Requested registry access is not allowed.
    at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
    at System.Diagnostics.EventLog.CreateEventSource(String source, String logName, String machineName, Boolean useMutex)
    at System.Diagnostics.EventLog.CreateEventSource(String source, String logName, String machineName)
    at System.Diagnostics.EventLog.CreateEventSource(String source, String logName)
    at Axosoft.Common.ExceptionManagement.DefaultPublisher.VerifyValidSource()
    --- End of inner exception stack trace ---
    at Axosoft.Common.ExceptionManagement.DefaultPublisher.VerifyValidSource()
    at Axosoft.Common.ExceptionManagement.DefaultPublisher.Publish(Exception exception, NameValueCollection additionalInfo, NameValueCollection configSettings)
    at Axosoft.Common.ExceptionManagement.ExceptionManager.PublishInternalException(Exception exception, NameValueCollection additionalInfo)
    at Axosoft.Common.ExceptionManagement.ExceptionManager.Publish(Exception exception, NameValueCollection additionalInfo)
    at Axosoft.OnTime.DataLayer.DataTools.GetConnectionString()
    at Axosoft.OnTime.DataLayer.BaseDataClass..ctor()
    at Axosoft.OnTime.DataLayer.Defects..ctor()
    at OnTimeWebServices.DefectHandler.GetAllDefectsWithNames(Guid securityToken)
    --- End of inner exception stack trace ---

    Any help would be greatly appreciated.

    thanks!
  •  11-03-2006, 9:10 AM 8698 in reply to 8697

    RE: Issue with 2006 SDK and IIS 6.0
    I have forwarded this to development for further research.



    Michael Robinson
    Axosoft Training Specialist

    Click here to learn about Axosoft University!
  •  11-06-2006, 12:41 PM 8699 in reply to 8697

    RE: Issue with 2006 SDK and IIS 6.0
    I found a work around for the time being. I created a separate application pool under IIS 6.0 that uses the identity of the local system and moved the SDK to that application pool.
  •  11-06-2006, 1:42 PM 8700 in reply to 8697

    RE: Issue with 2006 SDK and IIS 6.0
    It looks like there may have been an issue with getting the connection string, which caused OnTime to try to publish the error, by default to the Event Log, which in turn caused the permission error.  Once you moved it to another app pool did everything work ok?
    Dragan Marceta
    www.Axosoft.com
  •  11-07-2006, 9:12 AM 8701 in reply to 8697

    RE: Issue with 2006 SDK and IIS 6.0
    Yes, everything is working OK with the SDK. However, the Web Edition is still using the default Application Pool without any problems at all...
  •  05-09-2007, 12:15 PM 11568 in reply to 8701

    Re: Issue with 2006 SDK and IIS 6.0

    We had the same issue with a fresh install of 6.1.3 on a new box today and upgrading to 6.1.4 or 2007 is not an option at this time.  The seperate application pool fixed the issue, but I wonder if a "permanent" solution has been identified?

    --Scott

    Filed under:
  •  05-11-2007, 8:54 AM 11601 in reply to 11568

    Re: Issue with 2006 SDK and IIS 6.0
    The issue is that when an error occurs in the SDK we try to write it out to the database, but the SDK is not setting up the connection properly, so the errors end up getting published to the event log.  The ASP.NET process does not have permission to access the event log so it ends up throwing the error you are seeing.  We will have to fix the SDK to properly set up the exception publisher to be able to write exceptions to the database.
    Dan Suceava
    http://www.axosoft.com
View as RSS news feed in XML

© 2002 - 2007, Axosoft, LLC. All Rights Reserved. | Privacy
Bug Tracking | Defect Tracking Videos | Help Desk Software