使用机器名可以正常访问,但使用IP地址就不行了!
犀山居士 2007-06-22 07:22:23 奇怪了,使用机器名可以正常访问,但使用IP地址就不行了!
在Web项目中,用到了InfoPath,用了Microsoft SharePoint,ASP.NET的State Menagement中,Session state mode使用是SQLServer
使用机器名可以正常访问,但是使用IP地址就出现以下错误信息
Server Error in '/' Application.
--------------------------------------------------------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.Office.Server.Administration.SqlSessionStateResolver.System.Web.IPartitionResolver.ResolvePartition(Object key) +77
System.Web.PartitionManager.GetPartition(IPartitionResolver partitionResolver, String id) +244
System.Web.SessionState.SqlSessionStateStore.GetConnection(String id, Boolean& usePooling) +52
System.Web.SessionState.SqlSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +178
System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +355
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
请高手给予指点啊!谢谢了!