Hi, I'm working with a content management system called SiteFinity3. It uses Nolics to connect to a SQL Server 2005 database. Everything was working great until i stopped the database for maintenance and restarted it. Now I'm getting the following error:
Server Error in '/' Application.
Data is Null. This method or property cannot be called on Null values.
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.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null values.
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:
[SqlNullValueException: Data is Null. This method or property cannot be called on Null values.]
System.Data.SqlClient.SqlBuffer.get_String() +80
System.Data.SqlClient.SqlDataReader.GetString(Int32 i) +39
Nolics.ORMapper.DataProviders.SqlServer2005StmtBuilder.HasProcedure(ObjectName procName) +223
Nolics.ORMapper.DataProviders.SQLBlockBuilder.DefineCommandProcedure(OdbClassInfo dbclassInfo, SQLCrudOperations operation) +601
Nolics.ORMapper.DataProviders.SQLBlockBuilder.DefineClass(OdbClassInfo dbClassInfo, EmitPhases phase) +197
Nolics.ORMapper.DataProviders.SQLDataProvider.GetSchemaChanges(Boolean fRename) +524
Nolics.ORMapper.Base.OdbDataProvider.Upgrade() +61
Telerik.Cms.NolicsCmsProvider.Initialize(String name, NameValueCollection config) +243
Telerik.ObjectManager`1.InstantiateProvider(ProviderSettings providerSettings, Type providerType) +711
Telerik.ObjectManager`1.InstantiateProviders(ProviderSettingsCollection configProviders, IDictionary`2 providers, Type providerType) +134
Telerik.ObjectManager`1.Initialize() +569
Telerik.ObjectManager`1..ctor(String provider) +12
Telerik.ObjectManager`1..ctor() +11
Telerik.Cms.Web.UrlHelper.FillTable() +112
Telerik.Cms.Web.UrlHelper..cctor() +99
[TypeInitializationException: The type initializer for 'Telerik.Cms.Web.UrlHelper' threw an exception.]
Telerik.Cms.Web.CmsHttpModule.BeginRequest(Object sender, EventArgs e) +310
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.210
I've checked the connection string in the web.config file and all the settings remain correct. Can anyone help?