Got error when i install localversion in server2003

Discussions about using SIP Sorcery on your own computer/server
Post Reply
yupeng
Posts: 18
Joined: Wed Mar 17, 2010 11:37 pm

Got error when i install localversion in server2003

Post by yupeng » Wed Aug 17, 2011 12:33 pm

When i run "sipsorcery-appsvr.exe –c",i got this error
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>cd ..

C:\Documents and Settings>cd ..

C:\>cd sipsorcery

C:\sipsorcery>sipsorcery-appsvr.exe -c
Starting logging initialisation.
log4net:ERROR DefaultRepositorySelector: Exception while reading ConfigurationSe
ttings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.PrivilegedConfigurationManager.GetSection(String sect
ionName)
at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()
at System.Diagnostics.DiagnosticsConfiguration.Initialize()
at System.Diagnostics.DiagnosticsConfiguration.get_IndentSize()
at System.Diagnostics.TraceInternal.InitializeSettings()
at System.Diagnostics.TraceInternal.WriteLine(String message)
at System.Diagnostics.Trace.WriteLine(String message)
at log4net.Util.LogLog.EmitErrorLine(String message)
log4net:ERROR DefaultRepositorySelector: Exception while reading ConfigurationSe
ttings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at log4net.Util.SystemInfo.GetAppSetting(String key)
log4net:ERROR DefaultRepositorySelector: Exception while reading ConfigurationSe
ttings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at log4net.Util.SystemInfo.GetAppSetting(String key)
log4net:ERROR DefaultRepositorySelector: Exception while reading ConfigurationSe
ttings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at log4net.Util.SystemInfo.GetAppSetting(String key)
log4net:ERROR DefaultRepositorySelector: Exception while reading ConfigurationSe
ttings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at log4net.Util.SystemInfo.GetAppSetting(String key)
log4net:ERROR DefaultRepositorySelector: Unhandled exception in GetInfoForAssemb
ly
System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, V
ersion=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. The system cannot find the file specified.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c
561934e089'
at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeIn
stArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInst
Count)
at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[]
typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTy
peArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib
uteRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module
decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType,
Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, Runtime
Type& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Bool
ean& isVarArg)
at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModu
le, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterTyp
e, Boolean mustBeInheritable, IList derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, R
untimeType caType)
at System.Reflection.Assembly.GetCustomAttributes(Type attributeType, Boolean
inherit)
at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType,
Boolean inherit)
at log4net.Core.DefaultRepositorySelector.GetInfoForAssembly(Assembly assembl
y, String& repositoryName, Type& repositoryType)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
ion!EnableLog].

log4net:ERROR DefaultRepositorySelector: Failed to configure repository [log4net
-default-repository] from assembly attributes.
System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, V
ersion=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. The system cannot find the file specified.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c
561934e089'
at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeIn
stArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInst
Count)
at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[]
typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTy
peArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib
uteRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module
decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType,
Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, Runtime
Type& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Bool
ean& isVarArg)
at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModu
le, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterTyp
e, Boolean mustBeInheritable, IList derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, R
untimeType caType)
at System.Reflection.Assembly.GetCustomAttributes(Type attributeType, Boolean
inherit)
at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType,
Boolean inherit)
at log4net.Core.DefaultRepositorySelector.LoadAliases(Assembly assembly, ILog
gerRepository repository)
at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor
yAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttri
butes)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
ion!EnableLog].

log4net:ERROR XmlConfigurator: Failed to parse config file. Is the <configSectio
ns> specified as: <section name="log4net" type="log4net.Config.Log4NetConfigurat
ionSectionHandler,log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b4
4e1d426115821" />
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at log4net.Config.XmlConfigurator.Configure(ILoggerRepository repository)
Exception SIP App Server Main. Configuration system failed to initialize

C:\sipsorcery>

yupeng
Posts: 18
Joined: Wed Mar 17, 2010 11:37 pm

Re: Got error when i install localversion in server2003

Post by yupeng » Wed Aug 17, 2011 12:43 pm

Install Log
Installing assembly 'C:\sipsorcery\sipsorcery-appsvr.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\sipsorcery\sipsorcery-appsvr.exe
logfile = C:\sipsorcery\sipsorcery-appsvr.InstallLog
Installing service SIPSorcery App Server...
Service SIPSorcery App Server has been successfully installed.
Creating EventLog source SIPSorcery App Server in log Application...
An exception occurred in the OnAfterInstall event handler of System.ServiceProcess.ServiceInstaller.
System.InvalidOperationException: Cannot start service SIPSorcery App Server on computer '.'.
The inner exception System.ComponentModel.Win32Exception was thrown with the following error message: The service did not respond to the start or control request in a timely fashion.
Rolling back assembly 'C:\sipsorcery\sipsorcery-appsvr.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\sipsorcery\sipsorcery-appsvr.exe
logfile = C:\sipsorcery\sipsorcery-appsvr.InstallLog
Restoring event log to previous state for source SIPSorcery App Server.
Service SIPSorcery App Server is being removed from the system...
Service SIPSorcery App Server was successfully removed from the system.
Installing assembly 'C:\sipsorcery\sipsorcery-appsvr.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\sipsorcery\sipsorcery-appsvr.exe
logfile = C:\sipsorcery\sipsorcery-appsvr.InstallLog
Installing service SIPSorcery App Server...
Service SIPSorcery App Server has been successfully installed.
Creating EventLog source SIPSorcery App Server in log Application...
An exception occurred in the OnAfterInstall event handler of System.ServiceProcess.ServiceInstaller.
System.InvalidOperationException: Cannot start service SIPSorcery App Server on computer '.'.
The inner exception System.ComponentModel.Win32Exception was thrown with the following error message: The service did not respond to the start or control request in a timely fashion.
Rolling back assembly 'C:\sipsorcery\sipsorcery-appsvr.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\sipsorcery\sipsorcery-appsvr.exe
logfile = C:\sipsorcery\sipsorcery-appsvr.InstallLog
Restoring event log to previous state for source SIPSorcery App Server.
Service SIPSorcery App Server is being removed from the system...
Service SIPSorcery App Server was successfully removed from the system.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Got error when i install localversion in server2003

