Multiple problems I believe are related. First SqlDatasource in designer
"Object reference not set to an instance of an object." I believe problems
is caused by unable to read and bind the connectionStrin g settings in the
web.config file.
Second, when trying to run the ASP.Net web site administration tool recieve
the following error:
An error was encountered. Please return to the previous page and try again.
The following message may help in diagnosing the problem: Unable to
initialize the native configuration support external to the web worker
process (HRESULT=0x8007 0003). nativerd.dll must be in
%windir%\system 32\inetsrv. at
System.Web.Conf iguration.Proce ssHostConfigUti ls.NativeConfig Wrapper..ctor()
at System.Web.Conf iguration.Proce ssHostConfigUti ls.InitStandalo neConfig() at
System.Web.Conf iguration.Proce ssHostMapPath.. ctor(IProcessHo stSupportFuncti ons
functions) at System.Web.Conf iguration.IISMa pPath.GetInstan ce() at
System.Web.Conf iguration.Hosti ngPreferredMapP ath.GetInstance () at
System.Web.Conf iguration.WebCo nfigurationHost .ChooseAndInitC onfigMapPath(Bo olean
useConfigMapPat h, IConfigMapPath configMapPath, ConfigurationFi leMap fileMap)
at System.Web.Conf iguration.WebCo nfigurationHost .InitForConfigu ration(String&
locationSubPath , String& configPath, String& locationConfigP ath,
IInternalConfig Root configRoot, Object[] hostInitConfigu rationParams) at
System.Configur ation.Configura tion..ctor(Stri ng locationSubPath , Type
typeConfigHost, Object[] hostInitConfigu rationParams) at
System.Configur ation.Internal. InternalConfigC onfigurationFac tory.System.Con figuration.Inte rnal.IInternalC onfigConfigurat ionFactory.Crea te(Type
typeConfigHost, Object[] hostInitConfigu rationParams) at
System.Web.Conf iguration.WebCo nfigurationHost .OpenConfigurat ion(WebLevel
webLevel, ConfigurationFi leMap fileMap, VirtualPath path, String site, String
locationSubPath , String server, String userName, String password, IntPtr
tokenHandle) at
System.Web.Conf iguration.WebCo nfigurationMana ger.OpenWebConf igurationImpl(W ebLevel
webLevel, ConfigurationFi leMap fileMap, String path, String site, String
locationSubPath , String server, String userName, String password, IntPtr
userToken) at
System.Web.Conf iguration.WebCo nfigurationMana ger.OpenWebConf iguration(Strin g
path) at System.Web.Admi nistration.WebA dminPage.OpenWe bConfiguration( String
path, String appPhysPath, Boolean getWebConfigFor SubDir) at
System.Web.Admi nistration.WebA dminPage.OpenWe bConfiguration( String path,
Boolean getWebConfigFor SubDir) at
System.Web.Admi nistration.WebA dminPage.OpenWe bConfiguration( String path) at
ASP.appconfig_m anageappsetting s_aspx.BindAppS ettings() at
ASP.appconfig_m anageappsetting s_aspx.Page_Loa d() at
System.Web.Util .CalliHelper.Ar glessFunctionCa ller(IntPtr fp, Object o) at
System.Web.Util .CalliEventHand lerDelegateProx y.Callback(Obje ct sender,
EventArgs e) at System.Web.UI.C ontrol.OnLoad(E ventArgs e) at
System.Web.UI.C ontrol.LoadRecu rsive() at
System.Web.UI.P age.ProcessRequ estMain(Boolean includeStagesBe foreAsyncPoint,
Boolean includeStagesAf terAsyncPoint)
"Object reference not set to an instance of an object." I believe problems
is caused by unable to read and bind the connectionStrin g settings in the
web.config file.
Second, when trying to run the ASP.Net web site administration tool recieve
the following error:
An error was encountered. Please return to the previous page and try again.
The following message may help in diagnosing the problem: Unable to
initialize the native configuration support external to the web worker
process (HRESULT=0x8007 0003). nativerd.dll must be in
%windir%\system 32\inetsrv. at
System.Web.Conf iguration.Proce ssHostConfigUti ls.NativeConfig Wrapper..ctor()
at System.Web.Conf iguration.Proce ssHostConfigUti ls.InitStandalo neConfig() at
System.Web.Conf iguration.Proce ssHostMapPath.. ctor(IProcessHo stSupportFuncti ons
functions) at System.Web.Conf iguration.IISMa pPath.GetInstan ce() at
System.Web.Conf iguration.Hosti ngPreferredMapP ath.GetInstance () at
System.Web.Conf iguration.WebCo nfigurationHost .ChooseAndInitC onfigMapPath(Bo olean
useConfigMapPat h, IConfigMapPath configMapPath, ConfigurationFi leMap fileMap)
at System.Web.Conf iguration.WebCo nfigurationHost .InitForConfigu ration(String&
locationSubPath , String& configPath, String& locationConfigP ath,
IInternalConfig Root configRoot, Object[] hostInitConfigu rationParams) at
System.Configur ation.Configura tion..ctor(Stri ng locationSubPath , Type
typeConfigHost, Object[] hostInitConfigu rationParams) at
System.Configur ation.Internal. InternalConfigC onfigurationFac tory.System.Con figuration.Inte rnal.IInternalC onfigConfigurat ionFactory.Crea te(Type
typeConfigHost, Object[] hostInitConfigu rationParams) at
System.Web.Conf iguration.WebCo nfigurationHost .OpenConfigurat ion(WebLevel
webLevel, ConfigurationFi leMap fileMap, VirtualPath path, String site, String
locationSubPath , String server, String userName, String password, IntPtr
tokenHandle) at
System.Web.Conf iguration.WebCo nfigurationMana ger.OpenWebConf igurationImpl(W ebLevel
webLevel, ConfigurationFi leMap fileMap, String path, String site, String
locationSubPath , String server, String userName, String password, IntPtr
userToken) at
System.Web.Conf iguration.WebCo nfigurationMana ger.OpenWebConf iguration(Strin g
path) at System.Web.Admi nistration.WebA dminPage.OpenWe bConfiguration( String
path, String appPhysPath, Boolean getWebConfigFor SubDir) at
System.Web.Admi nistration.WebA dminPage.OpenWe bConfiguration( String path,
Boolean getWebConfigFor SubDir) at
System.Web.Admi nistration.WebA dminPage.OpenWe bConfiguration( String path) at
ASP.appconfig_m anageappsetting s_aspx.BindAppS ettings() at
ASP.appconfig_m anageappsetting s_aspx.Page_Loa d() at
System.Web.Util .CalliHelper.Ar glessFunctionCa ller(IntPtr fp, Object o) at
System.Web.Util .CalliEventHand lerDelegateProx y.Callback(Obje ct sender,
EventArgs e) at System.Web.UI.C ontrol.OnLoad(E ventArgs e) at
System.Web.UI.C ontrol.LoadRecu rsive() at
System.Web.UI.P age.ProcessRequ estMain(Boolean includeStagesBe foreAsyncPoint,
Boolean includeStagesAf terAsyncPoint)
Comment