Post by Aaron » Wed Aug 17, 2011 12:45 pm

I've had a similar error that is to do with the Windows 2003 security settings for files downloaded from the internet. What I had to do to fix it was copy the sipsorcery-appsvr.exe.config file, delete the original and then rename the copy back to the original's name.

yupeng
Posts: 18
Joined: Wed Mar 17, 2010 11:37 pm

Re: Got error when i install localversion in server2003

Post by yupeng » Wed Aug 17, 2011 12:59 pm

Thanks for your quick answer Aaron
But i still got the errors...............
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>cd ..

C:\Documents and Settings>cd ..

C:\>cd sipsorcery

C:\sipsorcery>sipsorcery-appsvr.exe -c
Starting logging initialisation.
log4net:ERROR DefaultRepositorySelector: Exception while reading ConfigurationSe
ttings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.PrivilegedConfigurationManager.GetSection(String sect
ionName)
at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()
at System.Diagnostics.DiagnosticsConfiguration.Initialize()
at System.Diagnostics.DiagnosticsConfiguration.get_IndentSize()
at System.Diagnostics.TraceInternal.InitializeSettings()
at System.Diagnostics.TraceInternal.WriteLine(String message)
at System.Diagnostics.Trace.WriteLine(String message)
at log4net.Util.LogLog.EmitErrorLine(String message)
log4net:ERROR DefaultRepositorySelector: Exception while reading ConfigurationSe
ttings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at log4net.Util.SystemInfo.GetAppSetting(String key)
log4net:ERROR DefaultRepositorySelector: Exception while reading ConfigurationSe
ttings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at log4net.Util.SystemInfo.GetAppSetting(String key)
log4net:ERROR DefaultRepositorySelector: Exception while reading ConfigurationSe
ttings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at log4net.Util.SystemInfo.GetAppSetting(String key)
log4net:ERROR DefaultRepositorySelector: Exception while reading ConfigurationSe
ttings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at log4net.Util.SystemInfo.GetAppSetting(String key)
log4net:ERROR DefaultRepositorySelector: Unhandled exception in GetInfoForAssemb
ly
System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, V
ersion=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. The system cannot find the file specified.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c
561934e089'
at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeIn
stArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInst
Count)
at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[]
typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTy
peArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib
uteRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module
decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType,
Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, Runtime
Type& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Bool
ean& isVarArg)
at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModu
le, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterTyp
e, Boolean mustBeInheritable, IList derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, R
untimeType caType)
at System.Reflection.Assembly.GetCustomAttributes(Type attributeType, Boolean
inherit)
at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType,
Boolean inherit)
at log4net.Core.DefaultRepositorySelector.GetInfoForAssembly(Assembly assembl
y, String& repositoryName, Type& repositoryType)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
ion!EnableLog].

log4net:ERROR DefaultRepositorySelector: Failed to configure repository [log4net
-default-repository] from assembly attributes.
System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, V
ersion=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. The system cannot find the file specified.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c
561934e089'
at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeIn
stArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInst
Count)
at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[]
typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTy
peArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib
uteRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module
decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType,
Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, Runtime
Type& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Bool
ean& isVarArg)
at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModu
le, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterTyp
e, Boolean mustBeInheritable, IList derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, R
untimeType caType)
at System.Reflection.Assembly.GetCustomAttributes(Type attributeType, Boolean
inherit)
at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType,
Boolean inherit)
at log4net.Core.DefaultRepositorySelector.LoadAliases(Assembly assembly, ILog
gerRepository repository)
at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor
yAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttri
butes)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
ion!EnableLog].

log4net:ERROR XmlConfigurator: Failed to parse config file. Is the <configSectio
ns> specified as: <section name="log4net" type="log4net.Config.Log4NetConfigurat
ionSectionHandler,log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b4
4e1d426115821" />
System.Configuration.ConfigurationErrorsException: Configuration system failed t
o initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognize
d configuration section system.serviceModel. (C:\sipsorcery\sipsorcery-appsvr.ex
e.Config line 65)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignor
eLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(Configurat
ionSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey
)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at log4net.Config.XmlConfigurator.Configure(ILoggerRepository repository)
Exception SIP App Server Main. Configuration system failed to initialize

C:\sipsorcery>

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Got error when i install localversion in server2003

Post by Aaron » Wed Aug 17, 2011 1:09 pm

Ok well maybe the error is actually as stated and the sipsorcery-appsvr.exe.config file is not valid XML. Rename it to a .xml file and try opening it in Internet Explorer or another XML editor and see if it gets recognised as valid XML.

yupeng
Posts: 18
Joined: Wed Mar 17, 2010 11:37 pm

Re: Got error when i install localversion in server2003

Post by yupeng » Wed Aug 17, 2011 2:19 pm

I open it after rename it to be a XML file.
A valid xml file .
I download the install file from sipsorcery.codeplex.com

yupeng
Posts: 18
Joined: Wed Mar 17, 2010 11:37 pm

Re: Got error when i install localversion in server2003

Post by yupeng » Wed Aug 17, 2011 2:20 pm

yupeng wrote:I open it after rename it to be a XML file.
A valid xml file .
I download the install file from sipsorcery.codeplex.com
Still got the same error
and i disable the Internet Explorer Enhanced Security.

Post Reply